tinderbot 0.0.5 → 0.0.6

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: 9e89d1bf14528e439e89866b3ec9e75452f429c0
4
- data.tar.gz: d1a3c038c99dd793854b204a84c23f48062bc624
3
+ metadata.gz: 84853898e9d2cc0998d3d44d659bb9e767b51c09
4
+ data.tar.gz: ef39b53b0ac78c8c090f0f4020f0b70548ac7341
5
5
  SHA512:
6
- metadata.gz: d93a860c48752a0a3067a15663f97a9a89495479f66d39772bb4bc1ad49ea15290136bb5e6c7864461378641b0c3797df7bf095a1aed78b5d0d58d5d8375b21a
7
- data.tar.gz: fe417b4a5c1aadb65d69627c3d603166977ca50dc02113753f84e47af279c9a9ab7357e6344e7f7cb5e5f9decefb55e14cade91963439dc463e5e43e6e37e5b0
6
+ metadata.gz: 8d829e7abf8623650226008e7e23c710ebb61a87d8b4619f651845f0a4faa210d916fde9cdce7b1ba57c6c274c82d5f3ec27f69aa15d5b48bb9e987279684c38
7
+ data.tar.gz: 73e10a13e17d9124dd91136e2b2ddda63d5a22e4a1f74c276fadec7fd68d94af1fcec39ce073b69974a6b52ec510571ac976489f49ef6c723c4e830133fc473e
@@ -29,7 +29,7 @@ module Tinderbot
29
29
  end
30
30
 
31
31
  def updates
32
- JSON.parse(@connection.get('updates').body)
32
+ JSON.parse(@connection.post('updates').body)
33
33
  end
34
34
 
35
35
  def recommended_users
@@ -1,3 +1,3 @@
1
1
  module Tinderbot
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
@@ -36,7 +36,7 @@ describe Tinderbot::Tinder::Client do
36
36
  describe '.updates' do
37
37
  let(:updates_response) { open('spec/fixtures/updates.json').read }
38
38
 
39
- before { expect(connection).to receive(:get).with('updates').and_return(connection) }
39
+ before { expect(connection).to receive(:post).with('updates').and_return(connection) }
40
40
  before { expect(connection).to receive(:body).and_return(updates_response) }
41
41
 
42
42
  subject { tinder_client.updates }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinderbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Venezia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-24 00:00:00.000000000 Z
11
+ date: 2014-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler