stellar-base 0.0.11 → 0.0.12
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 +4 -4
- data/lib/stellar/base/version.rb +1 -1
- data/lib/stellar/operation.rb +2 -2
- data/ruby-stellar-base.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0c6b2abc871272076b97ee218b49cc1cce1b630
|
|
4
|
+
data.tar.gz: 320fdff31078fd1857afc48092f718d3fa6c6600
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f7102994190058d9c1a9def0d26adcfffcb5cff7df1cc3a1666b4052a66ebf133d1edebab756f534310a68c5390d14e32d337e135af6cb2a2f23304fce9f211
|
|
7
|
+
data.tar.gz: bab4077d81e9f1dcccffa61747d2bd5fd89fb7986af60eb80d7cf9e16058d890af5a624dad527ddc0a18bf3c19b833983445187d9c46b0b61c2716941cd79008
|
data/lib/stellar/base/version.rb
CHANGED
data/lib/stellar/operation.rb
CHANGED
|
@@ -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.
|
|
207
|
+
raise ArgumentError, "Bad :currency" unless currency.type == Stellar::CurrencyType.currency_type_alphanum
|
|
208
208
|
|
|
209
|
-
atc = AllowTrustOp::Currency.new(:
|
|
209
|
+
atc = AllowTrustOp::Currency.new(:currency_type_alphanum, currency.code)
|
|
210
210
|
|
|
211
211
|
op.trustor = trustor.public_key
|
|
212
212
|
op.authorize = authorize
|
data/ruby-stellar-base.gemspec
CHANGED
|
@@ -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-
|
|
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.
|
|
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-
|
|
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-
|
|
343
|
+
homepage: https://github.com/stellar/ruby-stellar-base
|
|
344
344
|
licenses:
|
|
345
345
|
- Apache 2.0
|
|
346
346
|
metadata: {}
|