restulicious 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restulicious/attributes.rb +1 -1
- data/lib/restulicious/version.rb +1 -1
- data/test/unit/attributes_test.rb +5 -0
- metadata +3 -3
data/lib/restulicious/version.rb
CHANGED
@@ -23,6 +23,11 @@ describe Restulicious::Attributes do
|
|
23
23
|
assert_equal 1234, object.id
|
24
24
|
end
|
25
25
|
|
26
|
+
it "no exception if attribute passed in that isn't known" do
|
27
|
+
object = DummyClass.new(unknown_attribute: 1234)
|
28
|
+
assert_nil object.instance_variable_get(:@unknown_attribute)
|
29
|
+
end
|
30
|
+
|
26
31
|
it "checks utf8 encoding"
|
27
32
|
|
28
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restulicious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
segments:
|
161
161
|
- 0
|
162
|
-
hash:
|
162
|
+
hash: 3646070466362267354
|
163
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
164
|
none: false
|
165
165
|
requirements:
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
segments:
|
170
170
|
- 0
|
171
|
-
hash:
|
171
|
+
hash: 3646070466362267354
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
174
|
rubygems_version: 1.8.24
|