open311 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +9 -5
- data/Gemfile +5 -1
- data/README.md +1 -1
- data/Rakefile +0 -2
- data/lib/open311/version.rb +1 -1
- data/spec/helper.rb +4 -4
- metadata +173 -114
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -93,9 +93,9 @@ implementations:
|
|
93
93
|
|
94
94
|
* Ruby 1.8.7
|
95
95
|
* Ruby 1.9.2
|
96
|
+
* Ruby 1.9.3
|
96
97
|
* [JRuby](http://www.jruby.org/)
|
97
98
|
* [Rubinius](http://rubini.us/)
|
98
|
-
* [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
|
99
99
|
|
100
100
|
If something doesn't work on one of these interpreters, it should be considered
|
101
101
|
a bug.
|
data/Rakefile
CHANGED
data/lib/open311/version.rb
CHANGED
data/spec/helper.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
unless ENV['CI']
|
2
|
+
require 'simplecov'
|
3
|
+
SimpleCov.start
|
4
|
+
end
|
5
5
|
require 'open311'
|
6
6
|
require 'rspec'
|
7
7
|
require 'webmock/rspec'
|
metadata
CHANGED
@@ -1,157 +1,207 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: open311
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Dan Melton
|
9
14
|
- Erik Michaels-Ober
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
18
|
+
|
19
|
+
date: 2012-05-07 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: faraday
|
17
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
25
|
none: false
|
19
|
-
requirements:
|
26
|
+
requirements:
|
20
27
|
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 5
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 7
|
33
|
+
version: "0.7"
|
23
34
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
27
37
|
name: faraday_middleware
|
28
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
40
|
none: false
|
30
|
-
requirements:
|
41
|
+
requirements:
|
31
42
|
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 5
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 7
|
48
|
+
version: "0.7"
|
34
49
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
38
52
|
name: hashie
|
39
|
-
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
55
|
none: false
|
41
|
-
requirements:
|
56
|
+
requirements:
|
42
57
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 11
|
60
|
+
segments:
|
61
|
+
- 1
|
62
|
+
- 2
|
63
|
+
version: "1.2"
|
45
64
|
type: :runtime
|
46
|
-
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
49
67
|
name: multi_json
|
50
|
-
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
70
|
none: false
|
52
|
-
requirements:
|
71
|
+
requirements:
|
53
72
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 15
|
75
|
+
segments:
|
76
|
+
- 1
|
77
|
+
- 0
|
78
|
+
version: "1.0"
|
56
79
|
type: :runtime
|
57
|
-
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
60
82
|
name: multi_xml
|
61
|
-
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
62
85
|
none: false
|
63
|
-
requirements:
|
86
|
+
requirements:
|
64
87
|
- - ~>
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 3
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
- 4
|
93
|
+
version: "0.4"
|
67
94
|
type: :runtime
|
68
|
-
|
69
|
-
|
70
|
-
- !ruby/object:Gem::Dependency
|
95
|
+
version_requirements: *id005
|
96
|
+
- !ruby/object:Gem::Dependency
|
71
97
|
name: ox
|
72
|
-
|
98
|
+
prerelease: false
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
73
100
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
78
108
|
type: :development
|
79
|
-
|
80
|
-
|
81
|
-
- !ruby/object:Gem::Dependency
|
109
|
+
version_requirements: *id006
|
110
|
+
- !ruby/object:Gem::Dependency
|
82
111
|
name: rake
|
83
|
-
|
112
|
+
prerelease: false
|
113
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
84
114
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
hash: 3
|
119
|
+
segments:
|
120
|
+
- 0
|
121
|
+
version: "0"
|
89
122
|
type: :development
|
90
|
-
|
91
|
-
|
92
|
-
- !ruby/object:Gem::Dependency
|
123
|
+
version_requirements: *id007
|
124
|
+
- !ruby/object:Gem::Dependency
|
93
125
|
name: rdiscount
|
94
|
-
|
126
|
+
prerelease: false
|
127
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
95
128
|
none: false
|
96
|
-
requirements:
|
97
|
-
- -
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
hash: 3
|
133
|
+
segments:
|
134
|
+
- 0
|
135
|
+
version: "0"
|
100
136
|
type: :development
|
101
|
-
|
102
|
-
|
103
|
-
- !ruby/object:Gem::Dependency
|
137
|
+
version_requirements: *id008
|
138
|
+
- !ruby/object:Gem::Dependency
|
104
139
|
name: rspec
|
105
|
-
|
140
|
+
prerelease: false
|
141
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
106
142
|
none: false
|
107
|
-
requirements:
|
108
|
-
- -
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
hash: 3
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
version: "0"
|
111
150
|
type: :development
|
112
|
-
|
113
|
-
|
114
|
-
- !ruby/object:Gem::Dependency
|
151
|
+
version_requirements: *id009
|
152
|
+
- !ruby/object:Gem::Dependency
|
115
153
|
name: simplecov
|
116
|
-
|
154
|
+
prerelease: false
|
155
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
117
156
|
none: false
|
118
|
-
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
hash: 3
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
version: "0"
|
122
164
|
type: :development
|
123
|
-
|
124
|
-
|
125
|
-
- !ruby/object:Gem::Dependency
|
165
|
+
version_requirements: *id010
|
166
|
+
- !ruby/object:Gem::Dependency
|
126
167
|
name: webmock
|
127
|
-
|
168
|
+
prerelease: false
|
169
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
128
170
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
hash: 3
|
175
|
+
segments:
|
176
|
+
- 0
|
177
|
+
version: "0"
|
133
178
|
type: :development
|
134
|
-
|
135
|
-
|
136
|
-
- !ruby/object:Gem::Dependency
|
179
|
+
version_requirements: *id011
|
180
|
+
- !ruby/object:Gem::Dependency
|
137
181
|
name: yard
|
138
|
-
|
182
|
+
prerelease: false
|
183
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
139
184
|
none: false
|
140
|
-
requirements:
|
141
|
-
- -
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
hash: 3
|
189
|
+
segments:
|
190
|
+
- 0
|
191
|
+
version: "0"
|
144
192
|
type: :development
|
145
|
-
|
146
|
-
version_requirements: *70280786667500
|
193
|
+
version_requirements: *id012
|
147
194
|
description: A Ruby wrapper for the Open311 API v2.
|
148
|
-
email:
|
195
|
+
email:
|
149
196
|
- dan@codeforamerica.org
|
150
197
|
- erik@codeforamerica.org
|
151
198
|
executables: []
|
199
|
+
|
152
200
|
extensions: []
|
201
|
+
|
153
202
|
extra_rdoc_files: []
|
154
|
-
|
203
|
+
|
204
|
+
files:
|
155
205
|
- .gemtest
|
156
206
|
- .gitignore
|
157
207
|
- .rspec
|
@@ -183,34 +233,43 @@ files:
|
|
183
233
|
- spec/open311_spec.rb
|
184
234
|
homepage: https://github.com/codeforamerica/open311
|
185
235
|
licenses: []
|
186
|
-
post_install_message: ! 'Using this gem in your project or organization? Add it to
|
187
|
-
the apps wiki!
|
188
236
|
|
237
|
+
post_install_message: |
|
238
|
+
Using this gem in your project or organization? Add it to the apps wiki!
|
189
239
|
https://github.com/codeforamerica/open311/wiki/apps
|
190
240
|
|
191
|
-
'
|
192
241
|
rdoc_options: []
|
193
|
-
|
242
|
+
|
243
|
+
require_paths:
|
194
244
|
- lib
|
195
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
245
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
196
246
|
none: false
|
197
|
-
requirements:
|
198
|
-
- -
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
|
201
|
-
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
hash: 3
|
251
|
+
segments:
|
252
|
+
- 0
|
253
|
+
version: "0"
|
254
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
255
|
none: false
|
203
|
-
requirements:
|
204
|
-
- -
|
205
|
-
- !ruby/object:Gem::Version
|
256
|
+
requirements:
|
257
|
+
- - ">="
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
hash: 23
|
260
|
+
segments:
|
261
|
+
- 1
|
262
|
+
- 3
|
263
|
+
- 6
|
206
264
|
version: 1.3.6
|
207
265
|
requirements: []
|
266
|
+
|
208
267
|
rubyforge_project:
|
209
|
-
rubygems_version: 1.8.
|
268
|
+
rubygems_version: 1.8.24
|
210
269
|
signing_key:
|
211
270
|
specification_version: 3
|
212
271
|
summary: A Ruby wrapper for the Open311 API v2.
|
213
|
-
test_files:
|
272
|
+
test_files:
|
214
273
|
- spec/faraday/response_spec.rb
|
215
274
|
- spec/fixtures/403.xml
|
216
275
|
- spec/fixtures/get_service_request.xml
|