crypto_cold_store_client 1.0.0 → 1.3.0

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: 0dc5f2d5097a5abd5ca48e4995fd278681b54b147d0717e96976929b3ef3c967
4
- data.tar.gz: ee9524350676251604d0933f4f33f1816d9567f70b1fb36e8cb3889ea308287c
3
+ metadata.gz: 99b68a53586335686c9d69e5d33d36d4ab49be1e7d0bb849ca0dcd762826af95
4
+ data.tar.gz: f6652622f8ea7f4276ced4d8b12457cfa6c9cd287561d46f787f495853d85193
5
5
  SHA512:
6
- metadata.gz: ad429b737f970b77846860eaea1c61fab1dc0b011d5844efc894a96f434a4cf31722ed606ea750cad22fd6146ebce032c293f163cc20b88653cdc328d89198c0
7
- data.tar.gz: 6625def0e84a2ec26bc435366227c414ed346f476baff2b1ebfb94d374da92a83d66feed9e4cdf7c7152afc8253ea37602f713803ab60b4aa8bcf5344186febe
6
+ metadata.gz: b756389dd5b9a356e01bd3943a285a9c87b2b9b35c3762af13464ef79024a1e1d510ee433dabe928a0fdacb5482b8f3ea5fad2c54a26be5a3bc6be53a14bc945
7
+ data.tar.gz: ec2c5714a801cef0f9913f628a37485102ef58a74de3416203f1ac8ad68a8de8826fa10f42dd8081607f211289d5cf07ab323c6bb7beb96be7da92d4db44f3e1
data/.env CHANGED
@@ -1 +1 @@
1
- CRYPTO_COLD_STORE_HOST=changeme
1
+ CRYPTO_COLD_STORE_HOST=https://ccs-testnet.bloomx.tech
@@ -0,0 +1,37 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.7']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
+ # uses: ruby/setup-ruby@v1
30
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
+ with:
32
+ ruby-version: ${{ matrix.ruby-version }}
33
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
+ - name: Bundle install for all appraisals
35
+ run: bundle exec appraisal install
36
+ - name: Run tests
37
+ run: bundle exec appraisal rspec
data/Appraisals ADDED
@@ -0,0 +1,7 @@
1
+ appraise "dry-validation-0.13.x" do
2
+ gem "dry-validation", "~> 0.13.0"
3
+ end
4
+
5
+ appraise "dry-validation-1.x" do
6
+ gem "dry-validation", "~> 1.0"
7
+ end
data/CHANGELOG.md CHANGED
@@ -4,9 +4,19 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
- ## [1.0.0] - 2019-04-08
7
+ ## [1.3.0] - 2022-04-06
8
+ ### Added
9
+ - dry-validation 0.13.x compability, but do not check args
10
+
11
+ ## [1.2.0] - 2021-06-15
12
+ ### Added
13
+ - Update dry-validation to 1.x
14
+ - Loosen Virtus to allow 2.x as well as 1.x
15
+
16
+ ## [1.1.0] - 2020-02-05
8
17
  ### Added
9
18
  - Loosen dry-validation constraint to be >= 0.12.2
19
+ - Loosen `gem_config` constraint to `~> 0.3.1`
10
20
 
11
21
  ## [0.1.0] - 2018-09-28
12
22
  ### Added
data/Gemfile CHANGED
@@ -6,3 +6,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6
6
  gemspec
7
7
 
8
8
  gem "pry-byebug"
9
+
10
+ gem "appraisal", github: "thoughtbot/appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a"
data/Gemfile.lock CHANGED
@@ -1,25 +1,35 @@
1
+ GIT
2
+ remote: https://github.com/thoughtbot/appraisal
3
+ revision: 97079f000840338edde73ded08ed6687e0b5223a
4
+ ref: 97079f000840338edde73ded08ed6687e0b5223a
5
+ specs:
6
+ appraisal (2.4.1)
7
+ bundler
8
+ rake
9
+ thor (>= 0.14.0)
10
+
1
11
  PATH
2
12
  remote: .
3
13
  specs:
4
- crypto_cold_store_client (1.0.0)
14
+ crypto_cold_store_client (1.3.0)
5
15
  activesupport (>= 5.0.0)
6
16
  api_client_base (~> 1.4)
7
- dry-validation (>= 0.12.2)
8
- gem_config (= 0.3.1)
17
+ dry-validation (>= 0.13, < 2)
18
+ gem_config (~> 0.3.1)
9
19
  typhoeus (~> 1.3)
10
- virtus (~> 1.0)
20
+ virtus (>= 1.0, < 3)
11
21
 
12
22
  GEM
13
23
  remote: https://rubygems.org/
14
24
  specs:
15
- activesupport (5.2.3)
25
+ activesupport (7.0.2.3)
16
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- addressable (2.5.2)
21
- public_suffix (>= 2.0.2, < 4.0)
22
- api_client_base (1.5.0)
27
+ i18n (>= 1.6, < 2)
28
+ minitest (>= 5.1)
29
+ tzinfo (~> 2.0)
30
+ addressable (2.8.0)
31
+ public_suffix (>= 2.0.2, < 5.0)
32
+ api_client_base (1.11.0)
23
33
  activesupport (>= 3.0)
24
34
  gem_config (>= 0.3.1)
25
35
  virtus (>= 1.0)
@@ -27,99 +37,103 @@ GEM
27
37
  descendants_tracker (~> 0.0.4)
28
38
  ice_nine (~> 0.11.0)
29
39
  thread_safe (~> 0.3, >= 0.3.1)
30
- byebug (10.0.2)
31
- coderay (1.1.2)
40
+ byebug (11.1.3)
41
+ coderay (1.1.3)
32
42
  coercible (1.0.0)
33
43
  descendants_tracker (~> 0.0.1)
34
- concurrent-ruby (1.1.5)
35
- crack (0.4.3)
36
- safe_yaml (~> 1.0.0)
44
+ concurrent-ruby (1.1.10)
45
+ crack (0.4.5)
46
+ rexml
37
47
  descendants_tracker (0.0.4)
38
48
  thread_safe (~> 0.3, >= 0.3.1)
39
- diff-lcs (1.3)
40
- dotenv (2.5.0)
41
- dry-configurable (0.8.2)
49
+ diff-lcs (1.4.4)
50
+ dotenv (2.7.6)
51
+ dry-configurable (0.14.0)
42
52
  concurrent-ruby (~> 1.0)
43
- dry-core (~> 0.4, >= 0.4.7)
44
- dry-container (0.7.0)
53
+ dry-core (~> 0.6)
54
+ dry-container (0.9.0)
45
55
  concurrent-ruby (~> 1.0)
46
- dry-configurable (~> 0.1, >= 0.1.3)
47
- dry-core (0.4.7)
56
+ dry-configurable (~> 0.13, >= 0.13.0)
57
+ dry-core (0.7.1)
48
58
  concurrent-ruby (~> 1.0)
49
- dry-equalizer (0.2.2)
50
- dry-inflector (0.1.2)
51
- dry-logic (0.6.0)
59
+ dry-inflector (0.2.1)
60
+ dry-initializer (3.1.1)
61
+ dry-logic (1.2.0)
52
62
  concurrent-ruby (~> 1.0)
53
- dry-core (~> 0.2)
54
- dry-equalizer (~> 0.2)
55
- dry-types (0.14.1)
63
+ dry-core (~> 0.5, >= 0.5)
64
+ dry-schema (1.9.1)
65
+ concurrent-ruby (~> 1.0)
66
+ dry-configurable (~> 0.13, >= 0.13.0)
67
+ dry-core (~> 0.5, >= 0.5)
68
+ dry-initializer (~> 3.0)
69
+ dry-logic (~> 1.0)
70
+ dry-types (~> 1.5)
71
+ dry-types (1.5.1)
56
72
  concurrent-ruby (~> 1.0)
57
73
  dry-container (~> 0.3)
58
- dry-core (~> 0.4, >= 0.4.4)
59
- dry-equalizer (~> 0.2)
74
+ dry-core (~> 0.5, >= 0.5)
60
75
  dry-inflector (~> 0.1, >= 0.1.2)
61
- dry-logic (~> 0.5, >= 0.5)
62
- dry-validation (0.13.1)
76
+ dry-logic (~> 1.0, >= 1.0.2)
77
+ dry-validation (1.8.0)
63
78
  concurrent-ruby (~> 1.0)
64
- dry-configurable (~> 0.1, >= 0.1.3)
65
- dry-core (~> 0.2, >= 0.2.1)
66
- dry-equalizer (~> 0.2)
67
- dry-logic (~> 0.5, >= 0.5.0)
68
- dry-types (~> 0.14.0)
69
- equalizer (0.0.11)
70
- ethon (0.12.0)
71
- ffi (>= 1.3.0)
72
- ffi (1.10.0)
73
- gem_config (0.3.1)
74
- hashdiff (0.3.7)
75
- i18n (1.6.0)
79
+ dry-container (~> 0.7, >= 0.7.1)
80
+ dry-core (~> 0.5, >= 0.5)
81
+ dry-initializer (~> 3.0)
82
+ dry-schema (~> 1.9, >= 1.9.1)
83
+ ethon (0.15.0)
84
+ ffi (>= 1.15.0)
85
+ ffi (1.15.5)
86
+ gem_config (0.3.2)
87
+ hashdiff (1.0.1)
88
+ i18n (1.10.0)
76
89
  concurrent-ruby (~> 1.0)
77
90
  ice_nine (0.11.2)
78
- method_source (0.9.0)
79
- minitest (5.11.3)
80
- pry (0.11.3)
81
- coderay (~> 1.1.0)
82
- method_source (~> 0.9.0)
83
- pry-byebug (3.6.0)
84
- byebug (~> 10.0)
85
- pry (~> 0.10)
86
- public_suffix (3.0.3)
87
- rake (12.3.1)
88
- rspec (3.8.0)
89
- rspec-core (~> 3.8.0)
90
- rspec-expectations (~> 3.8.0)
91
- rspec-mocks (~> 3.8.0)
92
- rspec-core (3.8.0)
93
- rspec-support (~> 3.8.0)
94
- rspec-expectations (3.8.1)
91
+ method_source (1.0.0)
92
+ minitest (5.15.0)
93
+ pry (0.13.1)
94
+ coderay (~> 1.1)
95
+ method_source (~> 1.0)
96
+ pry-byebug (3.9.0)
97
+ byebug (~> 11.0)
98
+ pry (~> 0.13.0)
99
+ public_suffix (4.0.6)
100
+ rake (12.3.3)
101
+ rexml (3.2.5)
102
+ rspec (3.10.0)
103
+ rspec-core (~> 3.10.0)
104
+ rspec-expectations (~> 3.10.0)
105
+ rspec-mocks (~> 3.10.0)
106
+ rspec-core (3.10.1)
107
+ rspec-support (~> 3.10.0)
108
+ rspec-expectations (3.10.1)
95
109
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.8.0)
97
- rspec-mocks (3.8.0)
110
+ rspec-support (~> 3.10.0)
111
+ rspec-mocks (3.10.2)
98
112
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.8.0)
100
- rspec-support (3.8.0)
101
- safe_yaml (1.0.4)
113
+ rspec-support (~> 3.10.0)
114
+ rspec-support (3.10.2)
115
+ thor (1.2.1)
102
116
  thread_safe (0.3.6)
103
- typhoeus (1.3.1)
117
+ typhoeus (1.4.0)
104
118
  ethon (>= 0.9.0)
105
- tzinfo (1.2.5)
106
- thread_safe (~> 0.1)
119
+ tzinfo (2.0.4)
120
+ concurrent-ruby (~> 1.0)
107
121
  vcr (4.0.0)
108
- virtus (1.0.5)
122
+ virtus (2.0.0)
109
123
  axiom-types (~> 0.1)
110
124
  coercible (~> 1.0)
111
125
  descendants_tracker (~> 0.0, >= 0.0.3)
112
- equalizer (~> 0.0, >= 0.0.9)
113
- webmock (3.4.2)
126
+ webmock (3.11.2)
114
127
  addressable (>= 2.3.6)
115
128
  crack (>= 0.3.2)
116
- hashdiff
129
+ hashdiff (>= 0.4.0, < 2.0.0)
117
130
 
118
131
  PLATFORMS
119
132
  ruby
120
133
 
121
134
  DEPENDENCIES
122
- bundler (~> 1.16)
135
+ appraisal!
136
+ bundler (~> 2.2)
123
137
  crypto_cold_store_client!
124
138
  dotenv (~> 2.5)
125
139
  pry-byebug
@@ -129,4 +143,4 @@ DEPENDENCIES
129
143
  webmock (~> 3.4)
130
144
 
131
145
  BUNDLED WITH
132
- 1.16.6
146
+ 2.2.28
@@ -24,15 +24,16 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency "activesupport", ">= 5.0.0"
26
26
  spec.add_dependency "api_client_base", "~> 1.4"
27
- spec.add_dependency "gem_config", "0.3.1"
27
+ spec.add_dependency "gem_config", "~> 0.3.1"
28
28
  spec.add_dependency "typhoeus", "~> 1.3"
29
- spec.add_dependency "virtus", "~> 1.0"
30
- spec.add_dependency "dry-validation", ">= 0.12.2"
29
+ spec.add_dependency "virtus", ">= 1.0", "< 3"
30
+ spec.add_dependency "dry-validation", ">= 0.13", "< 2"
31
31
 
32
- spec.add_development_dependency "bundler", "~> 1.16"
32
+ spec.add_development_dependency "bundler", "~> 2.2"
33
33
  spec.add_development_dependency "rake", "~> 12.3"
34
34
  spec.add_development_dependency "rspec", "~> 3.8"
35
35
  spec.add_development_dependency "vcr", "~> 4.0"
36
36
  spec.add_development_dependency "webmock", "~> 3.4"
37
37
  spec.add_development_dependency "dotenv", "~> 2.5"
38
+ spec.add_development_dependency "appraisal"
38
39
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pry-byebug"
6
+ gem "dry-validation", "~> 0.11.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,138 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ crypto_cold_store_client (1.2.0)
5
+ activesupport (>= 5.0.0)
6
+ api_client_base (~> 1.4)
7
+ dry-validation (>= 0.11, < 2)
8
+ gem_config (~> 0.3.1)
9
+ typhoeus (~> 1.3)
10
+ virtus (>= 1.0, < 3)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ activesupport (7.0.2.3)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ addressable (2.8.0)
21
+ public_suffix (>= 2.0.2, < 5.0)
22
+ api_client_base (1.11.0)
23
+ activesupport (>= 3.0)
24
+ gem_config (>= 0.3.1)
25
+ virtus (>= 1.0)
26
+ appraisal (2.4.1)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ axiom-types (0.1.1)
31
+ descendants_tracker (~> 0.0.4)
32
+ ice_nine (~> 0.11.0)
33
+ thread_safe (~> 0.3, >= 0.3.1)
34
+ byebug (11.1.3)
35
+ coderay (1.1.3)
36
+ coercible (1.0.0)
37
+ descendants_tracker (~> 0.0.1)
38
+ concurrent-ruby (1.1.10)
39
+ crack (0.4.5)
40
+ rexml
41
+ descendants_tracker (0.0.4)
42
+ thread_safe (~> 0.3, >= 0.3.1)
43
+ diff-lcs (1.5.0)
44
+ dotenv (2.7.6)
45
+ dry-configurable (0.14.0)
46
+ concurrent-ruby (~> 1.0)
47
+ dry-core (~> 0.6)
48
+ dry-container (0.9.0)
49
+ concurrent-ruby (~> 1.0)
50
+ dry-configurable (~> 0.13, >= 0.13.0)
51
+ dry-core (0.7.1)
52
+ concurrent-ruby (~> 1.0)
53
+ dry-equalizer (0.3.0)
54
+ dry-logic (0.4.2)
55
+ dry-container (~> 0.2, >= 0.2.6)
56
+ dry-core (~> 0.2)
57
+ dry-equalizer (~> 0.2)
58
+ dry-types (0.12.3)
59
+ concurrent-ruby (~> 1.0)
60
+ dry-configurable (~> 0.1)
61
+ dry-container (~> 0.3)
62
+ dry-core (~> 0.2, >= 0.2.1)
63
+ dry-equalizer (~> 0.2)
64
+ dry-logic (~> 0.4, >= 0.4.2)
65
+ inflecto (~> 0.0.0, >= 0.0.2)
66
+ dry-validation (0.11.2)
67
+ concurrent-ruby (~> 1.0)
68
+ dry-configurable (~> 0.1, >= 0.1.3)
69
+ dry-core (~> 0.2, >= 0.2.1)
70
+ dry-equalizer (~> 0.2)
71
+ dry-logic (~> 0.4.2)
72
+ dry-types (~> 0.12.0)
73
+ ethon (0.15.0)
74
+ ffi (>= 1.15.0)
75
+ ffi (1.15.5)
76
+ gem_config (0.3.2)
77
+ hashdiff (1.0.1)
78
+ i18n (1.10.0)
79
+ concurrent-ruby (~> 1.0)
80
+ ice_nine (0.11.2)
81
+ inflecto (0.0.2)
82
+ method_source (1.0.0)
83
+ minitest (5.15.0)
84
+ pry (0.13.1)
85
+ coderay (~> 1.1)
86
+ method_source (~> 1.0)
87
+ pry-byebug (3.9.0)
88
+ byebug (~> 11.0)
89
+ pry (~> 0.13.0)
90
+ public_suffix (4.0.6)
91
+ rake (12.3.3)
92
+ rexml (3.2.5)
93
+ rspec (3.11.0)
94
+ rspec-core (~> 3.11.0)
95
+ rspec-expectations (~> 3.11.0)
96
+ rspec-mocks (~> 3.11.0)
97
+ rspec-core (3.11.0)
98
+ rspec-support (~> 3.11.0)
99
+ rspec-expectations (3.11.0)
100
+ diff-lcs (>= 1.2.0, < 2.0)
101
+ rspec-support (~> 3.11.0)
102
+ rspec-mocks (3.11.1)
103
+ diff-lcs (>= 1.2.0, < 2.0)
104
+ rspec-support (~> 3.11.0)
105
+ rspec-support (3.11.0)
106
+ thor (1.2.1)
107
+ thread_safe (0.3.6)
108
+ typhoeus (1.4.0)
109
+ ethon (>= 0.9.0)
110
+ tzinfo (2.0.4)
111
+ concurrent-ruby (~> 1.0)
112
+ vcr (4.0.0)
113
+ virtus (2.0.0)
114
+ axiom-types (~> 0.1)
115
+ coercible (~> 1.0)
116
+ descendants_tracker (~> 0.0, >= 0.0.3)
117
+ webmock (3.14.0)
118
+ addressable (>= 2.8.0)
119
+ crack (>= 0.3.2)
120
+ hashdiff (>= 0.4.0, < 2.0.0)
121
+
122
+ PLATFORMS
123
+ ruby
124
+
125
+ DEPENDENCIES
126
+ appraisal (~> 2.4)
127
+ bundler (~> 2.2)
128
+ crypto_cold_store_client!
129
+ dotenv (~> 2.5)
130
+ dry-validation (~> 0.11.0)
131
+ pry-byebug
132
+ rake (~> 12.3)
133
+ rspec (~> 3.8)
134
+ vcr (~> 4.0)
135
+ webmock (~> 3.4)
136
+
137
+ BUNDLED WITH
138
+ 2.2.28
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pry-byebug"
6
+ gem "dry-validation", "~> 0.12.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,137 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ crypto_cold_store_client (1.2.0)
5
+ activesupport (>= 5.0.0)
6
+ api_client_base (~> 1.4)
7
+ dry-validation (>= 0.11, < 2)
8
+ gem_config (~> 0.3.1)
9
+ typhoeus (~> 1.3)
10
+ virtus (>= 1.0, < 3)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ activesupport (7.0.2.3)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ addressable (2.8.0)
21
+ public_suffix (>= 2.0.2, < 5.0)
22
+ api_client_base (1.11.0)
23
+ activesupport (>= 3.0)
24
+ gem_config (>= 0.3.1)
25
+ virtus (>= 1.0)
26
+ appraisal (2.4.1)
27
+ bundler
28
+ rake
29
+ thor (>= 0.14.0)
30
+ axiom-types (0.1.1)
31
+ descendants_tracker (~> 0.0.4)
32
+ ice_nine (~> 0.11.0)
33
+ thread_safe (~> 0.3, >= 0.3.1)
34
+ byebug (11.1.3)
35
+ coderay (1.1.3)
36
+ coercible (1.0.0)
37
+ descendants_tracker (~> 0.0.1)
38
+ concurrent-ruby (1.1.10)
39
+ crack (0.4.5)
40
+ rexml
41
+ descendants_tracker (0.0.4)
42
+ thread_safe (~> 0.3, >= 0.3.1)
43
+ diff-lcs (1.5.0)
44
+ dotenv (2.7.6)
45
+ dry-configurable (0.14.0)
46
+ concurrent-ruby (~> 1.0)
47
+ dry-core (~> 0.6)
48
+ dry-container (0.9.0)
49
+ concurrent-ruby (~> 1.0)
50
+ dry-configurable (~> 0.13, >= 0.13.0)
51
+ dry-core (0.7.1)
52
+ concurrent-ruby (~> 1.0)
53
+ dry-equalizer (0.3.0)
54
+ dry-inflector (0.2.1)
55
+ dry-logic (0.4.2)
56
+ dry-container (~> 0.2, >= 0.2.6)
57
+ dry-core (~> 0.2)
58
+ dry-equalizer (~> 0.2)
59
+ dry-types (0.13.4)
60
+ concurrent-ruby (~> 1.0)
61
+ dry-container (~> 0.3)
62
+ dry-core (~> 0.4, >= 0.4.4)
63
+ dry-equalizer (~> 0.2)
64
+ dry-inflector (~> 0.1, >= 0.1.2)
65
+ dry-logic (~> 0.4, >= 0.4.2)
66
+ dry-validation (0.12.3)
67
+ concurrent-ruby (~> 1.0)
68
+ dry-configurable (~> 0.1, >= 0.1.3)
69
+ dry-core (~> 0.2, >= 0.2.1)
70
+ dry-equalizer (~> 0.2)
71
+ dry-logic (~> 0.4.2)
72
+ dry-types (~> 0.13.1)
73
+ ethon (0.15.0)
74
+ ffi (>= 1.15.0)
75
+ ffi (1.15.5)
76
+ gem_config (0.3.2)
77
+ hashdiff (1.0.1)
78
+ i18n (1.10.0)
79
+ concurrent-ruby (~> 1.0)
80
+ ice_nine (0.11.2)
81
+ method_source (1.0.0)
82
+ minitest (5.15.0)
83
+ pry (0.13.1)
84
+ coderay (~> 1.1)
85
+ method_source (~> 1.0)
86
+ pry-byebug (3.9.0)
87
+ byebug (~> 11.0)
88
+ pry (~> 0.13.0)
89
+ public_suffix (4.0.6)
90
+ rake (12.3.3)
91
+ rexml (3.2.5)
92
+ rspec (3.11.0)
93
+ rspec-core (~> 3.11.0)
94
+ rspec-expectations (~> 3.11.0)
95
+ rspec-mocks (~> 3.11.0)
96
+ rspec-core (3.11.0)
97
+ rspec-support (~> 3.11.0)
98
+ rspec-expectations (3.11.0)
99
+ diff-lcs (>= 1.2.0, < 2.0)
100
+ rspec-support (~> 3.11.0)
101
+ rspec-mocks (3.11.1)
102
+ diff-lcs (>= 1.2.0, < 2.0)
103
+ rspec-support (~> 3.11.0)
104
+ rspec-support (3.11.0)
105
+ thor (1.2.1)
106
+ thread_safe (0.3.6)
107
+ typhoeus (1.4.0)
108
+ ethon (>= 0.9.0)
109
+ tzinfo (2.0.4)
110
+ concurrent-ruby (~> 1.0)
111
+ vcr (4.0.0)
112
+ virtus (2.0.0)
113
+ axiom-types (~> 0.1)
114
+ coercible (~> 1.0)
115
+ descendants_tracker (~> 0.0, >= 0.0.3)
116
+ webmock (3.14.0)
117
+ addressable (>= 2.8.0)
118
+ crack (>= 0.3.2)
119
+ hashdiff (>= 0.4.0, < 2.0.0)
120
+
121
+ PLATFORMS
122
+ ruby
123
+
124
+ DEPENDENCIES
125
+ appraisal (~> 2.4)
126
+ bundler (~> 2.2)
127
+ crypto_cold_store_client!
128
+ dotenv (~> 2.5)
129
+ dry-validation (~> 0.12.0)
130
+ pry-byebug
131
+ rake (~> 12.3)
132
+ rspec (~> 3.8)
133
+ vcr (~> 4.0)
134
+ webmock (~> 3.4)
135
+
136
+ BUNDLED WITH
137
+ 2.2.28
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pry-byebug"
6
+ gem "appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a", git: "https://github.com/thoughtbot/appraisal"
7
+ gem "dry-validation", "~> 0.13.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,143 @@
1
+ GIT
2
+ remote: https://github.com/thoughtbot/appraisal
3
+ revision: 97079f000840338edde73ded08ed6687e0b5223a
4
+ ref: 97079f000840338edde73ded08ed6687e0b5223a
5
+ specs:
6
+ appraisal (2.4.1)
7
+ bundler
8
+ rake
9
+ thor (>= 0.14.0)
10
+
11
+ PATH
12
+ remote: ..
13
+ specs:
14
+ crypto_cold_store_client (1.2.0)
15
+ activesupport (>= 5.0.0)
16
+ api_client_base (~> 1.4)
17
+ dry-validation (>= 0.13, < 2)
18
+ gem_config (~> 0.3.1)
19
+ typhoeus (~> 1.3)
20
+ virtus (>= 1.0, < 3)
21
+
22
+ GEM
23
+ remote: https://rubygems.org/
24
+ specs:
25
+ activesupport (7.0.2.3)
26
+ concurrent-ruby (~> 1.0, >= 1.0.2)
27
+ i18n (>= 1.6, < 2)
28
+ minitest (>= 5.1)
29
+ tzinfo (~> 2.0)
30
+ addressable (2.8.0)
31
+ public_suffix (>= 2.0.2, < 5.0)
32
+ api_client_base (1.11.0)
33
+ activesupport (>= 3.0)
34
+ gem_config (>= 0.3.1)
35
+ virtus (>= 1.0)
36
+ axiom-types (0.1.1)
37
+ descendants_tracker (~> 0.0.4)
38
+ ice_nine (~> 0.11.0)
39
+ thread_safe (~> 0.3, >= 0.3.1)
40
+ byebug (11.1.3)
41
+ coderay (1.1.3)
42
+ coercible (1.0.0)
43
+ descendants_tracker (~> 0.0.1)
44
+ concurrent-ruby (1.1.10)
45
+ crack (0.4.5)
46
+ rexml
47
+ descendants_tracker (0.0.4)
48
+ thread_safe (~> 0.3, >= 0.3.1)
49
+ diff-lcs (1.5.0)
50
+ dotenv (2.7.6)
51
+ dry-configurable (0.14.0)
52
+ concurrent-ruby (~> 1.0)
53
+ dry-core (~> 0.6)
54
+ dry-container (0.9.0)
55
+ concurrent-ruby (~> 1.0)
56
+ dry-configurable (~> 0.13, >= 0.13.0)
57
+ dry-core (0.7.1)
58
+ concurrent-ruby (~> 1.0)
59
+ dry-equalizer (0.3.0)
60
+ dry-inflector (0.2.1)
61
+ dry-logic (0.6.1)
62
+ concurrent-ruby (~> 1.0)
63
+ dry-core (~> 0.2)
64
+ dry-equalizer (~> 0.2)
65
+ dry-types (0.14.1)
66
+ concurrent-ruby (~> 1.0)
67
+ dry-container (~> 0.3)
68
+ dry-core (~> 0.4, >= 0.4.4)
69
+ dry-equalizer (~> 0.2)
70
+ dry-inflector (~> 0.1, >= 0.1.2)
71
+ dry-logic (~> 0.5, >= 0.5)
72
+ dry-validation (0.13.3)
73
+ concurrent-ruby (~> 1.0)
74
+ dry-configurable (~> 0.1, >= 0.1.3)
75
+ dry-core (~> 0.2, >= 0.2.1)
76
+ dry-equalizer (~> 0.2)
77
+ dry-logic (~> 0.5, >= 0.5.0)
78
+ dry-types (~> 0.14.0)
79
+ ethon (0.15.0)
80
+ ffi (>= 1.15.0)
81
+ ffi (1.15.5)
82
+ gem_config (0.3.2)
83
+ hashdiff (1.0.1)
84
+ i18n (1.10.0)
85
+ concurrent-ruby (~> 1.0)
86
+ ice_nine (0.11.2)
87
+ method_source (1.0.0)
88
+ minitest (5.15.0)
89
+ pry (0.13.1)
90
+ coderay (~> 1.1)
91
+ method_source (~> 1.0)
92
+ pry-byebug (3.9.0)
93
+ byebug (~> 11.0)
94
+ pry (~> 0.13.0)
95
+ public_suffix (4.0.6)
96
+ rake (12.3.3)
97
+ rexml (3.2.5)
98
+ rspec (3.11.0)
99
+ rspec-core (~> 3.11.0)
100
+ rspec-expectations (~> 3.11.0)
101
+ rspec-mocks (~> 3.11.0)
102
+ rspec-core (3.11.0)
103
+ rspec-support (~> 3.11.0)
104
+ rspec-expectations (3.11.0)
105
+ diff-lcs (>= 1.2.0, < 2.0)
106
+ rspec-support (~> 3.11.0)
107
+ rspec-mocks (3.11.1)
108
+ diff-lcs (>= 1.2.0, < 2.0)
109
+ rspec-support (~> 3.11.0)
110
+ rspec-support (3.11.0)
111
+ thor (1.2.1)
112
+ thread_safe (0.3.6)
113
+ typhoeus (1.4.0)
114
+ ethon (>= 0.9.0)
115
+ tzinfo (2.0.4)
116
+ concurrent-ruby (~> 1.0)
117
+ vcr (4.0.0)
118
+ virtus (2.0.0)
119
+ axiom-types (~> 0.1)
120
+ coercible (~> 1.0)
121
+ descendants_tracker (~> 0.0, >= 0.0.3)
122
+ webmock (3.14.0)
123
+ addressable (>= 2.8.0)
124
+ crack (>= 0.3.2)
125
+ hashdiff (>= 0.4.0, < 2.0.0)
126
+
127
+ PLATFORMS
128
+ ruby
129
+
130
+ DEPENDENCIES
131
+ appraisal!
132
+ bundler (~> 2.2)
133
+ crypto_cold_store_client!
134
+ dotenv (~> 2.5)
135
+ dry-validation (~> 0.13.0)
136
+ pry-byebug
137
+ rake (~> 12.3)
138
+ rspec (~> 3.8)
139
+ vcr (~> 4.0)
140
+ webmock (~> 3.4)
141
+
142
+ BUNDLED WITH
143
+ 2.2.28
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pry-byebug"
6
+ gem "appraisal", ref: "97079f000840338edde73ded08ed6687e0b5223a", git: "https://github.com/thoughtbot/appraisal"
7
+ gem "dry-validation", "~> 1.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,149 @@
1
+ GIT
2
+ remote: https://github.com/thoughtbot/appraisal
3
+ revision: 97079f000840338edde73ded08ed6687e0b5223a
4
+ ref: 97079f000840338edde73ded08ed6687e0b5223a
5
+ specs:
6
+ appraisal (2.4.1)
7
+ bundler
8
+ rake
9
+ thor (>= 0.14.0)
10
+
11
+ PATH
12
+ remote: ..
13
+ specs:
14
+ crypto_cold_store_client (1.2.0)
15
+ activesupport (>= 5.0.0)
16
+ api_client_base (~> 1.4)
17
+ dry-validation (>= 0.13, < 2)
18
+ gem_config (~> 0.3.1)
19
+ typhoeus (~> 1.3)
20
+ virtus (>= 1.0, < 3)
21
+
22
+ GEM
23
+ remote: https://rubygems.org/
24
+ specs:
25
+ activesupport (7.0.2.3)
26
+ concurrent-ruby (~> 1.0, >= 1.0.2)
27
+ i18n (>= 1.6, < 2)
28
+ minitest (>= 5.1)
29
+ tzinfo (~> 2.0)
30
+ addressable (2.8.0)
31
+ public_suffix (>= 2.0.2, < 5.0)
32
+ api_client_base (1.11.0)
33
+ activesupport (>= 3.0)
34
+ gem_config (>= 0.3.1)
35
+ virtus (>= 1.0)
36
+ axiom-types (0.1.1)
37
+ descendants_tracker (~> 0.0.4)
38
+ ice_nine (~> 0.11.0)
39
+ thread_safe (~> 0.3, >= 0.3.1)
40
+ byebug (11.1.3)
41
+ coderay (1.1.3)
42
+ coercible (1.0.0)
43
+ descendants_tracker (~> 0.0.1)
44
+ concurrent-ruby (1.1.10)
45
+ crack (0.4.5)
46
+ rexml
47
+ descendants_tracker (0.0.4)
48
+ thread_safe (~> 0.3, >= 0.3.1)
49
+ diff-lcs (1.5.0)
50
+ dotenv (2.7.6)
51
+ dry-configurable (0.14.0)
52
+ concurrent-ruby (~> 1.0)
53
+ dry-core (~> 0.6)
54
+ dry-container (0.9.0)
55
+ concurrent-ruby (~> 1.0)
56
+ dry-configurable (~> 0.13, >= 0.13.0)
57
+ dry-core (0.7.1)
58
+ concurrent-ruby (~> 1.0)
59
+ dry-equalizer (0.3.0)
60
+ dry-inflector (0.2.1)
61
+ dry-initializer (3.0.4)
62
+ dry-logic (1.2.0)
63
+ concurrent-ruby (~> 1.0)
64
+ dry-core (~> 0.5, >= 0.5)
65
+ dry-schema (1.6.2)
66
+ concurrent-ruby (~> 1.0)
67
+ dry-configurable (~> 0.8, >= 0.8.3)
68
+ dry-core (~> 0.5, >= 0.5)
69
+ dry-initializer (~> 3.0)
70
+ dry-logic (~> 1.0)
71
+ dry-types (~> 1.5)
72
+ dry-types (1.5.1)
73
+ concurrent-ruby (~> 1.0)
74
+ dry-container (~> 0.3)
75
+ dry-core (~> 0.5, >= 0.5)
76
+ dry-inflector (~> 0.1, >= 0.1.2)
77
+ dry-logic (~> 1.0, >= 1.0.2)
78
+ dry-validation (1.6.0)
79
+ concurrent-ruby (~> 1.0)
80
+ dry-container (~> 0.7, >= 0.7.1)
81
+ dry-core (~> 0.4)
82
+ dry-equalizer (~> 0.2)
83
+ dry-initializer (~> 3.0)
84
+ dry-schema (~> 1.5, >= 1.5.2)
85
+ ethon (0.15.0)
86
+ ffi (>= 1.15.0)
87
+ ffi (1.15.5)
88
+ gem_config (0.3.2)
89
+ hashdiff (1.0.1)
90
+ i18n (1.10.0)
91
+ concurrent-ruby (~> 1.0)
92
+ ice_nine (0.11.2)
93
+ method_source (1.0.0)
94
+ minitest (5.15.0)
95
+ pry (0.13.1)
96
+ coderay (~> 1.1)
97
+ method_source (~> 1.0)
98
+ pry-byebug (3.9.0)
99
+ byebug (~> 11.0)
100
+ pry (~> 0.13.0)
101
+ public_suffix (4.0.6)
102
+ rake (12.3.3)
103
+ rexml (3.2.5)
104
+ rspec (3.11.0)
105
+ rspec-core (~> 3.11.0)
106
+ rspec-expectations (~> 3.11.0)
107
+ rspec-mocks (~> 3.11.0)
108
+ rspec-core (3.11.0)
109
+ rspec-support (~> 3.11.0)
110
+ rspec-expectations (3.11.0)
111
+ diff-lcs (>= 1.2.0, < 2.0)
112
+ rspec-support (~> 3.11.0)
113
+ rspec-mocks (3.11.1)
114
+ diff-lcs (>= 1.2.0, < 2.0)
115
+ rspec-support (~> 3.11.0)
116
+ rspec-support (3.11.0)
117
+ thor (1.2.1)
118
+ thread_safe (0.3.6)
119
+ typhoeus (1.4.0)
120
+ ethon (>= 0.9.0)
121
+ tzinfo (2.0.4)
122
+ concurrent-ruby (~> 1.0)
123
+ vcr (4.0.0)
124
+ virtus (2.0.0)
125
+ axiom-types (~> 0.1)
126
+ coercible (~> 1.0)
127
+ descendants_tracker (~> 0.0, >= 0.0.3)
128
+ webmock (3.14.0)
129
+ addressable (>= 2.8.0)
130
+ crack (>= 0.3.2)
131
+ hashdiff (>= 0.4.0, < 2.0.0)
132
+
133
+ PLATFORMS
134
+ ruby
135
+
136
+ DEPENDENCIES
137
+ appraisal!
138
+ bundler (~> 2.2)
139
+ crypto_cold_store_client!
140
+ dotenv (~> 2.5)
141
+ dry-validation (~> 1.0)
142
+ pry-byebug
143
+ rake (~> 12.3)
144
+ rspec (~> 3.8)
145
+ vcr (~> 4.0)
146
+ webmock (~> 3.4)
147
+
148
+ BUNDLED WITH
149
+ 2.2.28
@@ -1,8 +1,14 @@
1
1
  module CryptoColdStoreClient
2
2
  COINS = %w[btc eth]
3
3
 
4
- GetAddressRequestSchema = Dry::Validation.Schema do
5
- required(:coin).filled(:str?, included_in?: COINS)
6
- required(:code).filled(:str?)
4
+ if not Dry::Validation.const_defined?("Schema")
5
+ class GetAddressRequestSchema < Dry::Validation::Contract
6
+
7
+ params do
8
+ required(:coin).filled(:str?, included_in?: COINS)
9
+ required(:code).filled(:str?)
10
+ end
11
+
12
+ end
7
13
  end
8
14
  end
@@ -1,3 +1,3 @@
1
1
  module CryptoColdStoreClient
2
- VERSION = "1.0.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypto_cold_store_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Subido
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-08 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: gem_config
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.3.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.3.1
55
55
  - !ruby/object:Gem::Dependency
@@ -70,44 +70,56 @@ dependencies:
70
70
  name: virtus
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.0'
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '3'
76
79
  type: :runtime
77
80
  prerelease: false
78
81
  version_requirements: !ruby/object:Gem::Requirement
79
82
  requirements:
80
- - - "~>"
83
+ - - ">="
81
84
  - !ruby/object:Gem::Version
82
85
  version: '1.0'
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '3'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: dry-validation
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
93
  - - ">="
88
94
  - !ruby/object:Gem::Version
89
- version: 0.12.2
95
+ version: '0.13'
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '2'
90
99
  type: :runtime
91
100
  prerelease: false
92
101
  version_requirements: !ruby/object:Gem::Requirement
93
102
  requirements:
94
103
  - - ">="
95
104
  - !ruby/object:Gem::Version
96
- version: 0.12.2
105
+ version: '0.13'
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '2'
97
109
  - !ruby/object:Gem::Dependency
98
110
  name: bundler
99
111
  requirement: !ruby/object:Gem::Requirement
100
112
  requirements:
101
113
  - - "~>"
102
114
  - !ruby/object:Gem::Version
103
- version: '1.16'
115
+ version: '2.2'
104
116
  type: :development
105
117
  prerelease: false
106
118
  version_requirements: !ruby/object:Gem::Requirement
107
119
  requirements:
108
120
  - - "~>"
109
121
  - !ruby/object:Gem::Version
110
- version: '1.16'
122
+ version: '2.2'
111
123
  - !ruby/object:Gem::Dependency
112
124
  name: rake
113
125
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +190,20 @@ dependencies:
178
190
  - - "~>"
179
191
  - !ruby/object:Gem::Version
180
192
  version: '2.5'
193
+ - !ruby/object:Gem::Dependency
194
+ name: appraisal
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
181
207
  description: Ruby client for crypto-cold-store
182
208
  email:
183
209
  - ace.subido@gmail.com
@@ -186,9 +212,10 @@ extensions: []
186
212
  extra_rdoc_files: []
187
213
  files:
188
214
  - ".env"
215
+ - ".github/workflows/ruby.yml"
189
216
  - ".gitignore"
190
217
  - ".rspec"
191
- - ".travis.yml"
218
+ - Appraisals
192
219
  - CHANGELOG.md
193
220
  - CODE_OF_CONDUCT.md
194
221
  - Gemfile
@@ -199,6 +226,15 @@ files:
199
226
  - bin/console
200
227
  - bin/setup
201
228
  - crypto_cold_store_client.gemspec
229
+ - gemfiles/.bundle/config
230
+ - gemfiles/dry_validation_0.11.x.gemfile
231
+ - gemfiles/dry_validation_0.11.x.gemfile.lock
232
+ - gemfiles/dry_validation_0.12.x.gemfile
233
+ - gemfiles/dry_validation_0.12.x.gemfile.lock
234
+ - gemfiles/dry_validation_0.13.x.gemfile
235
+ - gemfiles/dry_validation_0.13.x.gemfile.lock
236
+ - gemfiles/dry_validation_1.x.gemfile
237
+ - gemfiles/dry_validation_1.x.gemfile.lock
202
238
  - lib/crypto_cold_store_client.rb
203
239
  - lib/crypto_cold_store_client/client.rb
204
240
  - lib/crypto_cold_store_client/coercers/indifferent_hash.rb
@@ -210,7 +246,7 @@ homepage: https://github.com/bloom-solutions/crypto_cold_store_client-ruby
210
246
  licenses:
211
247
  - MIT
212
248
  metadata: {}
213
- post_install_message:
249
+ post_install_message:
214
250
  rdoc_options: []
215
251
  require_paths:
216
252
  - lib
@@ -225,9 +261,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
261
  - !ruby/object:Gem::Version
226
262
  version: '0'
227
263
  requirements: []
228
- rubyforge_project:
229
- rubygems_version: 2.7.9
230
- signing_key:
264
+ rubygems_version: 3.1.6
265
+ signing_key:
231
266
  specification_version: 4
232
267
  summary: Ruby client for crypto-cold-store
233
268
  test_files: []
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.5.0
6
- before_install: gem install bundler -v 1.16.2