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.
@@ -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
@@ -32,7 +32,7 @@ test:
32
32
  socket: /tmp/mysql.sock
33
33
 
34
34
  production:
35
- adapter: mysql2
35
+ adapter:
36
36
  encoding: utf8
37
37
  reconnect: false
38
38
  database: iqvoc_production
@@ -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)
@@ -47,7 +47,7 @@ namespace :deploy do
47
47
 
48
48
  token = SecureRandom.hex(64)
49
49
  txt = File.read(template)
50
- txt.gsub!(/#(Iqvoc::Application.config.secret_token) = '.*?'$/, "\\1 = '#{token}'")
50
+ txt.gsub!("S-E-C-R-E-T", token)
51
51
 
52
52
  run "mkdir -p #{path}"
53
53
  put txt, file_name
data/config/deploy.rb CHANGED
@@ -20,7 +20,7 @@ load_history
20
20
  load "#{File.dirname(__FILE__)}/deploy/common.rb"
21
21
 
22
22
  set :default_stage, "innoq"
23
- set :stages, %w(ec2 innoq)
23
+ set :stages, %w(ec2 innoq bian)
24
24
  require 'capistrano/ext/multistage'
25
25
 
26
26
  # RVM bootstrap
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://innoq.com"
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
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module Iqvoc
18
- VERSION = "3.2.4"
18
+ VERSION = "3.2.5"
19
19
  end
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
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-11-08 00:00:00.000000000 Z
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: &70192944294880 !ruby/object:Gem::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: *70192944294880
26
+ version_requirements: *70365076646300
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
- requirement: &70192944292000 !ruby/object:Gem::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: *70192944292000
37
+ version_requirements: *70365076645900
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: kaminari
40
- requirement: &70192944290160 !ruby/object:Gem::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: *70192944290160
48
+ version_requirements: *70365076645440
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: authlogic
51
- requirement: &70192944289240 !ruby/object:Gem::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: *70192944289240
59
+ version_requirements: *70365076645020
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: cancan
62
- requirement: &70192944288460 !ruby/object:Gem::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: *70192944288460
70
+ version_requirements: *70365076644600
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: iq_rdf
73
- requirement: &70192944287380 !ruby/object:Gem::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: *70192944287380
81
+ version_requirements: *70365076644100
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: json
84
- requirement: &70192944286540 !ruby/object:Gem::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: *70192944286540
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://innoq.com
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