hawk-auth 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/README.md +91 -69
- data/Rakefile +8 -1
- data/hawk-auth.gemspec +2 -0
- data/lib/hawk.rb +5 -2
- data/lib/hawk/authentication_failure.rb +18 -0
- data/lib/hawk/authorization_header.rb +114 -0
- data/lib/hawk/client.rb +22 -0
- data/lib/hawk/crypto.rb +96 -0
- data/lib/hawk/server.rb +54 -0
- data/lib/hawk/version.rb +1 -1
- data/spec/authentication_header_spec.rb +33 -0
- data/spec/client_spec.rb +174 -0
- data/spec/crypto_spec.rb +197 -0
- data/spec/server_spec.rb +290 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/shared_examples/authorization_header.rb +154 -0
- metadata +53 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hawk-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
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: 2013-
|
12
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -43,6 +43,38 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.11'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.11'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: mocha
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.13'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.13'
|
46
78
|
description: Ruby implementation of Hawk
|
47
79
|
email:
|
48
80
|
- jesse@jessestuart.ca
|
@@ -51,13 +83,25 @@ extensions: []
|
|
51
83
|
extra_rdoc_files: []
|
52
84
|
files:
|
53
85
|
- .gitignore
|
86
|
+
- .travis.yml
|
54
87
|
- Gemfile
|
55
88
|
- LICENSE
|
56
89
|
- README.md
|
57
90
|
- Rakefile
|
58
91
|
- hawk-auth.gemspec
|
59
92
|
- lib/hawk.rb
|
93
|
+
- lib/hawk/authentication_failure.rb
|
94
|
+
- lib/hawk/authorization_header.rb
|
95
|
+
- lib/hawk/client.rb
|
96
|
+
- lib/hawk/crypto.rb
|
97
|
+
- lib/hawk/server.rb
|
60
98
|
- lib/hawk/version.rb
|
99
|
+
- spec/authentication_header_spec.rb
|
100
|
+
- spec/client_spec.rb
|
101
|
+
- spec/crypto_spec.rb
|
102
|
+
- spec/server_spec.rb
|
103
|
+
- spec/spec_helper.rb
|
104
|
+
- spec/support/shared_examples/authorization_header.rb
|
61
105
|
homepage: ''
|
62
106
|
licenses: []
|
63
107
|
post_install_message:
|
@@ -82,4 +126,10 @@ rubygems_version: 1.8.23
|
|
82
126
|
signing_key:
|
83
127
|
specification_version: 3
|
84
128
|
summary: Ruby implementation of Hawk
|
85
|
-
test_files:
|
129
|
+
test_files:
|
130
|
+
- spec/authentication_header_spec.rb
|
131
|
+
- spec/client_spec.rb
|
132
|
+
- spec/crypto_spec.rb
|
133
|
+
- spec/server_spec.rb
|
134
|
+
- spec/spec_helper.rb
|
135
|
+
- spec/support/shared_examples/authorization_header.rb
|