open311 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -2
- data/README.md +26 -2
- data/lib/open311/version.rb +1 -1
- data/open311.gemspec +2 -3
- metadata +111 -127
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -16,7 +16,7 @@ Documentation
|
|
16
16
|
|
17
17
|
Continuous Integration
|
18
18
|
----------------------
|
19
|
-
[![Build Status](
|
19
|
+
[![Build Status](https://secure.travis-ci.org/codeforamerica/open311.png)](http://travis-ci.org/codeforamerica/open311)
|
20
20
|
|
21
21
|
Usage Examples
|
22
22
|
--------------
|
@@ -95,9 +95,33 @@ Submitting a Pull Request
|
|
95
95
|
8. Commit and push your changes.
|
96
96
|
9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)
|
97
97
|
|
98
|
+
Supported Rubies
|
99
|
+
----------------
|
100
|
+
This library aims to support and is [tested
|
101
|
+
against](http://travis-ci.org/codeforamerica/open311) the following Ruby
|
102
|
+
implementations:
|
103
|
+
|
104
|
+
* Ruby 1.8.7
|
105
|
+
* Ruby 1.9.2
|
106
|
+
* Ruby Enterprise Edition 1.8.7
|
107
|
+
|
108
|
+
If something doesn't work on one of these interpreters, it should be considered
|
109
|
+
a bug.
|
110
|
+
|
111
|
+
This library may inadvertently work (or seem to work) on other Ruby
|
112
|
+
implementations, however support will only be provided for the versions listed
|
113
|
+
above.
|
114
|
+
|
115
|
+
If you would like this library to support another Ruby version, you may
|
116
|
+
volunteer to be a maintainer. Being a maintainer entails making sure all tests
|
117
|
+
run and pass on that implementation. When something breaks on your
|
118
|
+
implementation, you will be personally responsible for providing patches in a
|
119
|
+
timely fashion. If critical issues for a particular implementation exist at the
|
120
|
+
time of a major release, support for that Ruby version may be dropped.
|
121
|
+
|
98
122
|
Copyright
|
99
123
|
---------
|
100
|
-
Copyright (c) 2010 Code for America
|
124
|
+
Copyright (c) 2010 Code for America.
|
101
125
|
See [LICENSE](https://github.com/codeforamerica/open311/blob/master/LICENSE.md) for details.
|
102
126
|
|
103
127
|
[![Code for America Tracker](http://stats.codeforamerica.org/codeforamerica/open311.png)](http://stats.codeforamerica.org/projects/open311)
|
data/lib/open311/version.rb
CHANGED
data/open311.gemspec
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
require File.expand_path('../lib/open311/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.add_development_dependency 'json_pure', '~> 1.5'
|
6
5
|
gem.add_development_dependency 'maruku', '~> 0.6'
|
7
6
|
gem.add_development_dependency 'nokogiri', '~> 1.4'
|
8
7
|
gem.add_development_dependency 'rake', '~> 0.9'
|
@@ -12,8 +11,8 @@ Gem::Specification.new do |gem|
|
|
12
11
|
gem.add_development_dependency 'yard', '~> 0.7'
|
13
12
|
gem.add_development_dependency 'ZenTest', '~> 4.5'
|
14
13
|
gem.add_runtime_dependency 'hashie', '~> 1.0.0'
|
15
|
-
gem.add_runtime_dependency 'faraday', '~> 0.
|
16
|
-
gem.add_runtime_dependency 'faraday_middleware', '~> 0.
|
14
|
+
gem.add_runtime_dependency 'faraday', '~> 0.7.4'
|
15
|
+
gem.add_runtime_dependency 'faraday_middleware', '~> 0.7.0'
|
17
16
|
gem.add_runtime_dependency 'multi_json', '~> 1.0.0'
|
18
17
|
gem.add_runtime_dependency 'multi_xml', '~> 0.2.0'
|
19
18
|
gem.authors = ["Dan Melton", "Erik Michaels-Ober"]
|
metadata
CHANGED
@@ -1,184 +1,169 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: open311
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Dan Melton
|
9
9
|
- Erik Michaels-Ober
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
date: 2011-06-23 00:00:00 -07:00
|
13
|
+
date: 2011-07-30 00:00:00.000000000 -07:00
|
15
14
|
default_executable:
|
16
|
-
dependencies:
|
17
|
-
- !ruby/object:Gem::Dependency
|
18
|
-
name: json_pure
|
19
|
-
prerelease: false
|
20
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
|
-
requirements:
|
23
|
-
- - ~>
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: "1.5"
|
26
|
-
type: :development
|
27
|
-
version_requirements: *id001
|
28
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
29
17
|
name: maruku
|
30
|
-
|
31
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &70119050090960 !ruby/object:Gem::Requirement
|
32
19
|
none: false
|
33
|
-
requirements:
|
20
|
+
requirements:
|
34
21
|
- - ~>
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version:
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0.6'
|
37
24
|
type: :development
|
38
|
-
version_requirements: *id002
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: nokogiri
|
41
25
|
prerelease: false
|
42
|
-
|
26
|
+
version_requirements: *70119050090960
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: &70119050090440 !ruby/object:Gem::Requirement
|
43
30
|
none: false
|
44
|
-
requirements:
|
31
|
+
requirements:
|
45
32
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.4'
|
48
35
|
type: :development
|
49
|
-
version_requirements: *id003
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: rake
|
52
36
|
prerelease: false
|
53
|
-
|
37
|
+
version_requirements: *70119050090440
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rake
|
40
|
+
requirement: &70119050089920 !ruby/object:Gem::Requirement
|
54
41
|
none: false
|
55
|
-
requirements:
|
42
|
+
requirements:
|
56
43
|
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version:
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.9'
|
59
46
|
type: :development
|
60
|
-
version_requirements: *id004
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: rspec
|
63
47
|
prerelease: false
|
64
|
-
|
48
|
+
version_requirements: *70119050089920
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rspec
|
51
|
+
requirement: &70119050089400 !ruby/object:Gem::Requirement
|
65
52
|
none: false
|
66
|
-
requirements:
|
53
|
+
requirements:
|
67
54
|
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version:
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.6'
|
70
57
|
type: :development
|
71
|
-
version_requirements: *id005
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: simplecov
|
74
58
|
prerelease: false
|
75
|
-
|
59
|
+
version_requirements: *70119050089400
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: simplecov
|
62
|
+
requirement: &70119050088940 !ruby/object:Gem::Requirement
|
76
63
|
none: false
|
77
|
-
requirements:
|
64
|
+
requirements:
|
78
65
|
- - ~>
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version:
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.4'
|
81
68
|
type: :development
|
82
|
-
version_requirements: *id006
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: webmock
|
85
69
|
prerelease: false
|
86
|
-
|
70
|
+
version_requirements: *70119050088940
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: webmock
|
73
|
+
requirement: &70119050088340 !ruby/object:Gem::Requirement
|
87
74
|
none: false
|
88
|
-
requirements:
|
75
|
+
requirements:
|
89
76
|
- - ~>
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version:
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.5'
|
92
79
|
type: :development
|
93
|
-
version_requirements: *id007
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: yard
|
96
80
|
prerelease: false
|
97
|
-
|
81
|
+
version_requirements: *70119050088340
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: yard
|
84
|
+
requirement: &70119050060120 !ruby/object:Gem::Requirement
|
98
85
|
none: false
|
99
|
-
requirements:
|
86
|
+
requirements:
|
100
87
|
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version:
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.7'
|
103
90
|
type: :development
|
104
|
-
version_requirements: *id008
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: ZenTest
|
107
91
|
prerelease: false
|
108
|
-
|
92
|
+
version_requirements: *70119050060120
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: ZenTest
|
95
|
+
requirement: &70119050059440 !ruby/object:Gem::Requirement
|
109
96
|
none: false
|
110
|
-
requirements:
|
97
|
+
requirements:
|
111
98
|
- - ~>
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version:
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '4.5'
|
114
101
|
type: :development
|
115
|
-
version_requirements: *id009
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
name: hashie
|
118
102
|
prerelease: false
|
119
|
-
|
103
|
+
version_requirements: *70119050059440
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: hashie
|
106
|
+
requirement: &70119050058900 !ruby/object:Gem::Requirement
|
120
107
|
none: false
|
121
|
-
requirements:
|
108
|
+
requirements:
|
122
109
|
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
110
|
+
- !ruby/object:Gem::Version
|
124
111
|
version: 1.0.0
|
125
112
|
type: :runtime
|
126
|
-
version_requirements: *id010
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: faraday
|
129
113
|
prerelease: false
|
130
|
-
|
114
|
+
version_requirements: *70119050058900
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: faraday
|
117
|
+
requirement: &70119050058420 !ruby/object:Gem::Requirement
|
131
118
|
none: false
|
132
|
-
requirements:
|
119
|
+
requirements:
|
133
120
|
- - ~>
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: 0.
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 0.7.4
|
136
123
|
type: :runtime
|
137
|
-
version_requirements: *id011
|
138
|
-
- !ruby/object:Gem::Dependency
|
139
|
-
name: faraday_middleware
|
140
124
|
prerelease: false
|
141
|
-
|
125
|
+
version_requirements: *70119050058420
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: faraday_middleware
|
128
|
+
requirement: &70119050057940 !ruby/object:Gem::Requirement
|
142
129
|
none: false
|
143
|
-
requirements:
|
130
|
+
requirements:
|
144
131
|
- - ~>
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 0.
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.7.0
|
147
134
|
type: :runtime
|
148
|
-
version_requirements: *id012
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
name: multi_json
|
151
135
|
prerelease: false
|
152
|
-
|
136
|
+
version_requirements: *70119050057940
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: multi_json
|
139
|
+
requirement: &70119050057480 !ruby/object:Gem::Requirement
|
153
140
|
none: false
|
154
|
-
requirements:
|
141
|
+
requirements:
|
155
142
|
- - ~>
|
156
|
-
- !ruby/object:Gem::Version
|
143
|
+
- !ruby/object:Gem::Version
|
157
144
|
version: 1.0.0
|
158
145
|
type: :runtime
|
159
|
-
version_requirements: *id013
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: multi_xml
|
162
146
|
prerelease: false
|
163
|
-
|
147
|
+
version_requirements: *70119050057480
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: multi_xml
|
150
|
+
requirement: &70119050056980 !ruby/object:Gem::Requirement
|
164
151
|
none: false
|
165
|
-
requirements:
|
152
|
+
requirements:
|
166
153
|
- - ~>
|
167
|
-
- !ruby/object:Gem::Version
|
154
|
+
- !ruby/object:Gem::Version
|
168
155
|
version: 0.2.0
|
169
156
|
type: :runtime
|
170
|
-
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: *70119050056980
|
171
159
|
description: A Ruby wrapper for the Open311 API v2.
|
172
|
-
email:
|
160
|
+
email:
|
173
161
|
- dan@codeforamerica.org
|
174
162
|
- erik@codeforamerica.org
|
175
163
|
executables: []
|
176
|
-
|
177
164
|
extensions: []
|
178
|
-
|
179
165
|
extra_rdoc_files: []
|
180
|
-
|
181
|
-
files:
|
166
|
+
files:
|
182
167
|
- .autotest
|
183
168
|
- .gemtest
|
184
169
|
- .gitignore
|
@@ -212,35 +197,34 @@ files:
|
|
212
197
|
has_rdoc: true
|
213
198
|
homepage: https://github.com/codeforamerica/open311
|
214
199
|
licenses: []
|
200
|
+
post_install_message: ! 'Using this gem in your project or organization? Add it to
|
201
|
+
the apps wiki!
|
215
202
|
|
216
|
-
post_install_message: |
|
217
|
-
Using this gem in your project or organization? Add it to the apps wiki!
|
218
203
|
https://github.com/codeforamerica/open311/wiki/apps
|
219
204
|
|
205
|
+
'
|
220
206
|
rdoc_options: []
|
221
|
-
|
222
|
-
require_paths:
|
207
|
+
require_paths:
|
223
208
|
- lib
|
224
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
209
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
225
210
|
none: false
|
226
|
-
requirements:
|
227
|
-
- -
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version:
|
230
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ! '>='
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
216
|
none: false
|
232
|
-
requirements:
|
233
|
-
- -
|
234
|
-
- !ruby/object:Gem::Version
|
217
|
+
requirements:
|
218
|
+
- - ! '>='
|
219
|
+
- !ruby/object:Gem::Version
|
235
220
|
version: 1.3.6
|
236
221
|
requirements: []
|
237
|
-
|
238
222
|
rubyforge_project:
|
239
|
-
rubygems_version: 1.
|
223
|
+
rubygems_version: 1.6.2
|
240
224
|
signing_key:
|
241
225
|
specification_version: 3
|
242
226
|
summary: A Ruby wrapper for the Open311 API v2.
|
243
|
-
test_files:
|
227
|
+
test_files:
|
244
228
|
- spec/faraday/response_spec.rb
|
245
229
|
- spec/fixtures/403.xml
|
246
230
|
- spec/fixtures/get_service_request.xml
|