crypto_cold_store_client 1.2.0 → 1.3.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: 6f7f5cfbfec30720e7beda6a0268fb48585b827fdf3259780ecedfcefd977b2d
4
- data.tar.gz: 0c323b3e7ebba82816f336c65bc2f83e6ec2c3953b2f94ef4747e7027984919b
3
+ metadata.gz: 99b68a53586335686c9d69e5d33d36d4ab49be1e7d0bb849ca0dcd762826af95
4
+ data.tar.gz: f6652622f8ea7f4276ced4d8b12457cfa6c9cd287561d46f787f495853d85193
5
5
  SHA512:
6
- metadata.gz: 90dad95e9d94f887bd4b93ae623dedcfdf90127058490cca657f7bcf98929738daa2172918919fd5ab418e4794b5e4865a5302c12efcd328b3f1ba5157b7968a
7
- data.tar.gz: df78ace81d980400d1711830685b921ed1020ba479f69dea9b128bea048c8119ff93799c859888e7c068d9a9d538ee163d3eabdda24d5fc8690ad9c12111c0f1
6
+ metadata.gz: b756389dd5b9a356e01bd3943a285a9c87b2b9b35c3762af13464ef79024a1e1d510ee433dabe928a0fdacb5482b8f3ea5fad2c54a26be5a3bc6be53a14bc945
7
+ data.tar.gz: ec2c5714a801cef0f9913f628a37485102ef58a74de3416203f1ac8ad68a8de8826fa10f42dd8081607f211289d5cf07ab323c6bb7beb96be7da92d4db44f3e1
@@ -19,7 +19,7 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  strategy:
21
21
  matrix:
22
- ruby-version: ['2.6', '2.7']
22
+ ruby-version: ['2.7']
23
23
 
24
24
  steps:
25
25
  - uses: actions/checkout@v2
@@ -31,5 +31,7 @@ jobs:
31
31
  with:
32
32
  ruby-version: ${{ matrix.ruby-version }}
33
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
34
36
  - name: Run tests
35
- run: bundle exec rspec
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,6 +4,10 @@ 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.3.0] - 2022-04-06
8
+ ### Added
9
+ - dry-validation 0.13.x compability, but do not check args
10
+
7
11
  ## [1.2.0] - 2021-06-15
8
12
  ### Added
9
13
  - Update dry-validation to 1.x
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,10 +1,20 @@
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.2.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 (~> 1.0, < 2)
17
+ dry-validation (>= 0.13, < 2)
8
18
  gem_config (~> 0.3.1)
9
19
  typhoeus (~> 1.3)
10
20
  virtus (>= 1.0, < 3)
@@ -12,15 +22,14 @@ PATH
12
22
  GEM
13
23
  remote: https://rubygems.org/
14
24
  specs:
15
- activesupport (6.1.3.2)
25
+ activesupport (7.0.2.3)
16
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
27
  i18n (>= 1.6, < 2)
18
28
  minitest (>= 5.1)
19
29
  tzinfo (~> 2.0)
20
- zeitwerk (~> 2.3)
21
- addressable (2.7.0)
30
+ addressable (2.8.0)
22
31
  public_suffix (>= 2.0.2, < 5.0)
23
- api_client_base (1.10.0)
32
+ api_client_base (1.11.0)
24
33
  activesupport (>= 3.0)
25
34
  gem_config (>= 0.3.1)
26
35
  virtus (>= 1.0)
@@ -32,30 +41,29 @@ GEM
32
41
  coderay (1.1.3)
33
42
  coercible (1.0.0)
34
43
  descendants_tracker (~> 0.0.1)
35
- concurrent-ruby (1.1.9)
44
+ concurrent-ruby (1.1.10)
36
45
  crack (0.4.5)
37
46
  rexml
38
47
  descendants_tracker (0.0.4)
39
48
  thread_safe (~> 0.3, >= 0.3.1)
40
49
  diff-lcs (1.4.4)
41
50
  dotenv (2.7.6)
42
- dry-configurable (0.12.1)
51
+ dry-configurable (0.14.0)
43
52
  concurrent-ruby (~> 1.0)
44
- dry-core (~> 0.5, >= 0.5.0)
45
- dry-container (0.8.0)
53
+ dry-core (~> 0.6)
54
+ dry-container (0.9.0)
46
55
  concurrent-ruby (~> 1.0)
47
- dry-configurable (~> 0.1, >= 0.1.3)
48
- dry-core (0.6.0)
56
+ dry-configurable (~> 0.13, >= 0.13.0)
57
+ dry-core (0.7.1)
49
58
  concurrent-ruby (~> 1.0)
50
- dry-equalizer (0.3.0)
51
- dry-inflector (0.2.0)
52
- dry-initializer (3.0.4)
59
+ dry-inflector (0.2.1)
60
+ dry-initializer (3.1.1)
53
61
  dry-logic (1.2.0)
54
62
  concurrent-ruby (~> 1.0)
55
63
  dry-core (~> 0.5, >= 0.5)
56
- dry-schema (1.6.2)
64
+ dry-schema (1.9.1)
57
65
  concurrent-ruby (~> 1.0)
58
- dry-configurable (~> 0.8, >= 0.8.3)
66
+ dry-configurable (~> 0.13, >= 0.13.0)
59
67
  dry-core (~> 0.5, >= 0.5)
60
68
  dry-initializer (~> 3.0)
61
69
  dry-logic (~> 1.0)
@@ -66,23 +74,22 @@ GEM
66
74
  dry-core (~> 0.5, >= 0.5)
67
75
  dry-inflector (~> 0.1, >= 0.1.2)
68
76
  dry-logic (~> 1.0, >= 1.0.2)
69
- dry-validation (1.6.0)
77
+ dry-validation (1.8.0)
70
78
  concurrent-ruby (~> 1.0)
71
79
  dry-container (~> 0.7, >= 0.7.1)
72
- dry-core (~> 0.4)
73
- dry-equalizer (~> 0.2)
80
+ dry-core (~> 0.5, >= 0.5)
74
81
  dry-initializer (~> 3.0)
75
- dry-schema (~> 1.5, >= 1.5.2)
76
- ethon (0.14.0)
82
+ dry-schema (~> 1.9, >= 1.9.1)
83
+ ethon (0.15.0)
77
84
  ffi (>= 1.15.0)
78
- ffi (1.15.1)
85
+ ffi (1.15.5)
79
86
  gem_config (0.3.2)
80
87
  hashdiff (1.0.1)
81
- i18n (1.8.10)
88
+ i18n (1.10.0)
82
89
  concurrent-ruby (~> 1.0)
83
90
  ice_nine (0.11.2)
84
91
  method_source (1.0.0)
85
- minitest (5.14.4)
92
+ minitest (5.15.0)
86
93
  pry (0.13.1)
87
94
  coderay (~> 1.1)
88
95
  method_source (~> 1.0)
@@ -91,7 +98,7 @@ GEM
91
98
  pry (~> 0.13.0)
92
99
  public_suffix (4.0.6)
93
100
  rake (12.3.3)
94
- rexml (3.2.4)
101
+ rexml (3.2.5)
95
102
  rspec (3.10.0)
96
103
  rspec-core (~> 3.10.0)
97
104
  rspec-expectations (~> 3.10.0)
@@ -105,6 +112,7 @@ GEM
105
112
  diff-lcs (>= 1.2.0, < 2.0)
106
113
  rspec-support (~> 3.10.0)
107
114
  rspec-support (3.10.2)
115
+ thor (1.2.1)
108
116
  thread_safe (0.3.6)
109
117
  typhoeus (1.4.0)
110
118
  ethon (>= 0.9.0)
@@ -119,12 +127,12 @@ GEM
119
127
  addressable (>= 2.3.6)
120
128
  crack (>= 0.3.2)
121
129
  hashdiff (>= 0.4.0, < 2.0.0)
122
- zeitwerk (2.4.2)
123
130
 
124
131
  PLATFORMS
125
132
  ruby
126
133
 
127
134
  DEPENDENCIES
135
+ appraisal!
128
136
  bundler (~> 2.2)
129
137
  crypto_cold_store_client!
130
138
  dotenv (~> 2.5)
@@ -135,4 +143,4 @@ DEPENDENCIES
135
143
  webmock (~> 3.4)
136
144
 
137
145
  BUNDLED WITH
138
- 2.2.20
146
+ 2.2.28
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "gem_config", "~> 0.3.1"
28
28
  spec.add_dependency "typhoeus", "~> 1.3"
29
29
  spec.add_dependency "virtus", ">= 1.0", "< 3"
30
- spec.add_dependency "dry-validation", "~> 1.0", "< 2"
30
+ spec.add_dependency "dry-validation", ">= 0.13", "< 2"
31
31
 
32
32
  spec.add_development_dependency "bundler", "~> 2.2"
33
33
  spec.add_development_dependency "rake", "~> 12.3"
@@ -35,4 +35,5 @@ Gem::Specification.new do |spec|
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,12 +1,14 @@
1
1
  module CryptoColdStoreClient
2
2
  COINS = %w[btc eth]
3
3
 
4
- class GetAddressRequestSchema < Dry::Validation::Contract
4
+ if not Dry::Validation.const_defined?("Schema")
5
+ class GetAddressRequestSchema < Dry::Validation::Contract
5
6
 
6
- params do
7
- required(:coin).filled(:str?, included_in?: COINS)
8
- required(:code).filled(:str?)
9
- end
7
+ params do
8
+ required(:coin).filled(:str?, included_in?: COINS)
9
+ required(:code).filled(:str?)
10
+ end
10
11
 
12
+ end
11
13
  end
12
14
  end
@@ -1,3 +1,3 @@
1
1
  module CryptoColdStoreClient
2
- VERSION = "1.2.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.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Subido
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-15 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
@@ -90,9 +90,9 @@ dependencies:
90
90
  name: dry-validation
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - "~>"
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '1.0'
95
+ version: '0.13'
96
96
  - - "<"
97
97
  - !ruby/object:Gem::Version
98
98
  version: '2'
@@ -100,9 +100,9 @@ dependencies:
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - "~>"
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: '1.0'
105
+ version: '0.13'
106
106
  - - "<"
107
107
  - !ruby/object:Gem::Version
108
108
  version: '2'
@@ -190,6 +190,20 @@ dependencies:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
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'
193
207
  description: Ruby client for crypto-cold-store
194
208
  email:
195
209
  - ace.subido@gmail.com
@@ -198,10 +212,10 @@ extensions: []
198
212
  extra_rdoc_files: []
199
213
  files:
200
214
  - ".env"
201
- - ".github/workflows/push.yml"
202
215
  - ".github/workflows/ruby.yml"
203
216
  - ".gitignore"
204
217
  - ".rspec"
218
+ - Appraisals
205
219
  - CHANGELOG.md
206
220
  - CODE_OF_CONDUCT.md
207
221
  - Gemfile
@@ -212,6 +226,15 @@ files:
212
226
  - bin/console
213
227
  - bin/setup
214
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
215
238
  - lib/crypto_cold_store_client.rb
216
239
  - lib/crypto_cold_store_client/client.rb
217
240
  - lib/crypto_cold_store_client/coercers/indifferent_hash.rb
@@ -1,31 +0,0 @@
1
- ---
2
- name: Ruby
3
-
4
- on:
5
- push:
6
- branches: [ master ]
7
- pull_request:
8
- branches: [ master ]
9
-
10
- jobs:
11
- test:
12
-
13
- runs-on: ubuntu-latest
14
- strategy:
15
- matrix:
16
- ruby-version: ['2.7']
17
-
18
- steps:
19
- - uses: actions/checkout@v2
20
- - name: Set up Ruby
21
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
22
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
23
- # uses: ruby/setup-ruby@v1
24
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
25
- with:
26
- ruby-version: ${{ matrix.ruby-version }}
27
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
28
- - name: Install dependencies
29
- run: bundle install
30
- - name: Run tests
31
- run: bundle exec rspec spec