cms-fortress 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -4,7 +4,7 @@ PATH
4
4
  cms-fortress (1.3.4)
5
5
  aasm (~> 3.2)
6
6
  cancancan (~> 1.9)
7
- comfortable_mexican_sofa (<= 1.12.2)
7
+ comfortable_mexican_sofa (~> 1.12.3)
8
8
  delayed_job (~> 4)
9
9
  devise (~> 3.2)
10
10
  rails (>= 4.0.0)
@@ -15,27 +15,27 @@ GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
17
  aasm (3.4.0)
18
- actionmailer (4.0.10)
19
- actionpack (= 4.0.10)
18
+ actionmailer (4.0.12)
19
+ actionpack (= 4.0.12)
20
20
  mail (~> 2.5, >= 2.5.4)
21
- actionpack (4.0.10)
22
- activesupport (= 4.0.10)
21
+ actionpack (4.0.12)
22
+ activesupport (= 4.0.12)
23
23
  builder (~> 3.1.0)
24
24
  erubis (~> 2.7.0)
25
25
  rack (~> 1.5.2)
26
26
  rack-test (~> 0.6.2)
27
27
  active_link_to (1.0.2)
28
28
  actionpack
29
- activemodel (4.0.10)
30
- activesupport (= 4.0.10)
29
+ activemodel (4.0.12)
30
+ activesupport (= 4.0.12)
31
31
  builder (~> 3.1.0)
32
- activerecord (4.0.10)
33
- activemodel (= 4.0.10)
32
+ activerecord (4.0.12)
33
+ activemodel (= 4.0.12)
34
34
  activerecord-deprecated_finders (~> 1.0.2)
35
- activesupport (= 4.0.10)
35
+ activesupport (= 4.0.12)
36
36
  arel (~> 4.0.0)
37
37
  activerecord-deprecated_finders (1.0.3)
38
- activesupport (4.0.10)
38
+ activesupport (4.0.12)
39
39
  i18n (~> 0.6, >= 0.6.9)
40
40
  minitest (~> 4.2)
41
41
  multi_json (~> 1.3)
@@ -44,9 +44,9 @@ GEM
44
44
  ansi (1.4.3)
45
45
  arel (4.0.2)
46
46
  bcrypt (3.1.9)
47
- bootstrap-sass (3.1.1.1)
47
+ bootstrap-sass (3.3.1.0)
48
48
  sass (~> 3.2)
49
- bootstrap_form (2.1.1)
49
+ bootstrap_form (2.2.0)
50
50
  builder (3.1.4)
51
51
  cancancan (1.9.2)
52
52
  climate_control (0.0.3)
@@ -62,10 +62,10 @@ GEM
62
62
  coffee-script-source
63
63
  execjs
64
64
  coffee-script-source (1.8.0)
65
- comfortable_mexican_sofa (1.12.2)
65
+ comfortable_mexican_sofa (1.12.3)
66
66
  active_link_to (>= 1.0.0)
67
- bootstrap-sass (~> 3.1.0)
68
- bootstrap_form (~> 2.1.1)
67
+ bootstrap-sass (>= 3.2.0)
68
+ bootstrap_form (>= 2.2.0)
69
69
  codemirror-rails (>= 3.0.0)
70
70
  coffee-rails (>= 3.1.0)
71
71
  haml-rails (>= 0.3.0)
@@ -74,9 +74,10 @@ GEM
74
74
  kaminari (>= 0.14.0)
75
75
  kramdown (>= 1.0.0)
76
76
  paperclip (>= 4.0.0)
77
- rails (>= 4.0.0)
78
- rails-i18n (~> 4.0.0)
79
- sass-rails (>= 4.0.1)
77
+ plupload-rails (>= 1.2.1)
78
+ rails (>= 4.0.0, < 5)
79
+ rails-i18n (>= 4.0.0)
80
+ sass-rails (>= 4.0.3)
80
81
  tinymce-rails (>= 4.0.0)
81
82
  delayed_job (4.0.4)
82
83
  activesupport (>= 3.0, < 4.2)
@@ -90,14 +91,14 @@ GEM
90
91
  docile (1.1.5)
91
92
  erubis (2.7.0)
92
93
  execjs (2.2.2)
93
- haml (4.0.5)
94
+ haml (4.0.6)
94
95
  tilt
95
96
  haml-rails (0.5.3)
96
97
  actionpack (>= 4.0.1)
97
98
  activesupport (>= 4.0.1)
98
99
  haml (>= 3.1, < 5.0)
99
100
  railties (>= 4.0.1)
100
- hashie (3.3.1)
101
+ hashie (3.3.2)
101
102
  hike (1.2.3)
102
103
  i18n (0.6.11)
103
104
  jquery-rails (3.1.2)
@@ -110,10 +111,10 @@ GEM
110
111
  actionpack (>= 3.0.0)
111
112
  activesupport (>= 3.0.0)
112
113
  kramdown (1.5.0)
113
- mail (2.6.1)
114
+ mail (2.6.3)
114
115
  mime-types (>= 1.16, < 3)
115
- mime-types (2.3)
116
- minitest (4.7.5)
116
+ mime-types (2.4.3)
117
+ minitest (4.7.3)
117
118
  minitest-rails (1.0.1)
118
119
  minitest (~> 4.7)
119
120
  minitest-test (~> 1.0)
@@ -135,29 +136,31 @@ GEM
135
136
  activesupport (>= 3.0.0)
136
137
  cocaine (~> 0.5.3)
137
138
  mime-types
139
+ plupload-rails (1.2.1)
140
+ rails (>= 3.1)
138
141
  powerbar (1.0.11)
139
142
  ansi (~> 1.4.0)
140
143
  hashie (>= 1.1.0)
141
144
  rack (1.5.2)
142
145
  rack-test (0.6.2)
143
146
  rack (>= 1.0)
144
- rails (4.0.10)
145
- actionmailer (= 4.0.10)
146
- actionpack (= 4.0.10)
147
- activerecord (= 4.0.10)
148
- activesupport (= 4.0.10)
147
+ rails (4.0.12)
148
+ actionmailer (= 4.0.12)
149
+ actionpack (= 4.0.12)
150
+ activerecord (= 4.0.12)
151
+ activesupport (= 4.0.12)
149
152
  bundler (>= 1.3.0, < 2.0)
150
- railties (= 4.0.10)
153
+ railties (= 4.0.12)
151
154
  sprockets-rails (~> 2.0)
152
155
  rails-i18n (4.0.3)
153
156
  i18n (~> 0.6)
154
157
  railties (~> 4.0)
155
- railties (4.0.10)
156
- actionpack (= 4.0.10)
157
- activesupport (= 4.0.10)
158
+ railties (4.0.12)
159
+ actionpack (= 4.0.12)
160
+ activesupport (= 4.0.12)
158
161
  rake (>= 0.8.7)
159
162
  thor (>= 0.18.1, < 2.0)
160
- rake (10.3.2)
163
+ rake (10.4.0)
161
164
  rdoc (4.1.2)
162
165
  json (~> 1.4)
163
166
  responders (1.1.2)
@@ -173,16 +176,16 @@ GEM
173
176
  multi_json (~> 1.0)
174
177
  simplecov-html (~> 0.8.0)
175
178
  simplecov-html (0.8.0)
176
- sprockets (2.11.0)
179
+ sprockets (2.12.3)
177
180
  hike (~> 1.2)
178
181
  multi_json (~> 1.0)
179
182
  rack (~> 1.0)
180
183
  tilt (~> 1.1, != 1.3.0)
181
- sprockets-rails (2.1.4)
184
+ sprockets-rails (2.2.2)
182
185
  actionpack (>= 3.0)
183
186
  activesupport (>= 3.0)
184
- sprockets (~> 2.8)
185
- sqlite3 (1.3.9)
187
+ sprockets (>= 2.8, < 4.0)
188
+ sqlite3 (1.3.10)
186
189
  thor (0.19.1)
187
190
  thread_safe (0.3.4)
188
191
  tilt (1.4.1)
@@ -190,7 +193,7 @@ GEM
190
193
  railties (>= 3.1.1)
191
194
  tinymce-rails-langs (4.20140129)
192
195
  tinymce-rails (~> 4.0)
193
- tzinfo (0.3.41)
196
+ tzinfo (0.3.42)
194
197
  warden (1.2.3)
195
198
  rack (>= 1.0)
196
199
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.2
1
+ 1.3.5
@@ -1,8 +1,11 @@
1
1
  #= require tinymce-jquery
2
2
  #= require '../site_selector'
3
3
 
4
+
4
5
  window.CMS.wysiwyg = function () {
5
6
  return <%= tinymce_init %>
6
7
  }
7
8
 
8
-
9
+ $(document).ready( function() {
10
+ $('.dropdown-toggle').dropdown();
11
+ });
@@ -1,6 +1,5 @@
1
- /*
2
- *= require bootstrap
3
- */
1
+ @import "bootstrap-sprockets";
2
+ @import "bootstrap";
4
3
 
5
4
  body {
6
5
  padding-bottom: 40px;
@@ -25,7 +25,8 @@
25
25
  - if controller_name.eql?('revisions')
26
26
  .row
27
27
  .col-sm-9
28
- = render :partial => 'layouts/comfy/admin/cms/center'
28
+ =# render :partial => 'layouts/comfy/admin/cms/center'
29
+ = yield
29
30
  .col-sm-3
30
31
  .panel.panel-default.revision-list
31
32
  .panel-heading
@@ -33,7 +34,8 @@
33
34
  .panel-body
34
35
  = yield :right_column
35
36
  - else
36
- = render :partial => 'layouts/comfy/admin/cms/center'
37
+ =# render :partial => 'layouts/comfy/admin/cms/center'
38
+ = yield
37
39
 
38
40
  = render :partial => 'layouts/comfy/admin/cms/footer'
39
41
 
@@ -4,9 +4,6 @@
4
4
  %input{:type => 'checkbox'}
5
5
  = ::Comfy::Cms::Page.human_attribute_name(:is_published)
6
6
  %button.btn.btn-sm.btn-primary.pull-right
7
- = render 'comfy/admin/cms/files/index'
8
-
9
- = render 'comfy/admin/cms/partials/page_form_before', :object => form
10
7
 
11
8
  - if Cms::Fortress.configuration.enable_page_workflow && !@page.new_record?
12
9
  .container-fluid
@@ -14,7 +11,9 @@
14
11
  %span.btn.btn-success= t('.' + @page.aasm_state)
15
12
  - page_actions(@page).each do |page_action|
16
13
  = form.button t('.'+page_action.to_s), :class => 'btn btn-default', :value => page_action, :name => 'transition'
17
- %hr
14
+ %hr
15
+
16
+ = render 'comfy/admin/cms/partials/page_form_before', :form => form
18
17
 
19
18
  = form.text_field :label, :data => {:slugify => @page.new_record?}
20
19
 
@@ -25,27 +24,29 @@
25
24
 
26
25
  - if (options = ::Comfy::Cms::Layout.options_for_select(@site)).present?
27
26
  = form.select :layout_id, options, {}, 'data-url' => form_blocks_comfy_admin_cms_site_page_path(@site, @page.id.to_i)
28
-
27
+
29
28
  - if (options = ::Comfy::Cms::Page.options_for_select(@site, @page)).present?
30
29
  = form.select :parent_id, options
31
30
 
32
31
  - if (options = ::Comfy::Cms::Page.options_for_select(@site, @page, nil, 0, false)).present?
33
32
  = form.select :target_page_id, [["---- #{t('.select_target_page')} ----", nil]] + options
34
33
 
35
- = render 'comfy/admin/cms/partials/page_form_inner', :object => form
34
+ = render 'comfy/admin/cms/partials/page_form_inner', :form => form
36
35
 
37
- = render :partial => 'comfy/admin/cms/categories/form', :object => form
36
+ = render 'comfy/admin/cms/categories/form', :form => form
38
37
 
39
- = render :partial => 'form_blocks'
38
+ = render 'form_blocks'
40
39
 
41
40
  - unless Cms::Fortress.configuration.enable_page_workflow
42
41
  = form.check_box :is_published, :label => t('.is_published')
42
+
43
43
  = render :partial => 'cms/fortress/shared/page_extend', :locals => {form: form}
44
44
 
45
- = render 'comfy/admin/cms/partials/page_form_after', :object => form
45
+ = render 'comfy/admin/cms/partials/page_form_after', :form => form
46
46
 
47
47
  = form.form_group :class => 'form-actions' do
48
- = form.button t('.preview'), :name => 'preview', :id => nil, :class => 'btn btn-default'
49
- = form.button t(@page.new_record?? '.create' : '.update'), :class => 'btn btn-primary', :value => 'save', :name => 'commit'
48
+ = form.submit t('.preview'), :name => 'preview', :id => nil, :class => 'btn btn-default'
49
+ = form.submit t(@page.new_record?? '.create' : '.update'), :class => 'btn btn-primary'
50
+ = link_to t('.cancel'), comfy_admin_cms_site_pages_path, :class => 'btn btn-link'
51
+
50
52
 
51
- = render :partial => 'cms/fortress/shared/page_extend_js'
@@ -6,17 +6,22 @@
6
6
  .body-wrapper
7
7
  .left-column
8
8
  .left-column-content
9
- = render :partial => 'layouts/comfy/admin/cms/left'
9
+ = render 'layouts/comfy/admin/cms/left'
10
10
  .right-column
11
11
  .right-column-content
12
- = render :partial => 'layouts/comfy/admin/cms/right'
12
+ = render 'layouts/comfy/admin/cms/right'
13
13
  .center-column
14
- = render :partial => 'layouts/comfy/admin/cms/center'
14
+ = render 'layouts/comfy/admin/cms/flash'
15
+ .center-column-content
16
+ = yield
17
+ = render 'layouts/comfy/admin/cms/footer'
18
+
15
19
 
16
- = render :partial => 'layouts/comfy/admin/cms/footer'
17
20
 
18
21
  - else
19
22
  = themed_partial('body')
20
23
 
21
24
  = render partial: 'cms/fortress/shared/mediaboxes'
22
25
  = render :partial => 'layouts/comfy/admin/cms/footer_js'
26
+
27
+
data/cms-fortress.gemspec CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "cms-fortress"
5
- s.version = "1.3.4"
5
+ s.version = "1.3.5"
6
6
 
7
7
  s.authors = ["Melvin Sembrano"]
8
- s.date = "2014-12-01"
8
+ s.date = "2014-12-09"
9
9
  s.description = "Comfortable Mexican Sofa (CMS) - User and role management extension"
10
10
  s.email = "melvinsembrano@gmail.com"
11
11
  s.extra_rdoc_files = [ "LICENSE.txt", "README.rdoc" ]
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib"]
21
21
 
22
22
  s.add_dependency 'rails', '>= 4.0.0'
23
- s.add_dependency 'comfortable_mexican_sofa', '<= 1.12.2'
23
+ s.add_dependency 'comfortable_mexican_sofa', '~> 1.12.3'
24
24
  s.add_dependency 'devise', '~> 3.2'
25
25
  s.add_dependency 'cancancan', '~> 1.9'
26
26
  s.add_dependency 'delayed_job', '~> 4'
@@ -4,6 +4,8 @@ module Cms
4
4
 
5
5
  def self.included(base)
6
6
 
7
+ base.extend ClassMethods
8
+
7
9
  base.class_eval do
8
10
  before_create { self.draft if self.new? }
9
11
 
@@ -62,6 +64,13 @@ module Cms
62
64
 
63
65
  end
64
66
 
67
+ module ClassMethods
68
+ def updated_scheduled
69
+
70
+ end
71
+ end
72
+
73
+
65
74
  end
66
75
  end
67
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cms-fortress
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-01 00:00:00.000000000 Z
12
+ date: 2014-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - <=
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 1.12.2
37
+ version: 1.12.3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - <=
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 1.12.2
45
+ version: 1.12.3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: devise
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -288,7 +288,7 @@ files:
288
288
  - app/assets/javascripts/cms/fortress/themes/wide.js.erb
289
289
  - app/assets/javascripts/html5shiv.js
290
290
  - app/assets/stylesheets/cms/fortress/admin_overrides.css
291
- - app/assets/stylesheets/cms/fortress/session.css
291
+ - app/assets/stylesheets/cms/fortress/session.scss
292
292
  - app/assets/stylesheets/cms/fortress/themes/wide.css.scss
293
293
  - app/controllers/cms/fortress/admin_controller.rb
294
294
  - app/controllers/cms/fortress/roles_controller.rb