ack_rocket_cms 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +36 -36
- data/lib/generators/rocket_cms/templates/deploy.erb +1 -1
- data/lib/rocket_cms/version.rb +1 -1
- data/template.rb +48 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a85ad2e49a0c3a4b497f9de2f8ec13e0ae272fdc
|
|
4
|
+
data.tar.gz: 348ce919e340eead7dcb3c112890cbcf1a639718
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e9e339d8274477568edba1ea6afa69473ba7f529ec35abeedb2f3aa5f98f5c31e543a03e8b6c3b4505aa8bbc1d2437f893fad32432141290a9a9317ec6692b5
|
|
7
|
+
data.tar.gz: d6d42cac7c1f46537d2a03cc0afa468941af4572dd8c288ea48f36ba1e9b0ac899cf15d16feb86b86a12290a8a416333a56e6cb77e518e6e66e5062e275fd451
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.2.
|
|
1
|
+
2.2.1
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ack_rocket_cms (0.7.
|
|
4
|
+
ack_rocket_cms (0.7.4)
|
|
5
5
|
addressable
|
|
6
6
|
ckeditor
|
|
7
7
|
coffee-rails
|
|
@@ -29,36 +29,36 @@ PATH
|
|
|
29
29
|
GEM
|
|
30
30
|
remote: https://rubygems.org/
|
|
31
31
|
specs:
|
|
32
|
-
actionmailer (4.2.
|
|
33
|
-
actionpack (= 4.2.
|
|
34
|
-
actionview (= 4.2.
|
|
35
|
-
activejob (= 4.2.
|
|
32
|
+
actionmailer (4.2.1)
|
|
33
|
+
actionpack (= 4.2.1)
|
|
34
|
+
actionview (= 4.2.1)
|
|
35
|
+
activejob (= 4.2.1)
|
|
36
36
|
mail (~> 2.5, >= 2.5.4)
|
|
37
37
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
38
|
-
actionpack (4.2.
|
|
39
|
-
actionview (= 4.2.
|
|
40
|
-
activesupport (= 4.2.
|
|
41
|
-
rack (~> 1.6
|
|
38
|
+
actionpack (4.2.1)
|
|
39
|
+
actionview (= 4.2.1)
|
|
40
|
+
activesupport (= 4.2.1)
|
|
41
|
+
rack (~> 1.6)
|
|
42
42
|
rack-test (~> 0.6.2)
|
|
43
43
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
44
44
|
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
|
45
|
-
actionview (4.2.
|
|
46
|
-
activesupport (= 4.2.
|
|
45
|
+
actionview (4.2.1)
|
|
46
|
+
activesupport (= 4.2.1)
|
|
47
47
|
builder (~> 3.1)
|
|
48
48
|
erubis (~> 2.7.0)
|
|
49
49
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
50
50
|
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
|
51
|
-
activejob (4.2.
|
|
52
|
-
activesupport (= 4.2.
|
|
51
|
+
activejob (4.2.1)
|
|
52
|
+
activesupport (= 4.2.1)
|
|
53
53
|
globalid (>= 0.3.0)
|
|
54
|
-
activemodel (4.2.
|
|
55
|
-
activesupport (= 4.2.
|
|
54
|
+
activemodel (4.2.1)
|
|
55
|
+
activesupport (= 4.2.1)
|
|
56
56
|
builder (~> 3.1)
|
|
57
|
-
activerecord (4.2.
|
|
58
|
-
activemodel (= 4.2.
|
|
59
|
-
activesupport (= 4.2.
|
|
57
|
+
activerecord (4.2.1)
|
|
58
|
+
activemodel (= 4.2.1)
|
|
59
|
+
activesupport (= 4.2.1)
|
|
60
60
|
arel (~> 6.0)
|
|
61
|
-
activesupport (4.2.
|
|
61
|
+
activesupport (4.2.1)
|
|
62
62
|
i18n (~> 0.7)
|
|
63
63
|
json (~> 1.7, >= 1.7.7)
|
|
64
64
|
minitest (~> 5.1)
|
|
@@ -83,7 +83,7 @@ GEM
|
|
|
83
83
|
coffee-script-source
|
|
84
84
|
execjs
|
|
85
85
|
coffee-script-source (1.9.1)
|
|
86
|
-
connection_pool (2.1.
|
|
86
|
+
connection_pool (2.1.3)
|
|
87
87
|
devise (3.4.1)
|
|
88
88
|
bcrypt (~> 3.0)
|
|
89
89
|
orm_adapter (~> 0.1)
|
|
@@ -95,7 +95,7 @@ GEM
|
|
|
95
95
|
execjs (2.4.0)
|
|
96
96
|
font-awesome-rails (4.3.0.0)
|
|
97
97
|
railties (>= 3.2, < 5.0)
|
|
98
|
-
geocoder (1.2.
|
|
98
|
+
geocoder (1.2.8)
|
|
99
99
|
glebtv-simple_captcha (0.6.7)
|
|
100
100
|
globalid (0.3.3)
|
|
101
101
|
activesupport (>= 4.1.0)
|
|
@@ -143,26 +143,26 @@ GEM
|
|
|
143
143
|
rack (~> 1.1)
|
|
144
144
|
rack-test (0.6.3)
|
|
145
145
|
rack (>= 1.0)
|
|
146
|
-
rails (4.2.
|
|
147
|
-
actionmailer (= 4.2.
|
|
148
|
-
actionpack (= 4.2.
|
|
149
|
-
actionview (= 4.2.
|
|
150
|
-
activejob (= 4.2.
|
|
151
|
-
activemodel (= 4.2.
|
|
152
|
-
activerecord (= 4.2.
|
|
153
|
-
activesupport (= 4.2.
|
|
146
|
+
rails (4.2.1)
|
|
147
|
+
actionmailer (= 4.2.1)
|
|
148
|
+
actionpack (= 4.2.1)
|
|
149
|
+
actionview (= 4.2.1)
|
|
150
|
+
activejob (= 4.2.1)
|
|
151
|
+
activemodel (= 4.2.1)
|
|
152
|
+
activerecord (= 4.2.1)
|
|
153
|
+
activesupport (= 4.2.1)
|
|
154
154
|
bundler (>= 1.3.0, < 2.0)
|
|
155
|
-
railties (= 4.2.
|
|
155
|
+
railties (= 4.2.1)
|
|
156
156
|
sprockets-rails
|
|
157
157
|
rails-deprecated_sanitizer (1.0.3)
|
|
158
158
|
activesupport (>= 4.2.0.alpha)
|
|
159
|
-
rails-dom-testing (1.0.
|
|
159
|
+
rails-dom-testing (1.0.6)
|
|
160
160
|
activesupport (>= 4.2.0.beta, < 5.0)
|
|
161
161
|
nokogiri (~> 1.6.0)
|
|
162
162
|
rails-deprecated_sanitizer (>= 1.0.1)
|
|
163
163
|
rails-html-sanitizer (1.0.2)
|
|
164
164
|
loofah (~> 2.0)
|
|
165
|
-
rails_admin (0.6.
|
|
165
|
+
rails_admin (0.6.7)
|
|
166
166
|
builder (~> 3.1)
|
|
167
167
|
coffee-rails (~> 4.0)
|
|
168
168
|
font-awesome-rails (>= 3.0, < 5)
|
|
@@ -181,14 +181,14 @@ GEM
|
|
|
181
181
|
mongoid (>= 3.0)
|
|
182
182
|
rails (>= 3.0)
|
|
183
183
|
rails_admin (>= 0.5)
|
|
184
|
-
rails_admin_nested_set (0.4.
|
|
184
|
+
rails_admin_nested_set (0.4.1)
|
|
185
185
|
rails_admin (~> 0.6.6)
|
|
186
186
|
rails_admin_settings (0.9.1)
|
|
187
187
|
rails_admin_toggleable (0.5.0)
|
|
188
188
|
rails_admin (~> 0.6.6)
|
|
189
|
-
railties (4.2.
|
|
190
|
-
actionpack (= 4.2.
|
|
191
|
-
activesupport (= 4.2.
|
|
189
|
+
railties (4.2.1)
|
|
190
|
+
actionpack (= 4.2.1)
|
|
191
|
+
activesupport (= 4.2.1)
|
|
192
192
|
rake (>= 0.8.7)
|
|
193
193
|
thor (>= 0.18.1, < 2.0)
|
|
194
194
|
rake (10.4.2)
|
|
@@ -13,7 +13,7 @@ set :deploy_to, "<%= deploy_to %>"
|
|
|
13
13
|
# set :hipchat_announce, false
|
|
14
14
|
|
|
15
15
|
set :rvm_type, :user
|
|
16
|
-
set :rvm_ruby_version, "2.2.
|
|
16
|
+
set :rvm_ruby_version, "2.2.1@#{fetch :application}"
|
|
17
17
|
set :use_sudo, false
|
|
18
18
|
|
|
19
19
|
set :keep_releases, 20
|
data/lib/rocket_cms/version.rb
CHANGED
data/template.rb
CHANGED
|
@@ -14,7 +14,7 @@ remove_file 'Gemfile'
|
|
|
14
14
|
create_file 'Gemfile' do <<-TEXT
|
|
15
15
|
source 'https://rubygems.org'
|
|
16
16
|
|
|
17
|
-
gem 'rails', '4.2.
|
|
17
|
+
gem 'rails', '4.2.1'
|
|
18
18
|
#{if mongoid then "gem 'mongoid', '~> 4.0.0'" else "gem 'pg'" end}
|
|
19
19
|
|
|
20
20
|
# gem 'sass'
|
|
@@ -141,7 +141,7 @@ end
|
|
|
141
141
|
|
|
142
142
|
create_file 'README.md', "## #{app_name}\nProject generated by RocketCMS\nORM: #{if mongoid then 'Mongoid' else 'ActiveRecord' end}\n\n"
|
|
143
143
|
|
|
144
|
-
create_file '.ruby-version', "2.2.
|
|
144
|
+
create_file '.ruby-version', "2.2.1\n"
|
|
145
145
|
create_file '.ruby-gemset', "#{app_name}\n"
|
|
146
146
|
|
|
147
147
|
run 'bundle install --without production'
|
|
@@ -548,6 +548,52 @@ create_file 'app/assets/javascripts/application.js.coffee' do <<-TEXT
|
|
|
548
548
|
TEXT
|
|
549
549
|
end
|
|
550
550
|
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
#scripts
|
|
554
|
+
remove_file 'scripts/assets_precompile.sh'
|
|
555
|
+
create_file 'scripts/assets_precompile.sh' do <<-TEXT
|
|
556
|
+
#!/bin/sh
|
|
557
|
+
|
|
558
|
+
RAILS_ENV=production rake assets:precompile
|
|
559
|
+
TEXT
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
remove_file 'scripts/bundle_production.sh'
|
|
563
|
+
create_file 'scripts/bundle_production.sh' do <<-TEXT
|
|
564
|
+
#!/bin/sh
|
|
565
|
+
|
|
566
|
+
rm Gemfile.lock
|
|
567
|
+
bundle install --without development test
|
|
568
|
+
TEXT
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
remove_file 'scripts/full_assets_precompile.sh'
|
|
572
|
+
create_file 'scripts/full_assets_precompile.sh' do <<-TEXT
|
|
573
|
+
#!/bin/sh
|
|
574
|
+
|
|
575
|
+
RAILS_ENV=production rake assets:precompile
|
|
576
|
+
TEXT
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
remove_file 'scripts/restart_thru_kill.sh'
|
|
580
|
+
create_file 'scripts/restart_thru_kill.sh' do <<-TEXT
|
|
581
|
+
#!/bin/sh
|
|
582
|
+
|
|
583
|
+
kill $(cat ./tmp/pids/unicorn.pid)
|
|
584
|
+
TEXT
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
remove_file 'scripts/start_god_rvm_wrapper.sh'
|
|
588
|
+
create_file 'scripts/start_god_rvm_wrapper.sh' do <<-TEXT
|
|
589
|
+
#!/bin/sh
|
|
590
|
+
|
|
591
|
+
sudo /etc/init.d/god_bootup_#{app_name.downcase}
|
|
592
|
+
TEXT
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
551
597
|
if mongoid
|
|
552
598
|
FileUtils.cp(Pathname.new(destination_root).join('config', 'mongoid.yml').to_s, Pathname.new(destination_root).join('config', 'mongoid.yml.example').to_s)
|
|
553
599
|
else
|
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.
|
|
4
|
+
version: 0.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- glebtv
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-03-
|
|
12
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -534,7 +534,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
534
534
|
version: '0'
|
|
535
535
|
requirements: []
|
|
536
536
|
rubyforge_project:
|
|
537
|
-
rubygems_version: 2.4.
|
|
537
|
+
rubygems_version: 2.4.6
|
|
538
538
|
signing_key:
|
|
539
539
|
specification_version: 4
|
|
540
540
|
summary: Please DO NOT use this gem directly, use ack_rocket_cms_mongoid or ack_rocket_cms_activerecord
|