de.oddb 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/Guide.txt +16 -0
- data/Manifest.txt +31 -0
- data/Rakefile +3 -0
- data/doc/index.rbx +16 -0
- data/doc/resources/downloads/datadesc/chde.xls.txt +39 -0
- data/doc/resources/downloads/datadesc/de.oddb.csv.txt +43 -0
- data/doc/resources/downloads/datadesc/de.oddb.yaml.txt +160 -0
- data/doc/resources/downloads/datadesc/fachinfos.de.oddb.yaml.txt +65 -0
- data/doc/resources/downloads/examples/chde.xls +0 -0
- data/doc/resources/downloads/examples/compendium_de.oddb.org.firefox.epub +0 -0
- data/doc/resources/downloads/examples/compendium_de.oddb.org.htc.prc +0 -0
- data/doc/resources/downloads/examples/compendium_de.oddb.org.kindle.mobi +0 -0
- data/doc/resources/downloads/examples/compendium_de.oddb.org.stanza.epub +0 -0
- data/doc/resources/downloads/examples/de.oddb.csv +84 -0
- data/doc/resources/downloads/examples/de.oddb.yaml +15999 -0
- data/doc/resources/downloads/examples/fachinfos.de.oddb.yaml +56925 -0
- data/doc/resources/downloads/examples/patinfos.de.oddb.yaml +37265 -0
- data/doc/resources/downloads/examples/patinfos_de.oddb.org.firefox.epub +0 -0
- data/doc/resources/downloads/examples/patinfos_de.oddb.org.htc.prc +0 -0
- data/doc/resources/downloads/examples/patinfos_de.oddb.org.kindle.mobi +0 -0
- data/doc/resources/downloads/examples/patinfos_de.oddb.org.stanza.epub +0 -0
- data/doc/resources/errors/appdown.html +14 -0
- data/doc/resources/images/delicious.gif +0 -0
- data/doc/resources/images/digg.gif +0 -0
- data/doc/resources/images/simpy.gif +0 -0
- data/doc/resources/images/stumble.gif +0 -0
- data/doc/resources/javascript/admin.js +15 -0
- data/doc/resources/javascript/autofill.js +21 -0
- data/doc/resources/javascript/opener.js +29 -0
- data/doc/resources/livemarks16.png +0 -0
- data/doc/resources/mm/logo.png +0 -0
- data/doc/resources/mm/oddb.css +481 -0
- data/doc/resources/oddb/logo.png +0 -0
- data/doc/resources/oddb/oddb.css +534 -0
- data/lib/oddb.rb +1 -1
- data/lib/oddb/import/gkv.rb +1 -1
- metadata +46 -10
data/lib/oddb.rb
CHANGED
data/lib/oddb/import/gkv.rb
CHANGED
@@ -179,7 +179,7 @@ class Gkv < Importer
|
|
179
179
|
agent.dose = dose
|
180
180
|
save agent
|
181
181
|
substance = agent.substance
|
182
|
-
if(substance.name != name)
|
182
|
+
if(name && substance.name != name)
|
183
183
|
substance.name.add_synonym(name) && save(substance)
|
184
184
|
end
|
185
185
|
elsif(substance = import_substance(name))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: de.oddb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-12 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 41
|
30
30
|
segments:
|
31
31
|
- 2
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 2.
|
32
|
+
- 9
|
33
|
+
- 1
|
34
|
+
version: 2.9.1
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
description: Open Drug Database for Germany. Live at http://de.oddb.org
|
@@ -49,6 +49,10 @@ extra_rdoc_files:
|
|
49
49
|
- LICENCE.txt
|
50
50
|
- Manifest.txt
|
51
51
|
- README.txt
|
52
|
+
- doc/resources/downloads/datadesc/chde.xls.txt
|
53
|
+
- doc/resources/downloads/datadesc/de.oddb.csv.txt
|
54
|
+
- doc/resources/downloads/datadesc/de.oddb.yaml.txt
|
55
|
+
- doc/resources/downloads/datadesc/fachinfos.de.oddb.yaml.txt
|
52
56
|
files:
|
53
57
|
- Guide.txt
|
54
58
|
- History.txt
|
@@ -88,6 +92,37 @@ files:
|
|
88
92
|
- data/fulltext/redist/french_stem.h
|
89
93
|
- data/fulltext/redist/german_stem.c
|
90
94
|
- data/fulltext/redist/german_stem.h
|
95
|
+
- doc/index.rbx
|
96
|
+
- doc/resources/downloads/datadesc/chde.xls.txt
|
97
|
+
- doc/resources/downloads/datadesc/de.oddb.csv.txt
|
98
|
+
- doc/resources/downloads/datadesc/de.oddb.yaml.txt
|
99
|
+
- doc/resources/downloads/datadesc/fachinfos.de.oddb.yaml.txt
|
100
|
+
- doc/resources/downloads/examples/chde.xls
|
101
|
+
- doc/resources/downloads/examples/compendium_de.oddb.org.firefox.epub
|
102
|
+
- doc/resources/downloads/examples/compendium_de.oddb.org.htc.prc
|
103
|
+
- doc/resources/downloads/examples/compendium_de.oddb.org.kindle.mobi
|
104
|
+
- doc/resources/downloads/examples/compendium_de.oddb.org.stanza.epub
|
105
|
+
- doc/resources/downloads/examples/de.oddb.csv
|
106
|
+
- doc/resources/downloads/examples/de.oddb.yaml
|
107
|
+
- doc/resources/downloads/examples/fachinfos.de.oddb.yaml
|
108
|
+
- doc/resources/downloads/examples/patinfos.de.oddb.yaml
|
109
|
+
- doc/resources/downloads/examples/patinfos_de.oddb.org.firefox.epub
|
110
|
+
- doc/resources/downloads/examples/patinfos_de.oddb.org.htc.prc
|
111
|
+
- doc/resources/downloads/examples/patinfos_de.oddb.org.kindle.mobi
|
112
|
+
- doc/resources/downloads/examples/patinfos_de.oddb.org.stanza.epub
|
113
|
+
- doc/resources/errors/appdown.html
|
114
|
+
- doc/resources/images/delicious.gif
|
115
|
+
- doc/resources/images/digg.gif
|
116
|
+
- doc/resources/images/simpy.gif
|
117
|
+
- doc/resources/images/stumble.gif
|
118
|
+
- doc/resources/javascript/admin.js
|
119
|
+
- doc/resources/javascript/autofill.js
|
120
|
+
- doc/resources/javascript/opener.js
|
121
|
+
- doc/resources/livemarks16.png
|
122
|
+
- doc/resources/mm/logo.png
|
123
|
+
- doc/resources/mm/oddb.css
|
124
|
+
- doc/resources/oddb/logo.png
|
125
|
+
- doc/resources/oddb/oddb.css
|
91
126
|
- jobs/export_chde_xls
|
92
127
|
- jobs/export_csv
|
93
128
|
- jobs/export_fachinfo_yaml
|
@@ -480,6 +515,7 @@ files:
|
|
480
515
|
- test/util/test_updater.rb
|
481
516
|
- test/util/test_ydim.rb
|
482
517
|
- test/util/test_yus.rb
|
518
|
+
- .gemtest
|
483
519
|
has_rdoc: true
|
484
520
|
homepage: http://scm.ywesee.com/?p=de.oddb.org/.git;a=summary
|
485
521
|
licenses: []
|
@@ -511,7 +547,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
511
547
|
requirements: []
|
512
548
|
|
513
549
|
rubyforge_project: de.oddb
|
514
|
-
rubygems_version: 1.
|
550
|
+
rubygems_version: 1.5.2
|
515
551
|
signing_key:
|
516
552
|
specification_version: 3
|
517
553
|
summary: Open Drug Database for Germany
|