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 +4 -4
- data/lib/locations_ng.rb +0 -1
- data/lib/locations_ng/state.rb +1 -1
- data/lib/locations_ng/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5849ce8dc286bc6a085f4216ee7e52c2410819d
|
4
|
+
data.tar.gz: 3fefc584a4f8126e49b632752183b6dc49999203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b78c626e0976f05e434648644bda35733b50de3da8abd07c871b68caf9a3823f5fdfcb66a2eb45f744d9778615cf2967d35e9318af8fb46dc310b783c224036c
|
7
|
+
data.tar.gz: bd2138c0f1b653b1e579b3f8f3f37ebdd79e948cc2ebb89382eab38f9b20d27c9843114973fd36c3770ce9e0e7b934c8cd70ea7bffca925a598efda8f0ab259d
|
data/lib/locations_ng.rb
CHANGED
data/lib/locations_ng/state.rb
CHANGED
@@ -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]
|
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
|
data/lib/locations_ng/version.rb
CHANGED
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
|
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-
|
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
|