iqvoc 3.2.4 → 3.2.5
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.
- data/app/views/collections/show.html.erb +1 -1
- data/config/database.yml +1 -1
- data/config/deploy/bian.rb +37 -0
- data/config/deploy/common.rb +1 -1
- data/config/deploy.rb +1 -1
- data/iqvoc.gemspec +2 -2
- data/lib/iqvoc/version.rb +1 -1
- metadata +19 -18
- data/config/initializers/secret_token.rb +0 -30
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<h3><%= Iqvoc::Concept.base_class.model_name.human(:count => 2) %></h3>
|
|
37
37
|
<div class="relation-body">
|
|
38
38
|
<ul>
|
|
39
|
-
<%- @collection.concepts.sort {|a, b| a.pref_label <=> b.pref_label }.each do |concept| -%>
|
|
39
|
+
<%- @collection.concepts.sort {|a, b| a.pref_label.to_s <=> b.pref_label.to_s }.each do |concept| -%>
|
|
40
40
|
<%- if concept.published? || (!concept.published_version_id && can?(:update, concept)) -%>
|
|
41
41
|
<li><%= render concept.class.inline_partial_name, :concept => concept %></li>
|
|
42
42
|
<%- end -%>
|
data/config/database.yml
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
@capistrano_history ||= {}
|
|
18
|
+
|
|
19
|
+
# main details
|
|
20
|
+
servername = "iqvoc-bian.innoq.com"
|
|
21
|
+
role :web, servername
|
|
22
|
+
role :app, servername
|
|
23
|
+
role :db, servername, :primary => true
|
|
24
|
+
|
|
25
|
+
username = Capistrano::CLI.ui.ask("Please enter a ssh username for #{servername} [#{@capistrano_history['last_user']}]: ")
|
|
26
|
+
username = @capistrano_history['last_user'] if username == ""
|
|
27
|
+
@capistrano_history['last_user'] = username
|
|
28
|
+
|
|
29
|
+
# server details
|
|
30
|
+
default_run_options[:pty] = true
|
|
31
|
+
ssh_options[:forward_agent] = true
|
|
32
|
+
set :deploy_to, "/var/www/iqvoc_bian"
|
|
33
|
+
set :deploy_via, :remote_cache
|
|
34
|
+
set :user, username
|
|
35
|
+
set :use_sudo, false
|
|
36
|
+
|
|
37
|
+
save_history if defined?(save_history)
|
data/config/deploy/common.rb
CHANGED
data/config/deploy.rb
CHANGED
data/iqvoc.gemspec
CHANGED
|
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
s.version = Iqvoc::VERSION
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.authors = ["Robert Glaser", "Till Schulte-Coerne", "Frederik Dohr"]
|
|
10
|
-
s.email = ["robert.glaser@innoq.com", "till.schulte-coerne@innoq.com"]
|
|
11
|
-
s.homepage = "http://
|
|
10
|
+
s.email = ["robert.glaser@innoq.com", "till.schulte-coerne@innoq.com", "frederik.dohr@innoq.com"]
|
|
11
|
+
s.homepage = "http://github.com/innoq/iqvoc"
|
|
12
12
|
s.summary = "iQvoc"
|
|
13
13
|
s.description = "iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic Web"
|
|
14
14
|
|
data/lib/iqvoc/version.rb
CHANGED
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.2.
|
|
4
|
+
version: 3.2.5
|
|
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: 2011-
|
|
14
|
+
date: 2011-12-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rails
|
|
18
|
-
requirement: &
|
|
18
|
+
requirement: &70365076646300 !ruby/object:Gem::Requirement
|
|
19
19
|
none: false
|
|
20
20
|
requirements:
|
|
21
21
|
- - ~>
|
|
@@ -23,10 +23,10 @@ dependencies:
|
|
|
23
23
|
version: 3.0.9
|
|
24
24
|
type: :runtime
|
|
25
25
|
prerelease: false
|
|
26
|
-
version_requirements: *
|
|
26
|
+
version_requirements: *70365076646300
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: bundler
|
|
29
|
-
requirement: &
|
|
29
|
+
requirement: &70365076645900 !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: *70365076645900
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
name: kaminari
|
|
40
|
-
requirement: &
|
|
40
|
+
requirement: &70365076645440 !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: *70365076645440
|
|
49
49
|
- !ruby/object:Gem::Dependency
|
|
50
50
|
name: authlogic
|
|
51
|
-
requirement: &
|
|
51
|
+
requirement: &70365076645020 !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: *70365076645020
|
|
60
60
|
- !ruby/object:Gem::Dependency
|
|
61
61
|
name: cancan
|
|
62
|
-
requirement: &
|
|
62
|
+
requirement: &70365076644600 !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: *70365076644600
|
|
71
71
|
- !ruby/object:Gem::Dependency
|
|
72
72
|
name: iq_rdf
|
|
73
|
-
requirement: &
|
|
73
|
+
requirement: &70365076644100 !ruby/object:Gem::Requirement
|
|
74
74
|
none: false
|
|
75
75
|
requirements:
|
|
76
76
|
- - ~>
|
|
@@ -78,10 +78,10 @@ dependencies:
|
|
|
78
78
|
version: 0.0.14
|
|
79
79
|
type: :runtime
|
|
80
80
|
prerelease: false
|
|
81
|
-
version_requirements: *
|
|
81
|
+
version_requirements: *70365076644100
|
|
82
82
|
- !ruby/object:Gem::Dependency
|
|
83
83
|
name: json
|
|
84
|
-
requirement: &
|
|
84
|
+
requirement: &70365076643680 !ruby/object:Gem::Requirement
|
|
85
85
|
none: false
|
|
86
86
|
requirements:
|
|
87
87
|
- - ! '>='
|
|
@@ -89,12 +89,13 @@ dependencies:
|
|
|
89
89
|
version: '0'
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
|
-
version_requirements: *
|
|
92
|
+
version_requirements: *70365076643680
|
|
93
93
|
description: iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic
|
|
94
94
|
Web
|
|
95
95
|
email:
|
|
96
96
|
- robert.glaser@innoq.com
|
|
97
97
|
- till.schulte-coerne@innoq.com
|
|
98
|
+
- frederik.dohr@innoq.com
|
|
98
99
|
executables: []
|
|
99
100
|
extensions: []
|
|
100
101
|
extra_rdoc_files: []
|
|
@@ -241,6 +242,7 @@ files:
|
|
|
241
242
|
- config/database.yml
|
|
242
243
|
- config/database.yml.mysql
|
|
243
244
|
- config/database.yml.sqlite
|
|
245
|
+
- config/deploy/bian.rb
|
|
244
246
|
- config/deploy/common.rb
|
|
245
247
|
- config/deploy/ec2.rb
|
|
246
248
|
- config/deploy/history.rb
|
|
@@ -260,7 +262,6 @@ files:
|
|
|
260
262
|
- config/initializers/kaminari_config.rb
|
|
261
263
|
- config/initializers/language.rb
|
|
262
264
|
- config/initializers/mime_types.rb
|
|
263
|
-
- config/initializers/secret_token.rb
|
|
264
265
|
- config/initializers/secret_token.rb.template
|
|
265
266
|
- config/initializers/session_store.rb
|
|
266
267
|
- config/locales/activerecord.de.yml
|
|
@@ -465,7 +466,7 @@ files:
|
|
|
465
466
|
- test/unit/note_test.rb
|
|
466
467
|
- test/unit/origin_mapping_test.rb
|
|
467
468
|
- test/unit/skos_import_test.rb
|
|
468
|
-
homepage: http://
|
|
469
|
+
homepage: http://github.com/innoq/iqvoc
|
|
469
470
|
licenses: []
|
|
470
471
|
post_install_message:
|
|
471
472
|
rdoc_options: []
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
# Be sure to restart your server when you modify this file.
|
|
18
|
-
|
|
19
|
-
if Iqvoc.const_defined?(:Application)
|
|
20
|
-
|
|
21
|
-
# Your secret key for verifying the integrity of signed cookies.
|
|
22
|
-
# If you change this key, all old signed cookies will become invalid!
|
|
23
|
-
# Make sure the secret is at least 30 characters and all random,
|
|
24
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
|
25
|
-
|
|
26
|
-
# Run `rake secret` and uncomment the following line
|
|
27
|
-
# Replace the secret-placeholder with your generated token
|
|
28
|
-
Iqvoc::Application.config.secret_token = 'e31dccdf1caecf25fe01b7ef39e38787b2b21c5f3d5b74d9f44e56de699109141ab30206c07bc68948699618fe55c17b1338462ce7691c7559a65bfc69d929de'
|
|
29
|
-
|
|
30
|
-
end
|