stellar-sdk 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stellar/sep10.rb +1 -1
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6374a1f2407fd63aeaf4ec40ab27409bd0b187aed21ac9d34eceb19b6f0eb48
4
- data.tar.gz: 1198273f4bea602f9d9062b1ecf143bdbd7414172680ceaaf92c89edb940bd4f
3
+ metadata.gz: dc413ea9aa784fc3d1eeed1da90b83d1aaa632535cb558097417ae1b8d2d02a5
4
+ data.tar.gz: ce20f654f1ea87992e2f70f0b0a0ff06d1e4137821f90fee16f2e8fb5d827125
5
5
  SHA512:
6
- metadata.gz: 3308f77ed5f5dcaec0f83fdef87220d318466f7775e08e1f93deed41562ebb4ae307383545b621337b8f07570a387be185b3575ea16d8350a0cd9c9a5b0ac761
7
- data.tar.gz: 2e3f360405f67c0d9a2c9e3674bb531ddfd7e8d91ef7a3975c1cf8ff19e890d0d231b16a1eaf10e6283c9d102519ddd09d183297e572a9190245f5d2676f8c29
6
+ metadata.gz: e7a95e5b86775a8c18d0f1ca3ea92da701bfe9ea2467b751e981d4bd1897fb0af35e300d49692bd5494670a1d7dcdb0cc584db8e95ca052d5e2ef6659ff7eef5
7
+ data.tar.gz: 75872a8c29f68e256a8362eb44b715cb27d97591db2fd69992de4213b76c33a7214b990043e9dcd826c24327275f7bb21a8f38a6a257dfa2d6a38923ced33b00
data/lib/stellar/sep10.rb CHANGED
@@ -158,7 +158,7 @@ module Stellar
158
158
  raise InvalidSep10ChallengeError, "The transaction is not signed by the server"
159
159
  end
160
160
 
161
- time_bounds = transaction.time_bounds
161
+ time_bounds = transaction.cond.time_bounds
162
162
  now = Time.now.to_i
163
163
 
164
164
  if time_bounds.blank? || !now.between?(time_bounds.min_time - GRACE_PERIOD, time_bounds.max_time + GRACE_PERIOD)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stellar-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Fleckenstein
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-02-21 00:00:00.000000000 Z
13
+ date: 2022-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: stellar-base
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.31.0
21
+ version: 0.32.0
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
- version: 0.31.0
28
+ version: 0.32.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: stellar-horizon
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.31.0
35
+ version: 0.32.0
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
- version: 0.31.0
42
+ version: 0.32.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: activesupport
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -120,11 +120,11 @@ licenses:
120
120
  - Apache-2.0
121
121
  metadata:
122
122
  bug_tracker_uri: https://github.com/astroband/ruby-stellar-sdk/issues
123
- changelog_uri: https://github.com/astroband/ruby-stellar-sdk/blob/v0.31.0/sdk/CHANGELOG.md
124
- documentation_uri: https://rubydoc.info/gems/stellar-sdk/0.31.0/
123
+ changelog_uri: https://github.com/astroband/ruby-stellar-sdk/blob/v0.32.0/sdk/CHANGELOG.md
124
+ documentation_uri: https://rubydoc.info/gems/stellar-sdk/0.32.0/
125
125
  github_repo: ssh://github.com/astroband/ruby-stellar-sdk
126
126
  homepage_uri: https://github.com/astroband/ruby-stellar-sdk/tree/main/sdk
127
- source_code_uri: https://github.com/astroband/ruby-stellar-sdk/tree/v0.31.0/sdk
127
+ source_code_uri: https://github.com/astroband/ruby-stellar-sdk/tree/v0.32.0/sdk
128
128
  post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths:
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.3.5
143
+ rubygems_version: 3.1.6
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Stellar client library