iqvoc 3.5.3 → 3.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +11 -2
- data/Gemfile +4 -6
- data/Gemfile.lock +4 -31
- data/README.md +1 -1
- data/app/assets/javascripts/iqvoc/iqvoc.js +10 -2
- data/app/controllers/application_controller.rb +1 -1
- data/app/controllers/collections_controller.rb +5 -5
- data/app/controllers/concepts/versions_controller.rb +1 -1
- data/app/controllers/concepts_controller.rb +7 -8
- data/app/controllers/dashboard_controller.rb +1 -1
- data/app/controllers/instance_configuration_controller.rb +8 -2
- data/app/controllers/rdf_controller.rb +19 -9
- data/app/controllers/user_sessions_controller.rb +1 -1
- data/app/helpers/application_helper.rb +19 -0
- data/app/helpers/dashboard_helper.rb +2 -2
- data/app/helpers/rdf_helper.rb +3 -1
- data/app/helpers/search_results_helper.rb +1 -1
- data/app/models/collection/member/base.rb +1 -1
- data/app/models/concept/base.rb +32 -10
- data/app/models/concept/skos/scheme.rb +46 -0
- data/app/models/labeling/skos/base.rb +3 -3
- data/app/models/note/skos/base.rb +1 -1
- data/app/models/note/skos/change_note.rb +2 -2
- data/app/models/search_extension.rb +1 -1
- data/app/models/user.rb +1 -1
- data/app/views/concepts/_base_data.html.erb +8 -0
- data/app/views/concepts/index.iqrdf +5 -5
- data/app/views/layouts/application.html.erb +3 -1
- data/app/views/partials/concept/relation/_edit_base.html.erb +2 -2
- data/app/views/partials/concept/relation/skos/broader/_mono.html.erb +4 -1
- data/app/views/partials/concept/relation/skos/broader/_poly.html.erb +5 -1
- data/app/views/rdf/scheme.iqrdf +9 -0
- data/config/application.rb +1 -1
- data/config/engine.rb +4 -4
- data/config/initializers/secret_token_configurator.rb +2 -2
- data/config/locales/activerecord.de.yml +13 -0
- data/config/locales/activerecord.en.yml +13 -0
- data/config/locales/de.yml +3 -0
- data/config/locales/en.yml +3 -0
- data/config/routes.rb +3 -2
- data/db/migrate/20120201120736_add_top_term_to_concepts.rb +7 -0
- data/db/schema.rb +2 -1
- data/iqvoc.gemspec +1 -1
- data/lib/debug.rb +34 -8
- data/lib/iqvoc/ability.rb +1 -2
- data/lib/iqvoc/configuration/collection.rb +2 -2
- data/lib/iqvoc/configuration/concept.rb +10 -5
- data/lib/iqvoc/configuration/core.rb +45 -8
- data/lib/iqvoc/configuration/label.rb +1 -1
- data/lib/iqvoc/controller_extensions.rb +3 -2
- data/lib/iqvoc/version.rb +1 -1
- data/lib/iqvoc.rb +1 -1
- data/lib/tasks/heroku.rake +2 -2
- data/test/factories.rb +2 -1
- data/test/integration/concept_scheme_test.rb +38 -0
- data/test/integration/search_test.rb +4 -4
- data/test/integration/tree_test.rb +4 -2
- data/test/integration_test_helper.rb +7 -5
- data/test/unit/concept_test.rb +1 -1
- data/test/unit/instance_configuration_test.rb +7 -7
- data/test/unit/skos_import_test.rb +2 -2
- metadata +23 -185
- data/app/views/layouts/_navigation.html.erb +0 -32
- data/config/blazing.rb +0 -36
- data/public/assets/ajax-loader-5c1bf2208bffabddfb583013023b2b11.gif +0 -0
- data/public/assets/ajax-loader.gif +0 -0
- data/public/assets/arrow_down-e1f4aacd91274ce8d4db40d8b4ad781f.gif +0 -0
- data/public/assets/arrow_down.gif +0 -0
- data/public/assets/arrow_up-a48d7a55002e97f1b70e0e957edf3964.gif +0 -0
- data/public/assets/arrow_up.gif +0 -0
- data/public/assets/back-ffd41b7924770324ead91a4eb51604f6.png +0 -0
- data/public/assets/back.png +0 -0
- data/public/assets/blueprint/ie-d2ff4b1cc209dc6b08716b5e0098e106.css +0 -36
- data/public/assets/blueprint/ie-d2ff4b1cc209dc6b08716b5e0098e106.css.gz +0 -0
- data/public/assets/blueprint/ie.css +0 -36
- data/public/assets/blueprint/ie.css.gz +0 -0
- data/public/assets/blueprint/print-799a53ff649d9f14baf5f5fe643d04c4.css +0 -30
- data/public/assets/blueprint/print-799a53ff649d9f14baf5f5fe643d04c4.css.gz +0 -0
- data/public/assets/blueprint/print.css +0 -30
- data/public/assets/blueprint/print.css.gz +0 -0
- data/public/assets/blueprint/screen-d721f98ceac371a9294fc6f091ca1cb5.css +0 -259
- data/public/assets/blueprint/screen-d721f98ceac371a9294fc6f091ca1cb5.css.gz +0 -0
- data/public/assets/blueprint/screen.css +0 -259
- data/public/assets/blueprint/screen.css.gz +0 -0
- data/public/assets/branch-c950c8ac69ee2f753f86a75d944aa976.png +0 -0
- data/public/assets/branch.png +0 -0
- data/public/assets/categ-e1e1a5958017a5586456895785298c89.png +0 -0
- data/public/assets/categ.png +0 -0
- data/public/assets/categ_open-de616238db93a0645b4c4a2cdd4eece4.png +0 -0
- data/public/assets/categ_open.png +0 -0
- data/public/assets/excanvas-1f8c36f3578409126862b5c17e59b9bd.js +0 -14
- data/public/assets/excanvas-1f8c36f3578409126862b5c17e59b9bd.js.gz +0 -0
- data/public/assets/excanvas.js +0 -14
- data/public/assets/excanvas.js.gz +0 -0
- data/public/assets/file-48364459f087292aafa11168442bde71.gif +0 -0
- data/public/assets/file.gif +0 -0
- data/public/assets/folder-7e0f370ab3fcca5deab89784db42da4a.gif +0 -0
- data/public/assets/folder-closed-cb6c847cac4dea2cb59c98ecfc76b8ae.gif +0 -0
- data/public/assets/folder-closed.gif +0 -0
- data/public/assets/folder.gif +0 -0
- data/public/assets/footer-ea48e7e96122c8ab345da8ff67f29838.png +0 -0
- data/public/assets/footer.png +0 -0
- data/public/assets/go_there-ee7df641e73ef83e43180dbc07c40540.png +0 -0
- data/public/assets/go_there.png +0 -0
- data/public/assets/header_long-5c7970b5911f94433a696ae87918ecb0.png +0 -0
- data/public/assets/header_long.png +0 -0
- data/public/assets/iqvoc/ie_fixes-7797396e9cd2f32961f56af18bacd33a.css +0 -7
- data/public/assets/iqvoc/ie_fixes-7797396e9cd2f32961f56af18bacd33a.css.gz +0 -0
- data/public/assets/iqvoc/ie_fixes.css +0 -7
- data/public/assets/iqvoc/ie_fixes.css.gz +0 -0
- data/public/assets/iqvoc/visualization-49b198ac7d8bc15fa13eafc528e96081.js +0 -4
- data/public/assets/iqvoc/visualization-49b198ac7d8bc15fa13eafc528e96081.js.gz +0 -0
- data/public/assets/iqvoc/visualization.js +0 -4
- data/public/assets/iqvoc/visualization.js.gz +0 -0
- data/public/assets/iqvoc-ff2c5252d9877c38297164984d4a7a55.png +0 -0
- data/public/assets/iqvoc.png +0 -0
- data/public/assets/jit_rgraph-63bc6fa01820d73bb4076f2f62493e66.js +0 -25
- data/public/assets/jit_rgraph-63bc6fa01820d73bb4076f2f62493e66.js.gz +0 -0
- data/public/assets/jit_rgraph.js +0 -25
- data/public/assets/jit_rgraph.js.gz +0 -0
- data/public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-951e2a65945b93d3f69c1994e5672f39.png +0 -0
- data/public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/assets/jquery-ui/ui-bg_flat_55_fbec88_40x100-befbc2de63b9556a093c0a5bb2e08a95.png +0 -0
- data/public/assets/jquery-ui/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_75_d0e5f5_1x400-faa3341c6543985d2c94bd65e36bd6d8.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_85_dfeffc_1x400-df1d30b336ee1530edc334458abd2417.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400-5767880afddd9b98f4b4cfd43a09947b.png +0 -0
- data/public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/assets/jquery-ui/ui-bg_gloss-wave_55_5c9ccc_500x100-c563cdeeac0f1479b69e36b21d785ac4.png +0 -0
- data/public/assets/jquery-ui/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/assets/jquery-ui/ui-bg_inset-hard_100_f5f8f9_1x100-b837a3b8315a7ff270664ce469f2e6d7.png +0 -0
- data/public/assets/jquery-ui/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/assets/jquery-ui/ui-bg_inset-hard_100_fcfdfd_1x100-b5d3cda0e6142534937f71cf4438e28a.png +0 -0
- data/public/assets/jquery-ui/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/assets/jquery-ui/ui-icons_217bc0_256x240-14e62c24f88d00f227d88e5b16406eec.png +0 -0
- data/public/assets/jquery-ui/ui-icons_217bc0_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_2e83ff_256x240-c15e521f58d397c2fa31f4214f92a399.png +0 -0
- data/public/assets/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_469bdd_256x240-aceccf3311e1b369e71a4ac629953d61.png +0 -0
- data/public/assets/jquery-ui/ui-icons_469bdd_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_6da8d5_256x240-18148340aba4ce354c9d52c5aa2f5c0c.png +0 -0
- data/public/assets/jquery-ui/ui-icons_6da8d5_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_cd0a0a_256x240-279edbd373e73b1ecd1ea7a6ba19750d.png +0 -0
- data/public/assets/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_d8e7f3_256x240-732b446e2e1d4f4fec4277e2632a9adf.png +0 -0
- data/public/assets/jquery-ui/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/assets/jquery-ui/ui-icons_f9bd01_256x240-1ee933e5956743f5607f2075ed21fac5.png +0 -0
- data/public/assets/jquery-ui/ui-icons_f9bd01_256x240.png +0 -0
- data/public/assets/json2-fdda51ffce29dd4cb684dc7bd0aede01.js +0 -157
- data/public/assets/json2-fdda51ffce29dd4cb684dc7bd0aede01.js.gz +0 -0
- data/public/assets/json2.js +0 -157
- data/public/assets/json2.js.gz +0 -0
- data/public/assets/leaf_end-2ac151e8d7b4928bacb557f96cb5b517.png +0 -0
- data/public/assets/leaf_end.png +0 -0
- data/public/assets/leaf_end_filled-cdb0eb9ce60425bf0a1fd12226e502eb.png +0 -0
- data/public/assets/leaf_end_filled.png +0 -0
- data/public/assets/leaf_mid-966f99acaeaddfaedb6b602eb1eed7e0.png +0 -0
- data/public/assets/leaf_mid.png +0 -0
- data/public/assets/leaf_mid_filled-fecf059c72a649fe77052a886fb030d5.png +0 -0
- data/public/assets/leaf_mid_filled.png +0 -0
- data/public/assets/leaf_nothing-e8b5532117e55a184d93e8bf66afa20a.png +0 -0
- data/public/assets/leaf_nothing.png +0 -0
- data/public/assets/leaf_only-e4fe523e451ad9dea6bba08b44cf8039.png +0 -0
- data/public/assets/leaf_only.png +0 -0
- data/public/assets/leaf_only_filled-7b9a97903759b89facd5fb2e03ba14d1.png +0 -0
- data/public/assets/leaf_only_filled.png +0 -0
- data/public/assets/leaf_top-61fbce4d3adf2235964e828647a52149.png +0 -0
- data/public/assets/leaf_top.png +0 -0
- data/public/assets/leaf_top_filled-003d96425167d3b74e63eb75e12d163e.png +0 -0
- data/public/assets/leaf_top_filled.png +0 -0
- data/public/assets/manifest-c08ebf92c2ea89fbce8705f984a7c604.css +0 -1139
- data/public/assets/manifest-c08ebf92c2ea89fbce8705f984a7c604.css.gz +0 -0
- data/public/assets/manifest-c6d880245ce63929a5842e48cb7c65f2.js +0 -21
- data/public/assets/manifest-c6d880245ce63929a5842e48cb7c65f2.js.gz +0 -0
- data/public/assets/manifest.css +0 -1139
- data/public/assets/manifest.css.gz +0 -0
- data/public/assets/manifest.js +0 -21
- data/public/assets/manifest.js.gz +0 -0
- data/public/assets/manifest.yml +0 -73
- data/public/assets/minus-633f45b71e7552c36214c9d81fce94b0.gif +0 -0
- data/public/assets/minus.gif +0 -0
- data/public/assets/nothing-19b9650c540a8776b047d6dde27687b0.png +0 -0
- data/public/assets/nothing.png +0 -0
- data/public/assets/ok-96195c6d50075a63cbdfa11818301f56.png +0 -0
- data/public/assets/ok.png +0 -0
- data/public/assets/plus-dd3920a86d5ea72497854d875c6afc00.gif +0 -0
- data/public/assets/plus.gif +0 -0
- data/public/assets/rdf_flyer-b2cc2d8b2a537a9c74b39450f8e6b16f.gif +0 -0
- data/public/assets/rdf_flyer.gif +0 -0
- data/public/assets/red_arrow-875d1bca1c4b97ec82635af86032a024.png +0 -0
- data/public/assets/red_arrow.png +0 -0
- data/public/assets/shadow-2975795dc944082531617a0c3ad2da70.png +0 -0
- data/public/assets/shadow.png +0 -0
- data/public/assets/spinner-0b76e32ff4e68b1e8789b4d0fe991cd7.gif +0 -0
- data/public/assets/spinner.gif +0 -0
- data/public/assets/tokenizer_delete-94c9b41ce566e499de2090b552e0d167.png +0 -0
- data/public/assets/tokenizer_delete.png +0 -0
- data/public/assets/tokenizer_pencile-b508830af36466f05620d83c544b22ff.png +0 -0
- data/public/assets/tokenizer_pencile.png +0 -0
- data/public/assets/tokenizer_show-152443b9a6c0b058cfb51c51f567116f.png +0 -0
- data/public/assets/tokenizer_show.png +0 -0
- data/public/assets/top_01-fab0825c0529e87fddf883074490dc19.png +0 -0
- data/public/assets/top_01.png +0 -0
- data/public/assets/treeview-black-116394dbf5afda75949a9925de790795.gif +0 -0
- data/public/assets/treeview-black-line-142d898d1f095b3cec1a5dd204daae0d.gif +0 -0
- data/public/assets/treeview-black-line.gif +0 -0
- data/public/assets/treeview-black.gif +0 -0
- data/public/assets/treeview-default-01747815c9007458fc391092548255f8.gif +0 -0
- data/public/assets/treeview-default-line-9aecef4278b9e684f18f3c52e3607f80.gif +0 -0
- data/public/assets/treeview-default-line.gif +0 -0
- data/public/assets/treeview-default.gif +0 -0
- data/public/assets/treeview-famfamfam-c5f86a8a52aa48e87b4bd58878c81ad8.gif +0 -0
- data/public/assets/treeview-famfamfam-line-897ce097b7d84700985608f22e2403c3.gif +0 -0
- data/public/assets/treeview-famfamfam-line.gif +0 -0
- data/public/assets/treeview-famfamfam.gif +0 -0
- data/public/assets/treeview-gray-56089927c44332a8375be41ab13130c8.gif +0 -0
- data/public/assets/treeview-gray-line-d4be395725623b1f39a0964fa479774e.gif +0 -0
- data/public/assets/treeview-gray-line.gif +0 -0
- data/public/assets/treeview-gray.gif +0 -0
- data/public/assets/treeview-red-cb4ed4e5654d76aef755e5c55b63e91c.gif +0 -0
- data/public/assets/treeview-red-line-fdf843bbfba11d00897c7971dff7e806.gif +0 -0
- data/public/assets/treeview-red-line.gif +0 -0
- data/public/assets/treeview-red.gif +0 -0
- data/public/assets/trunk-5686782333e8b4c7e4468c452fb52cec.png +0 -0
- data/public/assets/trunk.png +0 -0
- data/public/assets/unfinished-1cb6bae22a5b855f4b51cb03a1cce928.png +0 -0
- data/public/assets/unfinished.png +0 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
# Copyright 2011 innoQ Deutschland GmbH
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'integration_test_helper'
|
18
|
+
|
19
|
+
class ConceptSchemeTest < ActionDispatch::IntegrationTest
|
20
|
+
|
21
|
+
setup do
|
22
|
+
@concept = Factory(:concept, :broader_relations => [])
|
23
|
+
end
|
24
|
+
|
25
|
+
test "list top concepts in rdf scheme" do
|
26
|
+
visit "/scheme.ttl"
|
27
|
+
|
28
|
+
assert page.has_content? ":scheme a skos:ConceptScheme"
|
29
|
+
assert page.has_content? "skos:hasTopConcept :#{@concept.origin}"
|
30
|
+
end
|
31
|
+
|
32
|
+
test "top terms rdf" do
|
33
|
+
visit "/#{@concept.origin}.ttl"
|
34
|
+
|
35
|
+
assert page.has_content? "skos:topConceptOf :scheme"
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -76,11 +76,11 @@ class SearchTest < ActionDispatch::IntegrationTest
|
|
76
76
|
fill_in "q", :with => "Alpha"
|
77
77
|
click_button("Search")
|
78
78
|
assert page.has_css?("#search_results dt", :count => 1)
|
79
|
-
|
79
|
+
|
80
80
|
choose "Concept"
|
81
81
|
click_button "Search"
|
82
82
|
assert !page.has_css?("#search_results dt")
|
83
|
-
|
83
|
+
|
84
84
|
choose "Collection"
|
85
85
|
click_button "Search"
|
86
86
|
assert page.has_css?("#search_results dt")
|
@@ -104,7 +104,7 @@ class SearchTest < ActionDispatch::IntegrationTest
|
|
104
104
|
assert page.has_css?("#search_results dt", :count => 1)
|
105
105
|
assert page.find("#search_results").has_content?("Forest")
|
106
106
|
|
107
|
-
# TTL & RDF/XML
|
107
|
+
# TTL & RDF/XML
|
108
108
|
|
109
109
|
ttl_uri = page.all("#abstract_uri a")[-2][:href]
|
110
110
|
xml_uri = page.all("#abstract_uri a")[-1][:href]
|
@@ -187,7 +187,7 @@ class SearchTest < ActionDispatch::IntegrationTest
|
|
187
187
|
|
188
188
|
assert page.has_css?("#search_results dt", :count => 2)
|
189
189
|
|
190
|
-
# TTL & RDF/XML
|
190
|
+
# TTL & RDF/XML
|
191
191
|
|
192
192
|
ttl_uri = page.all("#abstract_uri a")[-2][:href]
|
193
193
|
xml_uri = page.all("#abstract_uri a")[-1][:href]
|
@@ -23,8 +23,10 @@ class TreeTest < ActionDispatch::IntegrationTest
|
|
23
23
|
narrower_concept = concept.narrower_relations.first.target
|
24
24
|
|
25
25
|
visit hierarchical_concepts_path(:lang => :de, :format => :html)
|
26
|
-
assert page.has_link?(concept.pref_label.to_s),
|
27
|
-
|
26
|
+
assert page.has_link?(concept.pref_label.to_s),
|
27
|
+
"Concept #{concept.pref_label} isn't visible in the hierarchical concepts list"
|
28
|
+
assert !page.has_content?(narrower_concept.pref_label.to_s),
|
29
|
+
"Narrower relation (#{narrower_concept.pref_label}) shouldn't be visible in the hierarchical concepts list"
|
28
30
|
end
|
29
31
|
|
30
32
|
end
|
@@ -23,10 +23,10 @@ module ActionController
|
|
23
23
|
include Capybara::DSL
|
24
24
|
|
25
25
|
Capybara.javascript_driver = :webkit
|
26
|
-
|
26
|
+
|
27
27
|
CAPYBARA_SNAPSHOTS_DIR = Rails.root.join("tmp", "capybara_snapshots")
|
28
28
|
FileUtils.rm_rf CAPYBARA_SNAPSHOTS_DIR
|
29
|
-
FileUtils.
|
29
|
+
FileUtils.mkdir_p CAPYBARA_SNAPSHOTS_DIR
|
30
30
|
|
31
31
|
def login(role = nil)
|
32
32
|
logout
|
@@ -47,12 +47,14 @@ module ActionController
|
|
47
47
|
def user(role = nil)
|
48
48
|
@user ||= FactoryGirl.create(:user, :role => (role || User.default_role))
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
def create_snapshot
|
52
52
|
filename = "#{self.class.name.underscore}_#{method_name}.html"
|
53
53
|
filepath = File.join(CAPYBARA_SNAPSHOTS_DIR, filename)
|
54
|
-
File.
|
55
|
-
|
54
|
+
if File.writable?(filepath)
|
55
|
+
File.open(filepath, "w") do |f|
|
56
|
+
f.write page.body
|
57
|
+
end
|
56
58
|
end
|
57
59
|
end
|
58
60
|
|
data/test/unit/concept_test.rb
CHANGED
@@ -5,7 +5,7 @@ class InstanceConfigurationTest < ActiveSupport::TestCase
|
|
5
5
|
setup do
|
6
6
|
@config = Iqvoc::InstanceConfiguration.instance
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
teardown do
|
10
10
|
@config = nil
|
11
11
|
# TODO: unset singleton?
|
@@ -16,24 +16,24 @@ class InstanceConfigurationTest < ActiveSupport::TestCase
|
|
16
16
|
@config["foo"] = "bar"
|
17
17
|
end
|
18
18
|
end
|
19
|
-
|
19
|
+
|
20
20
|
test "should register settings with defaults" do
|
21
|
-
@config.register_setting("ho", "yuken")
|
21
|
+
@config.register_setting("ho", "yuken")
|
22
22
|
assert_equal "yuken", @config["ho"]
|
23
|
-
|
23
|
+
|
24
24
|
@config.register_settings("ha" => "douken")
|
25
25
|
assert_equal "douken", @config["ha"]
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
test "should deregister settings" do
|
29
29
|
@config.register_setting("country", "germany")
|
30
30
|
assert_equal "germany", @config.deregister_setting("country")
|
31
31
|
assert_nil @config["germany"]
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
34
|
test "should validate values" do
|
35
35
|
@config.register_setting("foo", "bar")
|
36
|
-
|
36
|
+
|
37
37
|
assert_raise(TypeError) { @config["foo"] = nil }
|
38
38
|
assert_raise(TypeError) { @config.register_setting("foo", nil) }
|
39
39
|
assert_raise(TypeError) { @config.register_setting("foo", Hash.new) }
|
@@ -19,8 +19,8 @@ require 'iqvoc/skos_importer'
|
|
19
19
|
|
20
20
|
class SkosImportTest < ActiveSupport::TestCase
|
21
21
|
|
22
|
-
|
23
|
-
Iqvoc::Concept.pref_labeling_class_name
|
22
|
+
setup do
|
23
|
+
Iqvoc::Concept.pref_labeling_class_name = 'Labeling::SKOS::PrefLabel'
|
24
24
|
|
25
25
|
Iqvoc.config.register_setting("languages.pref_labeling", ["de", "en"])
|
26
26
|
Iqvoc.config.register_setting("languages.further_labelings.Labeling::SKOS::AltLabel", ["de", "en"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iqvoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-02-
|
14
|
+
date: 2012-02-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &70248776595720 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 3.2.1
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70248776595720
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
|
-
requirement: &
|
29
|
+
requirement: &70248776594940 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70248776594940
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: kaminari
|
40
|
-
requirement: &
|
40
|
+
requirement: &70248776591760 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: '0'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70248776591760
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: authlogic
|
51
|
-
requirement: &
|
51
|
+
requirement: &70248776590800 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: '0'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *70248776590800
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: cancan
|
62
|
-
requirement: &
|
62
|
+
requirement: &70248776589640 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: '0'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *70248776589640
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: iq_rdf
|
73
|
-
requirement: &
|
73
|
+
requirement: &70248776589040 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 0.1.2
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *70248776589040
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: json
|
84
|
-
requirement: &
|
84
|
+
requirement: &70248776588100 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,10 +89,10 @@ dependencies:
|
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *70248776588100
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rails_autolink
|
95
|
-
requirement: &
|
95
|
+
requirement: &70248776587100 !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
98
98
|
- - ! '>='
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
version: '0'
|
101
101
|
type: :runtime
|
102
102
|
prerelease: false
|
103
|
-
version_requirements: *
|
103
|
+
version_requirements: *70248776587100
|
104
104
|
description: iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic
|
105
105
|
Web
|
106
106
|
email:
|
@@ -200,6 +200,7 @@ files:
|
|
200
200
|
- app/models/concept/relation/skos/narrower/base.rb
|
201
201
|
- app/models/concept/relation/skos/related.rb
|
202
202
|
- app/models/concept/skos/base.rb
|
203
|
+
- app/models/concept/skos/scheme.rb
|
203
204
|
- app/models/configuration_setting.rb
|
204
205
|
- app/models/label/base.rb
|
205
206
|
- app/models/label/skos/base.rb
|
@@ -262,7 +263,6 @@ files:
|
|
262
263
|
- app/views/kaminari/_paginator.html.erb
|
263
264
|
- app/views/layouts/_controls.html.erb
|
264
265
|
- app/views/layouts/_header.html.erb
|
265
|
-
- app/views/layouts/_navigation.html.erb
|
266
266
|
- app/views/layouts/_sections.html.erb
|
267
267
|
- app/views/layouts/application.html.erb
|
268
268
|
- app/views/pages/about.html.erb
|
@@ -288,6 +288,7 @@ files:
|
|
288
288
|
- app/views/partials/note/skos/_edit_change_note.html.erb
|
289
289
|
- app/views/partials/note/skos/change_note/_search_result.html.erb
|
290
290
|
- app/views/partials/note/skos/definition/_search_result.html.erb
|
291
|
+
- app/views/rdf/scheme.iqrdf
|
291
292
|
- app/views/rdf/show_concept.iqrdf
|
292
293
|
- app/views/search_results/_head_contents.html.erb
|
293
294
|
- app/views/search_results/_rdf_links.html.erb
|
@@ -300,7 +301,6 @@ files:
|
|
300
301
|
- app/views/users/index.html.erb
|
301
302
|
- app/views/users/new.html.erb
|
302
303
|
- config/application.rb
|
303
|
-
- config/blazing.rb
|
304
304
|
- config/boot.rb
|
305
305
|
- config/database.template.yml
|
306
306
|
- config/database.yml
|
@@ -354,176 +354,12 @@ files:
|
|
354
354
|
- db/migrate/20110525103100_separate_note_annotation_predicates.rb
|
355
355
|
- db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb
|
356
356
|
- db/migrate/20120119000000_create_configuration_settings.rb
|
357
|
+
- db/migrate/20120201120736_add_top_term_to_concepts.rb
|
357
358
|
- db/schema.rb
|
358
359
|
- db/seeds.rb
|
359
360
|
- public/404.html
|
360
361
|
- public/422.html
|
361
362
|
- public/500.html
|
362
|
-
- public/assets/ajax-loader-5c1bf2208bffabddfb583013023b2b11.gif
|
363
|
-
- public/assets/ajax-loader.gif
|
364
|
-
- public/assets/arrow_down-e1f4aacd91274ce8d4db40d8b4ad781f.gif
|
365
|
-
- public/assets/arrow_down.gif
|
366
|
-
- public/assets/arrow_up-a48d7a55002e97f1b70e0e957edf3964.gif
|
367
|
-
- public/assets/arrow_up.gif
|
368
|
-
- public/assets/back-ffd41b7924770324ead91a4eb51604f6.png
|
369
|
-
- public/assets/back.png
|
370
|
-
- public/assets/blueprint/ie-d2ff4b1cc209dc6b08716b5e0098e106.css
|
371
|
-
- public/assets/blueprint/ie-d2ff4b1cc209dc6b08716b5e0098e106.css.gz
|
372
|
-
- public/assets/blueprint/ie.css
|
373
|
-
- public/assets/blueprint/ie.css.gz
|
374
|
-
- public/assets/blueprint/print-799a53ff649d9f14baf5f5fe643d04c4.css
|
375
|
-
- public/assets/blueprint/print-799a53ff649d9f14baf5f5fe643d04c4.css.gz
|
376
|
-
- public/assets/blueprint/print.css
|
377
|
-
- public/assets/blueprint/print.css.gz
|
378
|
-
- public/assets/blueprint/screen-d721f98ceac371a9294fc6f091ca1cb5.css
|
379
|
-
- public/assets/blueprint/screen-d721f98ceac371a9294fc6f091ca1cb5.css.gz
|
380
|
-
- public/assets/blueprint/screen.css
|
381
|
-
- public/assets/blueprint/screen.css.gz
|
382
|
-
- public/assets/branch-c950c8ac69ee2f753f86a75d944aa976.png
|
383
|
-
- public/assets/branch.png
|
384
|
-
- public/assets/categ-e1e1a5958017a5586456895785298c89.png
|
385
|
-
- public/assets/categ.png
|
386
|
-
- public/assets/categ_open-de616238db93a0645b4c4a2cdd4eece4.png
|
387
|
-
- public/assets/categ_open.png
|
388
|
-
- public/assets/excanvas-1f8c36f3578409126862b5c17e59b9bd.js
|
389
|
-
- public/assets/excanvas-1f8c36f3578409126862b5c17e59b9bd.js.gz
|
390
|
-
- public/assets/excanvas.js
|
391
|
-
- public/assets/excanvas.js.gz
|
392
|
-
- public/assets/file-48364459f087292aafa11168442bde71.gif
|
393
|
-
- public/assets/file.gif
|
394
|
-
- public/assets/folder-7e0f370ab3fcca5deab89784db42da4a.gif
|
395
|
-
- public/assets/folder-closed-cb6c847cac4dea2cb59c98ecfc76b8ae.gif
|
396
|
-
- public/assets/folder-closed.gif
|
397
|
-
- public/assets/folder.gif
|
398
|
-
- public/assets/footer-ea48e7e96122c8ab345da8ff67f29838.png
|
399
|
-
- public/assets/footer.png
|
400
|
-
- public/assets/go_there-ee7df641e73ef83e43180dbc07c40540.png
|
401
|
-
- public/assets/go_there.png
|
402
|
-
- public/assets/header_long-5c7970b5911f94433a696ae87918ecb0.png
|
403
|
-
- public/assets/header_long.png
|
404
|
-
- public/assets/iqvoc/ie_fixes-7797396e9cd2f32961f56af18bacd33a.css
|
405
|
-
- public/assets/iqvoc/ie_fixes-7797396e9cd2f32961f56af18bacd33a.css.gz
|
406
|
-
- public/assets/iqvoc/ie_fixes.css
|
407
|
-
- public/assets/iqvoc/ie_fixes.css.gz
|
408
|
-
- public/assets/iqvoc/visualization-49b198ac7d8bc15fa13eafc528e96081.js
|
409
|
-
- public/assets/iqvoc/visualization-49b198ac7d8bc15fa13eafc528e96081.js.gz
|
410
|
-
- public/assets/iqvoc/visualization.js
|
411
|
-
- public/assets/iqvoc/visualization.js.gz
|
412
|
-
- public/assets/iqvoc-ff2c5252d9877c38297164984d4a7a55.png
|
413
|
-
- public/assets/iqvoc.png
|
414
|
-
- public/assets/jit_rgraph-63bc6fa01820d73bb4076f2f62493e66.js
|
415
|
-
- public/assets/jit_rgraph-63bc6fa01820d73bb4076f2f62493e66.js.gz
|
416
|
-
- public/assets/jit_rgraph.js
|
417
|
-
- public/assets/jit_rgraph.js.gz
|
418
|
-
- public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-951e2a65945b93d3f69c1994e5672f39.png
|
419
|
-
- public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
|
420
|
-
- public/assets/jquery-ui/ui-bg_flat_55_fbec88_40x100-befbc2de63b9556a093c0a5bb2e08a95.png
|
421
|
-
- public/assets/jquery-ui/ui-bg_flat_55_fbec88_40x100.png
|
422
|
-
- public/assets/jquery-ui/ui-bg_glass_75_d0e5f5_1x400-faa3341c6543985d2c94bd65e36bd6d8.png
|
423
|
-
- public/assets/jquery-ui/ui-bg_glass_75_d0e5f5_1x400.png
|
424
|
-
- public/assets/jquery-ui/ui-bg_glass_85_dfeffc_1x400-df1d30b336ee1530edc334458abd2417.png
|
425
|
-
- public/assets/jquery-ui/ui-bg_glass_85_dfeffc_1x400.png
|
426
|
-
- public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400-5767880afddd9b98f4b4cfd43a09947b.png
|
427
|
-
- public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png
|
428
|
-
- public/assets/jquery-ui/ui-bg_gloss-wave_55_5c9ccc_500x100-c563cdeeac0f1479b69e36b21d785ac4.png
|
429
|
-
- public/assets/jquery-ui/ui-bg_gloss-wave_55_5c9ccc_500x100.png
|
430
|
-
- public/assets/jquery-ui/ui-bg_inset-hard_100_f5f8f9_1x100-b837a3b8315a7ff270664ce469f2e6d7.png
|
431
|
-
- public/assets/jquery-ui/ui-bg_inset-hard_100_f5f8f9_1x100.png
|
432
|
-
- public/assets/jquery-ui/ui-bg_inset-hard_100_fcfdfd_1x100-b5d3cda0e6142534937f71cf4438e28a.png
|
433
|
-
- public/assets/jquery-ui/ui-bg_inset-hard_100_fcfdfd_1x100.png
|
434
|
-
- public/assets/jquery-ui/ui-icons_217bc0_256x240-14e62c24f88d00f227d88e5b16406eec.png
|
435
|
-
- public/assets/jquery-ui/ui-icons_217bc0_256x240.png
|
436
|
-
- public/assets/jquery-ui/ui-icons_2e83ff_256x240-c15e521f58d397c2fa31f4214f92a399.png
|
437
|
-
- public/assets/jquery-ui/ui-icons_2e83ff_256x240.png
|
438
|
-
- public/assets/jquery-ui/ui-icons_469bdd_256x240-aceccf3311e1b369e71a4ac629953d61.png
|
439
|
-
- public/assets/jquery-ui/ui-icons_469bdd_256x240.png
|
440
|
-
- public/assets/jquery-ui/ui-icons_6da8d5_256x240-18148340aba4ce354c9d52c5aa2f5c0c.png
|
441
|
-
- public/assets/jquery-ui/ui-icons_6da8d5_256x240.png
|
442
|
-
- public/assets/jquery-ui/ui-icons_cd0a0a_256x240-279edbd373e73b1ecd1ea7a6ba19750d.png
|
443
|
-
- public/assets/jquery-ui/ui-icons_cd0a0a_256x240.png
|
444
|
-
- public/assets/jquery-ui/ui-icons_d8e7f3_256x240-732b446e2e1d4f4fec4277e2632a9adf.png
|
445
|
-
- public/assets/jquery-ui/ui-icons_d8e7f3_256x240.png
|
446
|
-
- public/assets/jquery-ui/ui-icons_f9bd01_256x240-1ee933e5956743f5607f2075ed21fac5.png
|
447
|
-
- public/assets/jquery-ui/ui-icons_f9bd01_256x240.png
|
448
|
-
- public/assets/json2-fdda51ffce29dd4cb684dc7bd0aede01.js
|
449
|
-
- public/assets/json2-fdda51ffce29dd4cb684dc7bd0aede01.js.gz
|
450
|
-
- public/assets/json2.js
|
451
|
-
- public/assets/json2.js.gz
|
452
|
-
- public/assets/leaf_end-2ac151e8d7b4928bacb557f96cb5b517.png
|
453
|
-
- public/assets/leaf_end.png
|
454
|
-
- public/assets/leaf_end_filled-cdb0eb9ce60425bf0a1fd12226e502eb.png
|
455
|
-
- public/assets/leaf_end_filled.png
|
456
|
-
- public/assets/leaf_mid-966f99acaeaddfaedb6b602eb1eed7e0.png
|
457
|
-
- public/assets/leaf_mid.png
|
458
|
-
- public/assets/leaf_mid_filled-fecf059c72a649fe77052a886fb030d5.png
|
459
|
-
- public/assets/leaf_mid_filled.png
|
460
|
-
- public/assets/leaf_nothing-e8b5532117e55a184d93e8bf66afa20a.png
|
461
|
-
- public/assets/leaf_nothing.png
|
462
|
-
- public/assets/leaf_only-e4fe523e451ad9dea6bba08b44cf8039.png
|
463
|
-
- public/assets/leaf_only.png
|
464
|
-
- public/assets/leaf_only_filled-7b9a97903759b89facd5fb2e03ba14d1.png
|
465
|
-
- public/assets/leaf_only_filled.png
|
466
|
-
- public/assets/leaf_top-61fbce4d3adf2235964e828647a52149.png
|
467
|
-
- public/assets/leaf_top.png
|
468
|
-
- public/assets/leaf_top_filled-003d96425167d3b74e63eb75e12d163e.png
|
469
|
-
- public/assets/leaf_top_filled.png
|
470
|
-
- public/assets/manifest-c08ebf92c2ea89fbce8705f984a7c604.css
|
471
|
-
- public/assets/manifest-c08ebf92c2ea89fbce8705f984a7c604.css.gz
|
472
|
-
- public/assets/manifest-c6d880245ce63929a5842e48cb7c65f2.js
|
473
|
-
- public/assets/manifest-c6d880245ce63929a5842e48cb7c65f2.js.gz
|
474
|
-
- public/assets/manifest.css
|
475
|
-
- public/assets/manifest.css.gz
|
476
|
-
- public/assets/manifest.js
|
477
|
-
- public/assets/manifest.js.gz
|
478
|
-
- public/assets/manifest.yml
|
479
|
-
- public/assets/minus-633f45b71e7552c36214c9d81fce94b0.gif
|
480
|
-
- public/assets/minus.gif
|
481
|
-
- public/assets/nothing-19b9650c540a8776b047d6dde27687b0.png
|
482
|
-
- public/assets/nothing.png
|
483
|
-
- public/assets/ok-96195c6d50075a63cbdfa11818301f56.png
|
484
|
-
- public/assets/ok.png
|
485
|
-
- public/assets/plus-dd3920a86d5ea72497854d875c6afc00.gif
|
486
|
-
- public/assets/plus.gif
|
487
|
-
- public/assets/rdf_flyer-b2cc2d8b2a537a9c74b39450f8e6b16f.gif
|
488
|
-
- public/assets/rdf_flyer.gif
|
489
|
-
- public/assets/red_arrow-875d1bca1c4b97ec82635af86032a024.png
|
490
|
-
- public/assets/red_arrow.png
|
491
|
-
- public/assets/shadow-2975795dc944082531617a0c3ad2da70.png
|
492
|
-
- public/assets/shadow.png
|
493
|
-
- public/assets/spinner-0b76e32ff4e68b1e8789b4d0fe991cd7.gif
|
494
|
-
- public/assets/spinner.gif
|
495
|
-
- public/assets/tokenizer_delete-94c9b41ce566e499de2090b552e0d167.png
|
496
|
-
- public/assets/tokenizer_delete.png
|
497
|
-
- public/assets/tokenizer_pencile-b508830af36466f05620d83c544b22ff.png
|
498
|
-
- public/assets/tokenizer_pencile.png
|
499
|
-
- public/assets/tokenizer_show-152443b9a6c0b058cfb51c51f567116f.png
|
500
|
-
- public/assets/tokenizer_show.png
|
501
|
-
- public/assets/top_01-fab0825c0529e87fddf883074490dc19.png
|
502
|
-
- public/assets/top_01.png
|
503
|
-
- public/assets/treeview-black-116394dbf5afda75949a9925de790795.gif
|
504
|
-
- public/assets/treeview-black-line-142d898d1f095b3cec1a5dd204daae0d.gif
|
505
|
-
- public/assets/treeview-black-line.gif
|
506
|
-
- public/assets/treeview-black.gif
|
507
|
-
- public/assets/treeview-default-01747815c9007458fc391092548255f8.gif
|
508
|
-
- public/assets/treeview-default-line-9aecef4278b9e684f18f3c52e3607f80.gif
|
509
|
-
- public/assets/treeview-default-line.gif
|
510
|
-
- public/assets/treeview-default.gif
|
511
|
-
- public/assets/treeview-famfamfam-c5f86a8a52aa48e87b4bd58878c81ad8.gif
|
512
|
-
- public/assets/treeview-famfamfam-line-897ce097b7d84700985608f22e2403c3.gif
|
513
|
-
- public/assets/treeview-famfamfam-line.gif
|
514
|
-
- public/assets/treeview-famfamfam.gif
|
515
|
-
- public/assets/treeview-gray-56089927c44332a8375be41ab13130c8.gif
|
516
|
-
- public/assets/treeview-gray-line-d4be395725623b1f39a0964fa479774e.gif
|
517
|
-
- public/assets/treeview-gray-line.gif
|
518
|
-
- public/assets/treeview-gray.gif
|
519
|
-
- public/assets/treeview-red-cb4ed4e5654d76aef755e5c55b63e91c.gif
|
520
|
-
- public/assets/treeview-red-line-fdf843bbfba11d00897c7971dff7e806.gif
|
521
|
-
- public/assets/treeview-red-line.gif
|
522
|
-
- public/assets/treeview-red.gif
|
523
|
-
- public/assets/trunk-5686782333e8b4c7e4468c452fb52cec.png
|
524
|
-
- public/assets/trunk.png
|
525
|
-
- public/assets/unfinished-1cb6bae22a5b855f4b51cb03a1cce928.png
|
526
|
-
- public/assets/unfinished.png
|
527
363
|
- public/favicon.ico
|
528
364
|
- public/robots.txt
|
529
365
|
- lib/debug.rb
|
@@ -560,6 +396,7 @@ files:
|
|
560
396
|
- test/integration/client_augmentation_test.rb
|
561
397
|
- test/integration/client_edit_concept_test.rb
|
562
398
|
- test/integration/collection_circularity_test.rb
|
399
|
+
- test/integration/concept_scheme_test.rb
|
563
400
|
- test/integration/concept_test.rb
|
564
401
|
- test/integration/edit_concepts_test.rb
|
565
402
|
- test/integration/instance_configuration_test.rb
|
@@ -654,6 +491,7 @@ test_files:
|
|
654
491
|
- test/integration/client_augmentation_test.rb
|
655
492
|
- test/integration/client_edit_concept_test.rb
|
656
493
|
- test/integration/collection_circularity_test.rb
|
494
|
+
- test/integration/concept_scheme_test.rb
|
657
495
|
- test/integration/concept_test.rb
|
658
496
|
- test/integration/edit_concepts_test.rb
|
659
497
|
- test/integration/instance_configuration_test.rb
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<ul id="navi_main">
|
2
|
-
<% if can?(:use, :dashboard) %>
|
3
|
-
<li class="<%= params[:controller] == 'dashboard' ? 'active' : '' %>">
|
4
|
-
<%= link_to "Dashboard", dashboard_path %>
|
5
|
-
</li>
|
6
|
-
<% end %>
|
7
|
-
<li class="<%= params[:controller] == 'concepts/hierarchical' ? 'active' : '' %>">
|
8
|
-
<%= link_to t("txt.views.navigation.hierarchical"), hierarchical_concepts_path %>
|
9
|
-
</li>
|
10
|
-
<li class="<%= params[:controller] == 'concepts/alphabetical' ? 'active' : '' %>">
|
11
|
-
<%= link_to t("txt.views.navigation.alphabetical"), alphabetical_concepts_path(:letter => 'a') %>
|
12
|
-
</li>
|
13
|
-
<li class="<%= params[:controller] == 'collections' ? 'active' : '' %>">
|
14
|
-
<%= link_to t("txt.views.navigation.collections"), collections_path %>
|
15
|
-
</li>
|
16
|
-
<li class="<%= params[:controller] == 'search_results' ? 'active' : '' %>">
|
17
|
-
<%= link_to t("txt.views.navigation.search"), search_path %>
|
18
|
-
</li>
|
19
|
-
<% if can?(:manage, User) %>
|
20
|
-
<li class="<%= params[:controller] == 'users' ? 'active' : '' %>">
|
21
|
-
<%= link_to t("txt.views.navigation.users"), users_path %>
|
22
|
-
</li>
|
23
|
-
<% end %>
|
24
|
-
<% if can?(:manage, Iqvoc.config) %>
|
25
|
-
<li class="<%= params[:controller] == 'instance_configuration' ? 'active' : '' %>">
|
26
|
-
<%= link_to t("txt.views.navigation.instance_configuration"), instance_configuration_path %>
|
27
|
-
</li>
|
28
|
-
<% end %>
|
29
|
-
<li class="<%= params[:controller] == 'pages' && params[:action] == 'about' ? 'active' : '' %>">
|
30
|
-
<%= link_to t("txt.views.navigation.about"), about_path %>
|
31
|
-
</li>
|
32
|
-
</ul>
|
data/config/blazing.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Blazing Configuration File
|
3
|
-
#
|
4
|
-
|
5
|
-
#
|
6
|
-
# Specify the location of your repository:
|
7
|
-
#
|
8
|
-
repository 'git@github.com:innoq/iqvoc.git'
|
9
|
-
|
10
|
-
#
|
11
|
-
# Define possible deploy targets:
|
12
|
-
#
|
13
|
-
target :"iqvoc.innoq.com", 'iqvoc@iqvoc.innoq.com:/var/www/iqvoc'
|
14
|
-
# target :staging, 'blazing@production.server.com:/where/your/code/is/shipped/to', :default => true, :some_option => 'foo' # note: options defined here will override options defined globally for a recipe
|
15
|
-
|
16
|
-
#
|
17
|
-
# Optional: RVM handling
|
18
|
-
#
|
19
|
-
# Use Ruby Enterprise Edition and gemset 123
|
20
|
-
rvm '1.9.3'
|
21
|
-
|
22
|
-
# Or use the rvmrc
|
23
|
-
# rvm :rvmrc
|
24
|
-
#
|
25
|
-
|
26
|
-
#
|
27
|
-
# Define Recipes to be used (See the README for available recipes).
|
28
|
-
# Recipes are run in the order they are specified
|
29
|
-
#
|
30
|
-
recipe :precompile_assets
|
31
|
-
recipe :passenger_restart
|
32
|
-
|
33
|
-
#
|
34
|
-
# Define a rake task that should be run after deployment. The rake task will run after the recipes have run.
|
35
|
-
#
|
36
|
-
rake "db:migrate db:seed RAILS_ENV=production"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/public/assets/arrow_up.gif
DELETED
Binary file
|
Binary file
|
data/public/assets/back.png
DELETED
Binary file
|
@@ -1,36 +0,0 @@
|
|
1
|
-
/* -----------------------------------------------------------------------
|
2
|
-
|
3
|
-
|
4
|
-
Blueprint CSS Framework 0.9
|
5
|
-
http://blueprintcss.org
|
6
|
-
|
7
|
-
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
-
* See README for instructions on how to use Blueprint.
|
9
|
-
* For credits and origins, see AUTHORS.
|
10
|
-
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
-
|
12
|
-
----------------------------------------------------------------------- */
|
13
|
-
|
14
|
-
/* ie.css */
|
15
|
-
|
16
|
-
body {text-align:center;}
|
17
|
-
.container {text-align:left;}
|
18
|
-
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;}
|
19
|
-
* html legend {margin:0px -8px 16px 0;padding:0;}
|
20
|
-
sup {vertical-align:text-top;}
|
21
|
-
sub {vertical-align:text-bottom;}
|
22
|
-
html>body p code {*white-space:normal;}
|
23
|
-
hr {margin:-8px auto 11px;}
|
24
|
-
img {-ms-interpolation-mode:bicubic;}
|
25
|
-
.clearfix, .container {display:inline-block;}
|
26
|
-
* html .clearfix, * html .container {height:1%;}
|
27
|
-
fieldset {padding-top:0;}
|
28
|
-
textarea {overflow:auto;}
|
29
|
-
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
|
30
|
-
input.text:focus, input.title:focus {border-color:#666;}
|
31
|
-
input.text, input.title, textarea, select {margin:0.5em 0;}
|
32
|
-
input.checkbox, input.radio {position:relative;top:.25em;}
|
33
|
-
form.inline div, form.inline p {vertical-align:middle;}
|
34
|
-
form.inline label {position:relative;top:-0.25em;}
|
35
|
-
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;}
|
36
|
-
button, input.button {position:relative;top:0.25em;}
|
Binary file
|