asset_access_control 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module AssetAccessControl
7
7
  initializer "asset_access_control.configure_rails_initialization" do |app|
8
8
  config.asset_access_control.origin ||= "*"
9
9
 
10
- app.middleware.insert_before 'Rack::Lock', AssetAccessControl::Middleware, config.asset_access_control.origin
10
+ app.middleware.insert_before 'ActionDispatch::Static', AssetAccessControl::Middleware, config.asset_access_control.origin
11
11
  end
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module AssetAccessControl
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_access_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: