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 +4 -4
- data/README.md +2 -2
- data/Rakefile +19 -1
- data/lib/parliament/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe2d9f91ca4ff9e73d2f74bb4deefe0d11832343
|
|
4
|
+
data.tar.gz: 8776809be74bd159e282c435cbbcd196b428e8e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
+
|
data/lib/parliament/version.rb
CHANGED
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.
|
|
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.
|
|
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
|