butler_static 0.0.8.alpha.20 → 0.0.8.alpha.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/butler.rb +1 -1
- data/lib/butler/railtie.rb +2 -1
- data/lib/butler/version.rb +1 -1
- metadata +2 -2
data/lib/butler.rb
CHANGED
data/lib/butler/railtie.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'rails/all'
|
2
|
+
|
1
3
|
module Butler
|
2
4
|
class Railtie < ::Rails::Railtie
|
3
5
|
puts 'Processing Railtie...'
|
@@ -12,7 +14,6 @@ module Butler
|
|
12
14
|
|
13
15
|
initializer "butler.configure_rails_initialization" do |app|
|
14
16
|
app.middleware.swap 'ActionDispatch::Static', 'Butler::Static'
|
15
|
-
raise app.inspect
|
16
17
|
# if use_butler
|
17
18
|
# if defined? ActionDispatch::Static
|
18
19
|
# if defined? Rack::Cache # will not work
|
data/lib/butler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: butler_static
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8.alpha.
|
4
|
+
version: 0.0.8.alpha.21
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -168,7 +168,7 @@ rubyforge_project:
|
|
168
168
|
rubygems_version: 1.8.23
|
169
169
|
signing_key:
|
170
170
|
specification_version: 3
|
171
|
-
summary: butler_static-0.0.8.alpha.
|
171
|
+
summary: butler_static-0.0.8.alpha.21
|
172
172
|
test_files:
|
173
173
|
- spec/butler/asset_spec.rb
|
174
174
|
- spec/butler/files/index.html
|