iqvoc_skosxl 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cdc6a35e58b0d000312d04c68cdd1c2c6ac12605
4
+ data.tar.gz: f71ad4c57bac10b3f5d5a0d4a2e2859aa18a0537
5
+ SHA512:
6
+ metadata.gz: 7bd885f0fe99b8b2714a39327e85169f25f24851f3b6e723fe08612eec472e1d052c7bdbb5401bdf0789214227fc4df9b2c8a1098f632d53609f09865279b02c
7
+ data.tar.gz: 648fe3b0bd5023ed198095bb529c6f7eaa5e3afaab29809c84c5339c9303b8c75ede63105d0b0ae53d5b1568fa8cca81f9ce1d6de93d635c41f873f69fb3cdc0
data/Gemfile CHANGED
@@ -1,15 +1,15 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rails', '3.2.3'
4
- gem 'iqvoc', '~> 4.0.0'
3
+ gem 'rails', '~> 3.2.13'
4
+ gem 'iqvoc', :git => 'git://github.com/innoq/iqvoc.git'
5
5
 
6
6
  group :development do
7
7
  gem 'awesome_print'
8
8
  end
9
9
 
10
10
  group :assets do
11
+ gem 'uglifier', '>= 1.0.3'
11
12
  gem 'sass-rails', '~> 3.2.5'
12
- gem 'uglifier', '>= 1.0.3'
13
13
  end
14
14
 
15
15
  group :development, :test do
@@ -34,6 +34,13 @@ end
34
34
  group :production, :production_internal do
35
35
  platforms :ruby do
36
36
  gem 'sqlite3'
37
+
38
+ gem 'pry'
39
+ gem 'pry-rails'
40
+ gem 'pry-debugger'
41
+ gem 'pry-remote'
42
+ gem 'hirb-unicode'
43
+ gem 'cane'
37
44
  end
38
45
 
39
46
  platforms :jruby do
data/Gemfile.lock CHANGED
@@ -1,166 +1,187 @@
1
+ GIT
2
+ remote: git://github.com/innoq/iqvoc.git
3
+ revision: 77c24b3613951ce84e4a65db2f04b53c278aa0b6
4
+ specs:
5
+ iqvoc (4.1.0)
6
+ authlogic
7
+ bundler
8
+ cancan
9
+ iq_rdf (~> 0.1.2)
10
+ iq_triplestorage
11
+ json
12
+ kaminari
13
+ rails (~> 3.2.1)
14
+ rails_autolink
15
+ sass-rails (~> 3.2.5)
16
+ simple_form
17
+
1
18
  GEM
2
19
  remote: http://rubygems.org/
3
20
  specs:
4
- actionmailer (3.2.3)
5
- actionpack (= 3.2.3)
6
- mail (~> 2.4.4)
7
- actionpack (3.2.3)
8
- activemodel (= 3.2.3)
9
- activesupport (= 3.2.3)
21
+ actionmailer (3.2.13)
22
+ actionpack (= 3.2.13)
23
+ mail (~> 2.5.3)
24
+ actionpack (3.2.13)
25
+ activemodel (= 3.2.13)
26
+ activesupport (= 3.2.13)
10
27
  builder (~> 3.0.0)
11
28
  erubis (~> 2.7.0)
12
- journey (~> 1.0.1)
13
- rack (~> 1.4.0)
29
+ journey (~> 1.0.4)
30
+ rack (~> 1.4.5)
14
31
  rack-cache (~> 1.2)
15
32
  rack-test (~> 0.6.1)
16
- sprockets (~> 2.1.2)
17
- activemodel (3.2.3)
18
- activesupport (= 3.2.3)
33
+ sprockets (~> 2.2.1)
34
+ activemodel (3.2.13)
35
+ activesupport (= 3.2.13)
19
36
  builder (~> 3.0.0)
20
- activerecord (3.2.3)
21
- activemodel (= 3.2.3)
22
- activesupport (= 3.2.3)
37
+ activerecord (3.2.13)
38
+ activemodel (= 3.2.13)
39
+ activesupport (= 3.2.13)
23
40
  arel (~> 3.0.2)
24
41
  tzinfo (~> 0.3.29)
25
- activerecord-jdbc-adapter (1.2.2)
26
- activerecord-jdbcmysql-adapter (1.2.2)
27
- activerecord-jdbc-adapter (~> 1.2.2)
42
+ activerecord-jdbc-adapter (1.2.9)
43
+ activerecord-jdbcmysql-adapter (1.2.9)
44
+ activerecord-jdbc-adapter (~> 1.2.9)
28
45
  jdbc-mysql (~> 5.1.0)
29
- activerecord-jdbcsqlite3-adapter (1.2.2)
30
- activerecord-jdbc-adapter (~> 1.2.2)
46
+ activerecord-jdbcsqlite3-adapter (1.2.9)
47
+ activerecord-jdbc-adapter (~> 1.2.9)
31
48
  jdbc-sqlite3 (~> 3.7.2)
32
- activerecord-oracle_enhanced-adapter (1.4.1)
33
- activeresource (3.2.3)
34
- activemodel (= 3.2.3)
35
- activesupport (= 3.2.3)
36
- activesupport (3.2.3)
37
- i18n (~> 0.6)
49
+ activerecord-oracle_enhanced-adapter (1.4.2)
50
+ activeresource (3.2.13)
51
+ activemodel (= 3.2.13)
52
+ activesupport (= 3.2.13)
53
+ activesupport (3.2.13)
54
+ i18n (= 0.6.1)
38
55
  multi_json (~> 1.0)
39
- addressable (2.2.8)
40
56
  arel (3.0.2)
41
- authlogic (3.1.0)
42
- activerecord (>= 3.0.7)
43
- activerecord (>= 3.0.7)
44
- awesome_print (1.0.2)
45
- builder (3.0.0)
46
- cancan (1.6.7)
47
- capybara (1.1.2)
57
+ authlogic (3.3.0)
58
+ activerecord (>= 3.2)
59
+ activesupport (>= 3.2)
60
+ awesome_print (1.1.0)
61
+ builder (3.0.4)
62
+ cancan (1.6.9)
63
+ cane (2.5.2)
64
+ parallel
65
+ capybara (2.1.0)
48
66
  mime-types (>= 1.16)
49
67
  nokogiri (>= 1.3.3)
50
68
  rack (>= 1.0.0)
51
69
  rack-test (>= 0.5.4)
52
- selenium-webdriver (~> 2.0)
53
- xpath (~> 0.1.4)
54
- childprocess (0.3.2)
55
- ffi (~> 1.0.6)
56
- database_cleaner (0.7.2)
70
+ xpath (~> 2.0)
71
+ coderay (1.0.9)
72
+ columnize (0.3.6)
73
+ database_cleaner (0.9.1)
74
+ debugger (1.5.0)
75
+ columnize (>= 0.3.1)
76
+ debugger-linecache (~> 1.2.0)
77
+ debugger-ruby_core_source (~> 1.2.0)
78
+ debugger-linecache (1.2.0)
79
+ debugger-ruby_core_source (1.2.0)
57
80
  erubis (2.7.0)
58
- execjs (1.3.2)
81
+ execjs (1.4.0)
59
82
  multi_json (~> 1.0)
60
- factory_girl (3.2.0)
83
+ factory_girl (4.2.0)
61
84
  activesupport (>= 3.0.0)
62
- factory_girl_rails (3.2.0)
63
- factory_girl (~> 3.2.0)
85
+ factory_girl_rails (4.2.1)
86
+ factory_girl (~> 4.2.0)
64
87
  railties (>= 3.0.0)
65
- fastercsv (1.5.5)
66
- ffi (1.0.11)
67
- ffi (1.0.11-java)
68
- hike (1.2.1)
69
- i18n (0.6.0)
70
- iq_rdf (0.1.5)
88
+ hike (1.2.2)
89
+ hirb (0.7.1)
90
+ hirb-unicode (0.0.5)
91
+ hirb (~> 0.5)
92
+ unicode-display_width (~> 0.1.1)
93
+ i18n (0.6.1)
94
+ iq_rdf (0.1.10)
95
+ activesupport
71
96
  builder
72
97
  bundler
73
- iqvoc (4.0.0)
74
- authlogic
75
- bundler
76
- cancan
77
- fastercsv
78
- iq_rdf (~> 0.1.2)
79
- json
80
- kaminari
81
- rails (~> 3.2.1)
82
- rails_autolink
83
- sass-rails (~> 3.2.5)
84
- simple_form
85
- jdbc-mysql (5.1.13)
86
- jdbc-sqlite3 (3.7.2)
87
- journey (1.0.3)
88
- json (1.7.1)
89
- json (1.7.1-java)
90
- kaminari (0.13.0)
98
+ iq_triplestorage (0.2.2)
99
+ jdbc-mysql (5.1.24)
100
+ jdbc-sqlite3 (3.7.2.1)
101
+ journey (1.0.4)
102
+ json (1.7.7)
103
+ json (1.7.7-java)
104
+ kaminari (0.14.1)
91
105
  actionpack (>= 3.0.0)
92
106
  activesupport (>= 3.0.0)
93
- railties (>= 3.0.0)
94
- libwebsocket (0.1.3)
95
- addressable
96
- mail (2.4.4)
107
+ mail (2.5.3)
97
108
  i18n (>= 0.4.0)
98
109
  mime-types (~> 1.16)
99
110
  treetop (~> 1.4.8)
100
- mime-types (1.18)
101
- multi_json (1.3.4)
111
+ method_source (0.8.1)
112
+ mime-types (1.22)
113
+ multi_json (1.7.2)
102
114
  mysql2 (0.3.11)
103
- nokogiri (1.5.2)
104
- nokogiri (1.5.2-java)
115
+ nokogiri (1.5.9)
116
+ nokogiri (1.5.9-java)
117
+ parallel (0.6.4)
105
118
  polyglot (0.3.3)
106
- rack (1.4.1)
119
+ pry (0.9.12)
120
+ coderay (~> 1.0.5)
121
+ method_source (~> 0.8)
122
+ slop (~> 3.4)
123
+ pry-debugger (0.2.2)
124
+ debugger (~> 1.3)
125
+ pry (~> 0.9.10)
126
+ pry-rails (0.2.2)
127
+ pry (>= 0.9.10)
128
+ pry-remote (0.1.7)
129
+ pry (~> 0.9)
130
+ slop (~> 3.0)
131
+ rack (1.4.5)
107
132
  rack-cache (1.2)
108
133
  rack (>= 0.4)
109
- rack-ssl (1.3.2)
134
+ rack-ssl (1.3.3)
110
135
  rack
111
- rack-test (0.6.1)
136
+ rack-test (0.6.2)
112
137
  rack (>= 1.0)
113
- rails (3.2.3)
114
- actionmailer (= 3.2.3)
115
- actionpack (= 3.2.3)
116
- activerecord (= 3.2.3)
117
- activeresource (= 3.2.3)
118
- activesupport (= 3.2.3)
138
+ rails (3.2.13)
139
+ actionmailer (= 3.2.13)
140
+ actionpack (= 3.2.13)
141
+ activerecord (= 3.2.13)
142
+ activeresource (= 3.2.13)
143
+ activesupport (= 3.2.13)
119
144
  bundler (~> 1.0)
120
- railties (= 3.2.3)
145
+ railties (= 3.2.13)
121
146
  rails_autolink (1.0.9)
122
147
  rails (~> 3.1)
123
- railties (3.2.3)
124
- actionpack (= 3.2.3)
125
- activesupport (= 3.2.3)
148
+ railties (3.2.13)
149
+ actionpack (= 3.2.13)
150
+ activesupport (= 3.2.13)
126
151
  rack-ssl (~> 1.3.2)
127
152
  rake (>= 0.8.7)
128
153
  rdoc (~> 3.4)
129
- thor (~> 0.14.6)
130
- rake (0.9.2.2)
131
- rdoc (3.12)
154
+ thor (>= 0.14.6, < 2.0)
155
+ rake (10.0.4)
156
+ rdoc (3.12.2)
132
157
  json (~> 1.4)
133
- rubyzip (0.9.8)
134
- sass (3.1.18)
135
- sass-rails (3.2.5)
158
+ sass (3.2.7)
159
+ sass-rails (3.2.6)
136
160
  railties (~> 3.2.0)
137
161
  sass (>= 3.1.10)
138
162
  tilt (~> 1.3)
139
- selenium-webdriver (2.21.2)
140
- childprocess (>= 0.2.5)
141
- ffi (~> 1.0)
142
- libwebsocket (~> 0.1.3)
143
- multi_json (~> 1.0)
144
- rubyzip
145
- simple_form (2.0.2)
163
+ simple_form (2.1.0)
146
164
  actionpack (~> 3.0)
147
165
  activemodel (~> 3.0)
148
- sprockets (2.1.3)
166
+ slop (3.4.4)
167
+ sprockets (2.2.2)
149
168
  hike (~> 1.2)
169
+ multi_json (~> 1.0)
150
170
  rack (~> 1.0)
151
171
  tilt (~> 1.1, != 1.3.0)
152
- sqlite3 (1.3.6)
153
- test-unit (2.4.8)
154
- thor (0.14.6)
155
- tilt (1.3.3)
156
- treetop (1.4.10)
172
+ sqlite3 (1.3.7)
173
+ test-unit (2.5.4)
174
+ thor (0.18.1)
175
+ tilt (1.3.7)
176
+ treetop (1.4.12)
157
177
  polyglot
158
178
  polyglot (>= 0.3.1)
159
- tzinfo (0.3.33)
160
- uglifier (1.2.4)
179
+ tzinfo (0.3.37)
180
+ uglifier (2.0.1)
161
181
  execjs (>= 0.3.0)
162
- multi_json (>= 1.0.2)
163
- xpath (0.1.4)
182
+ multi_json (~> 1.0, >= 1.0.2)
183
+ unicode-display_width (0.1.1)
184
+ xpath (2.0.0)
164
185
  nokogiri (~> 1.3)
165
186
 
166
187
  PLATFORMS
@@ -172,13 +193,19 @@ DEPENDENCIES
172
193
  activerecord-jdbcsqlite3-adapter
173
194
  activerecord-oracle_enhanced-adapter
174
195
  awesome_print
196
+ cane
175
197
  capybara
176
198
  database_cleaner
177
199
  factory_girl_rails
178
- iqvoc (~> 4.0.0)
200
+ hirb-unicode
201
+ iqvoc!
179
202
  mysql2
180
203
  nokogiri (~> 1.5.0)
181
- rails (= 3.2.3)
204
+ pry
205
+ pry-debugger
206
+ pry-rails
207
+ pry-remote
208
+ rails (~> 3.2.13)
182
209
  sass-rails (~> 3.2.5)
183
210
  sqlite3
184
211
  test-unit
@@ -1,7 +1,7 @@
1
1
  module LabelsHelper
2
2
 
3
3
  def render_label_rdf(document, label)
4
- document << label.build_rdf_subject(document, controller) do |c|
4
+ document << label.build_rdf_subject do |c|
5
5
 
6
6
  c.Schema::expires(label.expired_at) if label.expired_at
7
7
 
@@ -16,7 +16,7 @@ module Concept
16
16
  # (Re)create labelings reflecting a widget's parameters
17
17
  origin_mappings.each do |language, new_origins|
18
18
  new_origins = new_origins.
19
- split(Iqvoc::InlineDataHelper::Splitter).map(&:squish)
19
+ split(Iqvoc::InlineDataHelper::SPLITTER).map(&:squish)
20
20
 
21
21
  # Iterate over all labels to be added and create them
22
22
  Iqvoc::XLLabel.base_class.by_origin(new_origins).each do |l|
@@ -34,13 +34,13 @@ module Concept
34
34
  def labelings_by_id(relation_name, language)
35
35
  (@labelings_by_id && @labelings_by_id[relation_name] && @labelings_by_id[relation_name][language]) ||
36
36
  self.send(relation_name).by_label_language(language).
37
- map { |l| l.target.origin }.join(Iqvoc::InlineDataHelper::Joiner)
37
+ map { |l| l.target.origin }.join(Iqvoc::InlineDataHelper::JOINER)
38
38
  end
39
39
 
40
40
  def valid_label_language
41
41
  (@labelings_by_id || {}).each { |labeling_class_name, origin_mappings|
42
42
  origin_mappings.each { |language, new_origins|
43
- new_origins = new_origins.split(Iqvoc::InlineDataHelper::Splitter)
43
+ new_origins = new_origins.split(Iqvoc::InlineDataHelper::SPLITTER)
44
44
  Iqvoc::XLLabel.base_class.by_origin(new_origins).each do |label|
45
45
  if label.language != language.to_s
46
46
  errors.add(:base,
@@ -130,7 +130,7 @@ class Label::SKOSXL::Base < Label::Base
130
130
  "partials/label/skosxl/edit_link_base"
131
131
  end
132
132
 
133
- def build_rdf_subject(document, controller, &block)
133
+ def build_rdf_subject(&block)
134
134
  ns = IqRdf::Namespace.find_namespace_class(self.rdf_namespace.to_sym)
135
135
  raise "Namespace '#{rdf_namespace}' is not defined in IqRdf document." unless ns
136
136
  IqRdf.build_uri(self.origin, ns.build_uri(self.rdf_class), &block)
@@ -0,0 +1,6 @@
1
+ <%- if label.expired_at -%>
2
+ <h4><%= t("txt.views.labels.expired_at") %></h4>
3
+ <div class="relation">
4
+ <%= l(label.expired_at)%>
5
+ </div>
6
+ <%- end -%>
@@ -13,7 +13,7 @@
13
13
  :"data-entities" => Iqvoc::XLLabel.base_class.editor_selectable.
14
14
  by_language(language).by_origin(concept.labelings_by_id(
15
15
  klass.name.to_relation_name, language).
16
- split(Iqvoc::InlineDataHelper::Splitter)).
16
+ split(Iqvoc::InlineDataHelper::SPLITTER)).
17
17
  map { |l| label_widget_data(l) }.to_json %>
18
18
  <% end %>
19
19
  <% end %>
File without changes
File without changes
data/config/routes.rb CHANGED
@@ -1,15 +1,13 @@
1
- Rails.application.routes.draw do
2
- scope '(:lang)', :lang => /#{Iqvoc::Concept.pref_labeling_languages.join("|")}/ do
3
-
4
- resources :labels
5
-
6
- match "labels/versions/:origin/branch(.:format)" => "labels/versions#branch", :as => "label_versions_branch"
7
- match "labels/versions/:origin/merge(.:format)" => "labels/versions#merge", :as => "label_versions_merge"
8
- match "labels/versions/:origin/lock(.:format)" => "labels/versions#lock", :as => "label_versions_lock"
9
- match "labels/versions/:origin/unlock(.:format)" => "labels/versions#unlock", :as => "label_versions_unlock"
10
- match "labels/versions/:origin/to_review(.:format)" => "labels/versions#to_review", :as => "label_versions_to_review"
11
- match "labels/versions/:origin/consistency_check(.:format)" => "labels/versions#consistency_check", :as => "label_versions_consistency_check"
12
-
13
- end
1
+ Iqvoc.localized_routes << lambda do |routing|
2
+ routing.resources :labels
3
+
4
+ routing.match "labels/versions/:origin/branch(.:format)" => "labels/versions#branch", :as => "label_versions_branch"
5
+ routing.match "labels/versions/:origin/merge(.:format)" => "labels/versions#merge", :as => "label_versions_merge"
6
+ routing.match "labels/versions/:origin/lock(.:format)" => "labels/versions#lock", :as => "label_versions_lock"
7
+ routing.match "labels/versions/:origin/unlock(.:format)" => "labels/versions#unlock", :as => "label_versions_unlock"
8
+ routing.match "labels/versions/:origin/to_review(.:format)" => "labels/versions#to_review", :as => "label_versions_to_review"
9
+ routing.match "labels/versions/:origin/consistency_check(.:format)" => "labels/versions#consistency_check", :as => "label_versions_consistency_check"
10
+ end
14
11
 
12
+ Rails.application.routes.draw do
15
13
  end
data/iqvoc_skosxl.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = "iQvoc SKOS-XL extension"
13
13
  s.description = ""
14
14
 
15
- s.add_dependency "iqvoc", "~> 4.0.0"
15
+ s.add_dependency "iqvoc", "~> 4.1.0"
16
16
  s.add_dependency "bundler"
17
17
 
18
18
  s.files = %w(README.md Gemfile Gemfile.lock Rakefile iqvoc_skosxl.gemspec) + Dir.glob("{app,config,db,public,lib,test}/**/*")
@@ -1,5 +1,5 @@
1
1
  module Iqvoc
2
2
  module SKOSXL
3
- VERSION = "2.0.2"
3
+ VERSION = "2.1.0"
4
4
  end
5
5
  end
@@ -0,0 +1,19 @@
1
+ # encoding: UTF-8
2
+
3
+ require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
4
+ require 'iqvoc/rdfapi' # XXX: only required with Zeus
5
+
6
+ class RoutingTest < ActionController::TestCase
7
+
8
+ setup do
9
+ @controller = LabelsController.new
10
+ @label = Iqvoc::XLLabel.base_class.create :value => "foo",
11
+ :language => "en", :published_at => Time.now
12
+ end
13
+
14
+ test "routing" do
15
+ get :show, :lang => "en", :format => "html", :id => @label.origin
16
+ assert_response :success
17
+ end
18
+
19
+ end
@@ -39,7 +39,7 @@ class ConceptLabelLanguageTest < ActionDispatch::IntegrationTest
39
39
  :with => "#{@labels["Deutsch"].origin},"
40
40
  click_button "Speichern"
41
41
 
42
- assert page.has_css?(".flash_error")
42
+ assert page.has_css?(".alert-error")
43
43
  assert page.has_css?("#new_concept")
44
44
  assert page.source.include?( # XXX: page.has_content? didn't work
45
45
  I18n.t("txt.controllers.versioned_concept.label_error") % "Deutsch")
@@ -58,7 +58,7 @@ class ConceptLabelLanguageTest < ActionDispatch::IntegrationTest
58
58
  :with => "#{@labels["Deutsch"].origin},"
59
59
  click_button "Speichern"
60
60
 
61
- assert page.has_css?(".flash_error")
61
+ assert page.has_css?(".alert-error")
62
62
  assert page.has_css?("#new_concept")
63
63
  assert page.source.include?( # XXX: page.has_content? didn't work
64
64
  I18n.t("txt.controllers.versioned_concept.label_error") % "Deutsch")
@@ -85,7 +85,7 @@ class ConceptLabelLanguageTest < ActionDispatch::IntegrationTest
85
85
  :with => "#{@labels["English"].origin},"
86
86
  click_button "Speichern"
87
87
 
88
- assert page.has_css?(".flash_error")
88
+ assert page.has_css?(".alert-error")
89
89
  assert page.has_css?("#edit_concept")
90
90
  assert page.source.include?( # XXX: page.has_content? didn't work
91
91
  I18n.t("txt.controllers.versioned_concept.label_error") % "English")
@@ -4,7 +4,7 @@ require 'integration_test_helper'
4
4
  class DashboardTest < ActionDispatch::IntegrationTest
5
5
 
6
6
  setup do
7
- @label = Factory(:xllabel, :published_at => nil)
7
+ @label = FactoryGirl.create(:xllabel, :published_at => nil)
8
8
  end
9
9
 
10
10
  test "labels appearing in dashboard" do
@@ -4,7 +4,7 @@ require 'integration_test_helper'
4
4
  class EditConceptsTest < ActionDispatch::IntegrationTest
5
5
 
6
6
  setup do
7
- @label = Factory(:xllabel)
7
+ @label = FactoryGirl.create(:xllabel)
8
8
  end
9
9
 
10
10
  test "Create a new concept version" do
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iqvoc_skosxl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
5
- prerelease:
4
+ version: 2.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Robert Glaser
@@ -11,38 +10,34 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-11-20 00:00:00.000000000 Z
13
+ date: 2013-04-17 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: iqvoc
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ~>
22
20
  - !ruby/object:Gem::Version
23
- version: 4.0.0
21
+ version: 4.1.0
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ~>
30
27
  - !ruby/object:Gem::Version
31
- version: 4.0.0
28
+ version: 4.1.0
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: bundler
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  description: ''
@@ -75,6 +70,7 @@ files:
75
70
  - app/models/labeling/skosxl/base.rb
76
71
  - app/models/labeling/skosxl/hidden_label.rb
77
72
  - app/models/labeling/skosxl/pref_label.rb
73
+ - app/views/labels/_details.html.erb
78
74
  - app/views/labels/_form.html.erb
79
75
  - app/views/labels/_header.html.erb
80
76
  - app/views/labels/_sidebar.html.erb
@@ -94,10 +90,10 @@ files:
94
90
  - app/views/rdf/show_label.iqrdf
95
91
  - config/application.rb
96
92
  - config/boot.rb
97
- - config/database.mysql.yml
98
- - config/database.sqlite.yml
99
93
  - config/database.template.yml
100
94
  - config/database.yml
95
+ - config/database.yml.mysql
96
+ - config/database.yml.sqlite
101
97
  - config/engine.rb
102
98
  - config/environment.rb
103
99
  - config/environments/development.rb
@@ -115,13 +111,13 @@ files:
115
111
  - config/routes.rb
116
112
  - db/migrate/20110408121540_extend_label.rb
117
113
  - db/migrate/20110408123644_add_label_relations.rb
118
- - db/schema.rb
119
114
  - db/seeds.rb
120
115
  - lib/engine_tasks/db.rake
121
116
  - lib/iqvoc/skosxl/version.rb
122
117
  - lib/iqvoc/xllabel.rb
123
118
  - lib/iqvoc_skosxl.rb
124
119
  - test/factories.rb
120
+ - test/functional/routing_test.rb
125
121
  - test/integration/concept_label_language_test.rb
126
122
  - test/integration/dashboard_test.rb
127
123
  - test/integration/edit_labels_test.rb
@@ -131,30 +127,30 @@ files:
131
127
  - test/unit/label_test.rb
132
128
  homepage: http://innoq.com
133
129
  licenses: []
130
+ metadata: {}
134
131
  post_install_message:
135
132
  rdoc_options: []
136
133
  require_paths:
137
134
  - lib
138
135
  required_ruby_version: !ruby/object:Gem::Requirement
139
- none: false
140
136
  requirements:
141
- - - ! '>='
137
+ - - '>='
142
138
  - !ruby/object:Gem::Version
143
139
  version: '0'
144
140
  required_rubygems_version: !ruby/object:Gem::Requirement
145
- none: false
146
141
  requirements:
147
- - - ! '>='
142
+ - - '>='
148
143
  - !ruby/object:Gem::Version
149
144
  version: '0'
150
145
  requirements: []
151
146
  rubyforge_project:
152
- rubygems_version: 1.8.23
147
+ rubygems_version: 2.0.0
153
148
  signing_key:
154
- specification_version: 3
149
+ specification_version: 4
155
150
  summary: iQvoc SKOS-XL extension
156
151
  test_files:
157
152
  - test/factories.rb
153
+ - test/functional/routing_test.rb
158
154
  - test/integration/concept_label_language_test.rb
159
155
  - test/integration/dashboard_test.rb
160
156
  - test/integration/edit_labels_test.rb
data/db/schema.rb DELETED
@@ -1,153 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended to check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(:version => 20120201120736) do
15
-
16
- create_table "collection_members", :force => true do |t|
17
- t.integer "collection_id"
18
- t.integer "target_id"
19
- t.string "type"
20
- end
21
-
22
- add_index "collection_members", ["collection_id", "target_id", "type"], :name => "ix_collections_fk_type"
23
-
24
- create_table "concept_relations", :force => true do |t|
25
- t.string "type"
26
- t.integer "owner_id"
27
- t.integer "target_id"
28
- t.datetime "created_at"
29
- t.datetime "updated_at"
30
- end
31
-
32
- add_index "concept_relations", ["owner_id", "target_id"], :name => "ix_concept_relations_fk"
33
-
34
- create_table "concepts", :force => true do |t|
35
- t.string "type"
36
- t.string "origin", :limit => 4000
37
- t.integer "rev", :default => 1
38
- t.date "published_at"
39
- t.integer "published_version_id"
40
- t.integer "locked_by"
41
- t.date "expired_at"
42
- t.date "follow_up"
43
- t.boolean "to_review"
44
- t.date "rdf_updated_at"
45
- t.datetime "created_at"
46
- t.datetime "updated_at"
47
- t.boolean "top_term", :default => false
48
- end
49
-
50
- add_index "concepts", ["origin"], :name => "ix_concepts_on_origin", :length => {"origin"=>255}
51
- add_index "concepts", ["published_version_id"], :name => "ix_concepts_publ_version_id"
52
-
53
- create_table "configuration_settings", :force => true do |t|
54
- t.string "key"
55
- t.string "value"
56
- end
57
-
58
- create_table "label_relations", :force => true do |t|
59
- t.string "type"
60
- t.integer "domain_id"
61
- t.integer "range_id"
62
- t.datetime "created_at"
63
- t.datetime "updated_at"
64
- end
65
-
66
- add_index "label_relations", ["domain_id", "range_id", "type"], :name => "ix_label_rel_dom_rng_type"
67
- add_index "label_relations", ["type"], :name => "ix_label_relations_on_type"
68
-
69
- create_table "labelings", :force => true do |t|
70
- t.string "type"
71
- t.integer "owner_id"
72
- t.integer "target_id"
73
- t.datetime "created_at"
74
- t.datetime "updated_at"
75
- end
76
-
77
- add_index "labelings", ["owner_id", "target_id", "type"], :name => "ix_labelings_fk_type"
78
- add_index "labelings", ["type"], :name => "ix_labelings_on_type"
79
-
80
- create_table "labels", :force => true do |t|
81
- t.string "type"
82
- t.string "origin", :limit => 4000
83
- t.string "language"
84
- t.string "value", :limit => 1024
85
- t.datetime "created_at"
86
- t.datetime "updated_at"
87
- t.date "published_at"
88
- t.integer "rev", :default => 1
89
- t.integer "published_version_id"
90
- t.integer "locked_by"
91
- t.date "expired_at"
92
- t.date "follow_up"
93
- t.boolean "to_review"
94
- t.date "rdf_updated_at"
95
- end
96
-
97
- add_index "labels", ["language"], :name => "ix_labels_on_language"
98
- add_index "labels", ["origin"], :name => "ix_labels_on_origin", :length => {"origin"=>255}
99
- add_index "labels", ["published_version_id"], :name => "ix_labels_on_published_v"
100
- add_index "labels", ["value"], :name => "ix_labels_on_value", :length => {"value"=>255}
101
-
102
- create_table "matches", :force => true do |t|
103
- t.integer "concept_id"
104
- t.string "type"
105
- t.string "value"
106
- t.datetime "created_at"
107
- t.datetime "updated_at"
108
- end
109
-
110
- add_index "matches", ["concept_id", "type"], :name => "ix_matches_fk_type"
111
- add_index "matches", ["type"], :name => "ix_matches_on_type"
112
-
113
- create_table "note_annotations", :force => true do |t|
114
- t.integer "note_id"
115
- t.string "predicate", :limit => 50
116
- t.string "value", :limit => 1024
117
- t.datetime "created_at"
118
- t.datetime "updated_at"
119
- t.string "namespace", :limit => 50
120
- end
121
-
122
- add_index "note_annotations", ["note_id"], :name => "ix_note_annotations_fk"
123
-
124
- create_table "notes", :force => true do |t|
125
- t.string "language", :limit => 2
126
- t.string "value", :limit => 4000
127
- t.string "type", :limit => 50
128
- t.datetime "created_at"
129
- t.datetime "updated_at"
130
- t.integer "owner_id"
131
- t.string "owner_type", :null => false
132
- end
133
-
134
- add_index "notes", ["language"], :name => "ix_notes_on_language"
135
- add_index "notes", ["owner_id", "owner_type", "type"], :name => "ix_notes_fk_type"
136
- add_index "notes", ["type"], :name => "ix_notes_on_type"
137
-
138
- create_table "users", :force => true do |t|
139
- t.string "forename"
140
- t.string "surname"
141
- t.string "email"
142
- t.string "crypted_password"
143
- t.boolean "active"
144
- t.datetime "created_at"
145
- t.datetime "updated_at"
146
- t.string "password_salt"
147
- t.string "persistence_token"
148
- t.string "perishable_token"
149
- t.string "role"
150
- t.string "telephone_number"
151
- end
152
-
153
- end