ack_rocket_cms 0.7.6 → 0.7.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4354b60e460b681afa953b17bd72e19c9cd9f52a
4
- data.tar.gz: 0e7f996494d203663c553e9aea89c38522b6c724
3
+ metadata.gz: 7d9a86f20359c9af0d53787e6878e7b7f1f855bb
4
+ data.tar.gz: 439d834ae5bdfb72487b5155a1ceb5df8ebec166
5
5
  SHA512:
6
- metadata.gz: d46671e2dce97051ca03cbc25cefe10256fbac3aa9799859cd840e24bf0e2c03aa44a1dffb3300cf4231d11e1f7d4666830c1a8c7bea1cd162637e24ecdea31a
7
- data.tar.gz: b486fd928f59dd864e8c41e67cf6eb1e2c53eaf995c51dd69613639459f575ea76bfe98aec6eaa9461459438fbf2790c8560023bbb63f7f6ad915e0d4129472c
6
+ metadata.gz: 93ddcad5fb0e9ffc989405570562003472c1e33d479b9d15e2aa4ac155b7cf20516d8bac36f200b8c0fbeb1f5a7859cd720a295a939ec6fd85597a96a9c75937
7
+ data.tar.gz: 739e38caf42b4def847085566fce9f3985205c96f1ad33846011e7fe4c0837b429ad856dc5feb5597483864f35acc8f15627007f3238e9b6e177c213723ef214
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ack_rocket_cms (0.7.6)
4
+ ack_rocket_cms (0.7.6.1)
5
5
  ack_rails_admin_jcrop
6
6
  addressable
7
7
  ckeditor
@@ -112,7 +112,7 @@ GEM
112
112
  rails-dom-testing (~> 1.0)
113
113
  railties (>= 4.2.0)
114
114
  thor (>= 0.14, < 2.0)
115
- jquery-ui-rails (5.0.3)
115
+ jquery-ui-rails (5.0.5)
116
116
  railties (>= 3.2.16)
117
117
  json (1.8.2)
118
118
  kaminari (0.16.3)
@@ -219,7 +219,7 @@ GEM
219
219
  htmlentities
220
220
  sprockets (3.1.0)
221
221
  rack (~> 1.0)
222
- sprockets-rails (2.3.0)
222
+ sprockets-rails (2.3.1)
223
223
  actionpack (>= 3.0)
224
224
  activesupport (>= 3.0)
225
225
  sprockets (>= 2.8, < 4.0)
@@ -154,7 +154,7 @@ module RocketCMS
154
154
  jcrop_options :image_jcrop_options
155
155
  end
156
156
  end
157
- field :excerpt
157
+ field :excerpt, :ck_editor
158
158
  field :slugs, :enum do
159
159
  enum_method do
160
160
  :slugs
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.6.1"
3
3
  end
data/template.rb CHANGED
@@ -209,6 +209,7 @@ inject_into_file 'app/models/user.rb', before: /^end/ do <<-TEXT
209
209
  field :roles, type: Array, default: []
210
210
 
211
211
  before_save do
212
+ self.roles ||= []
212
213
  self.roles.reject! { |r| r.blank? }
213
214
  end
214
215
 
@@ -525,7 +526,8 @@ TEXT
525
526
  end
526
527
 
527
528
  remove_file 'app/assets/stylesheets/application.css'
528
- create_file 'app/assets/stylesheets/application.css.sass' do <<-TEXT
529
+ remove_file 'app/assets/stylesheets/application.css.sass'
530
+ create_file 'app/assets/stylesheets/application.sass' do <<-TEXT
529
531
  @import 'compass'
530
532
  @import 'rocket_cms'
531
533
 
@@ -545,7 +547,8 @@ TEXT
545
547
  end
546
548
 
547
549
  remove_file 'app/assets/javascripts/application.js'
548
- create_file 'app/assets/javascripts/application.js.coffee' do <<-TEXT
550
+ remove_file 'app/assets/javascripts/application.js.coffee'
551
+ create_file 'app/assets/javascripts/application.coffee' do <<-TEXT
549
552
  #= require rocket_cms
550
553
  TEXT
551
554
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ack_rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-12 00:00:00.000000000 Z
12
+ date: 2015-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler