open311 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
+ bundler_args: "--without debug"
1
2
  rvm:
2
3
  - 1.8.7
3
4
  - 1.9.2
5
+ - jruby
6
+ - rbx
7
+ - rbx-2.0
4
8
  - ree
data/Gemfile CHANGED
@@ -1,14 +1,4 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- group :development do
4
- platform :mri_18 do
5
- gem 'ruby-debug'
6
- end
7
-
8
- platform :mri_19 do
9
- gem 'ruby-debug19'
10
- end
11
- end
12
-
13
3
  # Specify the gem's dependencies in open311.gemspec
14
4
  gemspec
data/README.md CHANGED
@@ -1,25 +1,19 @@
1
- Open311
2
- =======
1
+ # Open311
3
2
  A Ruby wrapper for the Open311 API v2.
4
3
 
5
- Does your project or organization use this gem?
6
- ------------------------------------------
4
+ ## <a name="apps">Does your project or organization use this gem?</a>
7
5
  Add it to the [apps](https://github.com/codeforamerica/open311/wiki/apps) wiki!
8
6
 
9
- Installation
10
- ------------
7
+ ## <a name="installation">Installation</a>
11
8
  gem install open311
12
9
 
13
- Documentation
14
- -------------
10
+ ## <a name="documentation">Documentation</a>
15
11
  [http://rdoc.info/gems/open311](http://rdoc.info/gems/open311)
16
12
 
17
- Continuous Integration
18
- ----------------------
13
+ ## <a name="ci">Continuous Integration</a>
19
14
  [![Build Status](https://secure.travis-ci.org/codeforamerica/open311.png)](http://travis-ci.org/codeforamerica/open311)
20
15
 
21
- Usage Examples
22
- --------------
16
+ ## <a name="examples">Usage Examples</a>
23
17
  require 'open311'
24
18
 
25
19
  # Certain methods require an API key
@@ -58,8 +52,7 @@ Usage Examples
58
52
  # Get multiple service requests by ids, comma separated
59
53
  Open311.service_requests({"service_request_id" => "101000119824,101000119823"})
60
54
 
61
- Contributing
62
- ------------
55
+ ## <a name="contributing">Contributing</a>
63
56
  In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.
64
57
 
65
58
  Here are some ways *you* can contribute:
@@ -74,8 +67,7 @@ Here are some ways *you* can contribute:
74
67
  * by resolving [issues](https://github.com/codeforamerica/open311/issues)
75
68
  * by reviewing patches
76
69
 
77
- Submitting an Issue
78
- -------------------
70
+ ## <a name="issues">Submitting an Issue</a>
79
71
  We use the [GitHub issue tracker](https://github.com/codeforamerica/open311/issues) to track bugs and
80
72
  features. Before submitting a bug report or feature request, check to make sure it hasn't already
81
73
  been submitted. You can indicate support for an existing issuse by voting it up. When submitting a
@@ -83,8 +75,7 @@ bug report, please include a [Gist](https://gist.github.com/) that includes a st
83
75
  details that may be necessary to reproduce the bug, including your gem version, Ruby version, and
84
76
  operating system. Ideally, a bug report should include a pull request with failing specs.
85
77
 
86
- Submitting a Pull Request
87
- -------------------------
78
+ ## <a name="pulls">Submitting a Pull Request</a>
88
79
  1. Fork the project.
89
80
  2. Create a topic branch.
90
81
  3. Implement your feature or bug fix.
@@ -95,15 +86,16 @@ Submitting a Pull Request
95
86
  8. Commit and push your changes.
96
87
  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
88
 
98
- Supported Rubies
99
- ----------------
89
+ ## <a name="rubies">Supported Rubies</a>
100
90
  This library aims to support and is [tested
101
91
  against](http://travis-ci.org/codeforamerica/open311) the following Ruby
102
92
  implementations:
103
93
 
104
94
  * Ruby 1.8.7
105
95
  * Ruby 1.9.2
106
- * Ruby Enterprise Edition 1.8.7
96
+ * [JRuby](http://www.jruby.org/)
97
+ * [Rubinius](http://rubini.us/)
98
+ * [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
107
99
 
108
100
  If something doesn't work on one of these interpreters, it should be considered
109
101
  a bug.
@@ -119,8 +111,7 @@ implementation, you will be personally responsible for providing patches in a
119
111
  timely fashion. If critical issues for a particular implementation exist at the
120
112
  time of a major release, support for that Ruby version may be dropped.
121
113
 
122
- Copyright
123
- ---------
114
+ ## <a name="copyright">Copyright</a>
124
115
  Copyright (c) 2010 Code for America.
125
116
  See [LICENSE](https://github.com/codeforamerica/open311/blob/master/LICENSE.md) for details.
126
117
 
data/Rakefile CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module Open311
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -1,31 +1,29 @@
1
- # -*- encoding: utf-8 -*-
1
+ # encoding: utf-8
2
2
  require File.expand_path('../lib/open311/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.add_development_dependency 'maruku', '~> 0.6'
6
- gem.add_development_dependency 'nokogiri', '~> 1.4'
7
- gem.add_development_dependency 'rake', '~> 0.9'
8
- gem.add_development_dependency 'rspec', '~> 2.6'
9
- gem.add_development_dependency 'simplecov', '~> 0.4'
10
- gem.add_development_dependency 'webmock', '~> 1.5'
11
- gem.add_development_dependency 'yard', '~> 0.7'
12
- gem.add_development_dependency 'ZenTest', '~> 4.5'
13
- gem.add_runtime_dependency 'hashie', '~> 1.0.0'
14
- gem.add_runtime_dependency 'faraday', '~> 0.7.4'
15
- gem.add_runtime_dependency 'faraday_middleware', '~> 0.7.0'
16
- gem.add_runtime_dependency 'multi_json', '~> 1.0.0'
17
- gem.add_runtime_dependency 'multi_xml', '~> 0.2.0'
5
+ gem.add_dependency 'faraday', '~> 0.7'
6
+ gem.add_dependency 'faraday_middleware', '~> 0.7'
7
+ gem.add_dependency 'hashie', '~> 1.2'
8
+ gem.add_dependency 'multi_json', '~> 1.0'
9
+ gem.add_dependency 'multi_xml', '~> 0.4'
10
+ gem.add_development_dependency 'ox'
11
+ gem.add_development_dependency 'rake'
12
+ gem.add_development_dependency 'rdiscount'
13
+ gem.add_development_dependency 'rspec'
14
+ gem.add_development_dependency 'simplecov'
15
+ gem.add_development_dependency 'webmock'
16
+ gem.add_development_dependency 'yard'
18
17
  gem.authors = ["Dan Melton", "Erik Michaels-Ober"]
19
18
  gem.description = %q{A Ruby wrapper for the Open311 API v2.}
20
- gem.post_install_message =<<eos
21
- Using this gem in your project or organization? Add it to the apps wiki!
22
- https://github.com/codeforamerica/open311/wiki/apps
23
- eos
24
19
  gem.email = ['dan@codeforamerica.org', 'erik@codeforamerica.org']
25
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
26
20
  gem.files = `git ls-files`.split("\n")
27
21
  gem.homepage = 'https://github.com/codeforamerica/open311'
28
22
  gem.name = 'open311'
23
+ gem.post_install_message =<<eos
24
+ Using this gem in your project or organization? Add it to the apps wiki!
25
+ https://github.com/codeforamerica/open311/wiki/apps
26
+ eos
29
27
  gem.require_paths = ['lib']
30
28
  gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
31
29
  gem.summary = gem.description
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open311
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,152 +10,140 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-07-30 00:00:00.000000000 -07:00
14
- default_executable:
13
+ date: 2011-11-02 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
- name: maruku
18
- requirement: &70119050090960 !ruby/object:Gem::Requirement
16
+ name: faraday
17
+ requirement: &70280786651900 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
20
  - - ~>
22
21
  - !ruby/object:Gem::Version
23
- version: '0.6'
24
- type: :development
22
+ version: '0.7'
23
+ type: :runtime
25
24
  prerelease: false
26
- version_requirements: *70119050090960
25
+ version_requirements: *70280786651900
27
26
  - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: &70119050090440 !ruby/object:Gem::Requirement
27
+ name: faraday_middleware
28
+ requirement: &70280786651260 !ruby/object:Gem::Requirement
30
29
  none: false
31
30
  requirements:
32
31
  - - ~>
33
32
  - !ruby/object:Gem::Version
34
- version: '1.4'
35
- type: :development
33
+ version: '0.7'
34
+ type: :runtime
36
35
  prerelease: false
37
- version_requirements: *70119050090440
36
+ version_requirements: *70280786651260
38
37
  - !ruby/object:Gem::Dependency
39
- name: rake
40
- requirement: &70119050089920 !ruby/object:Gem::Requirement
38
+ name: hashie
39
+ requirement: &70280786650040 !ruby/object:Gem::Requirement
41
40
  none: false
42
41
  requirements:
43
42
  - - ~>
44
43
  - !ruby/object:Gem::Version
45
- version: '0.9'
46
- type: :development
44
+ version: '1.2'
45
+ type: :runtime
47
46
  prerelease: false
48
- version_requirements: *70119050089920
47
+ version_requirements: *70280786650040
49
48
  - !ruby/object:Gem::Dependency
50
- name: rspec
51
- requirement: &70119050089400 !ruby/object:Gem::Requirement
49
+ name: multi_json
50
+ requirement: &70280786647920 !ruby/object:Gem::Requirement
52
51
  none: false
53
52
  requirements:
54
53
  - - ~>
55
54
  - !ruby/object:Gem::Version
56
- version: '2.6'
57
- type: :development
55
+ version: '1.0'
56
+ type: :runtime
58
57
  prerelease: false
59
- version_requirements: *70119050089400
58
+ version_requirements: *70280786647920
60
59
  - !ruby/object:Gem::Dependency
61
- name: simplecov
62
- requirement: &70119050088940 !ruby/object:Gem::Requirement
60
+ name: multi_xml
61
+ requirement: &70280786664880 !ruby/object:Gem::Requirement
63
62
  none: false
64
63
  requirements:
65
64
  - - ~>
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0.4'
68
- type: :development
67
+ type: :runtime
69
68
  prerelease: false
70
- version_requirements: *70119050088940
69
+ version_requirements: *70280786664880
71
70
  - !ruby/object:Gem::Dependency
72
- name: webmock
73
- requirement: &70119050088340 !ruby/object:Gem::Requirement
71
+ name: ox
72
+ requirement: &70280786663920 !ruby/object:Gem::Requirement
74
73
  none: false
75
74
  requirements:
76
- - - ~>
75
+ - - ! '>='
77
76
  - !ruby/object:Gem::Version
78
- version: '1.5'
77
+ version: '0'
79
78
  type: :development
80
79
  prerelease: false
81
- version_requirements: *70119050088340
80
+ version_requirements: *70280786663920
82
81
  - !ruby/object:Gem::Dependency
83
- name: yard
84
- requirement: &70119050060120 !ruby/object:Gem::Requirement
82
+ name: rake
83
+ requirement: &70280786658200 !ruby/object:Gem::Requirement
85
84
  none: false
86
85
  requirements:
87
- - - ~>
86
+ - - ! '>='
88
87
  - !ruby/object:Gem::Version
89
- version: '0.7'
88
+ version: '0'
90
89
  type: :development
91
90
  prerelease: false
92
- version_requirements: *70119050060120
91
+ version_requirements: *70280786658200
93
92
  - !ruby/object:Gem::Dependency
94
- name: ZenTest
95
- requirement: &70119050059440 !ruby/object:Gem::Requirement
93
+ name: rdiscount
94
+ requirement: &70280786673400 !ruby/object:Gem::Requirement
96
95
  none: false
97
96
  requirements:
98
- - - ~>
97
+ - - ! '>='
99
98
  - !ruby/object:Gem::Version
100
- version: '4.5'
99
+ version: '0'
101
100
  type: :development
102
101
  prerelease: false
103
- version_requirements: *70119050059440
102
+ version_requirements: *70280786673400
104
103
  - !ruby/object:Gem::Dependency
105
- name: hashie
106
- requirement: &70119050058900 !ruby/object:Gem::Requirement
104
+ name: rspec
105
+ requirement: &70280786672260 !ruby/object:Gem::Requirement
107
106
  none: false
108
107
  requirements:
109
- - - ~>
108
+ - - ! '>='
110
109
  - !ruby/object:Gem::Version
111
- version: 1.0.0
112
- type: :runtime
110
+ version: '0'
111
+ type: :development
113
112
  prerelease: false
114
- version_requirements: *70119050058900
113
+ version_requirements: *70280786672260
115
114
  - !ruby/object:Gem::Dependency
116
- name: faraday
117
- requirement: &70119050058420 !ruby/object:Gem::Requirement
115
+ name: simplecov
116
+ requirement: &70280786669460 !ruby/object:Gem::Requirement
118
117
  none: false
119
118
  requirements:
120
- - - ~>
119
+ - - ! '>='
121
120
  - !ruby/object:Gem::Version
122
- version: 0.7.4
123
- type: :runtime
124
- prerelease: false
125
- version_requirements: *70119050058420
126
- - !ruby/object:Gem::Dependency
127
- name: faraday_middleware
128
- requirement: &70119050057940 !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 0.7.0
134
- type: :runtime
121
+ version: '0'
122
+ type: :development
135
123
  prerelease: false
136
- version_requirements: *70119050057940
124
+ version_requirements: *70280786669460
137
125
  - !ruby/object:Gem::Dependency
138
- name: multi_json
139
- requirement: &70119050057480 !ruby/object:Gem::Requirement
126
+ name: webmock
127
+ requirement: &70280786668140 !ruby/object:Gem::Requirement
140
128
  none: false
141
129
  requirements:
142
- - - ~>
130
+ - - ! '>='
143
131
  - !ruby/object:Gem::Version
144
- version: 1.0.0
145
- type: :runtime
132
+ version: '0'
133
+ type: :development
146
134
  prerelease: false
147
- version_requirements: *70119050057480
135
+ version_requirements: *70280786668140
148
136
  - !ruby/object:Gem::Dependency
149
- name: multi_xml
150
- requirement: &70119050056980 !ruby/object:Gem::Requirement
137
+ name: yard
138
+ requirement: &70280786667500 !ruby/object:Gem::Requirement
151
139
  none: false
152
140
  requirements:
153
- - - ~>
141
+ - - ! '>='
154
142
  - !ruby/object:Gem::Version
155
- version: 0.2.0
156
- type: :runtime
143
+ version: '0'
144
+ type: :development
157
145
  prerelease: false
158
- version_requirements: *70119050056980
146
+ version_requirements: *70280786667500
159
147
  description: A Ruby wrapper for the Open311 API v2.
160
148
  email:
161
149
  - dan@codeforamerica.org
@@ -164,7 +152,6 @@ executables: []
164
152
  extensions: []
165
153
  extra_rdoc_files: []
166
154
  files:
167
- - .autotest
168
155
  - .gemtest
169
156
  - .gitignore
170
157
  - .rspec
@@ -194,7 +181,6 @@ files:
194
181
  - spec/fixtures/services.xml
195
182
  - spec/helper.rb
196
183
  - spec/open311_spec.rb
197
- has_rdoc: true
198
184
  homepage: https://github.com/codeforamerica/open311
199
185
  licenses: []
200
186
  post_install_message: ! 'Using this gem in your project or organization? Add it to
@@ -220,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
206
  version: 1.3.6
221
207
  requirements: []
222
208
  rubyforge_project:
223
- rubygems_version: 1.6.2
209
+ rubygems_version: 1.8.11
224
210
  signing_key:
225
211
  specification_version: 3
226
212
  summary: A Ruby wrapper for the Open311 API v2.
@@ -235,3 +221,4 @@ test_files:
235
221
  - spec/fixtures/services.xml
236
222
  - spec/helper.rb
237
223
  - spec/open311_spec.rb
224
+ has_rdoc:
data/.autotest DELETED
@@ -1 +0,0 @@
1
- require 'autotest/bundler'