tangany 0.0.2 → 0.0.4

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: fc14c5cb9206bc4b59e4f985c1415d03527f33ba61b4e6477c008245d0b8226a
4
- data.tar.gz: c2ddb84c20cc66e450be0044d556747b62176becd1edc3d77a21ca01f474c4b0
3
+ metadata.gz: 11ac730b9808050a49fd90df37d7457e8cc7ee7b4699d4369a8de10297e1e55a
4
+ data.tar.gz: 2332afcc59baa63989565780f5c60af0818b8284fdea3756861a6a3dde27dcc7
5
5
  SHA512:
6
- metadata.gz: 2e3442b1169b82f6febfdeaca8b219e8fe71869990108134707b290e0d8b613582445ec88acf5e9a96bde7795cd003635e5581637dfb1ffc4ffe928131f167a2
7
- data.tar.gz: c9361bd62deb1cf57151de66f724a7a83e26d0733127505d29423cd131bdb8d30b599e2a2920eb64e9435e0ebe857433ebe1716a3e291006bf657e68579916cf
6
+ metadata.gz: 216116b2b0dced95650747446398a5abb9993961f819efe779be0256ccf50f4a19cf06625204f9c48f0dc1f8fbf2eb59c43a1215e3e540c34dc1b9b69e8dee98
7
+ data.tar.gz: fd45c8238d66ed47a513adb058754647ff38da1623aeb5bee678ff1b5eedb94d07737a4794bc21019329e98326ab1e0441db3cec660df9d6a2dc07942a0a9f2d
data/CHANGELOG.md CHANGED
@@ -1,11 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.4 - 2023-01-16
4
+
5
+ ### What's Changed
6
+
7
+ **Full Changelog**: https://github.com/bitbond/tangany-ruby/compare/v0.0.3...v0.0.4
8
+
9
+ ## 0.0.3 - 2023-01-16
10
+
11
+ ## What's Changed
12
+
13
+ - Better logging in test live by @panteo in https://github.com/bitbond/tangany-ruby/pull/6
14
+
15
+ **Full Changelog**: https://github.com/bitbond/tangany-ruby/compare/v0.0.2...v0.0.3
16
+
3
17
  ## 0.0.2 - 2022-12-02
4
18
 
5
19
  ### What's Changed
6
20
 
7
21
  - README badges and gemspec links by @panteo in https://github.com/bitbond/tangany-ruby/pull/5
8
22
 
23
+ **Full Changelog**: https://github.com/bitbond/tangany-ruby/compare/v0.0.1...v0.0.2
24
+
9
25
  ## 0.0.1 - 2022-12-01
10
26
 
11
27
  ### What's Changed
data/Gemfile CHANGED
@@ -8,11 +8,11 @@ gem "factory_bot"
8
8
  gem "faker"
9
9
  gem "rake"
10
10
  gem "rspec"
11
- gem "rubocop", "~> 1.21"
11
+ gem "rubocop", "~> 1.42"
12
12
  gem "rubocop-rake", "~> 0.6"
13
- gem "rubocop-rspec", "~> 2.12"
13
+ gem "rubocop-rspec", "~> 2.18"
14
14
  gem "rubycritic", require: false
15
- gem "standard", "~> 1.16"
15
+ gem "standard", "~> 1.22"
16
16
 
17
17
  group :test do
18
18
  gem "simplecov", require: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tangany (0.0.2)
4
+ tangany (0.0.4)
5
5
  activesupport (>= 6.0, < 8.0.0)
6
6
  dry-struct (>= 1.6, < 2.0.0)
7
7
  dry-validation (>= 1.10, < 2.0.0)
@@ -73,12 +73,12 @@ GEM
73
73
  dry-schema (>= 1.12, < 2)
74
74
  zeitwerk (~> 2.6)
75
75
  equalizer (0.0.11)
76
- erubi (1.11.0)
76
+ erubi (1.12.0)
77
77
  factory_bot (6.2.1)
78
78
  activesupport (>= 5.0.0)
79
- faker (3.0.0)
79
+ faker (3.1.0)
80
80
  i18n (>= 1.8.11, < 2)
81
- faraday (2.7.1)
81
+ faraday (2.7.2)
82
82
  faraday-net_http (>= 2.0, < 3.1)
83
83
  ruby2_keywords (>= 0.0.4)
84
84
  faraday-net_http (3.0.2)
@@ -95,21 +95,22 @@ GEM
95
95
  i18n (1.12.0)
96
96
  concurrent-ruby (~> 1.0)
97
97
  ice_nine (0.11.2)
98
- json (2.6.2)
98
+ json (2.6.3)
99
99
  kwalify (0.7.2)
100
- launchy (2.5.0)
101
- addressable (~> 2.7)
102
- minitest (5.16.3)
100
+ language_server-protocol (3.17.0.2)
101
+ launchy (2.5.2)
102
+ addressable (~> 2.8)
103
+ minitest (5.17.0)
103
104
  parallel (1.22.1)
104
- parser (3.1.3.0)
105
+ parser (3.2.0.0)
105
106
  ast (~> 2.4.1)
106
107
  path_expander (1.1.1)
107
- public_suffix (5.0.0)
108
+ public_suffix (5.0.1)
108
109
  rainbow (3.1.1)
109
110
  rake (13.0.6)
110
- reek (6.1.2)
111
+ reek (6.1.4)
111
112
  kwalify (~> 0.7.0)
112
- parser (~> 3.1.0)
113
+ parser (~> 3.2.0)
113
114
  rainbow (>= 2.0, < 4.0)
114
115
  regexp_parser (2.6.1)
115
116
  rexml (3.2.5)
@@ -119,35 +120,38 @@ GEM
119
120
  rspec-mocks (~> 3.12.0)
120
121
  rspec-core (3.12.0)
121
122
  rspec-support (~> 3.12.0)
122
- rspec-expectations (3.12.0)
123
+ rspec-expectations (3.12.2)
123
124
  diff-lcs (>= 1.2.0, < 2.0)
124
125
  rspec-support (~> 3.12.0)
125
- rspec-mocks (3.12.0)
126
+ rspec-mocks (3.12.2)
126
127
  diff-lcs (>= 1.2.0, < 2.0)
127
128
  rspec-support (~> 3.12.0)
128
129
  rspec-support (3.12.0)
129
- rubocop (1.39.0)
130
+ rubocop (1.42.0)
130
131
  json (~> 2.3)
131
132
  parallel (~> 1.10)
132
133
  parser (>= 3.1.2.1)
133
134
  rainbow (>= 2.2.2, < 4.0)
134
135
  regexp_parser (>= 1.8, < 3.0)
135
136
  rexml (>= 3.2.5, < 4.0)
136
- rubocop-ast (>= 1.23.0, < 2.0)
137
+ rubocop-ast (>= 1.24.1, < 2.0)
137
138
  ruby-progressbar (~> 1.7)
138
139
  unicode-display_width (>= 1.4.0, < 3.0)
139
- rubocop-ast (1.24.0)
140
+ rubocop-ast (1.24.1)
140
141
  parser (>= 3.1.1.0)
141
- rubocop-performance (1.15.1)
142
+ rubocop-capybara (2.17.0)
143
+ rubocop (~> 1.41)
144
+ rubocop-performance (1.15.2)
142
145
  rubocop (>= 1.7.0, < 2.0)
143
146
  rubocop-ast (>= 0.4.0)
144
147
  rubocop-rake (0.6.0)
145
148
  rubocop (~> 1.0)
146
- rubocop-rspec (2.15.0)
149
+ rubocop-rspec (2.18.0)
147
150
  rubocop (~> 1.33)
151
+ rubocop-capybara
148
152
  ruby-progressbar (1.11.0)
149
153
  ruby2_keywords (0.0.5)
150
- ruby_parser (3.19.1)
154
+ ruby_parser (3.19.2)
151
155
  sexp_processor (~> 4.16)
152
156
  rubycritic (4.7.0)
153
157
  flay (~> 2.8)
@@ -161,21 +165,22 @@ GEM
161
165
  tty-which (~> 0.4.0)
162
166
  virtus (~> 1.0)
163
167
  sexp_processor (4.16.1)
164
- simplecov (0.21.2)
168
+ simplecov (0.22.0)
165
169
  docile (~> 1.1)
166
170
  simplecov-html (~> 0.11)
167
171
  simplecov_json_formatter (~> 0.1)
168
172
  simplecov-html (0.12.3)
169
173
  simplecov_json_formatter (0.1.4)
170
- standard (1.18.1)
171
- rubocop (= 1.39.0)
172
- rubocop-performance (= 1.15.1)
174
+ standard (1.22.0)
175
+ language_server-protocol (~> 3.17.0.2)
176
+ rubocop (= 1.42.0)
177
+ rubocop-performance (= 1.15.2)
173
178
  thor (1.2.1)
174
179
  thread_safe (0.3.6)
175
180
  tty-which (0.4.2)
176
181
  tzinfo (2.0.5)
177
182
  concurrent-ruby (~> 1.0)
178
- unicode-display_width (2.3.0)
183
+ unicode-display_width (2.4.2)
179
184
  virtus (1.0.5)
180
185
  axiom-types (~> 0.1)
181
186
  coercible (~> 1.0)
@@ -197,12 +202,12 @@ DEPENDENCIES
197
202
  faker
198
203
  rake
199
204
  rspec
200
- rubocop (~> 1.21)
205
+ rubocop (~> 1.42)
201
206
  rubocop-rake (~> 0.6)
202
- rubocop-rspec (~> 2.12)
207
+ rubocop-rspec (~> 2.18)
203
208
  rubycritic
204
209
  simplecov
205
- standard (~> 1.16)
210
+ standard (~> 1.22)
206
211
  tangany!
207
212
  webmock
208
213
 
data/SECURITY.md ADDED
@@ -0,0 +1,8 @@
1
+ # Security Policy
2
+
3
+ ### Reporting a vulnerability
4
+
5
+ Please do not open GitHub issues or pull requests - this makes the problem immediately visible to everyone, including malicious actors.
6
+
7
+ Security issues in this open-source project can be safely reported to [service@bitbond.com](mailto:service@bitbond.com).
8
+ Bitbond's security team will triage your report and respond according to its impact.
data/bin/test-live CHANGED
@@ -148,7 +148,7 @@ begin
148
148
 
149
149
  puts "== Tests run... ".ljust(80, "=")
150
150
  rescue => e
151
- puts e.message
151
+ puts " -> \e[31m#{e.message}\e[0m"
152
152
  exit 1
153
153
  ensure
154
154
  puts
@@ -2,6 +2,7 @@ module Tangany
2
2
  module Customers
3
3
  class NaturalPersonsResource < Resource
4
4
  BASE_PATH = "entities/natural-persons"
5
+
5
6
  def create(**params)
6
7
  NaturalPerson.new(post_request(BASE_PATH, body: sanitize_params!(params).to_json).body)
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module Tangany
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tangany
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bitbond
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-02 00:00:00.000000000 Z
11
+ date: 2023-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -112,6 +112,7 @@ files:
112
112
  - LICENSE.txt
113
113
  - README.md
114
114
  - Rakefile
115
+ - SECURITY.md
115
116
  - bin/console
116
117
  - bin/setup
117
118
  - bin/test-live
@@ -212,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
213
  - !ruby/object:Gem::Version
213
214
  version: '0'
214
215
  requirements: []
215
- rubygems_version: 3.3.22
216
+ rubygems_version: 3.4.3
216
217
  signing_key:
217
218
  specification_version: 4
218
219
  summary: Ruby bindings for the Tangany APIs