address_line_divider 1.0.2 → 1.0.3

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
2
  SHA256:
3
- metadata.gz: ab33cb2334436bfab10c543f40ebc441fc13b7a61e9ae4d8ffccd7199394d6d3
4
- data.tar.gz: ed9bbc34a12bac864772027ae73299ff76b0ac8c4fb808a00698fdb0e0b04811
3
+ metadata.gz: be149c4f4c64a96b9b83a516c3302aef706c8322f37d6a132a5ae49980585bd9
4
+ data.tar.gz: 31b6a557f012035fe67769f670574c14620fe485f5e6ba51c8192959638d7d5f
5
5
  SHA512:
6
- metadata.gz: 04e1de519f1c6427d07a15f5d222b16ff6da46f9ee6f8b680d628333cd1f43993552122ebd9ab048bccef8529945b30388ab8c6a0c2d67bd891c88967267fc4d
7
- data.tar.gz: 1e427cf8c1e54f8357eeb7baeb9be7f9562cf65c01dcb53591b87bc591ac70a609646094cfda90bbbdd19a11adc02cd7b63ad120bcb5cf2ef38436a61991f7b2
6
+ metadata.gz: 7c2d9f0f18f68cf871f6c96e44d06ed4aaaeb49d4980c5913194a0db590cd7d1186b8566004e3bbd101e6e11214dbd1d101ce0d26f68263181c3bfa84dc039fb
7
+ data.tar.gz: 5bb7ed14e52d695d2cb117dbf496df17eef46e1a59798263ec4d3e790e37262fe44f203149d82aabbf3f70f0863d86d1dea53289c50617f06639903e3368c195
data/.rubocop.yml CHANGED
@@ -1,3 +1,9 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+
4
+ Style/Documentation:
5
+ Enabled: false
6
+
1
7
  Style/StringLiterals:
2
8
  Enabled: true
3
9
  EnforcedStyle: double_quotes
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## V1.0.3
4
+ * Small fixes
5
+ * CI Status badge
3
6
  ## V1.0.2
4
7
  * Add MIT LICENSE
5
8
  ## V1.0.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- address_line_divider (1.0.2)
4
+ address_line_divider (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Ruby](https://github.com/matiasalbarello/address_line_divider/actions/workflows/main.yml/badge.svg)](https://github.com/matiasalbarello/address_line_divider/actions/workflows/main.yml)
1
2
  # AddressLineDivider
2
3
 
3
4
  The purpose of this GEM is to provide a tool to correctly parse address lines into Street + Street Number. Sometimes it's trivial and it can be solved with a regular expression, but when the street itself contains numbers, the task needs some extra considerations.
@@ -7,11 +7,11 @@ Gem::Specification.new do |spec|
7
7
  spec.version = AddressLineDivider::VERSION
8
8
  spec.authors = ["Matias Albarello"]
9
9
  spec.email = ["matias.albarello@gmail.com"]
10
- spec.licenses = ['MIT']
10
+ spec.licenses = ["MIT"]
11
11
 
12
12
  spec.summary = "Divide an address line into street and street number based on a Streets file."
13
13
  spec.homepage = "https://github.com/matiasalbarello/address_line_divider"
14
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
17
17
  spec.metadata["source_code_uri"] = spec.homepage
@@ -35,4 +35,4 @@ module AddressLineDivider
35
35
  address_line.gsub(street, "").strip
36
36
  end
37
37
  end
38
- end
38
+ end
@@ -10,8 +10,9 @@ module AddressLineDivider
10
10
  return if path.nil?
11
11
 
12
12
  raise FileNotFound, "Couldn't find a file with the path `#{path}`." unless File.exist? path
13
+
13
14
  @streets_file_path = path
14
15
  end
15
16
  end
16
17
  end
17
- end
18
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AddressLineDivider
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: address_line_divider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Albarello
@@ -50,7 +50,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 2.3.0
53
+ version: 2.4.0
54
54
  required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="