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 +4 -4
- data/Gemfile.lock +3 -3
- data/lib/rocket_cms/admin.rb +1 -1
- data/lib/rocket_cms/version.rb +1 -1
- data/template.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d9a86f20359c9af0d53787e6878e7b7f1f855bb
|
4
|
+
data.tar.gz: 439d834ae5bdfb72487b5155a1ceb5df8ebec166
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
222
|
+
sprockets-rails (2.3.1)
|
223
223
|
actionpack (>= 3.0)
|
224
224
|
activesupport (>= 3.0)
|
225
225
|
sprockets (>= 2.8, < 4.0)
|
data/lib/rocket_cms/admin.rb
CHANGED
data/lib/rocket_cms/version.rb
CHANGED
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
|
-
|
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
|
-
|
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
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|