iota-ruby 1.1.8 → 1.1.9

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
- SHA256:
3
- metadata.gz: 0eddb950ffbc3bf0e3da4e220391718183273cb590bd721edc759fb76b0fd7bf
4
- data.tar.gz: 53e845e6eacd344ae3237b2547320565cd8323b6fee7d0aa872668f1cb47c507
2
+ SHA1:
3
+ metadata.gz: 3efdedca6d5c414b2ee1cbe4112779dbb9e65823
4
+ data.tar.gz: 74b2d3b1baf92f38694960c8f47a83d0d3a6cc8e
5
5
  SHA512:
6
- metadata.gz: b6873ed591a86864e6ff9ed57179d34bf2f0046dd059eb6849478ffd5ed1209dbc61920c466fae17e0b896a2507b47073ae28ee4b98557d7cd4575db279fdcf4
7
- data.tar.gz: d13783668a13b9bbf76df9afee95a7a0ef04a081bfaffaaacb4f03b76f3a805f8798727cc0e454dd8b724ebeac64e05171d4d9f92dfaffbedde88005322dac16
6
+ metadata.gz: bfcdaa30f5397be47619b2aa854fac26489607d065c6776c148f89d0c30090c4695f073e4d624978eccc04f35e3ee533349ccc7fb58d292bb6d0987f3d231fb8
7
+ data.tar.gz: a49551071927e0911bbdf8e398cbbdc1b7aba877b92cc05c1418d5d22b22220f5db1c103f14af48e8ef6107fc7e6a5f2cdc1bc93d16de8e7a30d5d3b434541d3
@@ -1,24 +1,14 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  dist: trusty
4
- osx_image: xcode9.3
5
- os:
6
- - linux
7
- - osx
4
+ os: linux
8
5
  rvm:
9
- - ruby-head
10
- - 2.5.1
11
- - 2.4.1
6
+ - 2.7.0
7
+ - 2.6.0
8
+ - 2.5.0
9
+ - 2.4.0
12
10
  - jruby-head
13
11
  - jruby-18mode
14
12
  - jruby-19mode
15
13
  - rbx-3
16
- matrix:
17
- exclude:
18
- - os: osx
19
- rvm: rbx-3
20
- - os: osx
21
- rvm: ruby-head
22
- - os: osx
23
- rvm: jruby-head
24
- before_install: gem install bundler -v 1.15.0
14
+ before_install: gem install bundler -v 2.1.4
@@ -1,3 +1,7 @@
1
+ ## [1.1.9] - 2020-03-14
2
+ - adding `getMissingTransactions` API
3
+ - adding `getNodeAPIConfiguration` API
4
+
1
5
  ## [1.1.8] - 2019-07-15
2
6
  - minor fixes in IOTA::Crypto::Converter.trytes
3
7
  - Fixing some stuff in c extenstion to make it compatible with MRI ruby and Rubinius
data/README.md CHANGED
@@ -110,12 +110,4 @@ client = IOTA::Client.new(provider: 'https://node.iota-tangle.io:14265', local_p
110
110
 
111
111
  ## Compatibility
112
112
 
113
- Tested on [Travis CI](https://travis-ci.org/vivekmarakana/iota.lib.rb) on following environment [configurations](https://github.com/vivekmarakana/iota.lib.rb/blob/master/.travis.yml):
114
-
115
- - ruby-head (Linux)
116
- - 2.5.1 (Linux & Mac)
117
- - 2.4.1 (Linux & Mac)
118
- - jruby-head (OpenJDK8/Linux)
119
- - jruby-19mode (OpenJDK8/Linux & OpenJDK8/OSX)
120
- - jruby-18mode (OpenJDK8/Linux & OpenJDK8/OSX)
121
- - rbx-3 (Linux)
113
+ Tested on [Travis CI](https://travis-ci.org/vivekmarakana/iota.lib.rb) on following environment [configurations](https://github.com/vivekmarakana/iota.lib.rb/blob/master/.travis.yml)
@@ -242,6 +242,14 @@ module IOTA
242
242
  sendBatchedCommand(command, &callback)
243
243
  end
244
244
 
245
+ def getNodeAPIConfiguration(&callback)
246
+ sendCommand(@commands.getNodeAPIConfiguration, &callback)
247
+ end
248
+
249
+ def getMissingTransactions(&callback)
250
+ sendCommand(@commands.getMissingTransactions, &callback)
251
+ end
252
+
245
253
  private
246
254
  def sendData(status, data, &callback)
247
255
  callback ? callback.call(status, data) : [status, data]
@@ -108,6 +108,14 @@ module IOTA
108
108
  addresses: addresses
109
109
  }
110
110
  end
111
+
112
+ def getNodeAPIConfiguration
113
+ { command: 'getNodeAPIConfiguration' }
114
+ end
115
+
116
+ def getMissingTransactions
117
+ { command: 'getMissingTransactions' }
118
+ end
111
119
  end
112
120
  end
113
121
  end
@@ -104,7 +104,8 @@ module IOTA
104
104
  'attachToTangle' => 'trytes',
105
105
  'checkConsistency' => 'state',
106
106
  'getBalances' => 'balances',
107
- 'wereAddressesSpentFrom'=> 'states'
107
+ 'wereAddressesSpentFrom'=> 'states',
108
+ 'getMissingTransactions'=> 'hashes'
108
109
  }
109
110
 
110
111
  # If correct result and we want to prepare the result
@@ -1,3 +1,3 @@
1
1
  module IOTA
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iota-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Marakana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-15 00:00:00.000000000 Z
11
+ date: 2020-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.0.4
184
+ rubyforge_project:
185
+ rubygems_version: 2.5.2.3
185
186
  signing_key:
186
187
  specification_version: 4
187
188
  summary: IOTA API wrapper for Ruby