locations_ng 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b0fdb9f8160c9285c25b9a16488b22996c7d53
4
- data.tar.gz: 791bc207042363aa7083900f3e2da3ae3279dd3a
3
+ metadata.gz: c5849ce8dc286bc6a085f4216ee7e52c2410819d
4
+ data.tar.gz: 3fefc584a4f8126e49b632752183b6dc49999203
5
5
  SHA512:
6
- metadata.gz: 80894e2b43ff21ab09aa2b1226be500b0cf6500130f0f6e8b72e76dcb2c4c35343b78c6bf62c08e272d5efc4b720d10a4b91229fb91e27113c295b45a030832b
7
- data.tar.gz: de45af98114be75998f3f2aa830a9766e50361115ff97405018597f6b5cc75a44fb06f9761ca790eedb0698480c325073d30eee9ab2ae470f165fec80f725ca4
6
+ metadata.gz: b78c626e0976f05e434648644bda35733b50de3da8abd07c871b68caf9a3823f5fdfcb66a2eb45f744d9778615cf2967d35e9318af8fb46dc310b783c224036c
7
+ data.tar.gz: bd2138c0f1b653b1e579b3f8f3f37ebdd79e948cc2ebb89382eab38f9b20d27c9843114973fd36c3770ce9e0e7b934c8cd70ea7bffca925a598efda8f0ab259d
@@ -1,5 +1,4 @@
1
1
  require 'yaml'
2
- require 'active_support/core_ext/hash/indifferent_access'
3
2
  require 'locations_ng/load_file'
4
3
  require 'locations_ng/state'
5
4
  require 'locations_ng/city'
@@ -13,7 +13,7 @@ module LocationsNg
13
13
  if state_index.nil?
14
14
  {message: "No state found for '#{state}'", status: 404}
15
15
  else
16
- res = @all_states[state_index].with_indifferent_access
16
+ res = @all_states[state_index]
17
17
  res['cities'] = LocationsNg::City.cities(state)
18
18
  res['lgas'] = LocationsNg::Lga.lgas(state)
19
19
  res
@@ -1,3 +1,3 @@
1
1
  module LocationsNg
2
- VERSION = '1.0.5'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locations_ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fiyin Adebayo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-10 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.6
27
27
  - !ruby/object:Gem::Dependency