parliament-opensearch 0.2.4 → 0.2.5

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: aa1e7fcde557b8ce18754819661d6caaa492639b
4
- data.tar.gz: 0a12a2c9bc5cae5071545c48c9b99380390eac4b
3
+ metadata.gz: 624c7a0bb16dc5fbc8da124f2625425f5a7a9934
4
+ data.tar.gz: 7eb3e957efe50ea05bd723dd8f275eac526e9e4c
5
5
  SHA512:
6
- metadata.gz: bb06ee7a2bf36541c6606dbb269266bc94d9effaa9fcc9fc2d123c0ed609ccceb6a3a7eab64f72acd5c0f6efa36a9dc3b6d301d371b7485d949254206ca4d130
7
- data.tar.gz: 3a63183474c23a308cffc5c93449ef7d5e8f75002a60c63ae61cba1d2c9d7f9e57755043c3af4c868705c3d50c58b9f7de7bf0d91be70da04faa060bb1301317
6
+ metadata.gz: b579f51e21cc50a84bd9832170d68630068f97ec241a3db299510d5cc69acd407b8567078a15ae14d581bdcd13a969f8625c3d552887a73b08cd86c5ccb47296
7
+ data.tar.gz: 63240287a3b8746dadd1d9767fb80d013dd64240085640611703b3ae7f82f200868c0e4261cdc045fa1dff352bd6d37611876b215d342713928b3d51c3bae6bf
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module OpenSearch
3
- VERSION = '0.2.4'.freeze
3
+ VERSION = '0.2.5'.freeze
4
4
  end
5
5
  end
@@ -71,7 +71,9 @@ module Parliament
71
71
  end
72
72
 
73
73
  request = Parliament::Request::BaseRequest.new(base_url: url,
74
- headers: {'Accept' => 'application/opensearchdescription+xml'})
74
+ headers: { 'Accept' => 'application/opensearchdescription+xml',
75
+ 'Ocp-Apim-Subscription-Key' => ENV['OPENSEARCH_AUTH_TOKEN']
76
+ })
75
77
  xml_response = request.get
76
78
 
77
79
  begin
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.2.4
4
+ version: 0.2.5
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: 2017-05-02 00:00:00.000000000 Z
12
+ date: 2017-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: feedjira