rack-simple_auth 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d1332c61244522343025971bc83670b33abec89
4
- data.tar.gz: 5dd72b9648fd2a736b6c7c578e1a012bec201650
3
+ metadata.gz: 194bf948101879b2392d96345675f062df8b3a8f
4
+ data.tar.gz: ea5e4a540ddec55db378f1837769162608d87fab
5
5
  SHA512:
6
- metadata.gz: 29fdfd05f22c0fa6a9987c9a02c486ce7ff622d2c149398ae3483b9fa45cf59b6ee62a72ca7a4343985494184727894ae21b8dd1a9e32bb3aa919d69a54c199a
7
- data.tar.gz: 490235fb4734189062125bbd42c868ceebec5355aeba21d0837f27bd05d796a924992701afe28b660e894bd25149cb7721d814939ff9e336cf433072101f04d9
6
+ metadata.gz: 1a5786d41a4467a2a09ccd1fbd058e348d7b2681c793dc006c9b50290294f43d52b40b5dfbe9af371ac974949cf4fa51e1674eb04e60cb1a76f740fbe29152a2
7
+ data.tar.gz: 1fdaab0051de2c771c4b75f8f44803646664e6b2c56fd4c831ab54b0a484b835b1e2f3148166fa67bfd6f2e2f217e4422523d8499fcffa2209ad37cc30865148
data/README.md CHANGED
@@ -60,16 +60,20 @@ Via the config hash you are able to define the 'data' for each request method.<b
60
60
  This data + HTTP Methodname is your Message what will be encrypted.<br />
61
61
 
62
62
  For example ```GET '/get/user?name=rack'```:
63
+
63
64
  ```ruby
64
- config = { 'GET => 'path' }
65
+ config = { 'GET' => 'path' }
65
66
  ```
66
67
 
67
68
  The Message what will be HMAC encrypted is:
69
+
68
70
  ```ruby
69
71
  message = { 'method' => 'GET', 'data' => '/get/user?name=rack' }.to_json
70
72
  ```
71
73
 
72
74
 
75
+
76
+
73
77
  ## Contributing
74
78
 
75
79
  1. Fork it ( http://github.com/benny1992/rack-simple_auth/fork )
@@ -81,3 +85,5 @@ message = { 'method' => 'GET', 'data' => '/get/user?name=rack' }.to_json
81
85
 
82
86
 
83
87
 
88
+
89
+
@@ -2,6 +2,6 @@ module Rack
2
2
  # Module which Contains different Authorization / Authentication Classes (HMAC, ..)
3
3
  module SimpleAuth
4
4
  # Current Gem Version
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny1992
@@ -9,52 +9,52 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2014-03-10 00:00:00 Z
12
+ date: 2014-03-11 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: rack
15
16
  requirement: &id001 !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - &id003
18
19
  - ">="
19
20
  - !ruby/object:Gem::Version
20
21
  version: "0"
21
- name: rack
22
- prerelease: false
23
22
  type: :runtime
23
+ prerelease: false
24
24
  version_requirements: *id001
25
25
  - !ruby/object:Gem::Dependency
26
+ name: bundler
26
27
  requirement: &id002 !ruby/object:Gem::Requirement
27
28
  requirements:
28
29
  - - ~>
29
30
  - !ruby/object:Gem::Version
30
31
  version: "1.5"
31
- name: bundler
32
- prerelease: false
33
32
  type: :development
33
+ prerelease: false
34
34
  version_requirements: *id002
35
35
  - !ruby/object:Gem::Dependency
36
+ name: rake
36
37
  requirement: &id004 !ruby/object:Gem::Requirement
37
38
  requirements:
38
39
  - *id003
39
- name: rake
40
- prerelease: false
41
40
  type: :development
41
+ prerelease: false
42
42
  version_requirements: *id004
43
43
  - !ruby/object:Gem::Dependency
44
+ name: coveralls
44
45
  requirement: &id005 !ruby/object:Gem::Requirement
45
46
  requirements:
46
47
  - *id003
47
- name: coveralls
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: *id005
51
51
  - !ruby/object:Gem::Dependency
52
+ name: rack-test
52
53
  requirement: &id006 !ruby/object:Gem::Requirement
53
54
  requirements:
54
55
  - *id003
55
- name: rack-test
56
- prerelease: false
57
56
  type: :development
57
+ prerelease: false
58
58
  version_requirements: *id006
59
59
  description: SimpleAuth HMAC authentication
60
60
  email: