loquor 1.9.0 → 1.10.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 +4 -1
- data/lib/loquor/resource_mock.rb +4 -0
- data/lib/loquor/version.rb +1 -1
- data/test/resource_mock_test.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce06b0b749cfa21d3d4f785b50cff2b975d166cb
|
4
|
+
data.tar.gz: 3d4db797d3e8a51fb463751922dc7d15a55a598e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89bfd95956816c3577513e97e6f37b71613bc2b6579a0c5ec54ba256efabea85fa0d8e044c6b9faaeff000fd820d40c6e8c6a687cb5f940f345746a4edbec7e2
|
7
|
+
data.tar.gz: 642f2fc972183d54dc6c95e7248685546cfe8f8bb70df6c064ce889914e6a3c7b8b825f97687dfc384dbbdd5aabb0075dc29262667bdd2953b232c43a8480a80
|
data/CHANGELOG.md
CHANGED
data/lib/loquor/resource_mock.rb
CHANGED
data/lib/loquor/version.rb
CHANGED
data/test/resource_mock_test.rb
CHANGED
@@ -42,6 +42,11 @@ module Loquor
|
|
42
42
|
assert_equal "undefined local variable or method 'cat' for Loquor::ResourceMockTest::Foobar", ex.message
|
43
43
|
end
|
44
44
|
|
45
|
+
def test_should_allow_any_attributes_for_custom_sample
|
46
|
+
foobar = Foobar.custom_sample(foo: 'bar')
|
47
|
+
assert_equal "bar", foobar.foo
|
48
|
+
end
|
49
|
+
|
45
50
|
def test_should_respond_to_create
|
46
51
|
name = "foobar123"
|
47
52
|
foobar = Foobar.create(name: name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loquor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.1.9
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: This library dispatches requests to Meducation
|
@@ -199,3 +199,4 @@ test_files:
|
|
199
199
|
- test/resource_mock_test.rb
|
200
200
|
- test/resource_test.rb
|
201
201
|
- test/test_helper.rb
|
202
|
+
has_rdoc:
|