talia_core 0.5.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/config/talia_core.yml.example +37 -35
- data/generators/talia_admin/templates/app/models/fake_source.rb +93 -0
- data/generators/talia_admin/templates/app/models/talia_collection.rb +13 -37
- data/generators/talia_base/talia_base_generator.rb +0 -1
- data/generators/talia_base/templates/app/controllers/custom_templates_controller.rb +2 -1
- data/generators/talia_base/templates/app/controllers/sources_controller.rb +1 -1
- data/generators/talia_base/templates/script/configure_talia +56 -73
- data/generators/talia_swicky/talia_swicky_generator.rb +18 -0
- data/generators/talia_swicky/templates/app/controllers/swicky_notebooks_controller.rb +111 -0
- data/generators/talia_swicky/templates/app/helpers/swicky_notebooks_helper.rb +29 -0
- data/generators/talia_swicky/templates/app/views/swicky_notebooks/index.builder +6 -0
- data/generators/talia_swicky/templates/app/views/swicky_notebooks/index.html.erb +10 -0
- data/generators/talia_swicky/templates/app/views/swicky_notebooks/show.html.erb +11 -0
- data/generators/talia_swicky/templates/test/fixtures/notebook.rdf +862 -0
- data/generators/talia_swicky/templates/test/functional/swicky_notebooks_controller_test.rb +44 -0
- data/lib/core_ext/boolean.rb +23 -0
- data/lib/core_ext/jdbc_rake_monkeypatch.rb +22 -0
- data/lib/core_ext/nil_class.rb +11 -0
- data/lib/core_ext/object.rb +34 -0
- data/lib/core_ext/string.rb +15 -0
- data/lib/custom_template.rb +3 -1
- data/lib/loader_helper.rb +16 -3
- data/lib/mysql.rb +7 -7
- data/lib/progressbar.rb +2 -2
- data/lib/swicky/exhibit_json/item.rb +129 -0
- data/lib/swicky/exhibit_json/item_collection.rb +129 -0
- data/lib/swicky/fragment.rb +0 -0
- data/lib/swicky/note.rb +7 -0
- data/lib/swicky/notebook.rb +78 -12
- data/lib/talia_core/active_source.rb +45 -13
- data/lib/talia_core/active_source_parts/class_methods.rb +154 -26
- data/lib/talia_core/active_source_parts/finders.rb +49 -26
- data/lib/talia_core/active_source_parts/predicate_handler.rb +71 -23
- data/lib/talia_core/active_source_parts/rdf/ntriples_reader.rb +13 -0
- data/lib/talia_core/active_source_parts/rdf/rdf_reader.rb +99 -0
- data/lib/talia_core/active_source_parts/rdf/rdfxml_reader.rb +12 -0
- data/lib/talia_core/active_source_parts/{rdf.rb → rdf_handler.rb} +52 -19
- data/lib/talia_core/active_source_parts/xml/generic_reader.rb +151 -260
- data/lib/talia_core/active_source_parts/xml/generic_reader_add_statements.rb +97 -0
- data/lib/talia_core/active_source_parts/xml/generic_reader_helpers.rb +88 -0
- data/lib/talia_core/active_source_parts/xml/generic_reader_import_statements.rb +239 -0
- data/lib/talia_core/active_source_parts/xml/rdf_builder.rb +14 -7
- data/lib/talia_core/active_source_parts/xml/source_builder.rb +7 -3
- data/lib/talia_core/active_source_parts/xml/source_reader.rb +17 -2
- data/lib/talia_core/collection.rb +192 -1
- data/lib/talia_core/data_types/data_loader.rb +88 -18
- data/lib/talia_core/data_types/data_record.rb +24 -2
- data/lib/talia_core/data_types/delayed_copier.rb +13 -3
- data/lib/talia_core/data_types/file_record.rb +24 -13
- data/lib/talia_core/data_types/file_store.rb +111 -94
- data/lib/talia_core/data_types/iip_data.rb +104 -23
- data/lib/talia_core/data_types/iip_loader.rb +102 -56
- data/lib/talia_core/data_types/image_data.rb +3 -1
- data/lib/talia_core/data_types/media_link.rb +4 -1
- data/lib/talia_core/data_types/mime_mapping.rb +65 -38
- data/lib/talia_core/data_types/path_helpers.rb +23 -17
- data/lib/talia_core/data_types/pdf_data.rb +9 -6
- data/lib/talia_core/data_types/simple_text.rb +5 -4
- data/lib/talia_core/data_types/xml_data.rb +53 -25
- data/lib/talia_core/dummy_handler.rb +3 -2
- data/lib/talia_core/errors.rb +13 -27
- data/lib/talia_core/initializer.rb +44 -4
- data/lib/talia_core/oai/active_source_model.rb +13 -6
- data/lib/talia_core/oai/active_source_oai_adapter.rb +13 -12
- data/lib/talia_core/rdf_import.rb +1 -1
- data/lib/talia_core/rdf_resource.rb +2 -1
- data/lib/talia_core/semantic_collection_wrapper.rb +143 -151
- data/lib/talia_core/semantic_property.rb +4 -0
- data/lib/talia_core/semantic_relation.rb +84 -33
- data/lib/talia_core/source.rb +45 -25
- data/lib/talia_core/source_fragment.rb +7 -0
- data/lib/talia_core/source_transfer_object.rb +3 -1
- data/lib/talia_core/source_types/agent.rb +16 -0
- data/lib/talia_core/source_types/dc_resource.rb +3 -3
- data/lib/talia_core/source_types/marcont_resource.rb +15 -0
- data/lib/talia_core/source_types/skos_concept.rb +17 -0
- data/lib/talia_dependencies.rb +1 -1
- data/lib/talia_util.rb +1 -1
- data/lib/talia_util/bar_progressor.rb +1 -1
- data/lib/talia_util/image_conversions.rb +8 -2
- data/lib/talia_util/import_job_helper.rb +40 -3
- data/lib/talia_util/io_helper.rb +15 -4
- data/lib/talia_util/progressable.rb +50 -1
- data/lib/talia_util/rake_tasks.rb +3 -21
- data/lib/talia_util/test_helpers.rb +6 -1
- data/lib/talia_util/util.rb +108 -27
- data/lib/talia_util/xml/base_builder.rb +28 -1
- data/lib/talia_util/xml/rdf_builder.rb +81 -5
- data/lib/tasks/talia_core_tasks.rake +2 -0
- data/test/core_ext/boolean_test.rb +26 -0
- data/test/core_ext/nil_class_test.rb +14 -0
- data/test/core_ext/object_test.rb +26 -0
- data/test/core_ext/string_test.rb +11 -0
- data/test/swicky/json_encoder_test.rb +51 -42
- data/test/swicky/notebook_test.rb +13 -6
- data/test/talia_core/active_source_finder_interface_test.rb +30 -0
- data/test/talia_core/active_source_test.rb +445 -34
- data/test/talia_core/collection_test.rb +332 -0
- data/test/talia_core/data_types/file_record_test.rb +2 -23
- data/test/talia_core/ntriples_reader_test.rb +49 -0
- data/test/talia_core/rdfxml_reader_test.rb +51 -0
- data/test/talia_core/source_test.rb +12 -0
- data/test/talia_util/import_job_helper_test.rb +19 -12
- metadata +190 -90
- data/config/database.yml +0 -19
- data/config/rdfstore.yml +0 -13
- data/config/talia_core.yml +0 -24
- data/generators/talia_base/templates/migrations/bj_migration.rb +0 -10
- data/lib/JXslt/jxslt.rb +0 -60
- data/lib/swicky/json_encoder.rb +0 -179
- data/lib/talia_core/agent.rb +0 -14
- data/lib/talia_core/background_jobs/job.rb +0 -82
- data/lib/talia_core/background_jobs/progress_job.rb +0 -68
- data/lib/talia_core/data_types/temp_file_handling.rb +0 -85
- data/lib/talia_core/ordered_source.rb +0 -228
- data/lib/talia_core/semantic_collection_item.rb +0 -94
- data/lib/talia_core/source_types/collection.rb +0 -15
- data/lib/talia_util/progressbar.rb +0 -236
- data/tasks/talia_core_tasks.rake +0 -2
- data/test/talia_core/ordered_source_test.rb +0 -394
- data/test/talia_core/semantic_collection_item_test.rb +0 -125
@@ -464,6 +464,18 @@ module TaliaCore
|
|
464
464
|
assert(ActiveSource.exists?(uri + '_target'))
|
465
465
|
end
|
466
466
|
|
467
|
+
def test_collection
|
468
|
+
collection = Collection.new(N::LOCAL.CollectionAssignTest)
|
469
|
+
source = Source.new(N::LOCAL.CollectionAssignSource)
|
470
|
+
source.save!
|
471
|
+
collection << source
|
472
|
+
collection.save!
|
473
|
+
assert_equal([collection.uri], source.collections.collect { |c| c.uri })
|
474
|
+
collection.clear
|
475
|
+
collection.save!
|
476
|
+
assert_equal([], source.collections)
|
477
|
+
end
|
478
|
+
|
467
479
|
|
468
480
|
end
|
469
481
|
end
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), '..', 'test_helper')
|
2
|
-
require 'bj'
|
3
2
|
|
4
3
|
module TaliaCore
|
5
4
|
|
@@ -9,21 +8,21 @@ module TaliaCore
|
|
9
8
|
def setup
|
10
9
|
setup_once(:flush) { TestHelper::flush_store }
|
11
10
|
|
12
|
-
setup_once(:job) do
|
13
|
-
Bj::Table::Job.delete_all
|
14
|
-
Bj::Table::Job.new.save
|
15
|
-
job = Bj::Table::Job.find(:first)
|
16
|
-
ENV['JOB_ID'] = job.id.to_s
|
17
|
-
job
|
18
|
-
end
|
19
|
-
|
20
11
|
setup_once(:imported) do
|
21
12
|
ENV['xml'] = TestHelper.fixture_file('xml_test.xml')
|
22
13
|
importer = TaliaUtil::ImportJobHelper.new
|
23
14
|
importer.do_import
|
24
15
|
ActiveSource.find('http://xml_test/from_file')
|
25
16
|
end
|
26
|
-
|
17
|
+
|
18
|
+
setup_once(:rdf_ntriples_imported) do
|
19
|
+
ENV['xml'] = TestHelper.fixture_file('rdf_test.nt')
|
20
|
+
ENV['importer'] = 'TaliaCore::ActiveSourceParts::Rdf::NtriplesReader'
|
21
|
+
importer = TaliaUtil::ImportJobHelper.new
|
22
|
+
importer.do_import
|
23
|
+
ActiveSource.find('http://foodonga.com')
|
24
|
+
end
|
25
|
+
|
27
26
|
end
|
28
27
|
|
29
28
|
def test_import_success
|
@@ -37,6 +36,14 @@ module TaliaCore
|
|
37
36
|
def test_relation
|
38
37
|
assert_property(@imported[N::RDF.relatit], SourceTypes::DummySource.new('http://localnode.org/as_create_attr_dummy_2'), SourceTypes::DummySource.new('http://localnode.org/as_create_attr_dummy_1'))
|
39
38
|
end
|
40
|
-
|
39
|
+
|
40
|
+
def test_ntriples_success
|
41
|
+
assert(@rdf_ntriples_imported)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_ntriples_property
|
45
|
+
assert_property(@rdf_ntriples_imported['http://bongobongo.com'], 'foo', 'bar', N::URI.new('http://bingobongo.com'))
|
46
|
+
end
|
47
|
+
|
41
48
|
end
|
42
|
-
end
|
49
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talia_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 7
|
8
|
+
- 0
|
9
|
+
version: 0.7.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Danilo Giacomi
|
@@ -13,119 +18,192 @@ autorequire:
|
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
20
|
|
16
|
-
date: 2010-
|
21
|
+
date: 2010-11-29 00:00:00 +01:00
|
17
22
|
default_executable: talia
|
18
23
|
dependencies:
|
19
24
|
- !ruby/object:Gem::Dependency
|
20
25
|
name: activerecord
|
21
|
-
|
22
|
-
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
28
|
requirements:
|
25
|
-
- - "
|
29
|
+
- - "="
|
26
30
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 3
|
34
|
+
- 10
|
35
|
+
version: 2.3.10
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
29
38
|
- !ruby/object:Gem::Dependency
|
30
39
|
name: activesupport
|
31
|
-
|
32
|
-
|
33
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
34
42
|
requirements:
|
35
|
-
- - "
|
43
|
+
- - "="
|
36
44
|
- !ruby/object:Gem::Version
|
37
|
-
|
38
|
-
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 3
|
48
|
+
- 10
|
49
|
+
version: 2.3.10
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
39
52
|
- !ruby/object:Gem::Dependency
|
40
53
|
name: activerdf_net7
|
41
|
-
|
42
|
-
|
43
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
57
|
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 7
|
62
|
+
- 0
|
47
63
|
version: 1.7.0
|
48
|
-
|
64
|
+
type: :runtime
|
65
|
+
version_requirements: *id003
|
49
66
|
- !ruby/object:Gem::Dependency
|
50
67
|
name: assit
|
51
|
-
|
52
|
-
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
54
70
|
requirements:
|
55
71
|
- - ">="
|
56
72
|
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
- 1
|
76
|
+
- 2
|
57
77
|
version: 0.1.2
|
58
|
-
|
78
|
+
type: :runtime
|
79
|
+
version_requirements: *id004
|
59
80
|
- !ruby/object:Gem::Dependency
|
60
81
|
name: semantic_naming
|
61
|
-
|
62
|
-
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
84
|
requirements:
|
65
85
|
- - ">="
|
66
86
|
- !ruby/object:Gem::Version
|
67
|
-
|
68
|
-
|
87
|
+
segments:
|
88
|
+
- 2
|
89
|
+
- 2
|
90
|
+
- 0
|
91
|
+
version: 2.2.0
|
92
|
+
type: :runtime
|
93
|
+
version_requirements: *id005
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: bjj
|
71
|
-
|
72
|
-
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
prerelease: false
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
98
|
requirements:
|
75
99
|
- - ">="
|
76
100
|
- !ruby/object:Gem::Version
|
101
|
+
segments:
|
102
|
+
- 1
|
103
|
+
- 0
|
104
|
+
- 2
|
77
105
|
version: 1.0.2
|
78
|
-
|
106
|
+
type: :runtime
|
107
|
+
version_requirements: *id006
|
79
108
|
- !ruby/object:Gem::Dependency
|
80
109
|
name: hpricot
|
81
|
-
|
82
|
-
|
83
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
prerelease: false
|
111
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
84
112
|
requirements:
|
85
113
|
- - ">="
|
86
114
|
- !ruby/object:Gem::Version
|
115
|
+
segments:
|
116
|
+
- 0
|
117
|
+
- 6
|
118
|
+
- 1
|
87
119
|
version: 0.6.1
|
88
|
-
|
120
|
+
type: :runtime
|
121
|
+
version_requirements: *id007
|
89
122
|
- !ruby/object:Gem::Dependency
|
90
123
|
name: oai_talia
|
91
|
-
|
92
|
-
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
prerelease: false
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
94
126
|
requirements:
|
95
127
|
- - ">="
|
96
128
|
- !ruby/object:Gem::Version
|
129
|
+
segments:
|
130
|
+
- 0
|
131
|
+
- 0
|
132
|
+
- 15
|
97
133
|
version: 0.0.15
|
98
|
-
|
134
|
+
type: :runtime
|
135
|
+
version_requirements: *id008
|
99
136
|
- !ruby/object:Gem::Dependency
|
100
137
|
name: builder
|
101
|
-
|
102
|
-
|
103
|
-
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
prerelease: false
|
139
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
104
140
|
requirements:
|
105
141
|
- - ">="
|
106
142
|
- !ruby/object:Gem::Version
|
143
|
+
segments:
|
144
|
+
- 2
|
145
|
+
- 1
|
146
|
+
- 2
|
107
147
|
version: 2.1.2
|
108
|
-
|
148
|
+
type: :runtime
|
149
|
+
version_requirements: *id009
|
109
150
|
- !ruby/object:Gem::Dependency
|
110
151
|
name: optiflag
|
111
|
-
|
112
|
-
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
152
|
+
prerelease: false
|
153
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
114
154
|
requirements:
|
115
155
|
- - ">="
|
116
156
|
- !ruby/object:Gem::Version
|
157
|
+
segments:
|
158
|
+
- 0
|
159
|
+
- 6
|
160
|
+
- 5
|
117
161
|
version: 0.6.5
|
118
|
-
|
162
|
+
type: :runtime
|
163
|
+
version_requirements: *id010
|
119
164
|
- !ruby/object:Gem::Dependency
|
120
165
|
name: rake
|
121
|
-
|
122
|
-
|
123
|
-
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
prerelease: false
|
167
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
124
168
|
requirements:
|
125
169
|
- - ">="
|
126
170
|
- !ruby/object:Gem::Version
|
171
|
+
segments:
|
172
|
+
- 0
|
173
|
+
- 7
|
174
|
+
- 1
|
127
175
|
version: 0.7.1
|
128
|
-
|
176
|
+
type: :runtime
|
177
|
+
version_requirements: *id011
|
178
|
+
- !ruby/object:Gem::Dependency
|
179
|
+
name: guid
|
180
|
+
prerelease: false
|
181
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
segments:
|
186
|
+
- 0
|
187
|
+
- 1
|
188
|
+
- 1
|
189
|
+
version: 0.1.1
|
190
|
+
type: :runtime
|
191
|
+
version_requirements: *id012
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: rdf
|
194
|
+
prerelease: false
|
195
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
segments:
|
200
|
+
- 0
|
201
|
+
- 2
|
202
|
+
- 0
|
203
|
+
- 1
|
204
|
+
version: 0.2.0.1
|
205
|
+
type: :runtime
|
206
|
+
version_requirements: *id013
|
129
207
|
description: This is the core plugin for building a digital library with Talia/Rails.
|
130
208
|
email: ghub@limitedcreativity.org
|
131
209
|
executables:
|
@@ -136,13 +214,10 @@ extra_rdoc_files:
|
|
136
214
|
- README.rdoc
|
137
215
|
files:
|
138
216
|
- VERSION.yml
|
139
|
-
- config/database.yml
|
140
217
|
- config/database.yml.example
|
141
|
-
- config/rdfstore.yml
|
142
218
|
- config/rdfstore.yml.example
|
143
219
|
- config/rdfstore.yml.rdflite_example
|
144
220
|
- config/rdfstore.yml.redland_example
|
145
|
-
- config/talia_core.yml
|
146
221
|
- config/talia_core.yml.example
|
147
222
|
- generators/generator_helpers.rb
|
148
223
|
- generators/talia_admin/USAGE
|
@@ -157,6 +232,7 @@ files:
|
|
157
232
|
- generators/talia_admin/templates/app/helpers/admin/front_helper.rb
|
158
233
|
- generators/talia_admin/templates/app/helpers/admin/talia_sources_helper.rb
|
159
234
|
- generators/talia_admin/templates/app/helpers/users_helper.rb
|
235
|
+
- generators/talia_admin/templates/app/models/fake_source.rb
|
160
236
|
- generators/talia_admin/templates/app/models/guest.rb
|
161
237
|
- generators/talia_admin/templates/app/models/talia_collection.rb
|
162
238
|
- generators/talia_admin/templates/app/models/talia_source.rb
|
@@ -238,7 +314,6 @@ files:
|
|
238
314
|
- generators/talia_base/templates/config/routes.rb
|
239
315
|
- generators/talia_base/templates/config/talia_initializer.rb
|
240
316
|
- generators/talia_base/templates/config/warble.rb
|
241
|
-
- generators/talia_base/templates/migrations/bj_migration.rb
|
242
317
|
- generators/talia_base/templates/migrations/constraint_migration.rb
|
243
318
|
- generators/talia_base/templates/migrations/create_active_sources.rb
|
244
319
|
- generators/talia_base/templates/migrations/create_custom_templates.rb
|
@@ -285,8 +360,19 @@ files:
|
|
285
360
|
- generators/talia_oai/talia_oai_generator.rb
|
286
361
|
- generators/talia_oai/templates/oai_controller.rb
|
287
362
|
- generators/talia_oai/templates/oai_initializer.rb
|
288
|
-
-
|
363
|
+
- generators/talia_swicky/talia_swicky_generator.rb
|
364
|
+
- generators/talia_swicky/templates/app/controllers/swicky_notebooks_controller.rb
|
365
|
+
- generators/talia_swicky/templates/app/helpers/swicky_notebooks_helper.rb
|
366
|
+
- generators/talia_swicky/templates/app/views/swicky_notebooks/index.builder
|
367
|
+
- generators/talia_swicky/templates/app/views/swicky_notebooks/index.html.erb
|
368
|
+
- generators/talia_swicky/templates/app/views/swicky_notebooks/show.html.erb
|
369
|
+
- generators/talia_swicky/templates/test/fixtures/notebook.rdf
|
370
|
+
- generators/talia_swicky/templates/test/functional/swicky_notebooks_controller_test.rb
|
289
371
|
- lib/core_ext.rb
|
372
|
+
- lib/core_ext/boolean.rb
|
373
|
+
- lib/core_ext/jdbc_rake_monkeypatch.rb
|
374
|
+
- lib/core_ext/nil_class.rb
|
375
|
+
- lib/core_ext/object.rb
|
290
376
|
- lib/core_ext/platform.rb
|
291
377
|
- lib/core_ext/string.rb
|
292
378
|
- lib/custom_template.rb
|
@@ -294,22 +380,28 @@ files:
|
|
294
380
|
- lib/mysql.rb
|
295
381
|
- lib/progressbar.rb
|
296
382
|
- lib/swicky/api_result.rb
|
297
|
-
- lib/swicky/
|
383
|
+
- lib/swicky/exhibit_json/item.rb
|
384
|
+
- lib/swicky/exhibit_json/item_collection.rb
|
385
|
+
- lib/swicky/fragment.rb
|
386
|
+
- lib/swicky/note.rb
|
298
387
|
- lib/swicky/notebook.rb
|
299
388
|
- lib/talia_core.rb
|
300
389
|
- lib/talia_core/active_source.rb
|
301
390
|
- lib/talia_core/active_source_parts/class_methods.rb
|
302
391
|
- lib/talia_core/active_source_parts/finders.rb
|
303
392
|
- lib/talia_core/active_source_parts/predicate_handler.rb
|
304
|
-
- lib/talia_core/active_source_parts/rdf.rb
|
393
|
+
- lib/talia_core/active_source_parts/rdf/ntriples_reader.rb
|
394
|
+
- lib/talia_core/active_source_parts/rdf/rdf_reader.rb
|
395
|
+
- lib/talia_core/active_source_parts/rdf/rdfxml_reader.rb
|
396
|
+
- lib/talia_core/active_source_parts/rdf_handler.rb
|
305
397
|
- lib/talia_core/active_source_parts/sql_helper.rb
|
306
398
|
- lib/talia_core/active_source_parts/xml/generic_reader.rb
|
399
|
+
- lib/talia_core/active_source_parts/xml/generic_reader_add_statements.rb
|
400
|
+
- lib/talia_core/active_source_parts/xml/generic_reader_helpers.rb
|
401
|
+
- lib/talia_core/active_source_parts/xml/generic_reader_import_statements.rb
|
307
402
|
- lib/talia_core/active_source_parts/xml/rdf_builder.rb
|
308
403
|
- lib/talia_core/active_source_parts/xml/source_builder.rb
|
309
404
|
- lib/talia_core/active_source_parts/xml/source_reader.rb
|
310
|
-
- lib/talia_core/agent.rb
|
311
|
-
- lib/talia_core/background_jobs/job.rb
|
312
|
-
- lib/talia_core/background_jobs/progress_job.rb
|
313
405
|
- lib/talia_core/collection.rb
|
314
406
|
- lib/talia_core/data_types/data_loader.rb
|
315
407
|
- lib/talia_core/data_types/data_record.rb
|
@@ -324,7 +416,6 @@ files:
|
|
324
416
|
- lib/talia_core/data_types/path_helpers.rb
|
325
417
|
- lib/talia_core/data_types/pdf_data.rb
|
326
418
|
- lib/talia_core/data_types/simple_text.rb
|
327
|
-
- lib/talia_core/data_types/temp_file_handling.rb
|
328
419
|
- lib/talia_core/data_types/xml_data.rb
|
329
420
|
- lib/talia_core/dummy_handler.rb
|
330
421
|
- lib/talia_core/errors.rb
|
@@ -332,19 +423,20 @@ files:
|
|
332
423
|
- lib/talia_core/oai/active_source_model.rb
|
333
424
|
- lib/talia_core/oai/active_source_oai_adapter.rb
|
334
425
|
- lib/talia_core/oai/active_source_oai_adapter/class_methods.rb
|
335
|
-
- lib/talia_core/ordered_source.rb
|
336
426
|
- lib/talia_core/property_string.rb
|
337
427
|
- lib/talia_core/rdf_import.rb
|
338
428
|
- lib/talia_core/rdf_resource.rb
|
339
|
-
- lib/talia_core/semantic_collection_item.rb
|
340
429
|
- lib/talia_core/semantic_collection_wrapper.rb
|
341
430
|
- lib/talia_core/semantic_property.rb
|
342
431
|
- lib/talia_core/semantic_relation.rb
|
343
432
|
- lib/talia_core/source.rb
|
433
|
+
- lib/talia_core/source_fragment.rb
|
344
434
|
- lib/talia_core/source_transfer_object.rb
|
345
|
-
- lib/talia_core/source_types/
|
435
|
+
- lib/talia_core/source_types/agent.rb
|
346
436
|
- lib/talia_core/source_types/dc_resource.rb
|
347
437
|
- lib/talia_core/source_types/dummy_source.rb
|
438
|
+
- lib/talia_core/source_types/marcont_resource.rb
|
439
|
+
- lib/talia_core/source_types/skos_concept.rb
|
348
440
|
- lib/talia_core/workflow.rb
|
349
441
|
- lib/talia_core/workflow/base.rb
|
350
442
|
- lib/talia_core/workflow/publication_workflow.rb
|
@@ -358,7 +450,6 @@ files:
|
|
358
450
|
- lib/talia_util/import_job_helper.rb
|
359
451
|
- lib/talia_util/io_helper.rb
|
360
452
|
- lib/talia_util/progressable.rb
|
361
|
-
- lib/talia_util/progressbar.rb
|
362
453
|
- lib/talia_util/rake_tasks.rb
|
363
454
|
- lib/talia_util/rdf_update.rb
|
364
455
|
- lib/talia_util/test_helpers.rb
|
@@ -366,8 +457,8 @@ files:
|
|
366
457
|
- lib/talia_util/util.rb
|
367
458
|
- lib/talia_util/xml/base_builder.rb
|
368
459
|
- lib/talia_util/xml/rdf_builder.rb
|
460
|
+
- lib/tasks/talia_core_tasks.rake
|
369
461
|
- lib/version.rb
|
370
|
-
- tasks/talia_core_tasks.rake
|
371
462
|
- README.rdoc
|
372
463
|
has_rdoc: true
|
373
464
|
homepage: http://trac.talia.discovery-project.eu/
|
@@ -382,51 +473,60 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
382
473
|
requirements:
|
383
474
|
- - ">="
|
384
475
|
- !ruby/object:Gem::Version
|
476
|
+
segments:
|
477
|
+
- 1
|
478
|
+
- 8
|
479
|
+
- 6
|
385
480
|
version: 1.8.6
|
386
|
-
version:
|
387
481
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
388
482
|
requirements:
|
389
483
|
- - ">="
|
390
484
|
- !ruby/object:Gem::Version
|
485
|
+
segments:
|
486
|
+
- 0
|
391
487
|
version: "0"
|
392
|
-
version:
|
393
488
|
requirements:
|
394
489
|
- rdflib (Redland RDF) + Ruby bindings (for Redland store)
|
395
490
|
rubyforge_project:
|
396
|
-
rubygems_version: 1.3.
|
491
|
+
rubygems_version: 1.3.6
|
397
492
|
signing_key:
|
398
493
|
specification_version: 3
|
399
494
|
summary: The core elements of the Talia Digital Library system
|
400
495
|
test_files:
|
401
|
-
- test/custom_template_test.rb
|
402
496
|
- test/test_helper.rb
|
403
|
-
- test/
|
497
|
+
- test/custom_template_test.rb
|
498
|
+
- test/talia_util/import_job_helper_test.rb
|
499
|
+
- test/talia_util/io_helper_test.rb
|
500
|
+
- test/talia_util/rdf_builder_test.rb
|
404
501
|
- test/swicky/json_encoder_test.rb
|
405
502
|
- test/swicky/notebook_test.rb
|
406
|
-
- test/talia_core/
|
407
|
-
- test/talia_core/active_source_rdf_test.rb
|
503
|
+
- test/talia_core/source_transfer_object_test.rb
|
408
504
|
- test/talia_core/active_source_test.rb
|
505
|
+
- test/talia_core/source_reader_test.rb
|
506
|
+
- test/talia_core/rdfxml_reader_test.rb
|
507
|
+
- test/talia_core/active_source_rdf_test.rb
|
409
508
|
- test/talia_core/generic_xml_test.rb
|
410
|
-
- test/talia_core/initializer_test.rb
|
411
|
-
- test/talia_core/ordered_source_test.rb
|
412
509
|
- test/talia_core/property_string_test.rb
|
510
|
+
- test/talia_core/ntriples_reader_test.rb
|
511
|
+
- test/talia_core/active_source_finder_interface_test.rb
|
512
|
+
- test/talia_core/initializer_test.rb
|
413
513
|
- test/talia_core/rdf_resource_test.rb
|
414
|
-
- test/talia_core/semantic_collection_item_test.rb
|
415
|
-
- test/talia_core/source_reader_test.rb
|
416
514
|
- test/talia_core/source_test.rb
|
417
|
-
- test/talia_core/
|
515
|
+
- test/talia_core/collection_test.rb
|
516
|
+
- test/talia_core/active_source_predicate_test.rb
|
418
517
|
- test/talia_core/workflow_test.rb
|
419
|
-
- test/talia_core/
|
420
|
-
- test/talia_core/
|
421
|
-
- test/talia_core/
|
422
|
-
- test/talia_core/data_types/iip_data_test.rb
|
518
|
+
- test/talia_core/workflow/user_class_for_workflow.rb
|
519
|
+
- test/talia_core/workflow/workflow_base_test.rb
|
520
|
+
- test/talia_core/workflow/publication_workflow_test.rb
|
423
521
|
- test/talia_core/data_types/image_data_test.rb
|
522
|
+
- test/talia_core/data_types/iip_data_test.rb
|
523
|
+
- test/talia_core/data_types/file_record_test.rb
|
424
524
|
- test/talia_core/data_types/mime_mapping_test.rb
|
425
|
-
- test/talia_core/data_types/
|
525
|
+
- test/talia_core/data_types/data_loader_test.rb
|
426
526
|
- test/talia_core/data_types/xml_data_test.rb
|
427
|
-
- test/talia_core/
|
428
|
-
- test/talia_core/
|
429
|
-
- test/
|
430
|
-
- test/
|
431
|
-
- test/
|
432
|
-
- test/
|
527
|
+
- test/talia_core/data_types/pdf_data_test.rb
|
528
|
+
- test/talia_core/data_types/data_record_test.rb
|
529
|
+
- test/core_ext/boolean_test.rb
|
530
|
+
- test/core_ext/nil_class_test.rb
|
531
|
+
- test/core_ext/string_test.rb
|
532
|
+
- test/core_ext/object_test.rb
|