banktools-se 3.0.0 → 3.0.1

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
- SHA1:
3
- metadata.gz: 38e5cf121c7e7407651ad63a42019ea082955b08
4
- data.tar.gz: ce68adf193356960407508086df268b5dbc1e270
2
+ SHA256:
3
+ metadata.gz: 50ee9c6000dbe6c9ca07162a24081e77b2ff7dff1f289353aea9c535b358bc7c
4
+ data.tar.gz: 4959d76eade8411d9f4f37f746e8a21beb9748fbb444239826a94f2c1c2dda18
5
5
  SHA512:
6
- metadata.gz: f6bdae6a9abf7e6dd2ea17ffacfee12752374e5ae83f58310bfac8c4a78125b849a9daa13f862e5623ce914da28601f84378de3f0bc2bb7cea0ca7187aea9bf2
7
- data.tar.gz: 902b07121e7aaad2450f9171092b4356ba5d283f9622c24ed34678b352c20daceca0b111d26ec69ba5767c0d5ac52b3fa4889b424c79632629c62d33c06f6355
6
+ metadata.gz: 55841103bbffaf6a43b43d3164ef9287e61c32a40081c65ec66627c853caf09c325126327256bbca6013c01878f731f0dc123547f8eda30c58c99f6c25146d17
7
+ data.tar.gz: 5ce55c6d94671c6dea2b0eece4014e441cc903dc3941cd57fdb3758ec2e68f443120dc3473265209b58f4cec50adccd00241086e006bb454ffced93dfb5d440d
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.1
4
+
5
+ - Fix deprecation error: "NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01."
6
+
3
7
  ## 3.0.0
4
8
 
5
9
  - Change `BankTools::SE::OCR.find_all_in_string` default `max_length` from 19 to 18 to avoid out of range errors with Active Record.
@@ -45,7 +45,7 @@ Inspired by [iulianu/iban-tools](https://github.com/iulianu/iban-tools). Please
45
45
 
46
46
  # This feature is intended to try to find all OCR numbers in a noisy bank statement string.
47
47
  # By design it may find too many numbers (e.g. valid substrings of other numbers), so you should check results against actual outstanding invoices.
48
- # By default, it excludes OCRs shorter than 4 digits and longer than 19 digits, but this limit can be specified per below.
48
+ # By default, it excludes OCRs shorter than 4 digits and longer than 18 digits, but this limit can be specified per below.
49
49
  BankTools::SE::OCR.find_all_in_string("OCR1230 and ref4564 and 7890") # => [ "1230", "4564", … ]
50
50
  BankTools::SE::OCR.find_all_in_string("1230 and 123067", length_digit: true, pad: "0") # => [ "123067" ]
51
51
  BankTools::SE::OCR.find_all_in_string("00 and 18 and 1230", min_length: 2, max_length: 3) # => [ "00", "018", "18" ]
@@ -10,8 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.homepage = ""
11
11
  s.summary = %q{Validate and normalize Swedish bank account numbers, plusgiro and bankgiro.}
12
12
 
13
- s.rubyforge_project = "banktools-se"
14
-
15
13
  s.files = `git ls-files`.split("\n")
16
14
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
15
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -1,5 +1,5 @@
1
1
  module BankTools
2
2
  module SE
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: banktools-se
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Nyh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-04 00:00:00.000000000 Z
11
+ date: 2020-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -113,15 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubyforge_project: banktools-se
117
- rubygems_version: 2.6.11
116
+ rubygems_version: 3.0.3
118
117
  signing_key:
119
118
  specification_version: 4
120
119
  summary: Validate and normalize Swedish bank account numbers, plusgiro and bankgiro.
121
- test_files:
122
- - spec/account_spec.rb
123
- - spec/bankgiro_spec.rb
124
- - spec/ocr_spec.rb
125
- - spec/plusgiro_spec.rb
126
- - spec/spec_helper.rb
127
- - spec/utils_spec.rb
120
+ test_files: []