entasis 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +3 -0
- data/lib/entasis/model.rb +1 -1
- data/lib/entasis/version.rb +1 -1
- data/spec/entasis_spec.rb +4 -0
- metadata +2 -2
data/HISTORY
CHANGED
data/lib/entasis/model.rb
CHANGED
data/lib/entasis/version.rb
CHANGED
data/spec/entasis_spec.rb
CHANGED
@@ -15,6 +15,10 @@ describe "Entasis::Model" do
|
|
15
15
|
Person.new(undefined: 'value')
|
16
16
|
}.to raise_error Person::UnknownAttributeError, 'unkown attribute: undefined'
|
17
17
|
end
|
18
|
+
|
19
|
+
it "does not require attribute hash" do
|
20
|
+
expect { Person.new }.to_not raise_error
|
21
|
+
end
|
18
22
|
end
|
19
23
|
|
20
24
|
describe "#attribute_names" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entasis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|