macaroons 0.6.2 → 0.6.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: 9b75cade780a5d5a1d2fbe1f8eac37ff5da6b097
4
- data.tar.gz: 6fc4eee26c3687a49609873af90826abd3fdc898
3
+ metadata.gz: 08d3a8b767a9be462228f92c22fa97db3be91a0b
4
+ data.tar.gz: c217878cbaae5c4e36f9ba4bcb1fcd22a3594832
5
5
  SHA512:
6
- metadata.gz: 33048165b56b2b11028d4c3fcbd8ed34062b457b0f8e56d69fc6260ca816ea7a1f3a802c8ebb3334fb23ce0448d7dc568573527e62b022ea1044af940cf486ae
7
- data.tar.gz: d04f0a5cfe721118cffd1218f265659f24f78c7192729fe3d5692f12c75a4369ef512057cfecbceb2fbd470014a4ddf76a3a25e980eafef314cad86bb2d4382b
6
+ metadata.gz: b620e558ca340937d4b5dd59c3cff42049c2bc45f014e86b27e90de1fea67630c23584153037c9e1f10ce4de317bbf61136e4a599fac6a45142299db3c81ae5a
7
+ data.tar.gz: 7ed1c8c1dd7d5e38d48ce82c68f8645a72d520f881e57b1e09737adf6415a5841fcfd22f71d4ca240df97c1e72789f079e478eefa37dca96cb9f63c98dbb1b63
@@ -22,11 +22,11 @@ module Macaroons
22
22
  @caveats = []
23
23
  end
24
24
 
25
- def self.from_binary(serialized: serialized)
25
+ def self.from_binary(serialized: nil)
26
26
  Macaroons::BinarySerializer.new().deserialize(serialized)
27
27
  end
28
28
 
29
- def self.from_json(serialized: serialized)
29
+ def self.from_json(serialized: nil)
30
30
  Macaroons::JsonSerializer.new().deserialize(serialized)
31
31
  end
32
32
 
@@ -30,7 +30,7 @@ module Macaroons
30
30
  verify_discharge(root: macaroon, macaroon: macaroon, key: key, discharge_macaroons:discharge_macaroons)
31
31
  end
32
32
 
33
- def verify_discharge(root: root, macaroon: macaroon, key: key, discharge_macaroons: [])
33
+ def verify_discharge(root: nil, macaroon: nil, key: nil, discharge_macaroons: [])
34
34
  @calculated_signature = Utils.hmac(key, macaroon.identifier)
35
35
 
36
36
  verify_caveats(macaroon, discharge_macaroons)
@@ -1,3 +1,3 @@
1
1
  module Macaroons
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macaroons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Cordell
@@ -10,118 +10,118 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-13 00:00:00.000000000 Z
13
+ date: 2015-10-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.10.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 1.10.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rbnacl
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ~>
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
35
  version: 3.1.2
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 3.1.2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: bundler
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>'
47
+ - - ">"
48
48
  - !ruby/object:Gem::Version
49
49
  version: '1.3'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>'
54
+ - - ">"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '1.3'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rake
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rspec
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ~>
75
+ - - "~>"
76
76
  - !ruby/object:Gem::Version
77
77
  version: 3.1.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ~>
82
+ - - "~>"
83
83
  - !ruby/object:Gem::Version
84
84
  version: 3.1.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: pry
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - '>='
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: pry-stack_explorer
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - '>='
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - '>='
110
+ - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rspec_junit_formatter
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - '>='
117
+ - - ">="
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - '>='
124
+ - - ">="
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  description: Macaroons library in Ruby
@@ -133,9 +133,9 @@ executables: []
133
133
  extensions: []
134
134
  extra_rdoc_files: []
135
135
  files:
136
- - .gitignore
137
- - .rspec
138
- - .travis.yml
136
+ - ".gitignore"
137
+ - ".rspec"
138
+ - ".travis.yml"
139
139
  - Gemfile
140
140
  - LICENSE
141
141
  - README.md
@@ -162,17 +162,17 @@ require_paths:
162
162
  - lib
163
163
  required_ruby_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ~>
165
+ - - "~>"
166
166
  - !ruby/object:Gem::Version
167
167
  version: '2.0'
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - '>='
170
+ - - ">="
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.2.2
175
+ rubygems_version: 2.4.5.1
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Macaroons library in Ruby