stellar_base-rails 2.0.0 → 3.0.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 205c8a74625acc0c63b8d7cebccce557f28eeaaeecdd2e01c0a89f13858246b4
|
|
4
|
+
data.tar.gz: 03b3cd8048c9281b7c68e3b7c6c4f04698647e19c6e12e5473aedecaa2f13aba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7d5ea815097938ac7334b4b727a6bacbf6e30c1a42db21889b3cd9d11c0081bdd60344f600aa369790a87203d17fb2531a924ac0b0a57c2c5e2e29abcdd6d8c
|
|
7
|
+
data.tar.gz: 5ecb3a37a9ca87c75b20bf0dc4a9025150ff067c0e021896ef2a456f03fad7bb809072518215b93bac27bb99d636945335ad86d0ebe823f75390fde7a55a76ad
|
|
@@ -10,6 +10,8 @@ module StellarBase
|
|
|
10
10
|
hash = c.remote_operation["transaction_hash"]
|
|
11
11
|
c.remote_transaction = c.stellar_sdk_client.horizon.
|
|
12
12
|
transaction(hash: hash).to_hash
|
|
13
|
+
rescue Faraday::ResourceNotFound
|
|
14
|
+
raise NotFoundError, "transaction #{hash} not found"
|
|
13
15
|
end
|
|
14
16
|
|
|
15
17
|
end
|
data/lib/stellar_base/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stellar_base-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ace Subido
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: disposable
|
|
@@ -196,14 +196,14 @@ dependencies:
|
|
|
196
196
|
name: trailblazer
|
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
|
198
198
|
requirements:
|
|
199
|
-
- - "
|
|
199
|
+
- - ">="
|
|
200
200
|
- !ruby/object:Gem::Version
|
|
201
201
|
version: '2.0'
|
|
202
202
|
type: :runtime
|
|
203
203
|
prerelease: false
|
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
|
205
205
|
requirements:
|
|
206
|
-
- - "
|
|
206
|
+
- - ">="
|
|
207
207
|
- !ruby/object:Gem::Version
|
|
208
208
|
version: '2.0'
|
|
209
209
|
- !ruby/object:Gem::Dependency
|
|
@@ -435,6 +435,7 @@ files:
|
|
|
435
435
|
- app/controllers/stellar_base/deposit_controller.rb
|
|
436
436
|
- app/controllers/stellar_base/home_controller.rb
|
|
437
437
|
- app/controllers/stellar_base/withdraw_controller.rb
|
|
438
|
+
- app/errors/stellar_base/not_found_error.rb
|
|
438
439
|
- app/helpers/stellar_base/application_helper.rb
|
|
439
440
|
- app/jobs/stellar_base/application_job.rb
|
|
440
441
|
- app/jobs/stellar_base/enqueue_subscribe_accounts_job.rb
|
|
@@ -548,8 +549,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
548
549
|
- !ruby/object:Gem::Version
|
|
549
550
|
version: '0'
|
|
550
551
|
requirements: []
|
|
551
|
-
|
|
552
|
-
rubygems_version: 2.7.7
|
|
552
|
+
rubygems_version: 3.0.1
|
|
553
553
|
signing_key:
|
|
554
554
|
specification_version: 4
|
|
555
555
|
summary: Mountable Stellar API Endpoints for Rails
|