issuer_response_codes 0.1.0 → 0.1.1

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: f7dbb167d16f432e8a8113006dc1d2591b05c96ed6141fc0c1532c9b1e241ebf
4
- data.tar.gz: 3b5101d1027157edad887ee134551adffbd8a79210f238230d98091fd2b817df
3
+ metadata.gz: 15a220f42db6a4d71bc18b91d3c2109fe4d93c4f7ce33eb9203c3c43e66a6a4a
4
+ data.tar.gz: 6ac2b379e7b892e49639a769acdf8e0df24ce3f970cd3417557bb74d45bb5205
5
5
  SHA512:
6
- metadata.gz: 1b4d8a1836429d54ee6ed64f408f3fa6c108047f8266e1f91253e362e7234805ff27f66ccd0ea953cdfe0124f6ec30b903ec74eec4a280e843aef4b0273578b8
7
- data.tar.gz: 1fb3f071324d4cdd7d1d63272ac82c86258f4509ba4cf2bf45cdb3245f85bd44ef7ae3ab70036213487dba5f4cbb1da0385ccb1ff9469e7eef185beb73baf396
6
+ metadata.gz: fb60960f4d64a996c571e44780063b1c4e76b6308c055bb063c76fa020fe5f26d98f651fb0e07f805740c4c697e4628f178ccadfc4e77b2a9659852d6e5fc701
7
+ data.tar.gz: 1283cb4e848482d3d926cfbd944ffe22efa53c807ce8ef6bfd2c0fc4b125f9703af586f171df068a8d37672d70f6439f8a9e66e6d55fc996e08cf792b8e77ed8
data/.gitignore CHANGED
@@ -6,3 +6,5 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .byebug_history
10
+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- issuer_response_codes (0.1.0)
4
+ issuer_response_codes (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -194,12 +194,12 @@ ISSUER_RESPONSE_CODES = ::IssuerResponseCodes::Context.new(
194
194
  )
195
195
 
196
196
  # now just use this object as a proxy
197
- code = ISSUER_RESPONSE_CODE.code(id: '43')
197
+ code = ISSUER_RESPONSE_CODES.code(id: '43')
198
198
  code.reason #=> "Bank odrzucił autoryzację."
199
199
  code.behaviour #=> "Skontaktuj się z Twoim bankiem w celu wyjaśnienia przyczyny problemu. UWAGA: Nie należy powtarzać obciążeń dla tej karty! Może to zostać uznane za próbę oszustwa!"
200
200
 
201
201
  # these can always be overridden
202
- code = ISSUER_RESPONSE_CODE.code(id: '43', locale: :en, target: :merchant, fraud_notice: false)
202
+ code = ISSUER_RESPONSE_CODES.code(id: '43', locale: :en, target: :merchant, fraud_notice: false)
203
203
  code.reason #=> "Stolen card."
204
204
  code.behaviour #=> "Please contact your card issuer to get more details and try again later."
205
205
  ```
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "A simple Ruby gem which provides Issuer Response Code descriptions and suggestions for cardholders and merchants"
13
13
  spec.homepage = "https://github.com/espago/issuer_response_codes"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7")
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.5")
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = "https://github.com/espago/issuer_response_codes"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IssuerResponseCodes
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: issuer_response_codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espago
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-05-06 00:00:00.000000000 Z
12
+ date: 2021-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -89,7 +89,6 @@ executables: []
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - ".byebug_history"
93
92
  - ".gitignore"
94
93
  - ".rubocop.yml"
95
94
  - ".ruby-version"
@@ -131,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
130
  requirements:
132
131
  - - ">="
133
132
  - !ruby/object:Gem::Version
134
- version: '2.7'
133
+ version: '2.5'
135
134
  required_rubygems_version: !ruby/object:Gem::Requirement
136
135
  requirements:
137
136
  - - ">="
data/.byebug_history DELETED
@@ -1,38 +0,0 @@
1
- c
2
- scope.empty?
3
- scope
4
- path
5
- scope
6
- default_path_array
7
- default
8
- exit
9
- c
10
- locale_hash.dig(*[:issuer_response_codes, :targeted, :merchant, :"04"])
11
- locale_hash.dig()
12
- full_path_array
13
- result
14
- c
15
- IssuerResponseCodes::LOCALE_LIBRARY.locale[:da]
16
- IssuerResponseCodes::LOCALE_LIBRARY.locale
17
- IssuerResponseCodes::LOCALE_LIBRARY
18
- c
19
- hash
20
- c
21
- hash
22
- c
23
- exit
24
- c
25
- name
26
- ::YAML.load_file("lib/locale/#{name}.yml")
27
- c
28
- hash
29
- exit
30
- c
31
- locale_hash.symbolize_keys
32
- locale_hash
33
- exit
34
- IssuerResponseCodes::LOCALE_LIBRARY
35
- LOCALE_LIBRARY
36
- c
37
- YAML.load_file('lib/locale/da.yml')
38
- YAML.load_file('locale/da.yml')