rocket_pants 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rocket_pants.rb +10 -0
- data/lib/rocket_pants/base.rb +0 -9
- metadata +2 -2
data/lib/rocket_pants.rb
CHANGED
@@ -25,6 +25,16 @@ module RocketPants
|
|
25
25
|
autoload :TestHelper, 'rocket_pants/test_helper'
|
26
26
|
autoload :RSpecMatchers, 'rocket_pants/rspec_matchers'
|
27
27
|
|
28
|
+
# Each of the controller mixins etc.
|
29
|
+
autoload :Caching, 'rocket_pants/controller/caching'
|
30
|
+
autoload :ErrorHandling, 'rocket_pants/controller/error_handling'
|
31
|
+
autoload :Instrumentation, 'rocket_pants/controller/instrumentation'
|
32
|
+
autoload :Rescuable, 'rocket_pants/controller/rescuable'
|
33
|
+
autoload :Respondable, 'rocket_pants/controller/respondable'
|
34
|
+
autoload :Versioning, 'rocket_pants/controller/versioning'
|
35
|
+
autoload :FormatVerification, 'rocket_pants/controller/format_verification'
|
36
|
+
autoload :UrlFor, 'rocket_pants/controller/url_for'
|
37
|
+
|
28
38
|
mattr_accessor :caching_enabled
|
29
39
|
self.caching_enabled = false
|
30
40
|
|
data/lib/rocket_pants/base.rb
CHANGED
@@ -2,15 +2,6 @@ require 'rocket_pants/exceptions'
|
|
2
2
|
|
3
3
|
module RocketPants
|
4
4
|
|
5
|
-
autoload :Caching, 'rocket_pants/controller/caching'
|
6
|
-
autoload :ErrorHandling, 'rocket_pants/controller/error_handling'
|
7
|
-
autoload :Instrumentation, 'rocket_pants/controller/instrumentation'
|
8
|
-
autoload :Rescuable, 'rocket_pants/controller/rescuable'
|
9
|
-
autoload :Respondable, 'rocket_pants/controller/respondable'
|
10
|
-
autoload :Versioning, 'rocket_pants/controller/versioning'
|
11
|
-
autoload :FormatVerification, 'rocket_pants/controller/format_verification'
|
12
|
-
autoload :UrlFor, 'rocket_pants/controller/url_for'
|
13
|
-
|
14
5
|
class Base < ActionController::Metal
|
15
6
|
|
16
7
|
abstract!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_pants
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|