rocket_cms 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/concerns/rs_errors.rb +7 -2
- data/lib/generators/rocket_cms/templates/unicorn.erb +0 -1
- data/lib/rocket_cms/version.rb +1 -1
- data/release.sh +2 -1
- 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: 25bdc3ad604b34a751b5ba611e21dfd882ea172b
|
4
|
+
data.tar.gz: a5346587effddd63e5bceab9d9ad5117b63f52b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6081287c2d6a3bcfe2b817224126888f8836c61781074940030a9c242c1140f003e31214f0588b9553dbe66dcc52bcd5188eb2979a3518e5421aa52765aa6caf
|
7
|
+
data.tar.gz: 5b31c810a38e148a39d8e2be901ded50f9422303fcd757c0761f973b4ef795d16404d2fcf938a4c9d4b29f7759b452a12c66ac635595c7cc3f0dc2e9ccccdb2a
|
data/Gemfile.lock
CHANGED
@@ -6,8 +6,13 @@ module RsErrors
|
|
6
6
|
rescue_from ActionController::RoutingError, with: :render_404
|
7
7
|
rescue_from ActionController::UnknownController, with: :render_404
|
8
8
|
rescue_from AbstractController::ActionNotFound, with: :render_404
|
9
|
-
|
10
|
-
|
9
|
+
if RocketCMS.mongoid?
|
10
|
+
rescue_from Mongoid::Errors::DocumentNotFound, with: :render_404
|
11
|
+
rescue_from Mongoid::Errors::InvalidFind, with: :render_404
|
12
|
+
end
|
13
|
+
if RocketCMS.active_record?
|
14
|
+
rescue_from ActiveRecord::RecordNotFound., with: :render_404
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
if defined?(CanCan)
|
data/lib/rocket_cms/version.rb
CHANGED
data/release.sh
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
bundle update
|
3
3
|
gt 'release gem'
|
4
4
|
rake release
|
5
|
-
cd mongoid && bundle update && cd ..
|
5
|
+
cd mongoid && bundle update && cd ..
|
6
|
+
cd activerecord && bundle update && cd ..
|
6
7
|
gt 'gem update'
|
7
8
|
cd mongoid && rake release && cd ..
|
8
9
|
cd activerecord && rake release && cd ..
|
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.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|