parliament-opensearch 0.5.2 → 0.6.0

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: 2190e2a927d2f778a12eb7e5474b74192a6ab509
4
- data.tar.gz: 8896c860dcf6cc0cac101094ecd782e02c38217d
3
+ metadata.gz: 9aaef22b881a53601e90f1795f861a18f3b8c6d6
4
+ data.tar.gz: c9052a9a6c15a060d22d587ffb72ca12225a7ac9
5
5
  SHA512:
6
- metadata.gz: c178d8552e196068e861ee98db2634148205c3902f32e314ba8e1d3391d81c10fdfc009d4fde29d9ba7e2d2a5c455b9c3c7ee789967ea8bcf90fdfb06b3c80c2
7
- data.tar.gz: 04b9fcefffc9e1ae7a7a7a0baa7a9697e8825ad154993870cf76834bb7a8ff123b9c763207bdaa70f6c52554c3473b5874b07b98b3fc60fca42cdcb7ba8f2f95
6
+ metadata.gz: caa76984a92b396ca0a5f7de48070c78039f20e5689d9345c74792b23a329154c9c333ac56eedb9626888d122d12879f69339700ea65f8adca9ae1d86b98c1c0
7
+ data.tar.gz: 5b54b76cb9eac0e17a64370bbeb76f583e24cc328b76b9e890a48ebd014fa29dbc1f55aeac59ea4efccc859dbcb1d116214fc2d949a46396cd4f5578350416d9
data/README.md CHANGED
@@ -15,7 +15,7 @@ Add this line to your application's Gemfile:
15
15
 
16
16
  This gem is currently not available on RubyGems. To use it in an application, install it directly from GitHub via your Gemfile
17
17
  ```bash
18
- gem 'parliament-opensearch', git: 'https://github.com/ukparliament/parliament-open-search.git', branch: 'master'
18
+ gem 'parliament-opensearch', git: 'https://github.com/ukparliament/parliament-opensearch.git', branch: 'master'
19
19
  ```
20
20
 
21
21
  You will also need to include the parliament-ruby gem. Add the following to your Gemfile:
@@ -70,7 +70,8 @@ module Parliament
70
70
 
71
71
  headers = {
72
72
  'Accept' => 'application/opensearchdescription+xml',
73
- 'Ocp-Apim-Subscription-Key' => ENV['OPENSEARCH_AUTH_TOKEN']
73
+ 'Ocp-Apim-Subscription-Key' => ENV['OPENSEARCH_AUTH_TOKEN'],
74
+ 'Api-Version' => ENV['PARLIAMENT_API_VERSION']
74
75
  }
75
76
  headers['Request-Id'] = "#{request_id}description-#{store.keys.length + 1}" if request_id
76
77
  request = Parliament::Request::BaseRequest.new(base_url: uri,
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module OpenSearch
3
- VERSION = '0.5.2'.freeze
3
+ VERSION = '0.6.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-opensearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rebecca Appleyard
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-03 00:00:00.000000000 Z
12
+ date: 2018-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: feedjira