gcoder 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/lib/gcoder/storage.rb +1 -1
- data/lib/gcoder/version.rb +1 -1
- metadata +22 -45
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b89056d00dfb1557c6f604d3b5b84b05c13bb440
|
4
|
+
data.tar.gz: f03ccb51c24be646a765be1f7b9fb57abb73eb79
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c89539e74f0a7e8434f320065b82912c71b92bc10e4f31b9fa3ba603409a2878b178c98746ef8e99971d63bee099f0dcb02998469e3a7b500f39b7c7ce3686cc
|
7
|
+
data.tar.gz: 4bc2dbf245904f0c14de13e23c2b34a7e2a242acf7594722f797116b6bc7b0b3c87dc9a6526293ac3157dae98131c2c1b70d88057f85c46488597220ff8d19a3
|
data/Gemfile
CHANGED
data/lib/gcoder/storage.rb
CHANGED
@@ -71,7 +71,7 @@ module GCoder
|
|
71
71
|
class RedisAdapter < Adapter
|
72
72
|
def connect
|
73
73
|
require 'redis'
|
74
|
-
@rdb
|
74
|
+
@rdb = Redis.connect(url: config[:url] || 'redis://127.0.0.1/0')
|
75
75
|
@keyspace = "#{config[:keyspace] || 'gcoder'}:"
|
76
76
|
end
|
77
77
|
|
data/lib/gcoder/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gcoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Carsten Nielsen
|
@@ -11,116 +10,101 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: hashie
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- -
|
19
|
+
- - ">="
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- -
|
26
|
+
- - ">="
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: '0'
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: multi_json
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - ">="
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: '0'
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - ">="
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: '0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: ruby-hmac
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - ">="
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: '0'
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - ">="
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: '0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: bundler
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- -
|
61
|
+
- - ">="
|
70
62
|
- !ruby/object:Gem::Version
|
71
63
|
version: '0'
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- -
|
68
|
+
- - ">="
|
78
69
|
- !ruby/object:Gem::Version
|
79
70
|
version: '0'
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: minitest
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - ">="
|
86
76
|
- !ruby/object:Gem::Version
|
87
77
|
version: '0'
|
88
78
|
type: :development
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- -
|
82
|
+
- - ">="
|
94
83
|
- !ruby/object:Gem::Version
|
95
84
|
version: '0'
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: redis
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- -
|
89
|
+
- - ">="
|
102
90
|
- !ruby/object:Gem::Version
|
103
91
|
version: '0'
|
104
92
|
type: :development
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- -
|
96
|
+
- - ">="
|
110
97
|
- !ruby/object:Gem::Version
|
111
98
|
version: '0'
|
112
|
-
description:
|
113
|
-
caches the
|
114
|
-
|
99
|
+
description: |
|
100
|
+
Uses Google Maps Geocoding API (V3) to geocode stuff and optionally caches the
|
115
101
|
results somewhere.
|
116
|
-
|
117
|
-
'
|
118
102
|
email: heycarsten@gmail.com
|
119
103
|
executables: []
|
120
104
|
extensions: []
|
121
105
|
extra_rdoc_files: []
|
122
106
|
files:
|
123
|
-
- .gitignore
|
107
|
+
- ".gitignore"
|
124
108
|
- Gemfile
|
125
109
|
- LICENSE
|
126
110
|
- README.md
|
@@ -145,33 +129,26 @@ files:
|
|
145
129
|
- spec/support/requests/6.json
|
146
130
|
homepage: http://github.com/heycarsten/gcoder
|
147
131
|
licenses: []
|
132
|
+
metadata: {}
|
148
133
|
post_install_message:
|
149
134
|
rdoc_options: []
|
150
135
|
require_paths:
|
151
136
|
- lib
|
152
137
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
138
|
requirements:
|
155
|
-
- -
|
139
|
+
- - ">="
|
156
140
|
- !ruby/object:Gem::Version
|
157
141
|
version: '0'
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
hash: 629522719236126165
|
161
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
143
|
requirements:
|
164
|
-
- -
|
144
|
+
- - ">="
|
165
145
|
- !ruby/object:Gem::Version
|
166
146
|
version: '0'
|
167
|
-
segments:
|
168
|
-
- 0
|
169
|
-
hash: 629522719236126165
|
170
147
|
requirements: []
|
171
148
|
rubyforge_project: gcoder
|
172
|
-
rubygems_version:
|
149
|
+
rubygems_version: 2.2.2
|
173
150
|
signing_key:
|
174
|
-
specification_version:
|
151
|
+
specification_version: 4
|
175
152
|
summary: A nice library for geocoding stuff with Google Maps API V3
|
176
153
|
test_files:
|
177
154
|
- spec/gcoder/geocoder_spec.rb
|