snail 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/snail.rb +2 -2
  3. data/lib/snail/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe6bc34f6958b3cc9f563549e8491cb6569f623a
4
- data.tar.gz: 221a084df47e9a4fa1bdfb87bdda6700a1363fc0
3
+ metadata.gz: 75b2e5bc81b68752db24a9894b303950a373f9fb
4
+ data.tar.gz: f35853b326447c1509fe937e899ffa7ed4473044
5
5
  SHA512:
6
- metadata.gz: da4756d8874a5935e06f917306313df5db65e2f3aae70fd4b9495691b31496dd8edc77862584135a9cea6d41639874c39ac6fc3b2951bc379b5e6293f3dd47ac
7
- data.tar.gz: 56d0b6a4f1f60c821ba73607766ab5869b7979819363e10ce26acafafa13dcbe5c5a8c12a0a195987f48d03611c29551c2674109f032f3d6ea233ea23d92775a
6
+ metadata.gz: 8baf8aa7a2d68e30c8a9aeb213f75544cb6ea9f5c61c5e668c73e77fc63f3a032a812398a0355e34996916e4c347bc238affb40a5b27f07d5e662afc80c2214a
7
+ data.tar.gz: 61fbcb0e26a370127bee0513d107f4f8d254f1190bc4a92edd80b2fc37adf89d620faaf2f18d3ec207186fee94e90dd78f7d1911ebdee5ccf9a7dd709f1db4e7
@@ -120,9 +120,9 @@ class Snail
120
120
  when 'MX', 'SK'
121
121
  "#{postal_code} #{city}, #{region}"
122
122
  when 'IT'
123
- "#{postal_code} #{city} (#{region})"
123
+ "#{postal_code} #{city} #{region}"
124
124
  when 'BY'
125
- "#{postal_code} #{city}-(#{region})"
125
+ "#{postal_code} #{city}-#{region}"
126
126
  when 'US', 'CA', 'AU', nil, ""
127
127
  "#{city} #{region} #{postal_code}"
128
128
  when 'IL', 'DK', 'FI', 'FR', 'DE', 'GR', 'NO', 'ES', 'SE', 'TR', 'CY', 'PT', 'MK', 'BA'
@@ -1,3 +1,3 @@
1
1
  class Snail
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lance Ivy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-29 00:00:00.000000000 Z
11
+ date: 2017-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
311
  version: '0'
312
312
  requirements: []
313
313
  rubyforge_project:
314
- rubygems_version: 2.4.5
314
+ rubygems_version: 2.5.1
315
315
  signing_key:
316
316
  specification_version: 4
317
317
  summary: Easily format snail mail addresses for international delivery