agx 0.2.6 → 0.2.7

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
  SHA256:
3
- metadata.gz: 530128fafb07cc6d1439fd1ca86a6cc9148ffcd21154d4183ce2d7048d96c1b3
4
- data.tar.gz: 71cca97cd28d2b0f4ed6aaad2025d82b8310ffec965b8d3735632aa83baef721
3
+ metadata.gz: ccb633ad80c1dd8c90d22c52a9ca86fcb5fb0d9c5b64d4739dcb26b14f8a33c9
4
+ data.tar.gz: c76125df3b840cd20ff04aad39af1526092f2dce4eee06c08c3226c7fe94942a
5
5
  SHA512:
6
- metadata.gz: 71bf6d954b0c8a8dfb25dd7540936aca610bc8f11e2b39f94fff5f13e5f7e002749bd76075a4c18b9297174e4b39d526cf6b5e3026f9ce5ba90185b209a8fe13
7
- data.tar.gz: f97d12d51981b17fb8f0b194f2e2dbabb342918559b5efe2be255880210df787f4813c6e0c663021f62b5571a2a71f80e193468306dd35c754b952c18a42e583
6
+ metadata.gz: 6edd096a18ca4fa247c5c7fe519a01e07d79f3c52af5934f079e7488df95509d9b972612e1424d4733a19d2d73ddb290318d70664451ab5c85e5e8fcda64e1c1
7
+ data.tar.gz: 9003150c7b4c2a12f569cd8071c0212c5d3dd8f4996e2e9b767743b2a4ed9e629242011a04722fcd642596105f4cfaf53e92a899d51606fc277fccf041c23d2b
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018 Bryce Johnston
1
+ Copyright (c) 2019 Bryce Johnston
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -108,7 +108,7 @@ module Agx
108
108
  )
109
109
  return true
110
110
  rescue => e
111
- if e.response && e.response.body == "The specified transaction is invalid or expired."
111
+ if e.response && e.response.status && e.response.status.to_i >= 400
112
112
  return true
113
113
  else
114
114
  handle_error(e)
@@ -1,3 +1,3 @@
1
1
  module Agx
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryce Johnston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -111,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.7.6
114
+ rubygems_version: 3.0.3
116
115
  signing_key:
117
116
  specification_version: 4
118
117
  summary: Ruby client for accessing agX Platform APIs.