bio-svgenes 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/VERSION +1 -1
- data/bio-svgenes.gemspec +3 -3
- data/examples/draw_from_json.rb +0 -1
- data/lib/bio/graphics/page.rb +2 -1
- metadata +96 -62
data/.DS_Store
CHANGED
Binary file
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/bio-svgenes.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "bio-svgenes"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan MacLean"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-01-18"
|
13
13
|
s.description = "This bio-gem facilitates the creation of pretty, publication quality SVG images from feature data."
|
14
14
|
s.email = "maclean.daniel@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -54,7 +54,7 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.homepage = "http://github.com/danmaclean/bioruby-svgenes"
|
55
55
|
s.licenses = ["MIT"]
|
56
56
|
s.require_paths = ["lib"]
|
57
|
-
s.rubygems_version = "1.8.
|
57
|
+
s.rubygems_version = "1.8.11"
|
58
58
|
s.summary = "Create pretty SVG-format images of features, gene models and data tracks"
|
59
59
|
|
60
60
|
if s.respond_to? :specification_version then
|
data/examples/draw_from_json.rb
CHANGED
data/lib/bio/graphics/page.rb
CHANGED
@@ -25,6 +25,7 @@ class Page
|
|
25
25
|
def self.from_json(args)
|
26
26
|
require 'rubygems'
|
27
27
|
require 'json'
|
28
|
+
puts "memememe"
|
28
29
|
data = JSON.parse(File.open(args[:json], 'r').read)
|
29
30
|
p = Page.new(:width => data["Page"]["width"],
|
30
31
|
:height => data["Page"]["height"],
|
@@ -262,7 +263,7 @@ class Page
|
|
262
263
|
end
|
263
264
|
|
264
265
|
def write(file)
|
265
|
-
File.open(file, 'w').write(get_markup)
|
266
|
+
File.open(file, 'w').write(get_markup)
|
266
267
|
end
|
267
268
|
end
|
268
269
|
end
|
metadata
CHANGED
@@ -1,80 +1,108 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-svgenes
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Dan MacLean
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
+
|
18
|
+
date: 2013-01-18 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
version_requirements: *id001
|
33
|
+
name: shoulda
|
34
|
+
- !ruby/object:Gem::Dependency
|
22
35
|
type: :development
|
23
36
|
prerelease: false
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: bundler
|
27
|
-
requirement: &70110120233360 !ruby/object:Gem::Requirement
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
39
|
+
requirements:
|
30
40
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 23
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 0
|
46
|
+
- 0
|
32
47
|
version: 1.0.0
|
48
|
+
version_requirements: *id002
|
49
|
+
name: bundler
|
50
|
+
- !ruby/object:Gem::Dependency
|
33
51
|
type: :development
|
34
52
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: jeweler
|
38
|
-
requirement: &70110120232860 !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
|
-
requirements:
|
55
|
+
requirements:
|
41
56
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 7
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 6
|
62
|
+
- 4
|
43
63
|
version: 1.6.4
|
64
|
+
version_requirements: *id003
|
65
|
+
name: jeweler
|
66
|
+
- !ruby/object:Gem::Dependency
|
44
67
|
type: :development
|
45
68
|
prerelease: false
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rcov
|
49
|
-
requirement: &70110120232320 !ruby/object:Gem::Requirement
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
70
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
version_requirements: *id004
|
79
|
+
name: rcov
|
80
|
+
- !ruby/object:Gem::Dependency
|
55
81
|
type: :development
|
56
82
|
prerelease: false
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: bio
|
60
|
-
requirement: &70110120231820 !ruby/object:Gem::Requirement
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
84
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 1
|
91
|
+
- 4
|
92
|
+
- 2
|
65
93
|
version: 1.4.2
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
description: This bio-gem facilitates the creation of pretty, publication quality
|
70
|
-
SVG images from feature data.
|
94
|
+
version_requirements: *id005
|
95
|
+
name: bio
|
96
|
+
description: This bio-gem facilitates the creation of pretty, publication quality SVG images from feature data.
|
71
97
|
email: maclean.daniel@gmail.com
|
72
98
|
executables: []
|
99
|
+
|
73
100
|
extensions: []
|
74
|
-
|
101
|
+
|
102
|
+
extra_rdoc_files:
|
75
103
|
- LICENSE.txt
|
76
104
|
- README.rdoc
|
77
|
-
files:
|
105
|
+
files:
|
78
106
|
- .DS_Store
|
79
107
|
- .document
|
80
108
|
- Gemfile
|
@@ -109,31 +137,37 @@ files:
|
|
109
137
|
- test/helper.rb
|
110
138
|
- test/test_bio-svgenes.rb
|
111
139
|
homepage: http://github.com/danmaclean/bioruby-svgenes
|
112
|
-
licenses:
|
140
|
+
licenses:
|
113
141
|
- MIT
|
114
142
|
post_install_message:
|
115
143
|
rdoc_options: []
|
116
|
-
|
144
|
+
|
145
|
+
require_paths:
|
117
146
|
- lib
|
118
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
119
148
|
none: false
|
120
|
-
requirements:
|
121
|
-
- -
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
|
124
|
-
segments:
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
hash: 3
|
153
|
+
segments:
|
125
154
|
- 0
|
126
|
-
|
127
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
version: "0"
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
157
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
hash: 3
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
133
165
|
requirements: []
|
166
|
+
|
134
167
|
rubyforge_project:
|
135
|
-
rubygems_version: 1.8.
|
168
|
+
rubygems_version: 1.8.11
|
136
169
|
signing_key:
|
137
170
|
specification_version: 3
|
138
171
|
summary: Create pretty SVG-format images of features, gene models and data tracks
|
139
172
|
test_files: []
|
173
|
+
|