caruby-core 1.5.5 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -0
- data/History.md +5 -1
- data/lib/caruby.rb +3 -5
- data/lib/caruby/caruby-src.tar.gz +0 -0
- data/lib/caruby/database.rb +53 -69
- data/lib/caruby/database/application_service.rb +25 -0
- data/lib/caruby/database/cache.rb +60 -0
- data/lib/caruby/database/fetched_matcher.rb +52 -38
- data/lib/caruby/database/lazy_loader.rb +4 -4
- data/lib/caruby/database/operation.rb +34 -0
- data/lib/caruby/database/persistable.rb +171 -86
- data/lib/caruby/database/persistence_service.rb +32 -34
- data/lib/caruby/database/persistifier.rb +100 -43
- data/lib/caruby/database/reader.rb +107 -85
- data/lib/caruby/database/reader_template_builder.rb +60 -0
- data/lib/caruby/database/saved_matcher.rb +3 -3
- data/lib/caruby/database/sql_executor.rb +88 -17
- data/lib/caruby/database/writer.rb +213 -177
- data/lib/caruby/database/writer_template_builder.rb +334 -0
- data/lib/caruby/{util → helpers}/controlled_value.rb +0 -0
- data/lib/caruby/{util → helpers}/coordinate.rb +4 -4
- data/lib/caruby/{util → helpers}/person.rb +3 -3
- data/lib/caruby/{util → helpers}/properties.rb +7 -9
- data/lib/caruby/{util → helpers}/roman.rb +2 -2
- data/lib/caruby/{util → helpers}/version.rb +1 -1
- data/lib/caruby/json/deserializer.rb +2 -2
- data/lib/caruby/json/serializer.rb +49 -7
- data/lib/caruby/metadata.rb +30 -0
- data/lib/caruby/metadata/java_property.rb +21 -0
- data/lib/caruby/metadata/propertied.rb +191 -0
- data/lib/caruby/metadata/property.rb +22 -0
- data/lib/caruby/metadata/property_characteristics.rb +201 -0
- data/lib/caruby/migration/migratable.rb +11 -182
- data/lib/caruby/rdbi/driver/jdbc.rb +446 -0
- data/lib/caruby/resource.rb +20 -823
- data/lib/caruby/version.rb +1 -1
- data/test/lib/caruby/database/cache_test.rb +54 -0
- data/test/lib/caruby/{util → helpers}/controlled_value_test.rb +3 -5
- data/test/lib/caruby/{util → helpers}/person_test.rb +4 -6
- data/test/lib/caruby/helpers/properties_test.rb +34 -0
- data/test/lib/caruby/{util → helpers}/roman_test.rb +2 -3
- data/test/lib/caruby/{util → helpers}/version_test.rb +2 -3
- data/test/lib/helper.rb +7 -0
- metadata +161 -214
- data/lib/caruby/cli/application.rb +0 -36
- data/lib/caruby/cli/command.rb +0 -202
- data/lib/caruby/csv/csv_mapper.rb +0 -159
- data/lib/caruby/csv/csvio.rb +0 -203
- data/lib/caruby/database/search_template_builder.rb +0 -56
- data/lib/caruby/database/store_template_builder.rb +0 -278
- data/lib/caruby/domain.rb +0 -193
- data/lib/caruby/domain/attribute.rb +0 -584
- data/lib/caruby/domain/attributes.rb +0 -628
- data/lib/caruby/domain/dependency.rb +0 -225
- data/lib/caruby/domain/id_alias.rb +0 -22
- data/lib/caruby/domain/importer.rb +0 -183
- data/lib/caruby/domain/introspection.rb +0 -176
- data/lib/caruby/domain/inverse.rb +0 -172
- data/lib/caruby/domain/inversible.rb +0 -90
- data/lib/caruby/domain/java_attribute.rb +0 -173
- data/lib/caruby/domain/merge.rb +0 -185
- data/lib/caruby/domain/metadata.rb +0 -142
- data/lib/caruby/domain/mixin.rb +0 -35
- data/lib/caruby/domain/properties.rb +0 -95
- data/lib/caruby/domain/reference_visitor.rb +0 -428
- data/lib/caruby/domain/uniquify.rb +0 -50
- data/lib/caruby/import/java.rb +0 -387
- data/lib/caruby/migration/migrator.rb +0 -918
- data/lib/caruby/migration/resource_module.rb +0 -9
- data/lib/caruby/migration/uniquify.rb +0 -17
- data/lib/caruby/util/attribute_path.rb +0 -44
- data/lib/caruby/util/cache.rb +0 -56
- data/lib/caruby/util/class.rb +0 -149
- data/lib/caruby/util/collection.rb +0 -1152
- data/lib/caruby/util/domain_extent.rb +0 -46
- data/lib/caruby/util/file_separator.rb +0 -65
- data/lib/caruby/util/inflector.rb +0 -27
- data/lib/caruby/util/log.rb +0 -95
- data/lib/caruby/util/math.rb +0 -12
- data/lib/caruby/util/merge.rb +0 -59
- data/lib/caruby/util/module.rb +0 -18
- data/lib/caruby/util/options.rb +0 -97
- data/lib/caruby/util/partial_order.rb +0 -35
- data/lib/caruby/util/pretty_print.rb +0 -204
- data/lib/caruby/util/stopwatch.rb +0 -74
- data/lib/caruby/util/topological_sync_enumerator.rb +0 -62
- data/lib/caruby/util/transitive_closure.rb +0 -55
- data/lib/caruby/util/tree.rb +0 -48
- data/lib/caruby/util/trie.rb +0 -37
- data/lib/caruby/util/uniquifier.rb +0 -30
- data/lib/caruby/util/validation.rb +0 -20
- data/lib/caruby/util/visitor.rb +0 -365
- data/lib/caruby/util/weak_hash.rb +0 -36
- data/test/lib/caruby/csv/csv_mapper_test.rb +0 -40
- data/test/lib/caruby/csv/csvio_test.rb +0 -69
- data/test/lib/caruby/database/persistable_test.rb +0 -92
- data/test/lib/caruby/domain/domain_test.rb +0 -112
- data/test/lib/caruby/domain/inversible_test.rb +0 -99
- data/test/lib/caruby/domain/reference_visitor_test.rb +0 -130
- data/test/lib/caruby/import/java_test.rb +0 -80
- data/test/lib/caruby/import/mixed_case_test.rb +0 -14
- data/test/lib/caruby/migration/test_case.rb +0 -102
- data/test/lib/caruby/test_case.rb +0 -230
- data/test/lib/caruby/util/cache_test.rb +0 -23
- data/test/lib/caruby/util/class_test.rb +0 -61
- data/test/lib/caruby/util/collection_test.rb +0 -398
- data/test/lib/caruby/util/command_test.rb +0 -55
- data/test/lib/caruby/util/domain_extent_test.rb +0 -60
- data/test/lib/caruby/util/file_separator_test.rb +0 -30
- data/test/lib/caruby/util/inflector_test.rb +0 -12
- data/test/lib/caruby/util/lazy_hash_test.rb +0 -34
- data/test/lib/caruby/util/merge_test.rb +0 -83
- data/test/lib/caruby/util/module_test.rb +0 -25
- data/test/lib/caruby/util/options_test.rb +0 -59
- data/test/lib/caruby/util/partial_order_test.rb +0 -42
- data/test/lib/caruby/util/pretty_print_test.rb +0 -85
- data/test/lib/caruby/util/properties_test.rb +0 -50
- data/test/lib/caruby/util/stopwatch_test.rb +0 -18
- data/test/lib/caruby/util/topological_sync_enumerator_test.rb +0 -69
- data/test/lib/caruby/util/transitive_closure_test.rb +0 -67
- data/test/lib/caruby/util/tree_test.rb +0 -23
- data/test/lib/caruby/util/trie_test.rb +0 -14
- data/test/lib/caruby/util/visitor_test.rb +0 -278
- data/test/lib/caruby/util/weak_hash_test.rb +0 -45
- data/test/lib/examples/clinical_trials/migration/migration_test.rb +0 -58
- data/test/lib/examples/clinical_trials/migration/test_case.rb +0 -38
data/lib/caruby/version.rb
CHANGED
@@ -0,0 +1,54 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../helper'
|
2
|
+
require 'test/unit'
|
3
|
+
require 'caruby/database/cache'
|
4
|
+
|
5
|
+
class CacheTest < Test::Unit::TestCase
|
6
|
+
def test_add
|
7
|
+
cache = CaRuby::Cache.new { |item| item.identifier }
|
8
|
+
a = Item.new(:a)
|
9
|
+
assert_nil(cache[a], "Value mistakenly cached")
|
10
|
+
cache.add(a)
|
11
|
+
assert_equal(a, cache[a], "Cached value not found")
|
12
|
+
b = Item.new(:a)
|
13
|
+
assert_equal(a, cache[b], "Cached equivalent not found")
|
14
|
+
assert_equal(a, cache.add(b), "Cached add replaced existing entry")
|
15
|
+
cache.add!(b)
|
16
|
+
assert_equal(b, cache.add(b), "Cached add! did not replace existing entry")
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_add!
|
20
|
+
cache = CaRuby::Cache.new { |item| item.identifier }
|
21
|
+
a = Item.new(:a)
|
22
|
+
cache.add(a)
|
23
|
+
b = Item.new(:a)
|
24
|
+
cache.add!(b)
|
25
|
+
assert_equal(b, cache.add(b), "Cached add! did not replace existing entry")
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_clear
|
29
|
+
cache = CaRuby::Cache.new { |item| item.identifier }
|
30
|
+
a = Item.new(:a)
|
31
|
+
cache.add(a)
|
32
|
+
cache.clear
|
33
|
+
assert_nil(cache[a], "Cache not cleared")
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_sticky
|
37
|
+
cache = CaRuby::Cache.new { |item| item.identifier }
|
38
|
+
cache.sticky << Item
|
39
|
+
a = Item.new(:a)
|
40
|
+
cache.add(a)
|
41
|
+
cache.clear
|
42
|
+
assert_same(a, cache[a], "Cache sticky entries mistakenly cleared")
|
43
|
+
end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
class Item
|
48
|
+
attr_reader :identifier
|
49
|
+
|
50
|
+
def initialize(id)
|
51
|
+
@identifier = id
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require
|
4
|
-
|
5
|
-
require 'caruby/util/controlled_value'
|
1
|
+
require File.dirname(__FILE__) + '/../../helper'
|
2
|
+
require 'test/unit'
|
3
|
+
require 'caruby/helpers/controlled_value'
|
6
4
|
require 'set'
|
7
5
|
|
8
6
|
class ControlledValueTest < Test::Unit::TestCase
|
@@ -1,16 +1,14 @@
|
|
1
|
-
|
2
|
-
$:.unshift '../caruby/lib'
|
3
|
-
|
1
|
+
require File.dirname(__FILE__) + '/../../helper'
|
4
2
|
require "test/unit"
|
5
|
-
require 'caruby/
|
3
|
+
require 'caruby/helpers/person'
|
6
4
|
|
7
5
|
class PersonTest < Test::Unit::TestCase
|
8
6
|
def test_middle_but_no_first
|
9
|
-
assert_raises(ValidationError) { || CaRuby::Person::Name.new('Longfellow', nil, 'Wadsworth').validate }
|
7
|
+
assert_raises(Jinx::ValidationError) { || CaRuby::Person::Name.new('Longfellow', nil, 'Wadsworth').validate }
|
10
8
|
end
|
11
9
|
|
12
10
|
def test_empty_middle_and_no_first
|
13
|
-
assert_raises(ValidationError) { || CaRuby::Person::Name.new(nil, '').validate }
|
11
|
+
assert_raises(Jinx::ValidationError) { || CaRuby::Person::Name.new(nil, '').validate }
|
14
12
|
end
|
15
13
|
|
16
14
|
def test_substitute_nil_for_empty
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../helper'
|
2
|
+
require "test/unit"
|
3
|
+
require 'caruby/helpers/properties'
|
4
|
+
|
5
|
+
class PropertiesTest < Test::Unit::TestCase
|
6
|
+
FIXTURES = File.dirname(__FILE__) + '/../../../fixtures/caruby/util/properties'
|
7
|
+
INPUT_FILE = File.join(FIXTURES, 'properties.yaml')
|
8
|
+
MERGE_FILE = File.join(FIXTURES, 'merge_properties.yaml')
|
9
|
+
MERGE_PROPERTIES = ['short', 'nested']
|
10
|
+
|
11
|
+
def setup
|
12
|
+
@props = CaRuby::Properties.new(INPUT_FILE, :merge => MERGE_PROPERTIES)
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_short_name
|
16
|
+
assert_equal('short', @props['short'], 'Short property incorrect')
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_dotted_name
|
20
|
+
assert_equal('dot', @props['dot.property'], 'Dotted property incorrect')
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_symbol
|
24
|
+
assert_equal('short', @props[:short], 'Symbol key lookup incorrect')
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_nested
|
28
|
+
assert_not_nil(@props['nested'], 'Nested property not found')
|
29
|
+
assert_equal('A', @props['nested']['a'], 'Nested property value incorrect')
|
30
|
+
assert_equal('B', @props['nested']['b'], 'Nested property value incorrect')
|
31
|
+
assert_not_nil(@props['nested']['deep'], 'Nested deep property not found')
|
32
|
+
assert_equal('U', @props['nested']['deep']['u'], 'Nested deep property value incorrect')
|
33
|
+
end
|
34
|
+
end
|
data/test/lib/helper.rb
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler/setup'
|
3
|
+
Bundler.require(:test, :development)
|
4
|
+
require 'jinx/helpers/log'
|
5
|
+
|
6
|
+
# Open the logger.
|
7
|
+
Jinx::Log.instance.open(File.dirname(__FILE__) + '/../results/log/caruby.log', :shift_age => 10, :shift_size => 1048576, :debug => true)
|
metadata
CHANGED
@@ -1,94 +1,107 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caruby-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 5
|
9
|
-
- 5
|
10
|
-
version: 1.5.5
|
4
|
+
prerelease:
|
5
|
+
version: 2.1.1
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
|
-
- OHSU
|
8
|
+
- OHSU
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date:
|
13
|
+
date: 2012-04-13 00:00:00 -07:00
|
19
14
|
default_executable:
|
20
15
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: bundler
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "0"
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdbi
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: "0"
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: jinx
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.1.1
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: jinx-json
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.1.1
|
58
|
+
type: :runtime
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: jinx-migrate
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.1.1
|
69
|
+
type: :runtime
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: "2.6"
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: yard
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id007
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rake
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: "0"
|
102
|
+
type: :development
|
103
|
+
version_requirements: *id008
|
104
|
+
description: Ruby facade for caBIG applications.. See caruby.rubyforge.org for more information.
|
92
105
|
email: caruby.org@gmail.com
|
93
106
|
executables: []
|
94
107
|
|
@@ -97,156 +110,90 @@ extensions: []
|
|
97
110
|
extra_rdoc_files: []
|
98
111
|
|
99
112
|
files:
|
100
|
-
- lib/caruby
|
101
|
-
- lib/caruby/
|
102
|
-
- lib/caruby/
|
103
|
-
- lib/caruby/
|
104
|
-
- lib/caruby/
|
105
|
-
- lib/caruby/
|
106
|
-
- lib/caruby/
|
107
|
-
- lib/caruby/
|
108
|
-
- lib/caruby/
|
109
|
-
- lib/caruby/
|
110
|
-
- lib/caruby/
|
111
|
-
- lib/caruby/database/
|
112
|
-
- lib/caruby/database/
|
113
|
-
- lib/caruby/database/
|
114
|
-
- lib/caruby/database/
|
115
|
-
- lib/caruby/database/
|
116
|
-
- lib/caruby/database/
|
117
|
-
- lib/caruby/database/
|
118
|
-
- lib/caruby/database/
|
119
|
-
- lib/caruby/database/
|
120
|
-
- lib/caruby/database.rb
|
121
|
-
- lib/caruby/
|
122
|
-
- lib/caruby/
|
123
|
-
- lib/caruby/
|
124
|
-
- lib/caruby/
|
125
|
-
- lib/caruby/
|
126
|
-
- lib/caruby/
|
127
|
-
- lib/caruby/
|
128
|
-
- lib/caruby/
|
129
|
-
- lib/caruby/
|
130
|
-
- lib/caruby/
|
131
|
-
- lib/caruby/
|
132
|
-
- lib/caruby/
|
133
|
-
- lib/caruby/
|
134
|
-
- lib/caruby/
|
135
|
-
- lib/caruby/
|
136
|
-
- lib/caruby/
|
137
|
-
- lib/caruby/
|
138
|
-
- lib/caruby/
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
144
|
-
- lib/
|
145
|
-
- lib/caruby/
|
146
|
-
- lib/caruby/
|
147
|
-
- lib/caruby/
|
148
|
-
- lib/caruby/
|
149
|
-
- lib/caruby/
|
150
|
-
- lib/caruby/
|
151
|
-
- lib/caruby/util/domain_extent.rb
|
152
|
-
- lib/caruby/util/file_separator.rb
|
153
|
-
- lib/caruby/util/inflector.rb
|
154
|
-
- lib/caruby/util/log.rb
|
155
|
-
- lib/caruby/util/math.rb
|
156
|
-
- lib/caruby/util/merge.rb
|
157
|
-
- lib/caruby/util/module.rb
|
158
|
-
- lib/caruby/util/options.rb
|
159
|
-
- lib/caruby/util/partial_order.rb
|
160
|
-
- lib/caruby/util/person.rb
|
161
|
-
- lib/caruby/util/pretty_print.rb
|
162
|
-
- lib/caruby/util/properties.rb
|
163
|
-
- lib/caruby/util/roman.rb
|
164
|
-
- lib/caruby/util/stopwatch.rb
|
165
|
-
- lib/caruby/util/topological_sync_enumerator.rb
|
166
|
-
- lib/caruby/util/transitive_closure.rb
|
167
|
-
- lib/caruby/util/tree.rb
|
168
|
-
- lib/caruby/util/trie.rb
|
169
|
-
- lib/caruby/util/uniquifier.rb
|
170
|
-
- lib/caruby/util/validation.rb
|
171
|
-
- lib/caruby/util/version.rb
|
172
|
-
- lib/caruby/util/visitor.rb
|
173
|
-
- lib/caruby/util/weak_hash.rb
|
174
|
-
- lib/caruby/version.rb
|
175
|
-
- lib/caruby.rb
|
176
|
-
- test/lib/caruby/csv/csv_mapper_test.rb
|
177
|
-
- test/lib/caruby/csv/csvio_test.rb
|
178
|
-
- test/lib/caruby/database/persistable_test.rb
|
179
|
-
- test/lib/caruby/domain/domain_test.rb
|
180
|
-
- test/lib/caruby/domain/inversible_test.rb
|
181
|
-
- test/lib/caruby/domain/reference_visitor_test.rb
|
182
|
-
- test/lib/caruby/import/java_test.rb
|
183
|
-
- test/lib/caruby/import/mixed_case_test.rb
|
184
|
-
- test/lib/caruby/migration/test_case.rb
|
185
|
-
- test/lib/caruby/test_case.rb
|
186
|
-
- test/lib/caruby/util/cache_test.rb
|
187
|
-
- test/lib/caruby/util/class_test.rb
|
188
|
-
- test/lib/caruby/util/collection_test.rb
|
189
|
-
- test/lib/caruby/util/command_test.rb
|
190
|
-
- test/lib/caruby/util/controlled_value_test.rb
|
191
|
-
- test/lib/caruby/util/domain_extent_test.rb
|
192
|
-
- test/lib/caruby/util/file_separator_test.rb
|
193
|
-
- test/lib/caruby/util/inflector_test.rb
|
194
|
-
- test/lib/caruby/util/lazy_hash_test.rb
|
195
|
-
- test/lib/caruby/util/merge_test.rb
|
196
|
-
- test/lib/caruby/util/module_test.rb
|
197
|
-
- test/lib/caruby/util/options_test.rb
|
198
|
-
- test/lib/caruby/util/partial_order_test.rb
|
199
|
-
- test/lib/caruby/util/person_test.rb
|
200
|
-
- test/lib/caruby/util/pretty_print_test.rb
|
201
|
-
- test/lib/caruby/util/properties_test.rb
|
202
|
-
- test/lib/caruby/util/roman_test.rb
|
203
|
-
- test/lib/caruby/util/stopwatch_test.rb
|
204
|
-
- test/lib/caruby/util/topological_sync_enumerator_test.rb
|
205
|
-
- test/lib/caruby/util/transitive_closure_test.rb
|
206
|
-
- test/lib/caruby/util/tree_test.rb
|
207
|
-
- test/lib/caruby/util/trie_test.rb
|
208
|
-
- test/lib/caruby/util/version_test.rb
|
209
|
-
- test/lib/caruby/util/visitor_test.rb
|
210
|
-
- test/lib/caruby/util/weak_hash_test.rb
|
211
|
-
- test/lib/examples/clinical_trials/migration/migration_test.rb
|
212
|
-
- test/lib/examples/clinical_trials/migration/test_case.rb
|
213
|
-
- History.md
|
214
|
-
- LEGAL
|
215
|
-
- LICENSE
|
216
|
-
- README.md
|
113
|
+
- lib/caruby.rb
|
114
|
+
- lib/caruby/caruby-src.tar.gz
|
115
|
+
- lib/caruby/database.rb
|
116
|
+
- lib/caruby/metadata.rb
|
117
|
+
- lib/caruby/resource.rb
|
118
|
+
- lib/caruby/version.rb
|
119
|
+
- lib/caruby/active_support/inflections.rb
|
120
|
+
- lib/caruby/active_support/inflector.rb
|
121
|
+
- lib/caruby/active_support/README.txt
|
122
|
+
- lib/caruby/active_support/core_ext/string.rb
|
123
|
+
- lib/caruby/active_support/core_ext/string/inflections.rb
|
124
|
+
- lib/caruby/database/application_service.rb
|
125
|
+
- lib/caruby/database/cache.rb
|
126
|
+
- lib/caruby/database/fetched_matcher.rb
|
127
|
+
- lib/caruby/database/lazy_loader.rb
|
128
|
+
- lib/caruby/database/operation.rb
|
129
|
+
- lib/caruby/database/persistable.rb
|
130
|
+
- lib/caruby/database/persistence_service.rb
|
131
|
+
- lib/caruby/database/persistifier.rb
|
132
|
+
- lib/caruby/database/reader.rb
|
133
|
+
- lib/caruby/database/reader_template_builder.rb
|
134
|
+
- lib/caruby/database/saved_matcher.rb
|
135
|
+
- lib/caruby/database/sql_executor.rb
|
136
|
+
- lib/caruby/database/writer.rb
|
137
|
+
- lib/caruby/database/writer_template_builder.rb
|
138
|
+
- lib/caruby/helpers/controlled_value.rb
|
139
|
+
- lib/caruby/helpers/coordinate.rb
|
140
|
+
- lib/caruby/helpers/person.rb
|
141
|
+
- lib/caruby/helpers/properties.rb
|
142
|
+
- lib/caruby/helpers/roman.rb
|
143
|
+
- lib/caruby/helpers/version.rb
|
144
|
+
- lib/caruby/json/deserializer.rb
|
145
|
+
- lib/caruby/json/serializer.rb
|
146
|
+
- lib/caruby/metadata/java_property.rb
|
147
|
+
- lib/caruby/metadata/propertied.rb
|
148
|
+
- lib/caruby/metadata/property.rb
|
149
|
+
- lib/caruby/metadata/property_characteristics.rb
|
150
|
+
- lib/caruby/migration/migratable.rb
|
151
|
+
- lib/caruby/rdbi/driver/jdbc.rb
|
152
|
+
- History.md
|
153
|
+
- LEGAL
|
154
|
+
- LICENSE
|
155
|
+
- README.md
|
156
|
+
- Gemfile
|
157
|
+
- test/lib/helper.rb
|
158
|
+
- test/lib/caruby/database/cache_test.rb
|
159
|
+
- test/lib/caruby/helpers/controlled_value_test.rb
|
160
|
+
- test/lib/caruby/helpers/person_test.rb
|
161
|
+
- test/lib/caruby/helpers/properties_test.rb
|
162
|
+
- test/lib/caruby/helpers/roman_test.rb
|
163
|
+
- test/lib/caruby/helpers/version_test.rb
|
217
164
|
has_rdoc: yard
|
218
165
|
homepage: http://caruby.rubyforge.org
|
219
166
|
licenses:
|
220
|
-
- MIT
|
167
|
+
- MIT
|
221
168
|
post_install_message:
|
222
169
|
rdoc_options: []
|
223
170
|
|
224
171
|
require_paths:
|
225
|
-
- lib
|
172
|
+
- lib
|
226
173
|
required_ruby_version: !ruby/object:Gem::Requirement
|
227
174
|
none: false
|
228
175
|
requirements:
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
segments:
|
233
|
-
- 0
|
234
|
-
version: "0"
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: "0"
|
235
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
180
|
none: false
|
237
181
|
requirements:
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
segments:
|
242
|
-
- 0
|
243
|
-
version: "0"
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: "0"
|
244
185
|
requirements: []
|
245
186
|
|
246
187
|
rubyforge_project: caruby
|
247
|
-
rubygems_version: 1.
|
188
|
+
rubygems_version: 1.5.1
|
248
189
|
signing_key:
|
249
190
|
specification_version: 3
|
250
191
|
summary: Ruby facade for caBIG applications.
|
251
|
-
test_files:
|
252
|
-
|
192
|
+
test_files:
|
193
|
+
- test/lib/helper.rb
|
194
|
+
- test/lib/caruby/database/cache_test.rb
|
195
|
+
- test/lib/caruby/helpers/controlled_value_test.rb
|
196
|
+
- test/lib/caruby/helpers/person_test.rb
|
197
|
+
- test/lib/caruby/helpers/properties_test.rb
|
198
|
+
- test/lib/caruby/helpers/roman_test.rb
|
199
|
+
- test/lib/caruby/helpers/version_test.rb
|