twingly-search 5.1.0 → 5.1.1
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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/twingly/search/query.rb +1 -1
- data/lib/twingly/search/version.rb +1 -1
- data/spec/query_spec.rb +5 -5
- 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: 60adc47513e35c4778e60e15ba44d38b4c2f229e
|
4
|
+
data.tar.gz: 98023f64eab7ceb86066f3d06de920d9ebdb113d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80a9a299d9be055afb7acd3b96ab71b5abd140b0ea0e7764d48f39979ee45619218b13f5a3941a33b92abf4d4b611351703f81451537986d70cc54c7a063aabf
|
7
|
+
data.tar.gz: b33ba8f7f5075ef854bfd0dbea4c586b15ee2c4df8e5775ad196b6802ab827e7d2737fb6bc43e064da3912ba4a8f4a8e505a93f3d7c3b738333ec4bdb466713b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v5.1.0](https://github.com/twingly/twingly-search-api-ruby/tree/v5.1.0) (2017-05-09)
|
4
|
+
[Full Changelog](https://github.com/twingly/twingly-search-api-ruby/compare/v5.0.1...v5.1.0)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Ruby 1.9.3 and Ruby 2.0.0 can't use nokogiri \>= 1.7.0 \(build failures\) [\#61](https://github.com/twingly/twingly-search-api-ruby/issues/61)
|
9
|
+
- rack-2.0.1 requires ruby version \>= 2.2.2, which is incompatible with the current version [\#58](https://github.com/twingly/twingly-search-api-ruby/issues/58)
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Update Search client to Search API v3 [\#65](https://github.com/twingly/twingly-search-api-ruby/pull/65) ([roback](https://github.com/roback))
|
14
|
+
- Add LiveFeed v5 client [\#64](https://github.com/twingly/twingly-search-api-ruby/pull/64) ([roback](https://github.com/roback))
|
15
|
+
- Drop support for old Ruby versions \(1.9.3 and 2.0.0\) [\#62](https://github.com/twingly/twingly-search-api-ruby/pull/62) ([dentarg](https://github.com/dentarg))
|
16
|
+
- Add support for post outlinks [\#60](https://github.com/twingly/twingly-search-api-ruby/pull/60) ([dentarg](https://github.com/dentarg))
|
17
|
+
- Use any rake 11 version [\#59](https://github.com/twingly/twingly-search-api-ruby/pull/59) ([dentarg](https://github.com/dentarg))
|
18
|
+
|
3
19
|
## [v5.0.1](https://github.com/twingly/twingly-search-api-ruby/tree/v5.0.1) (2016-03-03)
|
4
20
|
[Full Changelog](https://github.com/twingly/twingly-search-api-ruby/compare/v5.0.0...v5.0.1)
|
5
21
|
|
data/lib/twingly/search/query.rb
CHANGED
data/spec/query_spec.rb
CHANGED
@@ -91,7 +91,7 @@ describe Query do
|
|
91
91
|
let(:time) { Time.parse(timestamp) }
|
92
92
|
|
93
93
|
it "should not change timezone" do
|
94
|
-
expect(subject.request_parameters.fetch(:q)).to include("2016-02-09T09:01:
|
94
|
+
expect(subject.request_parameters.fetch(:q)).to include("2016-02-09T09:01:22Z")
|
95
95
|
end
|
96
96
|
|
97
97
|
it "should not modify the given time object" do
|
@@ -117,7 +117,7 @@ describe Query do
|
|
117
117
|
let(:time) { Time.parse(timestamp) }
|
118
118
|
|
119
119
|
it "should convert to UTC" do
|
120
|
-
expect(subject.request_parameters.fetch(:q)).to include("2016-02-09T04:01:
|
120
|
+
expect(subject.request_parameters.fetch(:q)).to include("2016-02-09T04:01:22Z")
|
121
121
|
end
|
122
122
|
|
123
123
|
it "should not modify the given time object" do
|
@@ -158,7 +158,7 @@ describe Query do
|
|
158
158
|
let(:time) { Time.parse(timestamp) }
|
159
159
|
|
160
160
|
it "should not change timezone" do
|
161
|
-
expect(subject.request_parameters.fetch(:q)).to include("end-date:2016-02-09T09:01:
|
161
|
+
expect(subject.request_parameters.fetch(:q)).to include("end-date:2016-02-09T09:01:22Z")
|
162
162
|
end
|
163
163
|
|
164
164
|
it "should not modify the given time object" do
|
@@ -184,7 +184,7 @@ describe Query do
|
|
184
184
|
let(:time) { Time.parse(timestamp) }
|
185
185
|
|
186
186
|
it "should convert to UTC" do
|
187
|
-
expect(subject.request_parameters.fetch(:q)).to include("end-date:2016-02-09T04:01:
|
187
|
+
expect(subject.request_parameters.fetch(:q)).to include("end-date:2016-02-09T04:01:22Z")
|
188
188
|
end
|
189
189
|
|
190
190
|
it "should not modify the given time object" do
|
@@ -221,7 +221,7 @@ describe Query do
|
|
221
221
|
|
222
222
|
it "should encode url paramters" do
|
223
223
|
subject.end_time = Time.parse("2013-12-28 09:01:22 UTC")
|
224
|
-
expect(subject.url_parameters).to include('end-date%3A2013-12-28T09%3A01%
|
224
|
+
expect(subject.url_parameters).to include('end-date%3A2013-12-28T09%3A01%3A22Z')
|
225
225
|
end
|
226
226
|
end
|
227
227
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twingly-search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twingly AB
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|