ibancom 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4cc758020a3aa89a345dd2ba7b21d6a26530ff14058ad51e310bcf70de1533ec
4
+ data.tar.gz: 8a5ae29ab6a566360fd7e2f53716d208e633db8eca8dcfa7f33955d3fdab8c93
5
+ SHA512:
6
+ metadata.gz: 84bb5bc23940f65440a0a828629c1d1449988fe76235ffd96a70e88a20b632a754fcc6f14ab383b17466b8ce1689a0bfe65bfafd6714f89ab648864f183c0e41
7
+ data.tar.gz: 1f91a905e3fcbe74ddcaa88592280132596413cf367c0fa12b224c232da6683afb8901f17a6c43ab322e61f34b1bf190ac67d0b194f562f1aff3e394cf454615
@@ -0,0 +1,4 @@
1
+ ---
2
+
3
+ default: true
4
+ line-length: false
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ inherit_from:
3
+ - .rubocop_devengo.yml
4
+ AllCops:
5
+ TargetRubyVersion: 2.6
@@ -0,0 +1,316 @@
1
+ ---
2
+ AllCops:
3
+ DisplayCopNames: true
4
+ TargetRubyVersion: 2.7
5
+ SuggestExtensions: false
6
+ NewCops: enable
7
+ Exclude:
8
+ - db/schema.rb
9
+ - db/migrate/**/*
10
+ - vendor/bundle/**/*
11
+ - node_modules/**/*
12
+ - Procfile
13
+
14
+ require:
15
+ - "test_prof/rubocop"
16
+ - rubocop-rspec
17
+ - rubocop-performance
18
+ - rubocop-rake
19
+
20
+ Layout/CaseIndentation:
21
+ EnforcedStyle: end
22
+
23
+ Layout/SpaceAroundMethodCallOperator:
24
+ Enabled: true
25
+
26
+ Layout/FirstArrayElementIndentation:
27
+ EnforcedStyle: consistent
28
+
29
+ Layout/FirstHashElementIndentation:
30
+ EnforcedStyle: consistent
31
+
32
+ Layout/LineLength:
33
+ # Commonly used screens these days easily fit more than 80 characters.
34
+ Max: 120
35
+ Exclude:
36
+ - "spec/**/*.rb"
37
+
38
+ Layout/EmptyLinesAroundAttributeAccessor:
39
+ Enabled: true
40
+
41
+ Layout/BeginEndAlignment:
42
+ Enabled: true
43
+
44
+ Metrics/BlockLength:
45
+ Exclude:
46
+ - "lib/devengo/container/**/*.rb"
47
+ - "lib/devengo/container/container.rb"
48
+ - "**/*.rake"
49
+ - "spec/**/*.rb"
50
+
51
+ Metrics/MethodLength:
52
+ Max: 50
53
+
54
+ Metrics/ModuleLength:
55
+ Enabled: false
56
+
57
+ Naming/VariableNumber:
58
+ Enabled: false
59
+
60
+ Style/Documentation:
61
+ Enabled: false
62
+
63
+ Style/SymbolArray:
64
+ EnforcedStyle: brackets
65
+
66
+ Style/AccessModifierDeclarations:
67
+ EnforcedStyle: inline
68
+
69
+ Style/ClassEqualityComparison:
70
+ Enabled: true
71
+
72
+ Style/FrozenStringLiteralComment:
73
+ EnforcedStyle: always
74
+
75
+ Style/StringLiterals:
76
+ EnforcedStyle: double_quotes
77
+
78
+ Style/TrailingCommaInArrayLiteral:
79
+ EnforcedStyleForMultiline: consistent_comma
80
+
81
+ Style/TrailingCommaInHashLiteral:
82
+ EnforcedStyleForMultiline: consistent_comma
83
+
84
+ Style/NumericPredicate:
85
+ Enabled: false
86
+
87
+ Style/HashEachMethods:
88
+ Enabled: true
89
+
90
+ Style/HashTransformKeys:
91
+ Enabled: true
92
+
93
+ Style/HashTransformValues:
94
+ Enabled: true
95
+
96
+ Style/ExponentialNotation:
97
+ Enabled: true
98
+
99
+ Style/SlicingWithRange:
100
+ Enabled: true
101
+
102
+ Style/RedundantFetchBlock:
103
+ Enabled: true
104
+
105
+ Style/RedundantRegexpCharacterClass:
106
+ Enabled: true
107
+
108
+ Style/RedundantRegexpEscape:
109
+ Enabled: true
110
+
111
+ Style/AccessorGrouping:
112
+ Enabled: true
113
+
114
+ Style/BisectedAttrAccessor:
115
+ Enabled: true
116
+
117
+ Style/RedundantAssignment:
118
+ Enabled: true
119
+
120
+ Style/ArrayCoercion:
121
+ Enabled: true
122
+
123
+ Style/CaseLikeIf:
124
+ Enabled: true
125
+
126
+ Style/HashAsLastArrayItem:
127
+ Enabled: true
128
+
129
+ Style/HashLikeCase:
130
+ Enabled: true
131
+
132
+ Style/RedundantFileExtensionInRequire:
133
+ Enabled: true
134
+
135
+ Style/ExplicitBlockArgument:
136
+ Enabled: true
137
+
138
+ Style/GlobalStdStream:
139
+ Enabled: true
140
+
141
+ Style/OptionalBooleanParameter:
142
+ Enabled: true
143
+
144
+ Style/SingleArgumentDig:
145
+ Enabled: true
146
+
147
+ Style/StringConcatenation:
148
+ Enabled: true
149
+
150
+ Style/CombinableLoops:
151
+ Enabled: true
152
+
153
+ Style/KeywordParametersOrder:
154
+ Enabled: true
155
+
156
+ Style/RedundantSelfAssignment:
157
+ Enabled: true
158
+
159
+ Style/SoleNestedConditional:
160
+ Enabled: true
161
+
162
+ # (new in 1.1)
163
+ Style/ArgumentsForwarding:
164
+ Enabled: true
165
+
166
+ # (new in 1.1)
167
+ Style/DocumentDynamicEvalDefinition:
168
+ Enabled: true
169
+
170
+ # (new in 1.1)
171
+ Style/SwapValues:
172
+ Enabled: true
173
+
174
+ # (new in 1.2)
175
+ Style/CollectionCompact:
176
+ Enabled: true
177
+
178
+ # (new in 1.2)
179
+ Style/NegatedIfElseCondition:
180
+ Enabled: true
181
+
182
+ # (new in 1.3)
183
+ Style/NilLambda:
184
+ Enabled: true
185
+
186
+ # (new in 1.4)
187
+ Style/RedundantArgument:
188
+ Enabled: true
189
+
190
+ Style/FetchEnvVar:
191
+ Enabled: false
192
+
193
+ Lint/RaiseException:
194
+ Enabled: true
195
+
196
+ Lint/StructNewOverride:
197
+ Enabled: true
198
+
199
+ Lint/DeprecatedOpenSSLConstant:
200
+ Enabled: true
201
+
202
+ Lint/MixedRegexpCaptureTypes:
203
+ Enabled: true
204
+
205
+ Lint/DuplicateElsifCondition:
206
+ Enabled: true
207
+
208
+ Lint/BinaryOperatorWithIdenticalOperands:
209
+ Enabled: true
210
+
211
+ Lint/DuplicateRescueException:
212
+ Enabled: true
213
+
214
+ Lint/EmptyConditionalBody:
215
+ Enabled: true
216
+
217
+ Lint/FloatComparison:
218
+ Enabled: true
219
+
220
+ Lint/HashCompareByIdentity:
221
+ Enabled: true
222
+
223
+ Lint/MissingSuper:
224
+ Enabled: true
225
+
226
+ Lint/OutOfRangeRegexpRef:
227
+ Enabled: true
228
+
229
+ Lint/RedundantSafeNavigation:
230
+ Enabled: true
231
+
232
+ Lint/SelfAssignment:
233
+ Enabled: true
234
+
235
+ Lint/TopLevelReturnWithArgument:
236
+ Enabled: true
237
+
238
+ Lint/UnreachableLoop:
239
+ Enabled: true
240
+
241
+ Lint/ConstantDefinitionInBlock:
242
+ Enabled: true
243
+
244
+ Lint/DuplicateRequire:
245
+ Enabled: true
246
+
247
+ Lint/EmptyFile:
248
+ Enabled: true
249
+
250
+ Lint/IdentityComparison:
251
+ Enabled: true
252
+
253
+ Lint/TrailingCommaInAttributeDeclaration:
254
+ Enabled: true
255
+
256
+ Lint/UselessMethodDefinition:
257
+ Enabled: true
258
+
259
+ Lint/UselessTimes:
260
+ Enabled: true
261
+
262
+ # (new in 1.1)
263
+ Lint/DuplicateRegexpCharacterClassElement:
264
+ Enabled: true
265
+
266
+ # (new in 1.1)
267
+ Lint/EmptyBlock:
268
+ Enabled: true
269
+
270
+ # (new in 1.1)
271
+ Lint/ToEnumArguments:
272
+ Enabled: true
273
+
274
+ # (new in 1.1)
275
+ Lint/UnmodifiedReduceAccumulator:
276
+ Enabled: true
277
+
278
+ # (new in 1.2)
279
+ Lint/NoReturnInBeginEndBlocks:
280
+ Enabled: true
281
+
282
+ # (new in 1.3)
283
+ Lint/DuplicateBranch:
284
+ Enabled: true
285
+
286
+ # (new in 1.3)
287
+ Lint/EmptyClass:
288
+ Enabled: true
289
+
290
+ # (new in 1.5)
291
+ Lint/UnexpectedBlockArity:
292
+ Enabled: true
293
+
294
+ RSpec/AggregateExamples:
295
+ AddAggregateFailuresMetadata: true
296
+
297
+ RSpec/MultipleExpectations:
298
+ Enabled: false
299
+
300
+ RSpec/MultipleMemoizedHelpers:
301
+ Enabled: false
302
+
303
+ RSpec/ExampleLength:
304
+ Enabled: false
305
+
306
+ RSpec/MultipleDescribes:
307
+ Enabled: false
308
+
309
+ RSpec/NestedGroups:
310
+ Max: 4
311
+
312
+ RSpec/BeNil:
313
+ Enabled: false
314
+
315
+ RSpec/BeEq:
316
+ Enabled: false
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at aitor@linkingpaths.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in ibancom.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,122 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ibancom (0.0.1)
5
+ faraday (>= 0.15)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.1)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ ast (2.4.2)
13
+ coderay (1.1.3)
14
+ crack (0.4.5)
15
+ rexml
16
+ diff-lcs (1.5.0)
17
+ faraday (2.5.2)
18
+ faraday-net_http (>= 2.0, < 3.1)
19
+ ruby2_keywords (>= 0.0.4)
20
+ faraday-net_http (3.0.0)
21
+ ffi (1.15.5)
22
+ formatador (1.1.0)
23
+ guard (2.18.0)
24
+ formatador (>= 0.2.4)
25
+ listen (>= 2.7, < 4.0)
26
+ lumberjack (>= 1.0.12, < 2.0)
27
+ nenv (~> 0.1)
28
+ notiffany (~> 0.0)
29
+ pry (>= 0.13.0)
30
+ shellany (~> 0.0)
31
+ thor (>= 0.18.1)
32
+ guard-compat (1.2.1)
33
+ guard-rspec (4.7.3)
34
+ guard (~> 2.1)
35
+ guard-compat (~> 1.1)
36
+ rspec (>= 2.99.0, < 4.0)
37
+ hashdiff (1.0.1)
38
+ json (2.6.2)
39
+ listen (3.7.1)
40
+ rb-fsevent (~> 0.10, >= 0.10.3)
41
+ rb-inotify (~> 0.9, >= 0.9.10)
42
+ lumberjack (1.2.8)
43
+ method_source (1.0.0)
44
+ nenv (0.3.0)
45
+ notiffany (0.1.3)
46
+ nenv (~> 0.1)
47
+ shellany (~> 0.0)
48
+ parallel (1.22.1)
49
+ parser (3.1.2.1)
50
+ ast (~> 2.4.1)
51
+ pry (0.14.1)
52
+ coderay (~> 1.1)
53
+ method_source (~> 1.0)
54
+ public_suffix (5.0.0)
55
+ rainbow (3.1.1)
56
+ rake (12.3.3)
57
+ rb-fsevent (0.11.1)
58
+ rb-inotify (0.10.1)
59
+ ffi (~> 1.0)
60
+ regexp_parser (2.5.0)
61
+ rexml (3.2.5)
62
+ rspec (3.11.0)
63
+ rspec-core (~> 3.11.0)
64
+ rspec-expectations (~> 3.11.0)
65
+ rspec-mocks (~> 3.11.0)
66
+ rspec-core (3.11.0)
67
+ rspec-support (~> 3.11.0)
68
+ rspec-expectations (3.11.0)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.11.0)
71
+ rspec-mocks (3.11.1)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.11.0)
74
+ rspec-support (3.11.0)
75
+ rubocop (1.35.1)
76
+ json (~> 2.3)
77
+ parallel (~> 1.10)
78
+ parser (>= 3.1.2.1)
79
+ rainbow (>= 2.2.2, < 4.0)
80
+ regexp_parser (>= 1.8, < 3.0)
81
+ rexml (>= 3.2.5, < 4.0)
82
+ rubocop-ast (>= 1.20.1, < 2.0)
83
+ ruby-progressbar (~> 1.7)
84
+ unicode-display_width (>= 1.4.0, < 3.0)
85
+ rubocop-ast (1.21.0)
86
+ parser (>= 3.1.1.0)
87
+ rubocop-performance (1.14.2)
88
+ rubocop (>= 1.7.0, < 2.0)
89
+ rubocop-ast (>= 0.4.0)
90
+ rubocop-rake (0.6.0)
91
+ rubocop (~> 1.0)
92
+ rubocop-rspec (2.11.1)
93
+ rubocop (~> 1.19)
94
+ ruby-progressbar (1.11.0)
95
+ ruby2_keywords (0.0.5)
96
+ shellany (0.0.1)
97
+ test-prof (1.0.9)
98
+ thor (1.2.1)
99
+ unicode-display_width (2.2.0)
100
+ webmock (3.18.1)
101
+ addressable (>= 2.8.0)
102
+ crack (>= 0.3.2)
103
+ hashdiff (>= 0.4.0, < 2.0.0)
104
+
105
+ PLATFORMS
106
+ x86_64-linux
107
+
108
+ DEPENDENCIES
109
+ guard (~> 2.0)
110
+ guard-rspec (~> 4.0)
111
+ ibancom!
112
+ rake (~> 12.0)
113
+ rspec (~> 3.0)
114
+ rubocop (~> 1.2)
115
+ rubocop-performance (~> 1.0)
116
+ rubocop-rake (~> 0.6)
117
+ rubocop-rspec (~> 2.0)
118
+ test-prof (~> 1.0)
119
+ webmock (~> 3.0)
120
+
121
+ BUNDLED WITH
122
+ 2.3.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Aitor García Rey
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,105 @@
1
+ # Ibancom
2
+
3
+ Ruby client for iban.com APIs (cf. <https://www.iban.com/developers>)
4
+
5
+ Run `bin/console` for an interactive prompt to experiment with the code.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'ibancom'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ `$ bundle install`
18
+
19
+ Or install it yourself as:
20
+
21
+ `$ gem install ibancom`
22
+
23
+ ### Supported APIs
24
+
25
+ This gem provides support for the following APIs:
26
+
27
+ - Validation API v4
28
+
29
+ ## Usage
30
+
31
+ The first step for using this gem is to instantiate the client:
32
+
33
+ ```rb
34
+ client = Ibancom::Client.new(apikey: "YOUR_API_KEY")
35
+ ```
36
+
37
+ Once you have an authenticated client, you can validate any IBAN easily by using the validations service:
38
+
39
+ ```rb
40
+ # Request an IBAN validation
41
+ iban = client.validations.validate("ES8800758353964664433159")
42
+ iban.valid? # true
43
+
44
+ # What is the bank/branch associated to this account?
45
+ bank = iban.bank # <Ibancom::Resources::IBAN::Bank:0x00007f384a4b80f0 ...
46
+ bank.bank # "BANCO SANTANDER, S.A."
47
+ bank.bic # "BSCHESMMXXX"
48
+ bank.account # "4664433159"
49
+ bank.bank_code # "0075"
50
+ bank.branch_code # "8353"
51
+ bank.address # "JUAN IGNACIO LUCA DE TENA 9-11"
52
+ bank.city # "MADRID"
53
+ bank.state # nil
54
+ bank.zip # "28027"
55
+ bank.phone # "0915207000"
56
+ bank.country # "Spain"
57
+ bank.country_iso # "ES"
58
+
59
+ # What SEPA schemes does it support?
60
+ iban.supported_schemes
61
+ #[#<Ibancom::Resources::IBAN::Scheme:0x00007f384f37a710 @code=:SCT, @response=nil, @supported="YES">,
62
+ # #<Ibancom::Resources::IBAN::Scheme:0x00007f384f37a030 @code=:SCI, @response=nil, @supported="YES">,
63
+ # #<Ibancom::Resources::IBAN::Scheme:0x00007f384f379e50 @code=:SDD, @response=nil, @supported="YES">,
64
+ # #<Ibancom::Resources::IBAN::Scheme:0x00007f384f379d10 @code=:COR1, @response=nil, @supported="YES">,
65
+ # #<Ibancom::Resources::IBAN::Scheme:0x00007f384f379ba8 @code=:B2B, @response=nil, @supported="YES">]
66
+
67
+ # Does the IBAN supports instant transfers?
68
+ iban.supported_scheme?(:SCI) # true
69
+ ```
70
+
71
+ When the IBAN is not valid the failed checks are available for inspection:
72
+
73
+ ```rb
74
+ iban = client.validations.validate("ES12")
75
+ iban.valid? # false
76
+ iban.failed_checks
77
+ #[#<Ibancom::Resources::IBAN::Check:0x00007f384a576eb0 @code="202", @message="IBAN Check digit not correct", @response=nil, @type=:iban>,
78
+ # #<Ibancom::Resources::IBAN::Check:0x00007f384a576de8 @code="205", @message="IBAN structure is not correct", @response=nil, @type=:structure>,
79
+ # #<Ibancom::Resources::IBAN::Check:0x00007f384a576cf8 @code="203", @message="IBAN Length is not correct. Spain IBAN must be 24 characters long.", @response=nil, @type=:length>]
80
+ ```
81
+
82
+ ## Development
83
+
84
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
85
+
86
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then tag and push the new version:
87
+
88
+ ```git
89
+ git tag vx.x.x main
90
+ git push origin vx.x.x
91
+ ```
92
+
93
+ The tagging will trigger the GitHub action defined in `release.yml`, pushing the gem to [rubygems.org](https://rubygems.org).
94
+
95
+ ## Contributing
96
+
97
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/devengoapp/ibancom-ruby>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/devengoapp/ibancom-ruby/blob/main/CODE_OF_CONDUCT.md).
98
+
99
+ ## License
100
+
101
+ The gem is available as open-source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
102
+
103
+ ## Code of Conduct
104
+
105
+ Everyone interacting in the PFS project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [code of conduct](https://github.com/devengoapp/ibancom-ruby/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: [:spec, :rubocop]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "ibancom"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)