worldly 0.1.4 → 0.1.5

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: a3590e57fb0d43aa8191eadab710fbde5675fb28
4
- data.tar.gz: d9b622f6b29e6afd47e0c42c01a902e7d7f78d25
3
+ metadata.gz: 87b9708551f34c1fcd9f955f245d9f77a924ffc4
4
+ data.tar.gz: 91e4caf3bf6c13d8f7cc319e5609caa1e8297333
5
5
  SHA512:
6
- metadata.gz: 51b579582cf5bc662ec546f1ed7befc6dd8ef7dc1af9fb80b8e3d6bf9c53f9fe291ab3d4d05d026183d46a4004fe75047b22e35b6ad11c1d39c9e36dc26b7f12
7
- data.tar.gz: af83d7e93a17571439c261a326125085ce28af721e9db02c4b9ede0d5e3eaeaa56e54294cb0d8a008cbd826b423185dbc5d3ab70fac377656d3963efe9b35ecd
6
+ metadata.gz: 85c78264f6a72b21e4d02f0e0fb9222a2ac0945548bb65f5c4a3cd614440c7906aa22a9da338d3f362e4fd977eb814cf10c61aa5cd17e7e5c51d81828c057164
7
+ data.tar.gz: c2f7ea92ec81da7561347c7a241bb9c56e9fd096d9b6a9e1af4b8b7610f57c7db428f1661ead5f104e315d94c7099223023a31e9c991d634fcd13400300a3352
@@ -1,9 +1,15 @@
1
- = Version 0.1.4 - 2014-06-26
1
+ = Version 0.1.5 - 2014-07-04
2
+ * Fix: country_code_options now sorts correctly by integer
3
+
4
+ = Version 0.1.4 - 2014-06-30
2
5
  * Change: Australia city label changed from City to Suburb/City
3
6
 
4
7
  = Version 0.1.3 - 2014-06-26
5
8
  * Change: Post code optional for Egypt
6
9
 
10
+ = Version 0.1.2 - 2014-06-25
11
+ * Your guess is as good as mine
12
+
7
13
  = Version 0.1.1 - 2014-06-25
8
14
  * New: Added a few more country formats
9
15
 
@@ -96,7 +96,7 @@ module Worldly
96
96
  end
97
97
 
98
98
  def country_code_options
99
- Data.map{ |country, data| data['country_code'] }.uniq.reject(&:empty?).sort{|x,y| x <=> y }
99
+ Data.map{ |country, data| data['country_code'] }.uniq.reject(&:empty?).sort{|x,y| x.to_i <=> y.to_i }
100
100
  end
101
101
 
102
102
  def [](code)
@@ -1,3 +1,3 @@
1
1
  module Worldly
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worldly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lewis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-30 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -46,7 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - CHANGELOG
49
+ - CHANGELOG.md
50
50
  - Gemfile
51
51
  - LICENSE.txt
52
52
  - README.md