snail 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snail.rb +2 -2
- data/lib/snail/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b2e5bc81b68752db24a9894b303950a373f9fb
|
4
|
+
data.tar.gz: f35853b326447c1509fe937e899ffa7ed4473044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8baf8aa7a2d68e30c8a9aeb213f75544cb6ea9f5c61c5e668c73e77fc63f3a032a812398a0355e34996916e4c347bc238affb40a5b27f07d5e662afc80c2214a
|
7
|
+
data.tar.gz: 61fbcb0e26a370127bee0513d107f4f8d254f1190bc4a92edd80b2fc37adf89d620faaf2f18d3ec207186fee94e90dd78f7d1911ebdee5ccf9a7dd709f1db4e7
|
data/lib/snail.rb
CHANGED
@@ -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}
|
123
|
+
"#{postal_code} #{city} #{region}"
|
124
124
|
when 'BY'
|
125
|
-
"#{postal_code} #{city}
|
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'
|
data/lib/snail/version.rb
CHANGED
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.
|
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:
|
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.
|
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
|