loquor 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/loquor/api_calls/show.rb +1 -0
- data/lib/loquor/version.rb +1 -1
- data/test/api_calls/show_test.rb +6 -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: b14ec844bf79eac498b70b9739422cdd7cbd0ed7
|
4
|
+
data.tar.gz: f290db8cbc26f200838a8601d6c482cfbbcc67cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7debfdd1ed58223f03019643d9e04f6bb4c0ee0e1a94dbc13dbe36a85d930b9a44b6ec1b6115a1a250318d80a08606e7940cfc66046147a7f2e96d9d567f705
|
7
|
+
data.tar.gz: 5a40d2a8daa698f2bcee5e411e33dd1034fc4af6d255cfba760104092e28d28bfd311b51c59d51d475dcaa309ae8c1dc59d4c05a9facb4cf61a61a9c71697e48
|
data/CHANGELOG.md
CHANGED
data/lib/loquor/version.rb
CHANGED
data/test/api_calls/show_test.rb
CHANGED
@@ -12,6 +12,12 @@ module Loquor
|
|
12
12
|
self.cache = true
|
13
13
|
end
|
14
14
|
|
15
|
+
def test_request_should_not_send_for_nil_id
|
16
|
+
show = ApiCall::Show.new(NormalResource, nil)
|
17
|
+
Loquor.expects(:get).never
|
18
|
+
show.execute
|
19
|
+
end
|
20
|
+
|
15
21
|
def test_request_correct_path
|
16
22
|
show = ApiCall::Show.new(NormalResource, 42)
|
17
23
|
Loquor.expects(:get).with('/normal/42', {cache: nil}).returns({}.to_json)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loquor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: filum
|