gds-api-adapters 0.0.46 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +6 -0
  2. data/lib/gds_api/version.rb +1 -1
  3. metadata +36 -25
data/Rakefile CHANGED
@@ -16,4 +16,10 @@ Rake::TestTask.new("test") do |t|
16
16
  t.verbose = true
17
17
  end
18
18
 
19
+ require "gem_publisher"
20
+ task :publish_gem do |t|
21
+ gem = GemPublisher.publish_if_updated("gds-api-adapters.gemspec", :rubygems)
22
+ puts "Published #{gem}" if gem
23
+ end
24
+
19
25
  task :default => :test
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '0.0.46'
2
+ VERSION = '0.0.47'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.46
5
+ version: 0.0.47
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Stewart
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-10 00:00:00 Z
13
+ date: 2012-05-11 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: plek
@@ -122,6 +122,17 @@ dependencies:
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: *id010
125
+ - !ruby/object:Gem::Dependency
126
+ name: gem_publisher
127
+ requirement: &id011 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ~>
131
+ - !ruby/object:Gem::Version
132
+ version: 1.0.0
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: *id011
125
136
  description: A set of adapters providing easy access to the GDS gov.uk APIs
126
137
  email:
127
138
  - jystewart@gmail.com
@@ -132,35 +143,35 @@ extensions: []
132
143
  extra_rdoc_files: []
133
144
 
134
145
  files:
146
+ - lib/gds_api/helpers.rb
135
147
  - lib/gds_api/base.rb
136
- - lib/gds_api/contactotron.rb
137
- - lib/gds_api/core-ext/openstruct.rb
148
+ - lib/gds_api/part_methods.rb
138
149
  - lib/gds_api/exceptions.rb
139
- - lib/gds_api/helpers.rb
150
+ - lib/gds_api/typhoeus_client.rb
140
151
  - lib/gds_api/imminence.rb
141
- - lib/gds_api/json_client.rb
142
- - lib/gds_api/needotron.rb
143
- - lib/gds_api/oauth2_client.rb
144
- - lib/gds_api/panopticon/registerer.rb
145
- - lib/gds_api/panopticon.rb
146
- - lib/gds_api/part_methods.rb
147
152
  - lib/gds_api/publisher.rb
148
- - lib/gds_api/response.rb
149
- - lib/gds_api/test_helpers/contactotron.rb
153
+ - lib/gds_api/contactotron.rb
154
+ - lib/gds_api/panopticon.rb
155
+ - lib/gds_api/version.rb
156
+ - lib/gds_api/oauth2_client.rb
150
157
  - lib/gds_api/test_helpers/imminence.rb
151
- - lib/gds_api/test_helpers/json_client_helper.rb
152
- - lib/gds_api/test_helpers/panopticon.rb
153
158
  - lib/gds_api/test_helpers/publisher.rb
154
- - lib/gds_api/typhoeus_client.rb
155
- - lib/gds_api/version.rb
159
+ - lib/gds_api/test_helpers/contactotron.rb
160
+ - lib/gds_api/test_helpers/panopticon.rb
161
+ - lib/gds_api/test_helpers/json_client_helper.rb
162
+ - lib/gds_api/response.rb
163
+ - lib/gds_api/panopticon/registerer.rb
164
+ - lib/gds_api/needotron.rb
165
+ - lib/gds_api/json_client.rb
166
+ - lib/gds_api/core-ext/openstruct.rb
156
167
  - README.md
157
168
  - Rakefile
158
- - test/contactotron_api_test.rb
159
169
  - test/gds_api_base_test.rb
160
170
  - test/json_client_test.rb
161
- - test/panopticon_api_test.rb
162
- - test/publisher_api_test.rb
163
171
  - test/test_helper.rb
172
+ - test/publisher_api_test.rb
173
+ - test/panopticon_api_test.rb
174
+ - test/contactotron_api_test.rb
164
175
  homepage: http://github.com/alphagov/gds-api-adapters
165
176
  licenses: []
166
177
 
@@ -174,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
185
  requirements:
175
186
  - - ">="
176
187
  - !ruby/object:Gem::Version
177
- hash: 1287144186413795822
188
+ hash: -4087201614772257686
178
189
  segments:
179
190
  - 0
180
191
  version: "0"
@@ -183,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
194
  requirements:
184
195
  - - ">="
185
196
  - !ruby/object:Gem::Version
186
- hash: 1287144186413795822
197
+ hash: -4087201614772257686
187
198
  segments:
188
199
  - 0
189
200
  version: "0"
@@ -195,9 +206,9 @@ signing_key:
195
206
  specification_version: 3
196
207
  summary: Adapters to work with GDS APIs
197
208
  test_files:
198
- - test/contactotron_api_test.rb
199
209
  - test/gds_api_base_test.rb
200
210
  - test/json_client_test.rb
201
- - test/panopticon_api_test.rb
202
- - test/publisher_api_test.rb
203
211
  - test/test_helper.rb
212
+ - test/publisher_api_test.rb
213
+ - test/panopticon_api_test.rb
214
+ - test/contactotron_api_test.rb