parliament-ruby 0.5.8 → 0.5.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d14dd3dc4a909bd1a4b34c91cd3f1db63fead1e
4
- data.tar.gz: cf3facc1bdb12d813549b80bf52a2d128eddf15c
3
+ metadata.gz: f2b81a8765e1b462b70759be0a71ad532ac73178
4
+ data.tar.gz: c95a2e2494d1147fcb5c2ca9c4fe946ea070615b
5
5
  SHA512:
6
- metadata.gz: 41bd68ebff5ed14e31b5aa6fe6afd26f00f6cca845241e34efdbabe520d1ecdc39f34f07860fb548a923faa0dc67a55f9cb7b11fd7aa4d0581b296348409576c
7
- data.tar.gz: 8579c1e01f0bb33a424e948788cbf25896434dcdc62d5843f77bf13ab1f34c7b5993bcbd5081beb16ee8661f0c71574a0480546a63ee31fecf6e8b2bc5cd84e1
6
+ metadata.gz: 66bd61d283fbcefcc48f46a628227a2aae3facb3af4d7061f5283ce547cd79c4bd39f8738f9e786211b58c2566b31af0601ab938999fab45afc288501e8bfb0f
7
+ data.tar.gz: c11b970fb61cdc16299be6d9e282cdb5f451db20a881a6aa5f3920a5e86fa9e86c8b11d36f20d611749a104c25d946f5f7817c8dc67ab186ed2be9bcff15b8a3
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Parliament Data API Wrapper (Ruby)
2
2
  [parliament-ruby][parliament-ruby] is a gem created by the [Parliamentary Digital Service][pds] to allow easy communication with the internal parliament data api.
3
3
 
4
- [![Build Status][shield-travis]][info-travis] [![Test Coverage][shield-coveralls]][info-coveralls] [![License][shield-license]][info-license]
4
+ [![Gem][shield-gem]][info-gem] [![Build Status][shield-travis]][info-travis] [![Test Coverage][shield-coveralls]][info-coveralls] [![License][shield-license]][info-license]
5
5
 
6
6
  > **NOTE:** This gem is in active development and is likely to change at short notice. It is not recommended that you use this in any production environment.
7
7
 
@@ -59,7 +59,7 @@ Parliament::Request.new.base_url #=> 'http://test.com'
59
59
  Parliament::Request.new(base_url: 'http://example.com').base_url #=> 'http://example.com'
60
60
  ```
61
61
 
62
- Alternatively, you can set the environment variable `PARLIAMENT_BASE_URL` on your machine and we will automatically use that.
62
+ Alternatively, you can set the environment variable `PARLIAMENT_BASE_URL` on your machine and we will automatically use that....
63
63
  ```ruby
64
64
  ENV['PARLIAMENT_BASE_URL'] #=> 'http://example.com'
65
65
 
@@ -119,7 +119,7 @@ If you wish to submit a bug fix or feature, you can create a pull request and it
119
119
 
120
120
 
121
121
  ## License
122
- [parliament-ruby][parliament-ruby] is licensed under the [Open Parliament Licence][info-license].
122
+ [parliament-ruby][parliament-ruby] is licensed under the [Open Parliament Licence][info-license]..
123
123
 
124
124
  [ruby]: https://www.ruby-lang.org/en/
125
125
  [bundler]: http://bundler.io
@@ -128,6 +128,9 @@ If you wish to submit a bug fix or feature, you can create a pull request and it
128
128
  [pds]: https://www.parliament.uk/mps-lords-and-offices/offices/bicameral/parliamentary-digital-service/
129
129
  [ruby-version]: https://github.com/ukparliament/parliament-ruby/blob/master/.ruby-version
130
130
 
131
+ [info-gem]: https://rubygems.org/gems/parliament-ruby
132
+ [shield-gem]: https://img.shields.io/gem/v/formatador.svg
133
+
131
134
  [info-travis]: https://travis-ci.org/ukparliament/parliament-ruby
132
135
  [shield-travis]: https://img.shields.io/travis/ukparliament/parliament-ruby.svg
133
136
 
@@ -135,4 +138,4 @@ If you wish to submit a bug fix or feature, you can create a pull request and it
135
138
  [shield-coveralls]: https://img.shields.io/coveralls/ukparliament/parliament-ruby.svg
136
139
 
137
140
  [info-license]: http://www.parliament.uk/site-information/copyright/open-parliament-licence/
138
- [shield-license]: https://img.shields.io/badge/license-Open%20Parliament%20Licence-blue.svg
141
+ [shield-license]: https://img.shields.io/badge/license-Open%20Parliament%20Licence-blue.svg
data/Rakefile CHANGED
@@ -1,6 +1,25 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
+ require_relative 'lib/parliament/version'
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
6
 
6
- task default: :spec
7
+ VERSION = Parliament::VERSION
8
+
9
+ task :build do
10
+ p 'build started'
11
+ `gem build parliament-ruby.gemspec`
12
+ p 'build ended'
13
+ p "parliament-ruby gem built with version #{Parliament::VERSION}"
14
+ end
15
+
16
+ task :push do
17
+ %x(gem push parliament-ruby-"#{VERSION}")
18
+ p 'gem pushed'
19
+ end
20
+
21
+ #task default: :build
22
+ task :spec => :build
23
+ task :push => :spec
24
+ task default: :push
25
+
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.8'.freeze
2
+ VERSION = '0.5.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grom
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.6.6
185
+ rubygems_version: 2.5.1
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Internal parliamentary data API wrapper for ruby