united_states 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: 7a3034a514f527ccbdfb782831ecdb9533d6fe0b
4
- data.tar.gz: 5b7138644b59f2744b132d0f4d1cfc9b0b2869b5
3
+ metadata.gz: c05d7adb725badeedae3d3ad5572f120b70f0a69
4
+ data.tar.gz: 0cb0ee9d72aa452502caee46802206c5582de417
5
5
  SHA512:
6
- metadata.gz: d55886c4f01615d253c2bea4376d7b6193aaa5f9a73d7fd7d885e707b7b684d6a8747705c515c34ad7f1ce2dc34464508aab75f5cf76e2c8aeda676a5cd3c367
7
- data.tar.gz: 49982128640592902bcaad9ec2cf9901af92da149010d0c9330b90982841d65614a0ae85ba2a7b331e9cc7209a28d78e51b6c7d0f202b3c92614acb5daa5cb77
6
+ metadata.gz: cd5fb6fcf8c96393ac9dfe279b98d0ac05d8974dee7ec28e3e3df0c86e6dcc9dae2f27ad638a3f671c0919d869d5339f420131aca5b2b2ea48dfc098681d87f9
7
+ data.tar.gz: 1ae76ee965616ff9fb9595ad04f54125c173c1a7c59da8f32d125a0046efc67f08af3f9b35b114382dd04c5418c29bdb4f35c306123178bd9fceff89e52f8f00
data/.rubocop.yml CHANGED
@@ -13,6 +13,12 @@ Documentation:
13
13
  Exclude:
14
14
  - spec/**/*_spec.rb
15
15
 
16
+ Layout/MultilineMethodCallBraceLayout:
17
+ EnforcedStyle: same_line
18
+
19
+ Layout/MultilineMethodCallIndentation:
20
+ EnforcedStyle: indented
21
+
16
22
  Metrics/BlockLength:
17
23
  Exclude:
18
24
  - .rubocop.yml
@@ -25,9 +31,3 @@ Metrics/ClassLength:
25
31
  RSpec/DescribeClass:
26
32
  Exclude:
27
33
  - spec/support/**/*
28
-
29
- Style/MultilineMethodCallBraceLayout:
30
- EnforcedStyle: same_line
31
-
32
- Style/MultilineMethodCallIndentation:
33
- EnforcedStyle: indented
data/CHANGELOG.md CHANGED
@@ -10,6 +10,18 @@ __Change Groups__:
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [1.2.1] - 2017-07-04
14
+ ### Changed
15
+ - Added empty lines after magic comments (per `rubocop`).
16
+ - Added empty lines after inline `RSpec` `subject` (per `rubocop`).
17
+ - Namespace of `MultilineMethodCallBraceLayout` and
18
+ `MultilineMethodCallIndentation` (per `rubocop`).
19
+ - Disabled `Style/IndentHeredoc` in `spec/united_states_spec.rb`.
20
+
21
+ ### Fixed
22
+ - `UnitedStates.names` would throw `NameError: uninitialized constant
23
+ UnitedStates::Pathname` due to missing `require` statements.
24
+
13
25
  ## [1.2.0] - 2017-02-26
14
26
  ### Added
15
27
  - `UnitedStates.config_path`
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source 'https://rubygems.org'
3
4
 
4
5
  # Specify your gem's dependencies in united_states.gemspec
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'bundler/gem_tasks'
3
4
  require 'rspec/core/rake_task'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'united_states/state/postal_code'
3
4
  require 'united_states/state/name'
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module UnitedStates
3
- VERSION = '1.2.0'.freeze
4
+ VERSION = '1.2.1'.freeze
4
5
  end
data/lib/united_states.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
+
3
+ require 'pathname'
2
4
  require 'united_states/version'
3
5
  require 'united_states/state/designation'
4
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: united_states
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Whittington
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-26 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.6.10
217
+ rubygems_version: 2.6.12
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: The United States names and postal codes.