rocket_cms 0.11.7 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -79
- data/lib/rocket_cms.rb +0 -12
- data/lib/rocket_cms/version.rb +1 -1
- data/rocket_cms.gemspec +0 -10
- data/template.rb +8 -8
- metadata +2 -142
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96d05f1668f0160be639e9006e63405191cb11df
|
4
|
+
data.tar.gz: 83ab11d81d1b6b8958cddcac380bdb6d6923d2c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcd63b72b84f50e9d295a4ac7b6ebbf73863edfe65d68c24edba61cb4d6bcfdddfe7117faaf143ce3daead6b75ecc95753d4e3e7c1774d49676d6a4a671a4fae
|
7
|
+
data.tar.gz: ff4885df2239a4dde419961ffcae04e179a58e64fa9f867d5c797e83b6549a8ad9228fa0456058e6c8c5143481c28977aa55e6f8cd2d83f35a28e41704f523d5
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.
|
4
|
+
rocket_cms (0.12.0)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
|
-
devise
|
8
|
-
glebtv-simple_captcha
|
9
7
|
jquery-rails
|
10
|
-
kaminari
|
11
8
|
rails (>= 4.1.0, < 5.1)
|
12
|
-
rails_admin
|
13
|
-
rails_admin_nested_set
|
14
|
-
rails_admin_settings
|
15
|
-
rails_admin_toggleable
|
16
|
-
simple-navigation
|
17
|
-
simple_form
|
18
|
-
sitemap_generator
|
19
9
|
smart_excerpt
|
20
10
|
stringex
|
21
11
|
thor
|
@@ -62,7 +52,6 @@ GEM
|
|
62
52
|
tzinfo (~> 1.1)
|
63
53
|
addressable (2.4.0)
|
64
54
|
arel (6.0.3)
|
65
|
-
bcrypt (3.1.11)
|
66
55
|
builder (3.2.2)
|
67
56
|
coffee-rails (4.1.1)
|
68
57
|
coffee-script (>= 2.2.0)
|
@@ -71,51 +60,30 @@ GEM
|
|
71
60
|
coffee-script-source
|
72
61
|
execjs
|
73
62
|
coffee-script-source (1.10.0)
|
74
|
-
concurrent-ruby (1.0.
|
75
|
-
devise (4.0.1)
|
76
|
-
bcrypt (~> 3.0)
|
77
|
-
orm_adapter (~> 0.1)
|
78
|
-
railties (>= 4.1.0, < 5.1)
|
79
|
-
responders
|
80
|
-
warden (~> 1.2.3)
|
63
|
+
concurrent-ruby (1.0.2)
|
81
64
|
erubis (2.7.0)
|
82
|
-
execjs (2.
|
83
|
-
font-awesome-rails (4.6.1.0)
|
84
|
-
railties (>= 3.2, < 5.1)
|
85
|
-
glebtv-simple_captcha (0.6.7)
|
65
|
+
execjs (2.7.0)
|
86
66
|
globalid (0.3.6)
|
87
67
|
activesupport (>= 4.1.0)
|
88
|
-
haml (4.0.7)
|
89
|
-
tilt
|
90
68
|
htmlentities (4.3.4)
|
91
69
|
i18n (0.7.0)
|
92
70
|
jquery-rails (4.1.1)
|
93
71
|
rails-dom-testing (>= 1, < 3)
|
94
72
|
railties (>= 4.2.0)
|
95
73
|
thor (>= 0.14, < 2.0)
|
96
|
-
jquery-ui-rails (5.0.5)
|
97
|
-
railties (>= 3.2.16)
|
98
74
|
json (1.8.3)
|
99
|
-
kaminari (0.16.3)
|
100
|
-
actionpack (>= 3.0.0)
|
101
|
-
activesupport (>= 3.0.0)
|
102
75
|
loofah (2.0.3)
|
103
76
|
nokogiri (>= 1.5.9)
|
104
77
|
mail (2.6.4)
|
105
78
|
mime-types (>= 1.16, < 4)
|
106
|
-
mime-types (3.
|
79
|
+
mime-types (3.1)
|
107
80
|
mime-types-data (~> 3.2015)
|
108
|
-
mime-types-data (3.2016.
|
81
|
+
mime-types-data (3.2016.0521)
|
109
82
|
mini_portile2 (2.0.0)
|
110
|
-
minitest (5.
|
111
|
-
nested_form (0.3.2)
|
83
|
+
minitest (5.9.0)
|
112
84
|
nokogiri (1.6.7.2)
|
113
85
|
mini_portile2 (~> 2.0.0.rc2)
|
114
|
-
orm_adapter (0.5.0)
|
115
86
|
rack (1.6.4)
|
116
|
-
rack-pjax (0.8.0)
|
117
|
-
nokogiri (~> 1.5)
|
118
|
-
rack (~> 1.1)
|
119
87
|
rack-test (0.6.3)
|
120
88
|
rack (>= 1.0)
|
121
89
|
rails (4.2.6)
|
@@ -137,49 +105,12 @@ GEM
|
|
137
105
|
rails-deprecated_sanitizer (>= 1.0.1)
|
138
106
|
rails-html-sanitizer (1.0.3)
|
139
107
|
loofah (~> 2.0)
|
140
|
-
rails_admin (0.8.1)
|
141
|
-
builder (~> 3.1)
|
142
|
-
coffee-rails (~> 4.0)
|
143
|
-
font-awesome-rails (>= 3.0, < 5)
|
144
|
-
haml (~> 4.0)
|
145
|
-
jquery-rails (>= 3.0, < 5)
|
146
|
-
jquery-ui-rails (~> 5.0)
|
147
|
-
kaminari (~> 0.14)
|
148
|
-
nested_form (~> 0.3)
|
149
|
-
rack-pjax (~> 0.7)
|
150
|
-
rails (~> 4.0)
|
151
|
-
remotipart (~> 1.0)
|
152
|
-
safe_yaml (~> 1.0)
|
153
|
-
sass-rails (>= 4.0, < 6)
|
154
|
-
rails_admin_nested_set (0.5.0)
|
155
|
-
rails_admin
|
156
|
-
rails_admin_settings (1.1.3)
|
157
|
-
rails_admin_toggleable (0.6.0)
|
158
|
-
rails_admin
|
159
108
|
railties (4.2.6)
|
160
109
|
actionpack (= 4.2.6)
|
161
110
|
activesupport (= 4.2.6)
|
162
111
|
rake (>= 0.8.7)
|
163
112
|
thor (>= 0.18.1, < 2.0)
|
164
113
|
rake (11.1.2)
|
165
|
-
remotipart (1.2.1)
|
166
|
-
responders (2.1.2)
|
167
|
-
railties (>= 4.2.0, < 5.1)
|
168
|
-
safe_yaml (1.0.4)
|
169
|
-
sass (3.4.22)
|
170
|
-
sass-rails (5.0.4)
|
171
|
-
railties (>= 4.0.0, < 5.0)
|
172
|
-
sass (~> 3.1)
|
173
|
-
sprockets (>= 2.8, < 4.0)
|
174
|
-
sprockets-rails (>= 2.0, < 4.0)
|
175
|
-
tilt (>= 1.1, < 3)
|
176
|
-
simple-navigation (4.0.3)
|
177
|
-
activesupport (>= 2.3.2)
|
178
|
-
simple_form (3.2.1)
|
179
|
-
actionpack (> 4, < 5.1)
|
180
|
-
activemodel (> 4, < 5.1)
|
181
|
-
sitemap_generator (5.1.0)
|
182
|
-
builder
|
183
114
|
smart_excerpt (0.1.5)
|
184
115
|
activesupport
|
185
116
|
htmlentities
|
@@ -193,15 +124,12 @@ GEM
|
|
193
124
|
stringex (2.6.0)
|
194
125
|
thor (0.19.1)
|
195
126
|
thread_safe (0.3.5)
|
196
|
-
tilt (2.0.2)
|
197
127
|
turbolinks (2.5.3)
|
198
128
|
coffee-rails
|
199
129
|
tzinfo (1.2.2)
|
200
130
|
thread_safe (~> 0.1)
|
201
131
|
validates_email_format_of (1.6.3)
|
202
132
|
i18n
|
203
|
-
warden (1.2.6)
|
204
|
-
rack (>= 1.0)
|
205
133
|
|
206
134
|
PLATFORMS
|
207
135
|
ruby
|
@@ -212,4 +140,4 @@ DEPENDENCIES
|
|
212
140
|
rocket_cms!
|
213
141
|
|
214
142
|
BUNDLED WITH
|
215
|
-
1.
|
143
|
+
1.12.3
|
data/lib/rocket_cms.rb
CHANGED
@@ -4,25 +4,13 @@ unless defined?(RocketCMS) && RocketCMS.respond_to?(:orm) && [:active_record, :m
|
|
4
4
|
end
|
5
5
|
|
6
6
|
require 'rocket_cms/version'
|
7
|
-
require 'devise'
|
8
|
-
|
9
|
-
require 'simple_form'
|
10
|
-
require 'rocket_cms/simple_form_patch'
|
11
|
-
|
12
|
-
require 'glebtv-simple_captcha'
|
13
7
|
require 'validates_email_format_of'
|
14
8
|
require 'smart_excerpt'
|
15
9
|
require 'filename_to_slug'
|
16
|
-
require 'rails_admin'
|
17
|
-
require 'rails_admin_nested_set'
|
18
|
-
require 'rails_admin_toggleable'
|
19
|
-
require 'rails_admin_settings'
|
20
10
|
|
21
|
-
require 'sitemap_generator'
|
22
11
|
require 'kaminari'
|
23
12
|
require 'addressable/uri'
|
24
13
|
require 'turbolinks'
|
25
|
-
require 'simple-navigation'
|
26
14
|
|
27
15
|
require 'rocket_cms/seo_helpers'
|
28
16
|
require 'rocket_cms/configuration'
|
data/lib/rocket_cms/version.rb
CHANGED
data/rocket_cms.gemspec
CHANGED
@@ -23,19 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'rails', '>= 4.1.0', '< 5.1'
|
24
24
|
|
25
25
|
spec.add_dependency 'jquery-rails'
|
26
|
-
spec.add_dependency 'simple_form'
|
27
|
-
spec.add_dependency 'glebtv-simple_captcha'
|
28
26
|
spec.add_dependency 'coffee-rails'
|
29
|
-
spec.add_dependency 'devise'
|
30
27
|
spec.add_dependency 'turbolinks'
|
31
28
|
spec.add_dependency 'validates_email_format_of'
|
32
|
-
spec.add_dependency 'rails_admin'
|
33
|
-
spec.add_dependency 'rails_admin_nested_set'
|
34
|
-
spec.add_dependency 'rails_admin_toggleable'
|
35
|
-
spec.add_dependency 'rails_admin_settings'
|
36
|
-
spec.add_dependency 'simple-navigation'
|
37
|
-
spec.add_dependency 'sitemap_generator'
|
38
|
-
spec.add_dependency 'kaminari'
|
39
29
|
spec.add_dependency 'addressable'
|
40
30
|
spec.add_dependency 'stringex'
|
41
31
|
spec.add_dependency 'thor'
|
data/template.rb
CHANGED
@@ -14,15 +14,15 @@ remove_file 'Gemfile'
|
|
14
14
|
create_file 'Gemfile' do <<-TEXT
|
15
15
|
source 'https://rubygems.org'
|
16
16
|
|
17
|
-
gem 'rails', '4.2.
|
18
|
-
#{if mongoid then "gem 'mongoid', '~> 5.
|
17
|
+
gem 'rails', '4.2.6'
|
18
|
+
#{if mongoid then "gem 'mongoid', '~> 5.1.0'" else "gem 'pg'" end}
|
19
19
|
|
20
|
-
gem 'sass'
|
20
|
+
gem 'sass'
|
21
21
|
|
22
|
-
#{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}
|
22
|
+
#{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}
|
23
23
|
|
24
24
|
gem 'sass-rails'
|
25
|
-
gem '
|
25
|
+
gem 'compass-rails'
|
26
26
|
|
27
27
|
gem 'slim-rails'
|
28
28
|
gem 'rs_russian'
|
@@ -31,7 +31,6 @@ gem 'cancancan'
|
|
31
31
|
gem 'cloner'
|
32
32
|
gem 'unicorn'
|
33
33
|
gem 'x-real-ip'
|
34
|
-
|
35
34
|
gem 'sentry-raven'
|
36
35
|
|
37
36
|
group :development do
|
@@ -40,7 +39,7 @@ group :development do
|
|
40
39
|
gem 'pry-rails'
|
41
40
|
gem 'spring'
|
42
41
|
|
43
|
-
gem 'capistrano',
|
42
|
+
gem 'capistrano', require: false
|
44
43
|
gem 'glebtv-capistrano-unicorn', require: false
|
45
44
|
gem 'capistrano-bundler', require: false
|
46
45
|
gem 'capistrano-rails', require: false
|
@@ -107,9 +106,10 @@ create_file 'config/navigation.rb' do <<-TEXT
|
|
107
106
|
TEXT
|
108
107
|
end
|
109
108
|
|
109
|
+
remove_file 'README.md'
|
110
110
|
create_file 'README.md', "## #{app_name}\nProject generated by RocketCMS\n\nORM: #{if mongoid then 'Mongoid' else 'ActiveRecord' end}\n\n"
|
111
111
|
|
112
|
-
create_file '.ruby-version', "2.3.
|
112
|
+
create_file '.ruby-version', "2.3.1\n"
|
113
113
|
create_file '.ruby-gemset', "#{app_name}\n"
|
114
114
|
|
115
115
|
run 'bundle install --without production'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,34 +72,6 @@ dependencies:
|
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: simple_form
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :runtime
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: glebtv-simple_captcha
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0'
|
96
|
-
type: :runtime
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
103
75
|
- !ruby/object:Gem::Dependency
|
104
76
|
name: coffee-rails
|
105
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,20 +86,6 @@ dependencies:
|
|
114
86
|
- - ">="
|
115
87
|
- !ruby/object:Gem::Version
|
116
88
|
version: '0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: devise
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '0'
|
124
|
-
type: :runtime
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '0'
|
131
89
|
- !ruby/object:Gem::Dependency
|
132
90
|
name: turbolinks
|
133
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,104 +114,6 @@ dependencies:
|
|
156
114
|
- - ">="
|
157
115
|
- !ruby/object:Gem::Version
|
158
116
|
version: '0'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: rails_admin
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - ">="
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
166
|
-
type: :runtime
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - ">="
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0'
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: rails_admin_nested_set
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - ">="
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '0'
|
180
|
-
type: :runtime
|
181
|
-
prerelease: false
|
182
|
-
version_requirements: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - ">="
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: '0'
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: rails_admin_toggleable
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - ">="
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '0'
|
194
|
-
type: :runtime
|
195
|
-
prerelease: false
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - ">="
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '0'
|
201
|
-
- !ruby/object:Gem::Dependency
|
202
|
-
name: rails_admin_settings
|
203
|
-
requirement: !ruby/object:Gem::Requirement
|
204
|
-
requirements:
|
205
|
-
- - ">="
|
206
|
-
- !ruby/object:Gem::Version
|
207
|
-
version: '0'
|
208
|
-
type: :runtime
|
209
|
-
prerelease: false
|
210
|
-
version_requirements: !ruby/object:Gem::Requirement
|
211
|
-
requirements:
|
212
|
-
- - ">="
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
version: '0'
|
215
|
-
- !ruby/object:Gem::Dependency
|
216
|
-
name: simple-navigation
|
217
|
-
requirement: !ruby/object:Gem::Requirement
|
218
|
-
requirements:
|
219
|
-
- - ">="
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '0'
|
222
|
-
type: :runtime
|
223
|
-
prerelease: false
|
224
|
-
version_requirements: !ruby/object:Gem::Requirement
|
225
|
-
requirements:
|
226
|
-
- - ">="
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
version: '0'
|
229
|
-
- !ruby/object:Gem::Dependency
|
230
|
-
name: sitemap_generator
|
231
|
-
requirement: !ruby/object:Gem::Requirement
|
232
|
-
requirements:
|
233
|
-
- - ">="
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
version: '0'
|
236
|
-
type: :runtime
|
237
|
-
prerelease: false
|
238
|
-
version_requirements: !ruby/object:Gem::Requirement
|
239
|
-
requirements:
|
240
|
-
- - ">="
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: '0'
|
243
|
-
- !ruby/object:Gem::Dependency
|
244
|
-
name: kaminari
|
245
|
-
requirement: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - ">="
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: '0'
|
250
|
-
type: :runtime
|
251
|
-
prerelease: false
|
252
|
-
version_requirements: !ruby/object:Gem::Requirement
|
253
|
-
requirements:
|
254
|
-
- - ">="
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: '0'
|
257
117
|
- !ruby/object:Gem::Dependency
|
258
118
|
name: addressable
|
259
119
|
requirement: !ruby/object:Gem::Requirement
|