macaroons 0.4.0 → 0.4.1

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: 1b8c0a4138d4382ec9066b5c95912acba6d473cd
4
- data.tar.gz: d7c04a35aa9e133a51cc87538ef5eb93b0210e20
3
+ metadata.gz: 0508eba529a303aa89f79c571ea2442b20fb75cc
4
+ data.tar.gz: 255ec20fcb68b79e52c91ad7a255daa80544c5ac
5
5
  SHA512:
6
- metadata.gz: 581dba3fd34883934f9cec9c7ea0bc85657471df394b15ed3a79ecfed7aa1bf508a4d40f3665512b7ad01720446c305a7378d1cfe4586591b3f093471000e3d5
7
- data.tar.gz: 67bc07973505ed6ba9853622274c23725143bc9ae539877cf480233cabd5ddcfce5418f8a023bdab9e25fe9a1ce467f9b6047bb157f05aaa409f608c7706c0b8
6
+ metadata.gz: 17c468d3f49514b6343f39cebcae01842d2e5443af7d291e05a58e0c7fed8b99fd1b98af59a2cdf258f96a347e8ddd1304bfe81aa88d797bfb7aedc2e6329813
7
+ data.tar.gz: d2812e8e5fccd3a7e7285eaf4843b2df32d2b5301bf24f8736ec6dced8f04171418fb4fdf21c7771f834e268d1542c658407d07547207688891cff66b61b2d27
@@ -18,7 +18,7 @@ module Macaroons
18
18
  macaroon = Macaroons::RawMacaroon.new(key: 'no_key', identifier: deserialized['identifier'], location: deserialized['location'])
19
19
  deserialized['caveats'].each do |c|
20
20
  caveat = Macaroons::Caveat.new(c['cid'], c['vid'], c['cl'])
21
- macaroon.caveats << c
21
+ macaroon.caveats << caveat
22
22
  end
23
23
  macaroon.signature = Utils.unhexlify(deserialized['signature'])
24
24
  macaroon
@@ -1,3 +1,3 @@
1
1
  module Macaroons
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Cordell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-10-17 00:00:00.000000000 Z
13
+ date: 2014-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json