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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 250d1d9dae9bab786afeab2a2b07892aab3872ad
4
- data.tar.gz: 0746dbb1fa4d42a84434d213a34ab753687d1779
3
+ metadata.gz: d202deb35166f4cf62cdc892335187193ea3dac3
4
+ data.tar.gz: 75b5bb034931cd8eba82fa71c0a1597a820695fc
5
5
  SHA512:
6
- metadata.gz: 8955c879c60031266a42b9a9490ed081d83001162fa07b07a3da04fdf2e7b1919d556d94ce1f2f44739246fcb04741204d538e40e12579bf482523094f26eeb6
7
- data.tar.gz: 6ed1db32551e9bbe7906cf6b72fc439c9b8689bed5a98c198885be8186d05335dbcdb7c5b8c1a466980359145868315505793c389f8359c5021e44b184623dbb
6
+ metadata.gz: 96d22cb2b55d183924b9afc2b8293845ffb25f0062f8b8333c98eff9333707278a1ece178abc521de37a34683b8150969a683948173daea445811e2f3f07ed25
7
+ data.tar.gz: 9e4894d6ff875147c177018e651060f175ca1c8050f727561ca385cb52190ee8813f3e33be852bf62ea6a42abb09c54f7a81efb77d873cd30914b3d804f5e258
@@ -0,0 +1 @@
1
+ 2.2.3
@@ -3,3 +3,4 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  - 2.1.1
6
+ - 2.2.3
data/README.md CHANGED
@@ -119,6 +119,7 @@ implementations:
119
119
  * Ruby 1.9
120
120
  * Ruby 2.0
121
121
  * Ruby 2.1
122
+ * Ruby 2.2
122
123
 
123
124
  ## Contributing
124
125
 
@@ -1,7 +1,7 @@
1
1
  module Giphy
2
2
  module Search
3
- def recent(options={})
4
- result = client.recent(options)
3
+ def trending(options={})
4
+ result = client.trending(options)
5
5
  gif.build_batch_from(result)
6
6
  end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Giphy
2
- VERSION = "2.0.2"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -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 "#recent" do
15
+ describe "#trending" do
16
16
  it "returns a batch of Gifs from the client result" do
17
- allow(client).to receive(:recent).with(options).and_return(client_result)
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.recent(options)).to eq response
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: 2.0.2
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-05-29 00:00:00.000000000 Z
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.5
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