giphy 2.0.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/.travis.yml +1 -0
- data/README.md +1 -0
- data/lib/giphy/search.rb +2 -2
- data/lib/giphy/version.rb +1 -1
- data/spec/giphy/search_spec.rb +3 -3
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d202deb35166f4cf62cdc892335187193ea3dac3
|
4
|
+
data.tar.gz: 75b5bb034931cd8eba82fa71c0a1597a820695fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96d22cb2b55d183924b9afc2b8293845ffb25f0062f8b8333c98eff9333707278a1ece178abc521de37a34683b8150969a683948173daea445811e2f3f07ed25
|
7
|
+
data.tar.gz: 9e4894d6ff875147c177018e651060f175ca1c8050f727561ca385cb52190ee8813f3e33be852bf62ea6a42abb09c54f7a81efb77d873cd30914b3d804f5e258
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.3
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
data/lib/giphy/search.rb
CHANGED
data/lib/giphy/version.rb
CHANGED
data/spec/giphy/search_spec.rb
CHANGED
@@ -12,11 +12,11 @@ describe Giphy::Search do
|
|
12
12
|
|
13
13
|
before { allow(Giphy::Client).to receive(:new).and_return(client) }
|
14
14
|
|
15
|
-
describe "#
|
15
|
+
describe "#trending" do
|
16
16
|
it "returns a batch of Gifs from the client result" do
|
17
|
-
allow(client).to receive(:
|
17
|
+
allow(client).to receive(:trending).with(options).and_return(client_result)
|
18
18
|
allow(Giphy::Gif).to receive(:build_batch_from).with(client_result).and_return(response)
|
19
|
-
expect(subject.
|
19
|
+
expect(subject.trending(options)).to eq response
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giphy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Sogamoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,6 +132,7 @@ extra_rdoc_files: []
|
|
132
132
|
files:
|
133
133
|
- ".gitignore"
|
134
134
|
- ".rspec"
|
135
|
+
- ".ruby-version"
|
135
136
|
- ".travis.yml"
|
136
137
|
- Gemfile
|
137
138
|
- LICENSE.md
|
@@ -197,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
198
|
version: '0'
|
198
199
|
requirements: []
|
199
200
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.4.
|
201
|
+
rubygems_version: 2.4.8
|
201
202
|
signing_key:
|
202
203
|
specification_version: 4
|
203
204
|
summary: Enjoy Giphy API from you Ruby programs and command line
|