values 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/values.rb +2 -0
- data/spec/values_spec.rb +4 -0
- data/values.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 340d3953a048a2f834e7ba19ccb6c0aa398daa3f
|
4
|
+
data.tar.gz: 46f9ca5a3e202932764860047af1057f796293c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4714a7b0a0bf4530ab839e80f37f4525aeb477c7f8dd7f71c94be9c7b37ed7276112d0d3bb3be0c0745200e7410e380bf3079e57166d841d506737afaebf88
|
7
|
+
data.tar.gz: 812ae35b719d58a583715147aef9563228bbf150dd12ffee00f03f0439eb0319b7a1387aeb34a7153454e1f2b78d1b180623475a599a83b6c8ffa09788ad59f5
|
data/lib/values.rb
CHANGED
data/spec/values_spec.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../lib/values')
|
2
2
|
describe 'values' do
|
3
|
+
it 'raises argument error if given zero fields' do
|
4
|
+
expect { Value.new }.to raise_error(ArgumentError, 'wrong number of arguments (0 for 1+)')
|
5
|
+
end
|
6
|
+
|
3
7
|
Cell = Value.new(:alive)
|
4
8
|
|
5
9
|
it 'stores a single field' do
|
data/values.gemspec
CHANGED