parliament-ruby 0.5.16 → 0.5.17

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: 0d75b8eb7ae93901737c0feb555249811fd2550f
4
- data.tar.gz: 600aa369b1ff5d03a829b555b63922b37ea11a92
3
+ metadata.gz: 5b3c8c824743e8fc39a983cca382e33f4b60d51c
4
+ data.tar.gz: 519ba032619e1efce25f5d1879257326bab01fec
5
5
  SHA512:
6
- metadata.gz: 5e1c3d16e7d73901ff968f4bcb230d3facd553321a91c7ee6d86d87b7f99c8eb738a6946c07e28601efa94795257f828136eb642746d2fb4602e2abda2c5cf7c
7
- data.tar.gz: f21f1182e2a7c1ae7a97bba56415546a3a5f240faf13600264f024d45a0b7cb4f1be00832d8afb154fd659f0bcbdebebfa1c5959b9f9be08914769ac95ea834f
6
+ metadata.gz: e807d62ce5a058cc4aac67975d64040455af7a6e1583496f3f576e3cb70eeae5c2f675b64c2af0db3d0cf1a24d34f6bd293e7600cc29aa90a8e4719759bf951c
7
+ data.tar.gz: 339d5a6f9ce41bfe1ff9cef9a75688d25e31a0d668307b73c18b4649f6c6e8565dadc8071978aa661aeca18da5cac0115e632f42db2790b75ea6295086fa147f
data/Makefile ADDED
@@ -0,0 +1,15 @@
1
+
2
+ test:
3
+ bundle exec rspec spec
4
+
5
+ build:
6
+ gem build parliament-ruby.gemspec
7
+
8
+ deploy:
9
+ gem push parliament-ruby-*.gem
10
+
11
+ clean:
12
+ rm parliament-ruby-*.gem
13
+
14
+ release: build deploy clean
15
+
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
 
@@ -72,7 +72,7 @@ Parliament::Request.new.base_url #=> 'http://example.com'
72
72
  ### Building an 'endpoint'
73
73
  Now that we have a `base_url` set, we will want to build an 'endpoint' such as: `http://test.com/parties/current`.
74
74
 
75
- An endpoint is effectively just a full URL to an n-triple file on a remote server.
75
+ An endpoint is effectively just a full URL to an n-triple file on a remote server..
76
76
 
77
77
  Building an endpoint is simple, once you have a Parliament::Request object, you do something like this:
78
78
  ```ruby
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Parliament
2
- VERSION = '0.5.16'.freeze
2
+ VERSION = '0.5.17'.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.16
4
+ version: 0.5.17
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-10 00:00:00.000000000 Z
11
+ date: 2017-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grom
@@ -138,8 +138,8 @@ files:
138
138
  - CODE_OF_CONDUCT.md
139
139
  - Gemfile
140
140
  - LICENSE
141
+ - Makefile
141
142
  - README.md
142
- - Rakefile
143
143
  - bin/console
144
144
  - bin/setup
145
145
  - lib/parliament.rb
data/Rakefile DELETED
@@ -1,36 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
- require_relative 'lib/parliament/version'
4
- require 'open3'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- VERSION = Parliament::VERSION
9
-
10
- def run_command(cmd)
11
- Open3.popen3(cmd) do |stdin, stdout, stderr, wait_thr|
12
- exit_status = wait_thr.value
13
- unless exit_status.success?
14
- abort "#{cmd} FAILED !!!"
15
- end
16
- end
17
- end
18
-
19
- task :build do
20
- run_command("gem build parliament-ruby.gemspec")
21
- end
22
-
23
- task :push do
24
- run_command("gem push parliament-ruby-#{VERSION}.gem")
25
- end
26
-
27
- task :clean do
28
- run_command("rm parliament-ruby-#{VERSION}.gem")
29
- end
30
-
31
- #task default: :build
32
- task :spec => :build
33
- task :push => :spec
34
- task :clean => :push
35
- task default: :clean
36
-