simple_geocode 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +24 -17
- data/VERSION +1 -1
- data/lib/simple_geocode.rb +6 -6
- data/simple_geocode.gemspec +5 -2
- data/test/fixtures-vcr/geocoder.yml +133 -18
- data/test/geocoder_test.rb +12 -2
- metadata +30 -19
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,24 +1,28 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.
|
4
|
+
addressable (2.3.3)
|
5
5
|
archive-tar-minitar (0.5.2)
|
6
6
|
columnize (0.3.6)
|
7
|
-
crack (0.3.
|
7
|
+
crack (0.3.2)
|
8
|
+
expectation (0.3.1)
|
8
9
|
git (1.2.5)
|
9
|
-
jeweler (1.8.
|
10
|
+
jeweler (1.8.4)
|
10
11
|
bundler (~> 1.0)
|
11
12
|
git (>= 1.2.5)
|
12
13
|
rake
|
13
14
|
rdoc
|
14
|
-
json (1.
|
15
|
+
json (1.7.7)
|
15
16
|
linecache19 (0.5.12)
|
16
17
|
ruby_core_source (>= 0.1.4)
|
17
|
-
multi_json (1.2
|
18
|
-
psych (1.3.
|
19
|
-
rake (0.
|
20
|
-
rdoc (
|
18
|
+
multi_json (1.7.2)
|
19
|
+
psych (1.3.4)
|
20
|
+
rake (10.0.4)
|
21
|
+
rdoc (4.0.1)
|
21
22
|
json (~> 1.4)
|
23
|
+
redis (3.0.3)
|
24
|
+
redis-namespace (1.2.1)
|
25
|
+
redis (~> 3.0.0)
|
22
26
|
ruby-debug-base19 (0.11.25)
|
23
27
|
columnize (>= 0.3.1)
|
24
28
|
linecache19 (>= 0.5.11)
|
@@ -29,17 +33,19 @@ GEM
|
|
29
33
|
ruby-debug-base19 (>= 0.11.19)
|
30
34
|
ruby_core_source (0.1.5)
|
31
35
|
archive-tar-minitar (>= 0.5.2)
|
32
|
-
simple_cache_rs (0.
|
33
|
-
|
34
|
-
|
36
|
+
simple_cache_rs (0.11.0)
|
37
|
+
expectation
|
38
|
+
redis
|
39
|
+
redis-namespace
|
40
|
+
simplecov (0.7.1)
|
35
41
|
multi_json (~> 1.0)
|
36
|
-
simplecov-html (~> 0.
|
37
|
-
simplecov-html (0.
|
38
|
-
sqlite3 (1.3.
|
39
|
-
vcr (2.0
|
40
|
-
webmock (1.
|
42
|
+
simplecov-html (~> 0.7.1)
|
43
|
+
simplecov-html (0.7.1)
|
44
|
+
sqlite3 (1.3.7)
|
45
|
+
vcr (2.4.0)
|
46
|
+
webmock (1.11.0)
|
41
47
|
addressable (>= 2.2.7)
|
42
|
-
crack (>= 0.
|
48
|
+
crack (>= 0.3.2)
|
43
49
|
|
44
50
|
PLATFORMS
|
45
51
|
ruby
|
@@ -51,5 +57,6 @@ DEPENDENCIES
|
|
51
57
|
ruby-debug19
|
52
58
|
simple_cache_rs
|
53
59
|
simplecov
|
60
|
+
sqlite3
|
54
61
|
vcr
|
55
62
|
webmock
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
data/lib/simple_geocode.rb
CHANGED
@@ -19,17 +19,17 @@ module SimpleGeocoder
|
|
19
19
|
|
20
20
|
def geocode(address)
|
21
21
|
cache.cached(address, TIME_TO_LIVE) {
|
22
|
-
url = "http://maps.
|
23
|
-
|
22
|
+
url = "http://maps.googleapis.com/maps/api/geocode/json?address=#{CGI.escape(address)}&sensor=false®ion=de"
|
24
23
|
data = JSON.parse(get(url))
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
STDERR.puts "Geocoding failed for '#{address}' with status #{status["code"]}"
|
25
|
+
if data["status"] != "OK"
|
26
|
+
STDERR.puts "Geocoding failed for '#{address}'"
|
29
27
|
return
|
30
28
|
end
|
31
29
|
|
32
|
-
data["
|
30
|
+
results = data["results"]
|
31
|
+
location = results[0]["geometry"]["location"]
|
32
|
+
location.values_at("lng", "lat")
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
data/simple_geocode.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "simple_geocode"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.6.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["radiospiel"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-04-01"
|
13
13
|
s.description = "Some basics that your application could benefit from."
|
14
14
|
s.email = "eno@open-lab.org"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,6 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.specification_version = 3
|
41
41
|
|
42
42
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
+
s.add_runtime_dependency(%q<sqlite3>, [">= 0"])
|
43
44
|
s.add_runtime_dependency(%q<simple_cache_rs>, [">= 0"])
|
44
45
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
45
46
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
@@ -49,6 +50,7 @@ Gem::Specification.new do |s|
|
|
49
50
|
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
50
51
|
s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
|
51
52
|
else
|
53
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
52
54
|
s.add_dependency(%q<simple_cache_rs>, [">= 0"])
|
53
55
|
s.add_dependency(%q<bundler>, [">= 0"])
|
54
56
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
@@ -59,6 +61,7 @@ Gem::Specification.new do |s|
|
|
59
61
|
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
60
62
|
end
|
61
63
|
else
|
64
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
62
65
|
s.add_dependency(%q<simple_cache_rs>, [">= 0"])
|
63
66
|
s.add_dependency(%q<bundler>, [">= 0"])
|
64
67
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://maps.
|
5
|
+
uri: http://maps.googleapis.com/maps/api/geocode/json?address=Berlin®ion=de&sensor=false
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -18,19 +18,97 @@ http_interactions:
|
|
18
18
|
headers:
|
19
19
|
Content-Type:
|
20
20
|
- !binary |-
|
21
|
-
|
21
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
|
22
|
+
!binary "RGF0ZQ==":
|
23
|
+
- !binary |-
|
24
|
+
TW9uLCAwMSBBcHIgMjAxMyAxMToyMzoyNCBHTVQ=
|
25
|
+
!binary "RXhwaXJlcw==":
|
26
|
+
- !binary |-
|
27
|
+
VHVlLCAwMiBBcHIgMjAxMyAxMToyMzoyNCBHTVQ=
|
28
|
+
Cache-Control:
|
29
|
+
- !binary |-
|
30
|
+
cHVibGljLCBtYXgtYWdlPTg2NDAw
|
22
31
|
!binary "VmFyeQ==":
|
23
32
|
- !binary |-
|
24
33
|
QWNjZXB0LUxhbmd1YWdl
|
25
|
-
|
34
|
+
Access-Control-Allow-Origin:
|
26
35
|
- !binary |-
|
27
|
-
|
36
|
+
Kg==
|
28
37
|
!binary "U2VydmVy":
|
29
38
|
- !binary |-
|
30
39
|
bWFmZQ==
|
40
|
+
X-Xss-Protection:
|
41
|
+
- !binary |-
|
42
|
+
MTsgbW9kZT1ibG9jaw==
|
43
|
+
X-Frame-Options:
|
44
|
+
- !binary |-
|
45
|
+
U0FNRU9SSUdJTg==
|
46
|
+
Transfer-Encoding:
|
47
|
+
- !binary |-
|
48
|
+
Y2h1bmtlZA==
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ! "{\n \"results\" : [\n {\n \"address_components\" :
|
52
|
+
[\n {\n \"long_name\" : \"Berlin\",\n \"short_name\"
|
53
|
+
: \"Berlin\",\n \"types\" : [ \"locality\", \"political\" ]\n
|
54
|
+
\ },\n {\n \"long_name\" : \"Berlin\",\n
|
55
|
+
\ \"short_name\" : \"Berlin\",\n \"types\" : [
|
56
|
+
\"administrative_area_level_1\", \"political\" ]\n },\n {\n
|
57
|
+
\ \"long_name\" : \"Germany\",\n \"short_name\"
|
58
|
+
: \"DE\",\n \"types\" : [ \"country\", \"political\" ]\n }\n
|
59
|
+
\ ],\n \"formatted_address\" : \"Berlin, Germany\",\n \"geometry\"
|
60
|
+
: {\n \"bounds\" : {\n \"northeast\" : {\n \"lat\"
|
61
|
+
: 52.67545420,\n \"lng\" : 13.76111760\n },\n
|
62
|
+
\ \"southwest\" : {\n \"lat\" : 52.33946479999999,\n
|
63
|
+
\ \"lng\" : 13.0883460\n }\n },\n
|
64
|
+
\ \"location\" : {\n \"lat\" : 52.5191710,\n \"lng\"
|
65
|
+
: 13.40609120\n },\n \"location_type\" : \"APPROXIMATE\",\n
|
66
|
+
\ \"viewport\" : {\n \"northeast\" : {\n \"lat\"
|
67
|
+
: 52.67545420,\n \"lng\" : 13.76111760\n },\n
|
68
|
+
\ \"southwest\" : {\n \"lat\" : 52.33946479999999,\n
|
69
|
+
\ \"lng\" : 13.0883460\n }\n }\n
|
70
|
+
\ },\n \"types\" : [ \"locality\", \"political\" ]\n }\n
|
71
|
+
\ ],\n \"status\" : \"OK\"\n}\n"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Mon, 01 Apr 2013 11:23:24 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://maps.googleapis.com/maps/api/geocode/json?address=10178%20Berlin,%20Rosenthaler%20Stra%C3%9Fe%2040/41®ion=de&sensor=false
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
Accept:
|
82
|
+
- ! '*/*'
|
83
|
+
User-Agent:
|
84
|
+
- Ruby
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: !binary |-
|
89
|
+
T0s=
|
90
|
+
headers:
|
91
|
+
Content-Type:
|
92
|
+
- !binary |-
|
93
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
|
94
|
+
!binary "RGF0ZQ==":
|
95
|
+
- !binary |-
|
96
|
+
TW9uLCAwMSBBcHIgMjAxMyAxMToyMzoyNCBHTVQ=
|
97
|
+
!binary "RXhwaXJlcw==":
|
98
|
+
- !binary |-
|
99
|
+
VHVlLCAwMiBBcHIgMjAxMyAxMToyMzoyNCBHTVQ=
|
31
100
|
Cache-Control:
|
32
101
|
- !binary |-
|
33
|
-
|
102
|
+
cHVibGljLCBtYXgtYWdlPTg2NDAw
|
103
|
+
!binary "VmFyeQ==":
|
104
|
+
- !binary |-
|
105
|
+
QWNjZXB0LUxhbmd1YWdl
|
106
|
+
Access-Control-Allow-Origin:
|
107
|
+
- !binary |-
|
108
|
+
Kg==
|
109
|
+
!binary "U2VydmVy":
|
110
|
+
- !binary |-
|
111
|
+
bWFmZQ==
|
34
112
|
X-Xss-Protection:
|
35
113
|
- !binary |-
|
36
114
|
MTsgbW9kZT1ibG9jaw==
|
@@ -41,17 +119,54 @@ http_interactions:
|
|
41
119
|
- !binary |-
|
42
120
|
Y2h1bmtlZA==
|
43
121
|
body:
|
44
|
-
encoding:
|
45
|
-
string: !
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: !binary |-
|
124
|
+
ewogICAicmVzdWx0cyIgOiBbCiAgICAgIHsKICAgICAgICAgImFkZHJlc3Nf
|
125
|
+
Y29tcG9uZW50cyIgOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAg
|
126
|
+
ImxvbmdfbmFtZSIgOiAiNDAiLAogICAgICAgICAgICAgICAic2hvcnRfbmFt
|
127
|
+
ZSIgOiAiNDAiLAogICAgICAgICAgICAgICAidHlwZXMiIDogWyAic3RyZWV0
|
128
|
+
X251bWJlciIgXQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAg
|
129
|
+
ICAgICAgICAgICJsb25nX25hbWUiIDogIlJvc2VudGhhbGVyIFN0cmHDn2Ui
|
130
|
+
LAogICAgICAgICAgICAgICAic2hvcnRfbmFtZSIgOiAiUm9zZW50aGFsZXIg
|
131
|
+
U3RyYcOfZSIsCiAgICAgICAgICAgICAgICJ0eXBlcyIgOiBbICJyb3V0ZSIg
|
132
|
+
XQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAgICAgICAgICAg
|
133
|
+
ICJsb25nX25hbWUiIDogIk1pdHRlIiwKICAgICAgICAgICAgICAgInNob3J0
|
134
|
+
X25hbWUiIDogIk1pdHRlIiwKICAgICAgICAgICAgICAgInR5cGVzIiA6IFsg
|
135
|
+
InN1YmxvY2FsaXR5IiwgInBvbGl0aWNhbCIgXQogICAgICAgICAgICB9LAog
|
136
|
+
ICAgICAgICAgICB7CiAgICAgICAgICAgICAgICJsb25nX25hbWUiIDogIk1p
|
137
|
+
dHRlIiwKICAgICAgICAgICAgICAgInNob3J0X25hbWUiIDogIk1pdHRlIiwK
|
138
|
+
ICAgICAgICAgICAgICAgInR5cGVzIiA6IFsgInN1YmxvY2FsaXR5IiwgInBv
|
139
|
+
bGl0aWNhbCIgXQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAgICAg
|
140
|
+
ICAgICAgICAgICJsb25nX25hbWUiIDogIkJlcmxpbiIsCiAgICAgICAgICAg
|
141
|
+
ICAgICJzaG9ydF9uYW1lIiA6ICJCZXJsaW4iLAogICAgICAgICAgICAgICAi
|
142
|
+
dHlwZXMiIDogWyAibG9jYWxpdHkiLCAicG9saXRpY2FsIiBdCiAgICAgICAg
|
143
|
+
ICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgImxvbmdfbmFt
|
144
|
+
ZSIgOiAiQmVybGluIiwKICAgICAgICAgICAgICAgInNob3J0X25hbWUiIDog
|
145
|
+
IkJlcmxpbiIsCiAgICAgICAgICAgICAgICJ0eXBlcyIgOiBbICJhZG1pbmlz
|
146
|
+
dHJhdGl2ZV9hcmVhX2xldmVsXzEiLCAicG9saXRpY2FsIiBdCiAgICAgICAg
|
147
|
+
ICAgIH0sCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgImxvbmdfbmFt
|
148
|
+
ZSIgOiAiR2VybWFueSIsCiAgICAgICAgICAgICAgICJzaG9ydF9uYW1lIiA6
|
149
|
+
ICJERSIsCiAgICAgICAgICAgICAgICJ0eXBlcyIgOiBbICJjb3VudHJ5Iiwg
|
150
|
+
InBvbGl0aWNhbCIgXQogICAgICAgICAgICB9LAogICAgICAgICAgICB7CiAg
|
151
|
+
ICAgICAgICAgICAgICJsb25nX25hbWUiIDogIjEwMTc4IiwKICAgICAgICAg
|
152
|
+
ICAgICAgInNob3J0X25hbWUiIDogIjEwMTc4IiwKICAgICAgICAgICAgICAg
|
153
|
+
InR5cGVzIiA6IFsgInBvc3RhbF9jb2RlIiBdCiAgICAgICAgICAgIH0KICAg
|
154
|
+
ICAgICAgXSwKICAgICAgICAgImZvcm1hdHRlZF9hZGRyZXNzIiA6ICJSb3Nl
|
155
|
+
bnRoYWxlciBTdHJhw59lIDQwLCAxMDE3OCBCZXJsaW4sIEdlcm1hbnkiLAog
|
156
|
+
ICAgICAgICAiZ2VvbWV0cnkiIDogewogICAgICAgICAgICAibG9jYXRpb24i
|
157
|
+
IDogewogICAgICAgICAgICAgICAibGF0IiA6IDUyLjUyNDc4MCwKICAgICAg
|
158
|
+
ICAgICAgICAgImxuZyIgOiAxMy40MDE3MTAKICAgICAgICAgICAgfSwKICAg
|
159
|
+
ICAgICAgICAgImxvY2F0aW9uX3R5cGUiIDogIlJPT0ZUT1AiLAogICAgICAg
|
160
|
+
ICAgICAidmlld3BvcnQiIDogewogICAgICAgICAgICAgICAibm9ydGhlYXN0
|
161
|
+
IiA6IHsKICAgICAgICAgICAgICAgICAgImxhdCIgOiA1Mi41MjYxMjg5ODAy
|
162
|
+
OTE1MCwKICAgICAgICAgICAgICAgICAgImxuZyIgOiAxMy40MDMwNTg5ODAy
|
163
|
+
OTE1MAogICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAic291dGh3
|
164
|
+
ZXN0IiA6IHsKICAgICAgICAgICAgICAgICAgImxhdCIgOiA1Mi41MjM0MzEw
|
165
|
+
MTk3MDg1MCwKICAgICAgICAgICAgICAgICAgImxuZyIgOiAxMy40MDAzNjEw
|
166
|
+
MTk3MDg1MAogICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAg
|
167
|
+
ICAgfSwKICAgICAgICAgInBhcnRpYWxfbWF0Y2giIDogdHJ1ZSwKICAgICAg
|
168
|
+
ICAgInR5cGVzIiA6IFsgInN0cmVldF9hZGRyZXNzIiBdCiAgICAgIH0KICAg
|
169
|
+
XSwKICAgInN0YXR1cyIgOiAiT0siCn0K
|
55
170
|
http_version:
|
56
|
-
recorded_at:
|
57
|
-
recorded_with: VCR 2.0
|
171
|
+
recorded_at: Mon, 01 Apr 2013 11:23:24 GMT
|
172
|
+
recorded_with: VCR 2.4.0
|
data/test/geocoder_test.rb
CHANGED
@@ -9,14 +9,24 @@ end
|
|
9
9
|
|
10
10
|
class GeocoderTest < Test::Unit::TestCase
|
11
11
|
def test_geocoder
|
12
|
-
expected = [13.
|
12
|
+
expected = [13.4060912, 52.519171]
|
13
13
|
|
14
14
|
SimpleGeocoder.cache.clear
|
15
15
|
|
16
|
-
VCR.use_cassette('geocoder') do
|
16
|
+
VCR.use_cassette('geocoder', :record => :new_episodes) do
|
17
17
|
assert_equal(expected, SimpleGeocoder.geocode("Berlin"))
|
18
18
|
end
|
19
19
|
|
20
|
+
# This is run outside the use_cassette block, because this request
|
21
|
+
# must be cached.
|
20
22
|
assert_equal(expected, SimpleGeocoder.geocode("Berlin"))
|
21
23
|
end
|
24
|
+
|
25
|
+
def test_utf8
|
26
|
+
VCR.use_cassette "geocoder", :record => :new_episodes do
|
27
|
+
s = '10178 Berlin, Rosenthaler Straße 40/41'
|
28
|
+
expected = [13.40171, 52.52478]
|
29
|
+
assert_equal(expected, SimpleGeocoder.geocode(s))
|
30
|
+
end
|
31
|
+
end
|
22
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_geocode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sqlite3
|
16
|
+
requirement: &70153237087800 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70153237087800
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: simple_cache_rs
|
16
|
-
requirement: &
|
27
|
+
requirement: &70153237086240 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
@@ -21,10 +32,10 @@ dependencies:
|
|
21
32
|
version: '0'
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *70153237086240
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: bundler
|
27
|
-
requirement: &
|
38
|
+
requirement: &70153237085500 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ! '>='
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: '0'
|
33
44
|
type: :development
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *70153237085500
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: jeweler
|
38
|
-
requirement: &
|
49
|
+
requirement: &70153237084580 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ! '>='
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: '0'
|
44
55
|
type: :development
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *70153237084580
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: vcr
|
49
|
-
requirement: &
|
60
|
+
requirement: &70153237083760 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ! '>='
|
@@ -54,10 +65,10 @@ dependencies:
|
|
54
65
|
version: '0'
|
55
66
|
type: :development
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *70153237083760
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: webmock
|
60
|
-
requirement: &
|
71
|
+
requirement: &70153237082900 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ! '>='
|
@@ -65,10 +76,10 @@ dependencies:
|
|
65
76
|
version: '0'
|
66
77
|
type: :development
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70153237082900
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: psych
|
71
|
-
requirement: &
|
82
|
+
requirement: &70153237082220 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
85
|
- - ! '>='
|
@@ -76,10 +87,10 @@ dependencies:
|
|
76
87
|
version: '0'
|
77
88
|
type: :development
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *70153237082220
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: simplecov
|
82
|
-
requirement: &
|
93
|
+
requirement: &70153237075140 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: '0'
|
88
99
|
type: :development
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *70153237075140
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: ruby-debug19
|
93
|
-
requirement: &
|
104
|
+
requirement: &70153237074340 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ! '>='
|
@@ -98,7 +109,7 @@ dependencies:
|
|
98
109
|
version: '0'
|
99
110
|
type: :development
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *70153237074340
|
102
113
|
description: Some basics that your application could benefit from.
|
103
114
|
email: eno@open-lab.org
|
104
115
|
executables: []
|
@@ -134,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
145
|
version: '0'
|
135
146
|
segments:
|
136
147
|
- 0
|
137
|
-
hash:
|
148
|
+
hash: 958935403742451082
|
138
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
150
|
none: false
|
140
151
|
requirements:
|