genomer-plugin-view 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.travis.yml
ADDED
data/genomer-plugin-view.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.required_rubygems_version = "~> 1.8.0"
|
17
17
|
s.rubyforge_project = "genomer-view-plugin"
|
18
18
|
|
19
|
-
s.add_dependency "genomer", ">= 0.0.
|
19
|
+
s.add_dependency "genomer", ">= 0.0.6"
|
20
20
|
|
21
21
|
# Specs
|
22
22
|
s.add_development_dependency "rspec", "~> 2.9.0"
|
@@ -187,7 +187,7 @@ describe GenomerPluginView::Table do
|
|
187
187
|
end
|
188
188
|
|
189
189
|
it "should set the capitalise value to the product key" do
|
190
|
-
subject.should
|
190
|
+
subject.should have_identical_attributes cds({:attributes => {'product' => 'AbcD'}})
|
191
191
|
end
|
192
192
|
|
193
193
|
end
|
@@ -203,7 +203,7 @@ describe GenomerPluginView::Table do
|
|
203
203
|
end
|
204
204
|
|
205
205
|
it "should not change attributes" do
|
206
|
-
subject.should
|
206
|
+
subject.should have_identical_attributes cds({:attributes => attributes})
|
207
207
|
end
|
208
208
|
|
209
209
|
end
|
@@ -219,7 +219,7 @@ describe GenomerPluginView::Table do
|
|
219
219
|
end
|
220
220
|
|
221
221
|
it "should not change attributes" do
|
222
|
-
subject.should
|
222
|
+
subject.should have_identical_attributes cds({:attributes => attributes})
|
223
223
|
end
|
224
224
|
|
225
225
|
end
|
@@ -227,7 +227,7 @@ describe GenomerPluginView::Table do
|
|
227
227
|
describe "passed a gene with product and function attributes" do
|
228
228
|
|
229
229
|
let(:attributes) do
|
230
|
-
{'product' => 'abcd','function' => 'efgh'}
|
230
|
+
{'product' => 'abcd', 'function' => 'efgh'}
|
231
231
|
end
|
232
232
|
|
233
233
|
let(:annotations) do
|
@@ -235,7 +235,7 @@ describe GenomerPluginView::Table do
|
|
235
235
|
end
|
236
236
|
|
237
237
|
it "should not change attributes" do
|
238
|
-
subject.should
|
238
|
+
subject.should have_identical_attributes cds({:attributes => attributes})
|
239
239
|
end
|
240
240
|
|
241
241
|
end
|
@@ -251,7 +251,7 @@ describe GenomerPluginView::Table do
|
|
251
251
|
end
|
252
252
|
|
253
253
|
it "should map Name to product and product to function" do
|
254
|
-
subject.should
|
254
|
+
subject.should have_identical_attributes cds({:attributes =>
|
255
255
|
{'product' => 'AbcD','function' => 'efgh'}})
|
256
256
|
end
|
257
257
|
|
@@ -268,7 +268,7 @@ describe GenomerPluginView::Table do
|
|
268
268
|
end
|
269
269
|
|
270
270
|
it "should map Name to product and product to function" do
|
271
|
-
subject.should
|
271
|
+
subject.should have_identical_attributes cds({:attributes =>
|
272
272
|
{'product' => 'AbcD','function' => 'efgh'}})
|
273
273
|
end
|
274
274
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: genomer-plugin-view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: genomer
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.0.
|
29
|
+
version: 0.0.6
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,6 +132,7 @@ extra_rdoc_files: []
|
|
132
132
|
files:
|
133
133
|
- .document
|
134
134
|
- .gitignore
|
135
|
+
- .travis.yml
|
135
136
|
- Gemfile
|
136
137
|
- LICENSE.txt
|
137
138
|
- README.rdoc
|
@@ -179,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
180
|
version: '0'
|
180
181
|
segments:
|
181
182
|
- 0
|
182
|
-
hash:
|
183
|
+
hash: 2531486959390668075
|
183
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
185
|
none: false
|
185
186
|
requirements:
|