postman_paf 0.5.2 → 0.5.3

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: 78b99198dae20531e89a75bb33f33823a9737dd708d3772fa430664b4db94f03
4
- data.tar.gz: c51b081f7d864e41dbf8b687b09a405009e455e2d522fc93d08feee7572d2a18
3
+ metadata.gz: a6fbd2552b437243f0df91e178c30782947b8362a49f1f5ef50f634e5b38ba43
4
+ data.tar.gz: 256a8d5ea224e9f17010fe5e493ce0b5f8c1d70500f1487125246408fed85ccc
5
5
  SHA512:
6
- metadata.gz: 2435fd0355be595425be943740820d23cc7861126219caaeb64eeadb2bedfbb47b649cd84a063a8b4e4d311c3eea9759eaaf09a98ae7cfb9bd2ec12fc14dda1b
7
- data.tar.gz: f4684571521fcbfd8ad0fbdfde1d81c47a5f76da3aaca4a84f4a3ec96c2225f0786bb9deb0578fbb6358b824cc884d9582b65399439279171299e18c4f8eda2c
6
+ metadata.gz: c599b99d92cb3965598c2900169883a06672abc8cb400ed8b11175e09d5703ccfb99820017318322100b6180dcc82a9236fe1af03aebbfd33c42e834acc3b79f
7
+ data.tar.gz: 15c5cffea815ee08e20ba1859fa807c68378adfdd352c527e0885a98c5720a666022702a4356f362e4a0eecd04180bc945b2c11c76d98dc91473ed492287d06d
@@ -9,10 +9,10 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  strategy:
11
11
  matrix:
12
- ruby-version: [ '3.0', '3.1', '3.2' ]
12
+ ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v2
15
+ - uses: actions/checkout@v4
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
@@ -29,11 +29,11 @@ jobs:
29
29
  contents: read
30
30
 
31
31
  steps:
32
- - uses: actions/checkout@v2
33
- - name: Set up Ruby 3.0.1
32
+ - uses: actions/checkout@v4
33
+ - name: Set up Ruby 3.4
34
34
  uses: ruby/setup-ruby@v1
35
35
  with:
36
- ruby-version: 3.1.2
36
+ ruby-version: 3.4
37
37
  bundler-cache: true
38
38
 
39
39
  - name: Publish to RubyGems
@@ -9,10 +9,10 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  strategy:
11
11
  matrix:
12
- ruby-version: [ '3.0', '3.1', '3.2' ]
12
+ ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v2
15
+ - uses: actions/checkout@v4
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.4.5
data/Gemfile CHANGED
@@ -7,10 +7,10 @@ gemspec
7
7
 
8
8
  # Development dependencies
9
9
  gem 'bundler-audit', '~> 0.9.2'
10
- gem 'dvla-lint', '~> 1.8.0'
10
+ gem 'dvla-lint', '~> 1.10'
11
11
  gem 'hash_miner', '~> 1.1.3'
12
- gem 'rake', '~> 13.2.1'
12
+ gem 'rake', '~> 13.3'
13
13
  gem 'rspec', '~> 3.13.0'
14
- gem 'rubocop', '~> 1.68.0'
14
+ gem 'rubocop', '~> 1.80'
15
15
  gem 'simplecov', '~> 0.22.0'
16
16
  gem 'simplecov-console', '~> 0.9.2'
@@ -15,7 +15,7 @@ module PostmanPAF
15
15
  lines.each_with_index do |line, index|
16
16
  line_number = index + 1
17
17
  line = line.to_s if line.is_a?(Integer)
18
- printable_address.send(:"line#{line_number}=", line) if line_number >= 1 && line_number <= 5
18
+ printable_address.send(:"line#{line_number}=", line) if line_number.between?(1, 5)
19
19
  end
20
20
 
21
21
  printable_address.postcode = paf_address[POSTCODE]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PostmanPAF
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
data/postman_paf.gemspec CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = %w[lib]
24
24
 
25
- spec.add_dependency 'simple_symbolize', '~> 4.0'
25
+ spec.add_dependency 'simple_symbolize', '>= 4.0'
26
26
  end
metadata CHANGED
@@ -1,28 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postman_paf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Driver and Vehicle Licensing Agency (DVLA)
8
8
  - Mark Isaac
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2025-01-15 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: simple_symbolize
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - "~>"
17
+ - - ">="
19
18
  - !ruby/object:Gem::Version
20
19
  version: '4.0'
21
20
  type: :runtime
22
21
  prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
- - - "~>"
24
+ - - ">="
26
25
  - !ruby/object:Gem::Version
27
26
  version: '4.0'
28
27
  description: Unofficial gem to apply Royal Mail Rules & Exceptions when formatting
@@ -72,7 +71,6 @@ homepage: https://github.com/dvla/postman-paf
72
71
  licenses:
73
72
  - MIT
74
73
  metadata: {}
75
- post_install_message:
76
74
  rdoc_options: []
77
75
  require_paths:
78
76
  - lib
@@ -87,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
85
  - !ruby/object:Gem::Version
88
86
  version: '0'
89
87
  requirements: []
90
- rubygems_version: 3.3.7
91
- signing_key:
88
+ rubygems_version: 3.6.9
92
89
  specification_version: 4
93
90
  summary: Converts Royal Mail PAF (Postcode Address File) addresses to a printable
94
91
  format.