caruby-tissue 1.2.1 → 1.2.2

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.
Files changed (64) hide show
  1. data/History.txt +4 -0
  2. data/LICENSE +1 -1
  3. data/README.md +79 -30
  4. data/bin/crtmigrate +2 -2
  5. data/{examples/galena/bin → bin}/migrate.rb +0 -0
  6. data/bin/seed +26 -0
  7. data/bin/seed.rb +43 -0
  8. data/conf/extract/simple_fields.yaml +4 -0
  9. data/conf/migration/filter_fields.yaml +7 -0
  10. data/{examples/galena/conf → conf}/migration/filter_migration.yaml +0 -0
  11. data/conf/migration/frozen_fields.yaml +11 -0
  12. data/{examples/galena/conf → conf}/migration/frozen_migration.yaml +0 -0
  13. data/conf/migration/general_fields.yaml +44 -0
  14. data/{examples/galena/conf → conf}/migration/general_migration.yaml +0 -0
  15. data/conf/migration/simple_fields.yaml +30 -0
  16. data/{examples/galena/conf → conf}/migration/simple_migration.yaml +0 -0
  17. data/{examples/galena/conf → conf}/migration/small_fields.yaml +0 -0
  18. data/{examples/galena/conf → conf}/migration/small_migration.yaml +0 -0
  19. data/examples/galena/README.md +46 -6
  20. data/examples/galena/bin/seed +26 -0
  21. data/examples/galena/conf/migration/frozen_fields.yaml +1 -0
  22. data/examples/galena/conf/migration/general_fields.yaml +2 -0
  23. data/examples/galena/data/filter.csv +1 -1
  24. data/examples/galena/data/frozen.csv +1 -1
  25. data/examples/galena/data/general.csv +1 -1
  26. data/examples/galena/doc/CaTissue.html +2 -2
  27. data/examples/galena/doc/CaTissue/Participant.html +1 -1
  28. data/examples/galena/doc/CaTissue/SpecimenCollectionGroup.html +1 -1
  29. data/examples/galena/doc/CaTissue/StorageContainer.html +6 -6
  30. data/examples/galena/doc/CaTissue/TissueSpecimen.html +1 -1
  31. data/examples/galena/doc/Galena.html +4 -122
  32. data/examples/galena/doc/Galena/Seed.html +1 -1
  33. data/examples/galena/doc/Galena/Seed/Defaults.html +28 -24
  34. data/examples/galena/doc/_index.html +1 -8
  35. data/examples/galena/doc/class_list.html +1 -1
  36. data/examples/galena/doc/file.README.html +52 -7
  37. data/examples/galena/doc/index.html +52 -7
  38. data/examples/galena/doc/method_list.html +9 -25
  39. data/examples/galena/doc/top-level-namespace.html +1 -1
  40. data/examples/galena/lib/galena/migration/frozen_shims.rb +4 -15
  41. data/examples/galena/lib/galena/seed/defaults.rb +16 -4
  42. data/{examples/galena/lib → lib}/README.html +0 -0
  43. data/lib/catissue/cli/command.rb +6 -9
  44. data/lib/catissue/cli/migrate.rb +11 -10
  45. data/lib/catissue/cli/smoke.rb +5 -5
  46. data/lib/catissue/database.rb +31 -8
  47. data/lib/catissue/domain/abstract_specimen.rb +1 -1
  48. data/lib/catissue/domain/collection_protocol.rb +29 -13
  49. data/lib/catissue/domain/participant_medical_identifier.rb +1 -1
  50. data/lib/catissue/domain/site.rb +3 -0
  51. data/lib/catissue/domain/specimen.rb +17 -14
  52. data/lib/catissue/domain/specimen_collection_group.rb +2 -5
  53. data/lib/catissue/extract/delta.rb +2 -6
  54. data/lib/catissue/migration/migrator.rb +6 -0
  55. data/lib/catissue/resource.rb +5 -2
  56. data/lib/catissue/util/log.rb +3 -3
  57. data/lib/catissue/version.rb +1 -1
  58. data/{examples/galena/lib → lib}/galena.rb +0 -0
  59. data/{examples/galena/bin → lib/galena/cli}/seed.rb +1 -1
  60. data/lib/galena/migration/filter_shims.rb +43 -0
  61. data/lib/galena/migration/frozen_shims.rb +53 -0
  62. data/lib/galena/seed/defaults.rb +109 -0
  63. metadata +27 -17
  64. data/examples/galena/doc/CaTissue/CollectionProtocolRegistration.html +0 -181
metadata CHANGED
@@ -10,33 +10,40 @@ executables:
10
10
  - crtsmoke
11
11
  version: !ruby/object:Gem::Version
12
12
  prerelease: false
13
- version: 1.2.1
13
+ version: 1.2.2
14
14
  segments:
15
15
  - 1
16
16
  - 2
17
- - 1
17
+ - 2
18
18
  post_install_message:
19
- date: 2010-09-30 07:00:00 +00:00
19
+ date: 2010-11-30 08:00:00 +00:00
20
20
  files:
21
21
  - bin/crtdump
22
22
  - bin/crtexample
23
23
  - bin/crtextract
24
24
  - bin/crtmigrate
25
25
  - bin/crtsmoke
26
+ - bin/migrate.rb
27
+ - bin/seed
28
+ - bin/seed.rb
29
+ - conf/extract/simple_fields.yaml
30
+ - conf/migration/filter_fields.yaml
31
+ - conf/migration/filter_migration.yaml
32
+ - conf/migration/frozen_fields.yaml
33
+ - conf/migration/frozen_migration.yaml
34
+ - conf/migration/general_fields.yaml
35
+ - conf/migration/general_migration.yaml
36
+ - conf/migration/simple_fields.yaml
37
+ - conf/migration/simple_migration.yaml
38
+ - conf/migration/small_fields.yaml
39
+ - conf/migration/small_migration.yaml
26
40
  - examples/galena/README.md
27
- - examples/galena/bin/migrate.rb
28
- - examples/galena/bin/seed.rb
41
+ - examples/galena/bin/seed
29
42
  - examples/galena/conf/extract/simple_fields.yaml
30
43
  - examples/galena/conf/migration/filter_fields.yaml
31
- - examples/galena/conf/migration/filter_migration.yaml
32
44
  - examples/galena/conf/migration/frozen_fields.yaml
33
- - examples/galena/conf/migration/frozen_migration.yaml
34
45
  - examples/galena/conf/migration/general_fields.yaml
35
- - examples/galena/conf/migration/general_migration.yaml
36
46
  - examples/galena/conf/migration/simple_fields.yaml
37
- - examples/galena/conf/migration/simple_migration.yaml
38
- - examples/galena/conf/migration/small_fields.yaml
39
- - examples/galena/conf/migration/small_migration.yaml
40
47
  - examples/galena/data/filter.csv
41
48
  - examples/galena/data/frozen.csv
42
49
  - examples/galena/data/general.csv
@@ -53,7 +60,6 @@ files:
53
60
  - examples/galena/doc/index.html
54
61
  - examples/galena/doc/method_list.html
55
62
  - examples/galena/doc/top-level-namespace.html
56
- - examples/galena/doc/CaTissue/CollectionProtocolRegistration.html
57
63
  - examples/galena/doc/CaTissue/Participant.html
58
64
  - examples/galena/doc/CaTissue/SpecimenCollectionGroup.html
59
65
  - examples/galena/doc/CaTissue/StorageContainer.html
@@ -66,13 +72,13 @@ files:
66
72
  - examples/galena/doc/js/app.js
67
73
  - examples/galena/doc/js/full_list.js
68
74
  - examples/galena/doc/js/jquery.js
69
- - examples/galena/lib/galena.rb
70
- - examples/galena/lib/README.html
71
75
  - examples/galena/lib/galena/cli/seed.rb
72
76
  - examples/galena/lib/galena/migration/filter_shims.rb
73
77
  - examples/galena/lib/galena/migration/frozen_shims.rb
74
78
  - examples/galena/lib/galena/seed/defaults.rb
75
79
  - lib/catissue.rb
80
+ - lib/galena.rb
81
+ - lib/README.html
76
82
  - lib/catissue/database.rb
77
83
  - lib/catissue/resource.rb
78
84
  - lib/catissue/version.rb
@@ -146,6 +152,10 @@ files:
146
152
  - lib/catissue/util/position.rb
147
153
  - lib/catissue/util/storable.rb
148
154
  - lib/catissue/util/storage_type_holder.rb
155
+ - lib/galena/cli/seed.rb
156
+ - lib/galena/migration/filter_shims.rb
157
+ - lib/galena/migration/frozen_shims.rb
158
+ - lib/galena/seed/defaults.rb
149
159
  - History.txt
150
160
  - LEGAL
151
161
  - LICENSE
@@ -157,13 +167,13 @@ signing_key:
157
167
  cert_chain: []
158
168
 
159
169
  name: caruby-tissue
160
- has_rdoc: catissue
170
+ has_rdoc: yard
161
171
  platform: ruby
162
172
  summary: Ruby facade for caTissue.
163
173
  default_executable:
164
174
  bindir: bin
165
- licenses: []
166
-
175
+ licenses:
176
+ - MIT
167
177
  required_rubygems_version: !ruby/object:Gem::Requirement
168
178
  none: false
169
179
  requirements:
@@ -1,181 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Class: CaTissue::CollectionProtocolRegistration</title>
7
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
-
10
- <script type="text/javascript" charset="utf-8">
11
- relpath = '..';
12
- if (relpath != '') relpath += '/';
13
- </script>
14
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
-
17
- </head>
18
- <body>
19
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../_index.html">Index (C)</a> &raquo;
27
- <span class='title'><span class='object_link'><a href="../CaTissue.html" title="CaTissue (module)">CaTissue</a></span></span>
28
- &raquo;
29
- <span class="title">CollectionProtocolRegistration</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Class: CaTissue::CollectionProtocolRegistration
47
-
48
-
49
-
50
- </h1>
51
-
52
- <dl class="box">
53
-
54
- <dt class="r1">Inherits:</dt>
55
- <dd class="r1">
56
- <span class="inheritName">Object</span>
57
-
58
- <ul class="fullTree">
59
- <li>Object</li>
60
-
61
- <li class="next">CaTissue::CollectionProtocolRegistration</li>
62
-
63
- </ul>
64
- <a href="#" class="inheritanceTree">show all</a>
65
-
66
- </dd>
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <dt class="r2 last">Defined in:</dt>
77
- <dd class="r2 last">examples/galena/lib/galena/migration/frozen_shims.rb</dd>
78
-
79
- </dl>
80
- <div class="clear"></div>
81
-
82
-
83
-
84
-
85
-
86
- <h2>
87
- Instance Method Summary
88
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
89
- </h2>
90
-
91
- <ul class="summary">
92
-
93
- <li class="public ">
94
- <span class="summary_signature">
95
-
96
- <a href="#migrate-instance_method" title="#migrate (instance method)">- (Object) <strong>migrate</strong>(row, migrated) </a>
97
-
98
-
99
-
100
- </span>
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
- <span class="summary_desc"><div class='inline'><p>
110
- Sets this CPR&#8217;s protocol to the pre-defined
111
- Galena::Migration::Defaults#protocol.
112
- </p>
113
- </div></span>
114
-
115
- </li>
116
-
117
-
118
- </ul>
119
-
120
-
121
-
122
-
123
- <div id="instance_method_details" class="method_details_list">
124
- <h2>Instance Method Details</h2>
125
-
126
-
127
- <div class="method_details first">
128
- <p class="signature first" id="migrate-instance_method">
129
-
130
- - (<tt>Object</tt>) <strong>migrate</strong>(row, migrated)
131
-
132
-
133
-
134
- </p><div class="docstring">
135
- <div class="discussion">
136
- <p>
137
- Sets this CPR&#8217;s protocol to the pre-defined
138
- Galena::Migration::Defaults#protocol.
139
- </p>
140
-
141
-
142
- </div>
143
- </div>
144
- <div class="tags">
145
-
146
- </div><table class="source_code">
147
- <tr>
148
- <td>
149
- <pre class="lines">
150
-
151
-
152
- 22
153
- 23
154
- 24
155
- 25</pre>
156
- </td>
157
- <td>
158
- <pre class="code"><span class="info file"># File 'examples/galena/lib/galena/migration/frozen_shims.rb', line 22</span>
159
-
160
- <span class='def def kw'>def</span> <span class='migrate identifier id'>migrate</span><span class='lparen token'>(</span><span class='row identifier id'>row</span><span class='comma token'>,</span> <span class='migrated identifier id'>migrated</span><span class='rparen token'>)</span>
161
- <span class='super super kw'>super</span>
162
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='protocol identifier id'>protocol</span> <span class='assign token'>=</span> <span class='Galena constant id'>Galena</span><span class='colon2 op'>::</span><span class='Seed constant id'>Seed</span><span class='dot token'>.</span><span class='defaults identifier id'>defaults</span><span class='dot token'>.</span><span class='protocol identifier id'>protocol</span>
163
- <span class='end end kw'>end</span>
164
- </pre>
165
- </td>
166
- </tr>
167
- </table>
168
- </div>
169
-
170
- </div>
171
-
172
- </div>
173
-
174
- <div id="footer">
175
- Generated on Tue Nov 23 11:38:43 2010 by
176
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
177
- 0.6.1 (ruby-1.8.6).
178
- </div>
179
-
180
- </body>
181
- </html>