scaffolder-test-helpers 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/scaffolder/test/sequence.rb +5 -0
- data/scaffolder-test-helpers.gemspec +3 -6
- data/spec/scaffolder/test/sequence_spec.rb +11 -0
- metadata +12 -27
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -19,7 +19,7 @@ require 'jeweler'
|
|
19
19
|
Jeweler::Tasks.new do |gem|
|
20
20
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
21
21
|
gem.name = "scaffolder-test-helpers"
|
22
|
-
gem.homepage = "http://
|
22
|
+
gem.homepage = "http://next.gs"
|
23
23
|
gem.license = "MIT"
|
24
24
|
gem.summary = %Q{Methods and classes for testing scaffolder.}
|
25
25
|
gem.description = %Q{Useful Helper methods and classes for testing scaffolder.}
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{scaffolder-test-helpers}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Barton"]
|
12
|
-
s.date = %q{2011-04-
|
12
|
+
s.date = %q{2011-04-04}
|
13
13
|
s.description = %q{Useful Helper methods and classes for testing scaffolder.}
|
14
14
|
s.email = %q{mail@michaelbarton.me.uk}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
"spec/scaffolder/test/unresolved_spec.rb",
|
33
33
|
"spec/spec_helper.rb"
|
34
34
|
]
|
35
|
-
s.homepage = %q{http://
|
35
|
+
s.homepage = %q{http://next.gs}
|
36
36
|
s.licenses = ["MIT"]
|
37
37
|
s.require_paths = ["lib"]
|
38
38
|
s.rubygems_version = %q{1.3.7}
|
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
|
|
51
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
52
|
s.add_runtime_dependency(%q<bio>, ["~> 1.4"])
|
53
53
|
s.add_runtime_dependency(%q<scaffolder>, ["~> 0.4"])
|
54
|
-
s.add_runtime_dependency(%q<cucumber>, ["~> 0.9"])
|
55
54
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
56
55
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5"])
|
57
56
|
s.add_development_dependency(%q<rspec>, ["~> 2.2"])
|
@@ -59,7 +58,6 @@ Gem::Specification.new do |s|
|
|
59
58
|
else
|
60
59
|
s.add_dependency(%q<bio>, ["~> 1.4"])
|
61
60
|
s.add_dependency(%q<scaffolder>, ["~> 0.4"])
|
62
|
-
s.add_dependency(%q<cucumber>, ["~> 0.9"])
|
63
61
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
64
62
|
s.add_dependency(%q<jeweler>, ["~> 1.5"])
|
65
63
|
s.add_dependency(%q<rspec>, ["~> 2.2"])
|
@@ -68,7 +66,6 @@ Gem::Specification.new do |s|
|
|
68
66
|
else
|
69
67
|
s.add_dependency(%q<bio>, ["~> 1.4"])
|
70
68
|
s.add_dependency(%q<scaffolder>, ["~> 0.4"])
|
71
|
-
s.add_dependency(%q<cucumber>, ["~> 0.9"])
|
72
69
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
73
70
|
s.add_dependency(%q<jeweler>, ["~> 1.5"])
|
74
71
|
s.add_dependency(%q<rspec>, ["~> 2.2"])
|
@@ -49,4 +49,15 @@ describe Scaffolder::Test::Sequence do
|
|
49
49
|
|
50
50
|
end
|
51
51
|
|
52
|
+
describe "#clone" do
|
53
|
+
|
54
|
+
it "should also duplicate the internal options state" do
|
55
|
+
a = described_class.new(:name => 'contig1',:sequence => 'ATGCCC')
|
56
|
+
b = a.clone
|
57
|
+
|
58
|
+
a.instance_variable_get("@options").
|
59
|
+
should_not equal(b.instance_variable_get("@options"))
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
52
63
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scaffolder-test-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Barton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-04-
|
18
|
+
date: 2011-04-04 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -50,21 +50,6 @@ dependencies:
|
|
50
50
|
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 25
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 9
|
61
|
-
version: "0.9"
|
62
|
-
type: :runtime
|
63
|
-
name: cucumber
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
68
53
|
none: false
|
69
54
|
requirements:
|
70
55
|
- - ~>
|
@@ -77,9 +62,9 @@ dependencies:
|
|
77
62
|
type: :development
|
78
63
|
name: bundler
|
79
64
|
prerelease: false
|
80
|
-
version_requirements: *
|
65
|
+
version_requirements: *id003
|
81
66
|
- !ruby/object:Gem::Dependency
|
82
|
-
requirement: &
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
83
68
|
none: false
|
84
69
|
requirements:
|
85
70
|
- - ~>
|
@@ -92,9 +77,9 @@ dependencies:
|
|
92
77
|
type: :development
|
93
78
|
name: jeweler
|
94
79
|
prerelease: false
|
95
|
-
version_requirements: *
|
80
|
+
version_requirements: *id004
|
96
81
|
- !ruby/object:Gem::Dependency
|
97
|
-
requirement: &
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
98
83
|
none: false
|
99
84
|
requirements:
|
100
85
|
- - ~>
|
@@ -107,9 +92,9 @@ dependencies:
|
|
107
92
|
type: :development
|
108
93
|
name: rspec
|
109
94
|
prerelease: false
|
110
|
-
version_requirements: *
|
95
|
+
version_requirements: *id005
|
111
96
|
- !ruby/object:Gem::Dependency
|
112
|
-
requirement: &
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
113
98
|
none: false
|
114
99
|
requirements:
|
115
100
|
- - ~>
|
@@ -122,7 +107,7 @@ dependencies:
|
|
122
107
|
type: :development
|
123
108
|
name: yard
|
124
109
|
prerelease: false
|
125
|
-
version_requirements: *
|
110
|
+
version_requirements: *id006
|
126
111
|
description: Useful Helper methods and classes for testing scaffolder.
|
127
112
|
email: mail@michaelbarton.me.uk
|
128
113
|
executables: []
|
@@ -148,7 +133,7 @@ files:
|
|
148
133
|
- spec/scaffolder/test/unresolved_spec.rb
|
149
134
|
- spec/spec_helper.rb
|
150
135
|
has_rdoc: true
|
151
|
-
homepage: http://
|
136
|
+
homepage: http://next.gs
|
152
137
|
licenses:
|
153
138
|
- MIT
|
154
139
|
post_install_message:
|