spec_support 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/spec_support/check_all_columns.rb +2 -3
- data/lib/spec_support/version.rb +1 -1
- metadata +10 -10
data/README.rdoc
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
+
# FIXME scope this to an RSpec sub module
|
1
2
|
def check_all_columns(instance)
|
2
3
|
instance.class.columns.each do |column|
|
3
|
-
|
4
|
-
instance.send(:"#{column.name}").should_not be_nil
|
5
|
-
end
|
4
|
+
instance.send(:"#{column.name}").should_not be_nil
|
6
5
|
end
|
7
6
|
end
|
data/lib/spec_support/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spec_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01
|
12
|
+
date: 2012-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &85090780 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *85090780
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3
|
27
|
-
requirement: &
|
27
|
+
requirement: &85090560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *85090560
|
36
36
|
description: Add useful spec/support functionalities that come back in each project
|
37
37
|
email:
|
38
38
|
- peter@vandenabeele.com
|
@@ -40,10 +40,10 @@ executables: []
|
|
40
40
|
extensions: []
|
41
41
|
extra_rdoc_files: []
|
42
42
|
files:
|
43
|
-
- lib/spec_support.rb
|
44
|
-
- lib/tasks/spec_support_tasks.rake
|
45
43
|
- lib/spec_support/version.rb
|
46
44
|
- lib/spec_support/check_all_columns.rb
|
45
|
+
- lib/spec_support.rb
|
46
|
+
- lib/tasks/spec_support_tasks.rake
|
47
47
|
- MIT-LICENSE
|
48
48
|
- Rakefile
|
49
49
|
- README.rdoc
|
@@ -61,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
61
|
version: '0'
|
62
62
|
segments:
|
63
63
|
- 0
|
64
|
-
hash:
|
64
|
+
hash: 80266003
|
65
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
66
|
none: false
|
67
67
|
requirements:
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
segments:
|
72
72
|
- 0
|
73
|
-
hash:
|
73
|
+
hash: 80266003
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
76
|
rubygems_version: 1.8.10
|