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 +4 -4
- data/lib/cortex/version.rb +1 -1
- data/spec/posts_spec.rb +7 -0
- 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: 1924b4d0bb93e904774f038ad782b6cea0bbe81e
|
4
|
+
data.tar.gz: 3d6acf30a4ecd16adc9f5659dc040e504f8db1bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74f73137d6c06cccab2c14e8618ca0f2e3456616b7f26b725bd3d4cfb5e9e3e4b26321f30a2b492b1638a5d872cbb597ff1fefa33d82c290c504e0a707c01494
|
7
|
+
data.tar.gz: f6e92c5d3a706491f230588d63e74afe20814c10b2bc6f87e0ebf1c0840ce6c40e1f5493c3d85f81a9cd81ad78bef726c89e82d86888141f20997d2b9b2166f8
|
data/lib/cortex/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|