emergency_number 0.3.3 → 0.3.4
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 +4 -4
- data/README.md +2 -2
- data/lib/emergency_number/version.rb +1 -1
- data/spec/fixtures/aq_response.json +1 -1
- data/spec/fixtures/invalid_response.json +1 -1
- data/spec/fixtures/us_response.json +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: b119f156563750dbddfedb96d95c217c86d55d0a
|
|
4
|
+
data.tar.gz: 5b6f97126135b04bbde89c5b4ad4d04a70022e13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48a0b2041adab7e6ba483fb4d6afc3066a6346b688a28d77e032d18ec75e00a7894dd9598926ef389c90703e71668a597b1fe56eaea0c328554a5fe2a65b6b0f
|
|
7
|
+
data.tar.gz: 906bb8da9dabf1d541f414ca7a60371a48edf7b064c7029ea0f1a0e0a4d77a7d73372d5b9087fc9218b9fd28288135bdc792bff7f49e254f948199e6ab7d5566
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://travis-ci.org/shayonj/emergency_number)
|
|
2
2
|
[](https://coveralls.io/github/shayonj/emergency_number?branch=master)
|
|
3
|
-
|
|
3
|
+
[](https://badge.fury.io/rb/emergency_number)
|
|
4
4
|
# EmergencyNumber
|
|
5
5
|
```EmergencyNumber``` is a ruby gem for the [Emergency Number API](http://emergencynumberapi.com/) application.
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@ $ EmergencyNumber.get_country(:au) # or EmergencyNumber.get_country(36)
|
|
|
45
45
|
```ruby
|
|
46
46
|
$ @result = EmergencyNumber.get_country(:us)
|
|
47
47
|
{
|
|
48
|
-
:disclaimer => "The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due
|
|
48
|
+
:disclaimer => "The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due diligence.",
|
|
49
49
|
:error => "",
|
|
50
50
|
:data => {
|
|
51
51
|
:country => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due
|
|
2
|
+
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due diligence.",
|
|
3
3
|
"error":"No Data for this Territory",
|
|
4
4
|
"data":{
|
|
5
5
|
"country":{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due
|
|
2
|
+
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due diligence.",
|
|
3
3
|
"error":"No Country Found",
|
|
4
4
|
"data":null
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due
|
|
2
|
+
"disclaimer":"The data from this API is provided without any claims of accuracy, you should use this data as guidance, and do your own due diligence.",
|
|
3
3
|
"error":"",
|
|
4
4
|
"data":{
|
|
5
5
|
"country":{
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: emergency_number
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shayon Mukherjee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Based on Emergency Number API. This ruby gem allows you to query the
|
|
14
14
|
API and get any emergency numbers for any country in the world.
|
|
@@ -40,12 +40,12 @@ require_paths:
|
|
|
40
40
|
- lib
|
|
41
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
|
-
- -
|
|
43
|
+
- - ">="
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: 2.0.0
|
|
46
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
requirements:
|
|
48
|
-
- -
|
|
48
|
+
- - ">="
|
|
49
49
|
- !ruby/object:Gem::Version
|
|
50
50
|
version: '0'
|
|
51
51
|
requirements: []
|