rocket_cms 0.10.2 → 0.11.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 +3 -13
- data/README.md +6 -2
- data/lib/rocket_cms.rb +1 -1
- data/lib/rocket_cms/version.rb +1 -1
- data/release.sh +10 -4
- data/rocket_cms.gemspec +1 -3
- data/template.rb +10 -14
- metadata +5 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13aaf96012720fbdd54d74fc9271fd8e198d1f48
|
4
|
+
data.tar.gz: 421a020485b6cc108dad30c8d30122c6388c945e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed7c71d157f81726c695a34093b2f5f68498f3135ee82c87e16a853fb012bbcccc6605d2d68dce553e2587f8b211a622457ebe5cee4e8196ca5176de99d2ad00
|
7
|
+
data.tar.gz: 1a42f5ccd6e73b9b2eb96761f08518fef4474103bf3ad6b49097d849f5cd98315c40e1fd77d5c9cac8efc7d777283e1ea9462a1fd25ef88b06d0c0b226ceb9fd
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.
|
4
|
+
rocket_cms (0.11.0)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
7
|
devise
|
8
|
-
geocoder
|
9
|
-
glebtv-ckeditor
|
10
8
|
glebtv-simple_captcha
|
11
9
|
jquery-rails
|
12
10
|
kaminari
|
13
|
-
rails (>= 4.1.0, < 5.
|
11
|
+
rails (>= 4.1.0, < 5.1)
|
14
12
|
rails_admin
|
15
13
|
rails_admin_nested_set
|
16
14
|
rails_admin_settings
|
@@ -85,13 +83,6 @@ GEM
|
|
85
83
|
execjs (2.6.0)
|
86
84
|
font-awesome-rails (4.5.0.1)
|
87
85
|
railties (>= 3.2, < 5.1)
|
88
|
-
geocoder (1.3.0)
|
89
|
-
glebtv-ckeditor (4.4.7.4)
|
90
|
-
mime-types
|
91
|
-
mini_magick
|
92
|
-
orm_adapter (~> 0.5.0)
|
93
|
-
rails (~> 4.0)
|
94
|
-
sprockets (~> 3.0)
|
95
86
|
glebtv-simple_captcha (0.6.7)
|
96
87
|
globalid (0.3.6)
|
97
88
|
activesupport (>= 4.1.0)
|
@@ -113,8 +104,7 @@ GEM
|
|
113
104
|
nokogiri (>= 1.5.9)
|
114
105
|
mail (2.6.3)
|
115
106
|
mime-types (>= 1.16, < 3)
|
116
|
-
mime-types (2.99)
|
117
|
-
mini_magick (4.4.0)
|
107
|
+
mime-types (2.99.1)
|
118
108
|
mini_portile2 (2.0.0)
|
119
109
|
minitest (5.8.4)
|
120
110
|
nested_form (0.3.2)
|
data/README.md
CHANGED
@@ -16,6 +16,11 @@ or:
|
|
16
16
|
|
17
17
|
gem 'rocket_cms_activerecord'
|
18
18
|
|
19
|
+
Or, if you don't need CKeditor, GeoCoder, mongoid-audit\paper_trail:
|
20
|
+
|
21
|
+
gem 'rocket_cms_mongoid_light'
|
22
|
+
gem 'rocket_cms_activerecord_light'
|
23
|
+
|
19
24
|
*Only PostgreSQL is tested or supported for AR. Others will probably work, but untested.*
|
20
25
|
|
21
26
|
And then execute:
|
@@ -44,7 +49,7 @@ If not, uninstall rails and install again
|
|
44
49
|
|
45
50
|
gem uninstall rails
|
46
51
|
gem install rocket_cms
|
47
|
-
|
52
|
+
|
48
53
|
Then, for mongoid:
|
49
54
|
|
50
55
|
rails new my_app -T -O -m https://raw.githubusercontent.com/rs-pro/rocket_cms/master/template.rb
|
@@ -136,4 +141,3 @@ See their documentation for more info
|
|
136
141
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
137
142
|
4. Push to the branch (`git push origin my-new-feature`)
|
138
143
|
5. Create new Pull Request
|
139
|
-
|
data/lib/rocket_cms.rb
CHANGED
data/lib/rocket_cms/version.rb
CHANGED
data/release.sh
CHANGED
@@ -1,12 +1,18 @@
|
|
1
|
-
#!/
|
1
|
+
#!/bin/bash
|
2
2
|
bundle update
|
3
3
|
git add --all .
|
4
4
|
git commit -am "${*:1}"
|
5
5
|
git push
|
6
6
|
rake release
|
7
7
|
cd mongoid
|
8
|
-
bundle update && rake release
|
8
|
+
bundle update && rake release
|
9
9
|
cd ..
|
10
10
|
cd activerecord
|
11
|
-
bundle update && rake release
|
12
|
-
cd ..
|
11
|
+
bundle update && rake release
|
12
|
+
cd ..
|
13
|
+
cd mongoid_light
|
14
|
+
bundle update && rake release
|
15
|
+
cd ..
|
16
|
+
cd activerecord_light
|
17
|
+
bundle update && rake release
|
18
|
+
cd ..
|
data/rocket_cms.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_development_dependency 'bundler'
|
21
21
|
spec.add_development_dependency 'rake'
|
22
22
|
|
23
|
-
spec.add_dependency 'rails', '>= 4.1.0', '< 5.
|
23
|
+
spec.add_dependency 'rails', '>= 4.1.0', '< 5.1'
|
24
24
|
|
25
25
|
spec.add_dependency 'jquery-rails'
|
26
26
|
spec.add_dependency 'simple_form'
|
@@ -32,9 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency 'rails_admin'
|
33
33
|
spec.add_dependency 'rails_admin_nested_set'
|
34
34
|
spec.add_dependency 'rails_admin_toggleable'
|
35
|
-
spec.add_dependency 'glebtv-ckeditor'
|
36
35
|
spec.add_dependency 'rails_admin_settings'
|
37
|
-
spec.add_dependency 'geocoder'
|
38
36
|
spec.add_dependency 'simple-navigation'
|
39
37
|
spec.add_dependency 'sitemap_generator'
|
40
38
|
spec.add_dependency 'kaminari'
|
data/template.rb
CHANGED
@@ -14,16 +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.
|
17
|
+
gem 'rails', '4.2.5.1'
|
18
18
|
#{if mongoid then "gem 'mongoid', '~> 5.0.0'" else "gem 'pg'" end}
|
19
19
|
|
20
20
|
gem 'sass', '~> 3.4.0'
|
21
21
|
|
22
|
-
#{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}, '~> 0.
|
22
|
+
#{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}, '~> 0.11.0'
|
23
23
|
|
24
24
|
gem 'sass-rails'
|
25
|
-
gem 'compass-rails'
|
26
|
-
gem 'compass', '~> 1.0.0'
|
25
|
+
gem 'glebtv-compass-rails'
|
27
26
|
|
28
27
|
gem 'slim-rails'
|
29
28
|
gem 'rs_russian'
|
@@ -42,14 +41,11 @@ group :development do
|
|
42
41
|
gem 'spring'
|
43
42
|
|
44
43
|
gem 'capistrano', '~> 3.4.0', require: false
|
45
|
-
gem 'rvm1-capistrano3', require: false
|
46
44
|
gem 'glebtv-capistrano-unicorn', require: false
|
47
45
|
gem 'capistrano-bundler', require: false
|
48
46
|
gem 'capistrano-rails', require: false
|
49
47
|
|
50
48
|
gem 'hipchat'
|
51
|
-
#gem 'coffee-rails-source-maps'
|
52
|
-
#gem 'compass-rails-source-maps'
|
53
49
|
end
|
54
50
|
|
55
51
|
group :test do
|
@@ -111,9 +107,9 @@ create_file 'config/navigation.rb' do <<-TEXT
|
|
111
107
|
TEXT
|
112
108
|
end
|
113
109
|
|
114
|
-
create_file 'README.md', "## #{app_name}\nProject generated by RocketCMS\nORM: #{if mongoid then 'Mongoid' else 'ActiveRecord' end}\n\n"
|
110
|
+
create_file 'README.md', "## #{app_name}\nProject generated by RocketCMS\n\nORM: #{if mongoid then 'Mongoid' else 'ActiveRecord' end}\n\n"
|
115
111
|
|
116
|
-
create_file '.ruby-version', "2.
|
112
|
+
create_file '.ruby-version', "2.3.0\n"
|
117
113
|
create_file '.ruby-gemset', "#{app_name}\n"
|
118
114
|
|
119
115
|
run 'bundle install --without production'
|
@@ -197,13 +193,13 @@ Rails.application.routes.draw do
|
|
197
193
|
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
|
198
194
|
mount Ckeditor::Engine => '/ckeditor'
|
199
195
|
|
200
|
-
get 'contacts' => 'contacts#new', as: :contacts
|
201
|
-
post 'contacts' => 'contacts#create', as: :create_contacts
|
202
|
-
get 'contacts/sent' => 'contacts#sent', as: :contacts_sent
|
196
|
+
#get 'contacts' => 'contacts#new', as: :contacts
|
197
|
+
#post 'contacts' => 'contacts#create', as: :create_contacts
|
198
|
+
#get 'contacts/sent' => 'contacts#sent', as: :contacts_sent
|
203
199
|
|
204
|
-
get 'search' => 'search#index', as: :search
|
200
|
+
#get 'search' => 'search#index', as: :search
|
205
201
|
|
206
|
-
resources :news, only: [:index, :show]
|
202
|
+
#resources :news, only: [:index, :show]
|
207
203
|
|
208
204
|
root to: 'home#index'
|
209
205
|
|
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.11.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-02-
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: 4.1.0
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '5.
|
50
|
+
version: '5.1'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: 4.1.0
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '5.
|
60
|
+
version: '5.1'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: jquery-rails
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,20 +198,6 @@ dependencies:
|
|
198
198
|
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
|
-
- !ruby/object:Gem::Dependency
|
202
|
-
name: glebtv-ckeditor
|
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
201
|
- !ruby/object:Gem::Dependency
|
216
202
|
name: rails_admin_settings
|
217
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,20 +212,6 @@ dependencies:
|
|
226
212
|
- - ">="
|
227
213
|
- !ruby/object:Gem::Version
|
228
214
|
version: '0'
|
229
|
-
- !ruby/object:Gem::Dependency
|
230
|
-
name: geocoder
|
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
215
|
- !ruby/object:Gem::Dependency
|
244
216
|
name: simple-navigation
|
245
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -501,7 +473,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
501
473
|
version: '0'
|
502
474
|
requirements: []
|
503
475
|
rubyforge_project:
|
504
|
-
rubygems_version: 2.5.1
|
476
|
+
rubygems_version: 2.4.5.1
|
505
477
|
signing_key:
|
506
478
|
specification_version: 4
|
507
479
|
summary: Please DO NOT use this gem directly, use rocket_cms_mongoid or rocket_cms_activerecord
|