parliament-ruby 0.5.12 → 0.5.13

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: f2b81a8765e1b462b70759be0a71ad532ac73178
4
- data.tar.gz: c95a2e2494d1147fcb5c2ca9c4fe946ea070615b
3
+ metadata.gz: 0a7bda8e3289538e95886667e18046c87b847e4e
4
+ data.tar.gz: ed3ff016be7cc9c66de0234a9bf568935c19fabf
5
5
  SHA512:
6
- metadata.gz: 66bd61d283fbcefcc48f46a628227a2aae3facb3af4d7061f5283ce547cd79c4bd39f8738f9e786211b58c2566b31af0601ab938999fab45afc288501e8bfb0f
7
- data.tar.gz: c11b970fb61cdc16299be6d9e282cdb5f451db20a881a6aa5f3920a5e86fa9e86c8b11d36f20d611749a104c25d946f5f7817c8dc67ab186ed2be9bcff15b8a3
6
+ metadata.gz: eb2e57f9ace4d33b2b715db6634cf25d1d18ffdb9c06760e4da51082ca5450849a9cebdce96f1f1160eb899a137c9bc913c276a5c777b2089feb0f02a83e04cd
7
+ data.tar.gz: e2a4fdef7aae9d6a1e2d474555a768dcce42d5c43147d8f690292bde56b9bd878973e0d653d8f83f968d5d5999640e15698a0f40c9907ac15354a91d4a1ba968
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,25 +1,6 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
- require_relative 'lib/parliament/version'
4
3
 
5
4
  RSpec::Core::RakeTask.new(:spec)
6
5
 
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
-
6
+ task default: :spec
@@ -122,6 +122,14 @@ module Parliament
122
122
  @statuses = statuses
123
123
  end
124
124
 
125
+ def full_title
126
+ respond_to?(:D79B0BAC513C4A9A87C9D5AFF1FC632F) ? self.D79B0BAC513C4A9A87C9D5AFF1FC632F : ''
127
+ end
128
+
129
+ def display_name
130
+ respond_to?(:F31CBD81AD8343898B49DC65743F0BDF) ? self.F31CBD81AD8343898B49DC65743F0BDF : ''
131
+ end
132
+
125
133
  private
126
134
 
127
135
  def house_membership_status
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.12'.freeze
2
+ VERSION = '0.5.13'.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.12
4
+ version: 0.5.13
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.5.1
185
+ rubygems_version: 2.6.6
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Internal parliamentary data API wrapper for ruby