hash-auth 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/hash-auth/controllers/helpers.rb +1 -1
- data/lib/hash-auth/version.rb +1 -1
- metadata +11 -18
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dd5a4bc3a2d185a5a16065ba35c86afcb84d9352
|
4
|
+
data.tar.gz: 5cdc5c16795d70b42b7a90dea3fbd10fd8122ff3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 595b3b99744deb1d6a344ff4692e1ad879463cdd97125275ef989b68a76708ea1fff0a4af7f68f7d1cd0f08856df8c57c84db0b0fd952ab0364c738cfaf8dd0a
|
7
|
+
data.tar.gz: 8c448eba83eab4f4cc0639e841f9a5fe25f653081200746082f56ffbc6e5a5cf59d96dabfc45bdd933facea0f0210a85eaf953aeab82f08c4a0293f7b7bf8860
|
@@ -7,7 +7,7 @@ module HashAuth
|
|
7
7
|
|
8
8
|
module ClassMethods
|
9
9
|
def initialize_for_hash_auth(actions_requiring_hash_verification)
|
10
|
-
if actions_requiring_hash_verification
|
10
|
+
if actions_requiring_hash_verification == [:all]
|
11
11
|
before_filter :verify_hash
|
12
12
|
else
|
13
13
|
before_filter :verify_hash, :only => actions_requiring_hash_verification
|
data/lib/hash-auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hash-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Max Lahey
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.2.11
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.2.11
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rest-client
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.6.7
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 1.6.7
|
46
41
|
description: HashAuth allows your Rails application to support incoming and outgoing
|
@@ -83,27 +78,26 @@ files:
|
|
83
78
|
- spec/spec_helper.rb
|
84
79
|
homepage: http://maxwells.github.com
|
85
80
|
licenses: []
|
81
|
+
metadata: {}
|
86
82
|
post_install_message:
|
87
83
|
rdoc_options: []
|
88
84
|
require_paths:
|
89
85
|
- lib
|
90
86
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
87
|
requirements:
|
93
|
-
- -
|
88
|
+
- - ">="
|
94
89
|
- !ruby/object:Gem::Version
|
95
90
|
version: '0'
|
96
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
92
|
requirements:
|
99
|
-
- -
|
93
|
+
- - ">="
|
100
94
|
- !ruby/object:Gem::Version
|
101
95
|
version: '0'
|
102
96
|
requirements: []
|
103
97
|
rubyforge_project:
|
104
|
-
rubygems_version:
|
98
|
+
rubygems_version: 2.0.14
|
105
99
|
signing_key:
|
106
|
-
specification_version:
|
100
|
+
specification_version: 4
|
107
101
|
summary: Rails gem to authenticate HTTP requests by hashing request components and
|
108
102
|
passing as parameter
|
109
103
|
test_files:
|
@@ -114,4 +108,3 @@ test_files:
|
|
114
108
|
- spec/lib/web_request_spec.rb
|
115
109
|
- spec/rails-helpers.rb
|
116
110
|
- spec/spec_helper.rb
|
117
|
-
has_rdoc:
|