sha_header 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sha_header.rb +2 -0
- data/lib/sha_header/railtie.rb +2 -2
- data/lib/sha_header/version.rb +1 -1
- metadata +3 -3
data/lib/sha_header.rb
CHANGED
data/lib/sha_header/railtie.rb
CHANGED
@@ -3,8 +3,8 @@ require 'rails'
|
|
3
3
|
|
4
4
|
module SHAHeader
|
5
5
|
class Railtie < Rails::Railtie
|
6
|
-
initializer "sha_header.
|
7
|
-
app.middleware.use SHAHeader::Middleware
|
6
|
+
initializer "sha_header.use_rack_middleware" do |app|
|
7
|
+
app.middleware.use "SHAHeader::Middleware"
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
data/lib/sha_header/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sha_header
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nathaniel Bibler
|