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 +4 -4
- data/README.md +1 -1
- data/lib/parliament/open_search/description_cache.rb +2 -1
- data/lib/parliament/open_search/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: 9aaef22b881a53601e90f1795f861a18f3b8c6d6
|
4
|
+
data.tar.gz: c9052a9a6c15a060d22d587ffb72ca12225a7ac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
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,
|
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.
|
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-
|
12
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: feedjira
|