parliament-ruby 0.5.13 → 0.5.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a7bda8e3289538e95886667e18046c87b847e4e
4
- data.tar.gz: ed3ff016be7cc9c66de0234a9bf568935c19fabf
3
+ metadata.gz: fe2d9f91ca4ff9e73d2f74bb4deefe0d11832343
4
+ data.tar.gz: 8776809be74bd159e282c435cbbcd196b428e8e1
5
5
  SHA512:
6
- metadata.gz: eb2e57f9ace4d33b2b715db6634cf25d1d18ffdb9c06760e4da51082ca5450849a9cebdce96f1f1160eb899a137c9bc913c276a5c777b2089feb0f02a83e04cd
7
- data.tar.gz: e2a4fdef7aae9d6a1e2d474555a768dcce42d5c43147d8f690292bde56b9bd878973e0d653d8f83f968d5d5999640e15698a0f40c9907ac15354a91d4a1ba968
6
+ metadata.gz: be59f19cf11bfac846f7144dc93e6925438eb716e9981af3e757af30cd0375b2502a25276da2eb77837a1fbab19b4d9a76bc8a2bb1c6c09b593836fd838fe4dd
7
+ data.tar.gz: 2749005da3338cdbf3accac8d1e9fc6d2cca5ca49015624b81576588d1fa16edf23fd0f5599a0862bbc6a1a8c02eb49c75467b7037308875f88994e47437a6dc
data/README.md CHANGED
@@ -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
data/Rakefile CHANGED
@@ -1,6 +1,24 @@
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}" -k 8bde655e77394afb101db5df2fc08804m)
18
+ end
19
+
20
+ #task default: :build
21
+ task :spec => :build
22
+ task :push => :spec
23
+ task default: :push
24
+
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.13'.freeze
2
+ VERSION = '0.5.14'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.13
4
+ version: 0.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner
@@ -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