Skip to content

Commit 6e33e05

Browse files
committed
Merge branch 'develop'
2 parents 2a576c7 + 33512a3 commit 6e33e05

File tree

9 files changed

+34
-13
lines changed

9 files changed

+34
-13
lines changed

.codeclimate.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,36 @@ exclude_paths:
4040
- db/
4141
- spec/
4242
- vendor/
43+
- app/interactors/
44+
- app/api/
4345
- app/assets/javascripts/legacy/
4446
- app/assets/javascripts/legacy_application.js
4547
- app/assets/legacy_templates/
4648
- app/assets/stylesheets/legacy/
4749
- app/assets/stylesheets/legacy_application.scss
4850
- app/controllers/legacy_controller.rb
4951
- app/views/legacy/
52+
- app/models/abilities/
53+
- app/models/observers/
54+
- app/models/media_types/
55+
- app/models/post_types/
56+
- app/models/onet/
57+
- app/models/concerns/searchable*
58+
- app/models/application.rb
59+
- app/models/author.rb
60+
- app/models/bulk_job.rb
61+
- app/models/category.rb
62+
- app/models/document.rb
63+
- app/models/locale.rb
64+
- app/models/localization.rb
65+
- app/models/media.rb
66+
- app/models/onet.rb
67+
- app/models/post.rb
68+
- app/models/snippet.rb
69+
- app/models/webpage.rb
70+
- app/jobs/bulk_create_media_job.rb
71+
- app/jobs/bulk_create_users_job.rb
72+
- app/jobs/cache_bust_webpage_job.rb
73+
- app/jobs/youtube_media_job.rb
74+
- app/jobs/youtube_media_job.rb
75+
- lib/tasks/cortex.rake

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# or operating system, you probably want to add a global ignore instead:
55
# git config --global core.excludesfile '~/.gitignore_global'
66

7-
.byebug_history
8-
97
# Ignore bundler config.
108
/.bundle
119
/vendor/bundle
@@ -26,6 +24,9 @@
2624
/log/*.log
2725
/tmp
2826

27+
# Debug
28+
.byebug_history
29+
2930
# OS Files
3031
.DS_Store
3132
._.DS_Store

app/observers/.keep

Whitespace-only changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class CortexService
1+
class ApplicationService
22
include Virtus.model
33

44
attr_reader :errors

app/services/content_item_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class ContentItemService < CortexService
1+
class ContentItemService < ApplicationService
22
include WidgetParsersHelper
33

44
attribute :id, String

app/services/index_decorator_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class IndexDecoratorService < CortexService
1+
class IndexDecoratorService < ApplicationService
22
attribute :content_type, ContentType
33

44
def data

app/services/wizard_decorator_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class WizardDecoratorService < CortexService
1+
class WizardDecoratorService < ApplicationService
22
attribute :content_item, ContentItem
33

44
def data

app/views/content_items/_form.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- if @content_type.publishable
88
- case @content_item.state
99
- when 'published'
10-
= form.submit "Update #{@content_type.name} Post", class: 'mdl-button mdl-js-button mdl-button--raised mdl-button--success mdl-js-ripple-effect'
10+
= form.submit "Update Post", class: 'mdl-button mdl-js-button mdl-button--raised mdl-button--success mdl-js-ripple-effect'
1111
= form.button 'Save as Draft', value: 'draft', name: 'content_item[state]', class: 'mdl-button mdl-js-button mdl-button--cb mdl-js-ripple-effect', type: 'submit'
1212
- when 'scheduled'
1313
= form.button 'Schedule Post', value: 'schedule', name: 'content_item[state]', class: 'mdl-button mdl-js-button mdl-button--cb mdl-js-ripple-effect', type: 'submit'

lib/tasks/dev.rake

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)