cortex-client 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: fb83225cad244a44c14e2f7eac793daff803a9bc
4
- data.tar.gz: bbe736c07d50f35902b9879c879a016a94d1b49c
3
+ metadata.gz: 1924b4d0bb93e904774f038ad782b6cea0bbe81e
4
+ data.tar.gz: 3d6acf30a4ecd16adc9f5659dc040e504f8db1bd
5
5
  SHA512:
6
- metadata.gz: 7fa0e7bc0e48dcad5a5d0b3aeb4c09f548d8218d7cf42285db201881cf0016ba8237935d9be6f2e8ca25a12a3dd90c591ad42e6fccdcf65a6aaeb29330c65a2a
7
- data.tar.gz: bacb0814c8fdb71d874c618bf9ca8a82d9d96537a66eb08b5026a5e4bbab32433bcee7ec7e8378a06809458166a443e1733f90eed1804fa5f7c04397bf084ff1
6
+ metadata.gz: 74f73137d6c06cccab2c14e8618ca0f2e3456616b7f26b725bd3d4cfb5e9e3e4b26321f30a2b492b1638a5d872cbb597ff1fefa33d82c290c504e0a707c01494
7
+ data.tar.gz: f6e92c5d3a706491f230588d63e74afe20814c10b2bc6f87e0ebf1c0840ce6c40e1f5493c3d85f81a9cd81ad78bef726c89e82d86888141f20997d2b9b2166f8
@@ -1,3 +1,3 @@
1
1
  module Cortex
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
data/spec/posts_spec.rb CHANGED
@@ -54,4 +54,11 @@ describe Cortex::Posts do
54
54
  client.posts.related(1).should == 'success'
55
55
  end
56
56
  end
57
+
58
+ describe :authors do
59
+ it 'should correctly make the request' do
60
+ client.should_receive(:get).with('/posts/feed/authors').and_return('success')
61
+ client.posts.authors.should == 'success'
62
+ end
63
+ end
57
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-client
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
  - Bennett Goble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-06 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake