hmac_auth 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04268ea75914ebc68d8fa7ba962c3ed8a59587b6
4
- data.tar.gz: af2783c9026c0d7a8aed49d3ab41c4c857cf410f
3
+ metadata.gz: 19d7c22f35fab7879a1ff3dd99d72a6b6ce894ad
4
+ data.tar.gz: d45908bbff79ddb93af09c0fcc9f824a9e513b8d
5
5
  SHA512:
6
- metadata.gz: 578a859ff43e9dffb42c8babc64d26719b0d31bc2c6d513960486af4094a5855de4c6b19975d96d4a7b3b2f3266ae5ec7aca26c1b1f4dd6397d4f377c9285e20
7
- data.tar.gz: 33b8a97b3f2d96c0dc94d03c62d3db9f3399b5f500d26b786d3cb72ccd92ea4d56ee2503e6ddb09541afbfa7d94aec64aa6dd0a308a0a5c1acf59031e5c85e18
6
+ metadata.gz: c49a1b00a55a5f85074a435afb995d82a6802fcfcf0a89e67dc7a3716ac031ffe7ead53f0a2f75be9630db5bc8261dd3fce811d1f82f8f0c119eb22bd8462923
7
+ data.tar.gz: 1204262dce58ece54cd941d4cba73c9bb014bdc3c5b646c9cb1a8c658b54be6aaf28ea0e1ed4535107080abfeabf544c13186f3e386fe5f1da72d415d2335e64
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- Gemfile.lock
7
6
  InstalledFiles
8
7
  _yardoc
9
8
  coverage
@@ -1 +1 @@
1
- ruby-2.0.0
1
+ ruby-2.1.0
@@ -2,4 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
+ - 2.1.0
5
6
  script: bundle exec rspec
@@ -0,0 +1,61 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ hmac_auth (0.1.1)
5
+ activesupport
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activesupport (4.0.2)
11
+ i18n (~> 0.6, >= 0.6.4)
12
+ minitest (~> 4.2)
13
+ multi_json (~> 1.3)
14
+ thread_safe (~> 0.1)
15
+ tzinfo (~> 0.3.37)
16
+ atomic (1.1.14)
17
+ coveralls (0.7.0)
18
+ multi_json (~> 1.3)
19
+ rest-client
20
+ simplecov (>= 0.7)
21
+ term-ansicolor
22
+ thor
23
+ diff-lcs (1.2.5)
24
+ docile (1.1.1)
25
+ i18n (0.6.9)
26
+ mime-types (2.0)
27
+ minitest (4.7.5)
28
+ multi_json (1.8.4)
29
+ rake (10.1.1)
30
+ rest-client (1.6.7)
31
+ mime-types (>= 1.16)
32
+ rspec (2.14.1)
33
+ rspec-core (~> 2.14.0)
34
+ rspec-expectations (~> 2.14.0)
35
+ rspec-mocks (~> 2.14.0)
36
+ rspec-core (2.14.7)
37
+ rspec-expectations (2.14.4)
38
+ diff-lcs (>= 1.1.3, < 2.0)
39
+ rspec-mocks (2.14.4)
40
+ simplecov (0.8.2)
41
+ docile (~> 1.1.0)
42
+ multi_json
43
+ simplecov-html (~> 0.8.0)
44
+ simplecov-html (0.8.0)
45
+ term-ansicolor (1.2.2)
46
+ tins (~> 0.8)
47
+ thor (0.18.1)
48
+ thread_safe (0.1.3)
49
+ atomic
50
+ tins (0.13.1)
51
+ tzinfo (0.3.38)
52
+
53
+ PLATFORMS
54
+ ruby
55
+
56
+ DEPENDENCIES
57
+ coveralls
58
+ hmac_auth!
59
+ rake
60
+ rspec
61
+ simplecov
@@ -12,6 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.summary = 'Ruby gem providing HMAC based message signing and ' \
13
13
  'verification. Without fancy Rails integration.'
14
14
  gem.homepage = 'https://github.com/gewo/hmac_auth'
15
+ gem.license = 'MIT'
15
16
 
16
17
  gem.files = `git ls-files`.split($/)
17
18
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
@@ -35,7 +35,7 @@ module HMACAuth
35
35
 
36
36
  def calculated_signature
37
37
  OpenSSL::HMAC.hexdigest(
38
- OpenSSL::Digest::Digest.new('sha256'),
38
+ OpenSSL::Digest.new('sha256'),
39
39
  secret,
40
40
  deep_sort(params_without_signature).to_json)
41
41
  end
@@ -1,4 +1,4 @@
1
1
  # coding: utf-8
2
2
  module HmacAuth
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hmac_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gebhard Wöstemeyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-07 00:00:00.000000000 Z
11
+ date: 2014-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,7 @@ files:
94
94
  - .ruby-version
95
95
  - .travis.yml
96
96
  - Gemfile
97
+ - Gemfile.lock
97
98
  - LICENSE.txt
98
99
  - README.md
99
100
  - Rakefile
@@ -105,7 +106,8 @@ files:
105
106
  - spec/signature_spec.rb
106
107
  - spec/spec_helper.rb
107
108
  homepage: https://github.com/gewo/hmac_auth
108
- licenses: []
109
+ licenses:
110
+ - MIT
109
111
  metadata: {}
110
112
  post_install_message:
111
113
  rdoc_options: []
@@ -123,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
125
  version: '0'
124
126
  requirements: []
125
127
  rubyforge_project:
126
- rubygems_version: 2.0.3
128
+ rubygems_version: 2.1.11
127
129
  signing_key:
128
130
  specification_version: 4
129
131
  summary: Ruby gem providing HMAC based message signing and verification. Without fancy
@@ -131,3 +133,4 @@ summary: Ruby gem providing HMAC based message signing and verification. Without
131
133
  test_files:
132
134
  - spec/signature_spec.rb
133
135
  - spec/spec_helper.rb
136
+ has_rdoc: