stellar-base 0.0.11 → 0.0.12

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: 4975e0b08060f21ba3def7e74fb8f410d6bd932e
4
- data.tar.gz: 77f77dfed12eecded1b94d2348a01797c34b414f
3
+ metadata.gz: b0c6b2abc871272076b97ee218b49cc1cce1b630
4
+ data.tar.gz: 320fdff31078fd1857afc48092f718d3fa6c6600
5
5
  SHA512:
6
- metadata.gz: 212fcee22b67c4ac68bc625d13bd6537dad5db82d504df6c7d75b145b85f2efcc7b2ba780f95d4d9e9858cb682966926c422a9ae4487e3d42075baf3fa49f3e8
7
- data.tar.gz: 6ccc731105f397cd3d4550423a45a9f11227ff11466ff4f00f835d76ed2bb3554811ffbd94f15b860dfebf7b0edc1c658cac4b47e5011b8a8e22f0a4fc282b72
6
+ metadata.gz: 0f7102994190058d9c1a9def0d26adcfffcb5cff7df1cc3a1666b4052a66ebf133d1edebab756f534310a68c5390d14e32d337e135af6cb2a2f23304fce9f211
7
+ data.tar.gz: bab4077d81e9f1dcccffa61747d2bd5fd89fb7986af60eb80d7cf9e16058d890af5a624dad527ddc0a18bf3c19b833983445187d9c46b0b61c2716941cd79008
@@ -1,5 +1,5 @@
1
1
  module Stellar
2
2
  module Base
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
@@ -204,9 +204,9 @@ module Stellar
204
204
 
205
205
  raise ArgumentError, "Bad :trustor" unless trustor.is_a?(Stellar::KeyPair)
206
206
  raise ArgumentError, "Bad :authorize" unless authorize == !!authorize # check boolean
207
- raise ArgumentError, "Bad :currency" unless currency.type == Stellar::CurrencyType.alphanum
207
+ raise ArgumentError, "Bad :currency" unless currency.type == Stellar::CurrencyType.currency_type_alphanum
208
208
 
209
- atc = AllowTrustOp::Currency.new(:alphanum, currency.code)
209
+ atc = AllowTrustOp::Currency.new(:currency_type_alphanum, currency.code)
210
210
 
211
211
  op.trustor = trustor.public_key
212
212
  op.authorize = authorize
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Scott Fleckenstein"]
10
10
  spec.email = ["scott@stellar.org"]
11
11
  spec.summary = %q{Stellar client library: XDR}
12
- spec.homepage = "https://github.com/stellar/ruby-stellar-vase"
12
+ spec.homepage = "https://github.com/stellar/ruby-stellar-base"
13
13
  spec.license = "Apache 2.0"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellar-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Fleckenstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xdr
@@ -340,7 +340,7 @@ files:
340
340
  - xdr/Stellar-transaction.x
341
341
  - xdr/Stellar-types.x
342
342
  - xdr/StellarXDR.x
343
- homepage: https://github.com/stellar/ruby-stellar-vase
343
+ homepage: https://github.com/stellar/ruby-stellar-base
344
344
  licenses:
345
345
  - Apache 2.0
346
346
  metadata: {}