chain-sdk 1.0.2 → 1.0.3
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/README.md +4 -2
- data/lib/chain/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f26cf43ddd041afafbc3d56f1bbd1ce37942a76
|
|
4
|
+
data.tar.gz: b6d623b30c0cace2d818319042dd37e89adc7a94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce1923425a5c51b148e94c5cef366f630e55d6c87fdcc97e8d894913128447ed051c6a43178baa221754746b2ab42c2f24b3249d9f0fd25ef58ded920eabd08a
|
|
7
|
+
data.tar.gz: f34a780b7a71f52de171eaca672aa8ead266bd6eb2d50df25bdfe71c936facf04a374d44eab42bd37d375013a05ad953429e98d25b2d9458a9033abf8327abd2
|
data/README.md
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
### Get the gem
|
|
6
6
|
|
|
7
|
-
The Ruby SDK is available [via Rubygems](https://rubygems.org/gems/chain-sdk). Make sure to use the most recent version whose major and minor components (`major.minor.x`) match your version of Chain Core.
|
|
7
|
+
The Ruby SDK is available [via Rubygems](https://rubygems.org/gems/chain-sdk). Make sure to use the most recent version whose major and minor components (`major.minor.x`) match your version of Chain Core.
|
|
8
|
+
|
|
9
|
+
Ruby 2.0 or greater is required. We strongly recommend upgrading to Ruby 2.1 or greater, as [Ruby 2.0 has reached end-of-life](https://www.ruby-lang.org/en/downloads/branches/) and will no longer receive security updates and bugfixes.
|
|
8
10
|
|
|
9
11
|
For most applications, you can simply add the following to your `Gemfile`:
|
|
10
12
|
|
|
11
13
|
```
|
|
12
|
-
gem 'chain-sdk', '~> 1.0.
|
|
14
|
+
gem 'chain-sdk', '~> 1.0.3', require: 'chain'
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
### In your code
|
data/lib/chain/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chain-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chain Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02
|
|
11
|
+
date: 2017-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.0'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rspec
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ~>
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 3.5.0
|
|
34
|
-
- -
|
|
34
|
+
- - '>='
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
36
|
version: 3.5.0
|
|
37
37
|
type: :development
|
|
38
38
|
prerelease: false
|
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
|
-
- -
|
|
41
|
+
- - ~>
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
version: 3.5.0
|
|
44
|
-
- -
|
|
44
|
+
- - '>='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: 3.5.0
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: yard
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- -
|
|
51
|
+
- - ~>
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: 0.9.5
|
|
54
|
-
- -
|
|
54
|
+
- - '>='
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: 0.9.5
|
|
57
57
|
type: :development
|
|
58
58
|
prerelease: false
|
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
60
60
|
requirements:
|
|
61
|
-
- -
|
|
61
|
+
- - ~>
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: 0.9.5
|
|
64
|
-
- -
|
|
64
|
+
- - '>='
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: 0.9.5
|
|
67
67
|
description: The Official Ruby SDK for Chain Core
|
|
@@ -70,9 +70,8 @@ executables: []
|
|
|
70
70
|
extensions: []
|
|
71
71
|
extra_rdoc_files: []
|
|
72
72
|
files:
|
|
73
|
-
- LICENSE
|
|
74
73
|
- README.md
|
|
75
|
-
-
|
|
74
|
+
- LICENSE
|
|
76
75
|
- lib/chain/access_token.rb
|
|
77
76
|
- lib/chain/account.rb
|
|
78
77
|
- lib/chain/asset.rb
|
|
@@ -93,6 +92,7 @@ files:
|
|
|
93
92
|
- lib/chain/transaction_feed.rb
|
|
94
93
|
- lib/chain/unspent_output.rb
|
|
95
94
|
- lib/chain/version.rb
|
|
95
|
+
- lib/chain.rb
|
|
96
96
|
homepage: https://github.com/chain/chain/tree/main/sdk/ruby
|
|
97
97
|
licenses:
|
|
98
98
|
- Apache-2.0
|
|
@@ -103,17 +103,17 @@ require_paths:
|
|
|
103
103
|
- lib
|
|
104
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
105
|
requirements:
|
|
106
|
-
- -
|
|
106
|
+
- - ~>
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: '2.
|
|
108
|
+
version: '2.0'
|
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements:
|
|
111
|
-
- -
|
|
111
|
+
- - '>='
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
115
|
rubyforge_project:
|
|
116
|
-
rubygems_version: 2.
|
|
116
|
+
rubygems_version: 2.0.14.1
|
|
117
117
|
signing_key:
|
|
118
118
|
specification_version: 4
|
|
119
119
|
summary: The Official Ruby SDK for Chain Core
|