iqvoc_skosxl 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concept/skosxl/extension.rb +5 -1
- data/lib/iqvoc/skosxl/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed2db390e04dda6c725b4e58b5c90f686fb78fa9
|
4
|
+
data.tar.gz: 69e13bb707a06bb84e721cf8baa889894bb62f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 836361d009f36aab2e2b65b9e04be0e0cff5d11b289974bfb93271021da99054cc94165969ca7dbd12dbeaa700ab301deb96652360b60674209876dac24e095c
|
7
|
+
data.tar.gz: 6af3d178304a74f033b60c33c318caee025b37f12cbdbacc2b2d0559e038b6e3080a0136102eff64eee33c7b54085628298436725f6a5d47c3431eb096f828cd
|
@@ -7,12 +7,16 @@ module Concept
|
|
7
7
|
included do
|
8
8
|
validate :valid_label_language
|
9
9
|
|
10
|
-
|
10
|
+
before_validation do |concept|
|
11
11
|
# Labelings
|
12
12
|
(@labelings_by_id ||= {}).each do |labeling_relation_name, origin_mappings|
|
13
13
|
# Remove all associated labelings of the given type
|
14
14
|
concept.send(labeling_relation_name).destroy_all
|
15
|
+
end
|
16
|
+
end
|
15
17
|
|
18
|
+
after_save do |concept|
|
19
|
+
(@labelings_by_id ||= {}).each do |labeling_relation_name, origin_mappings|
|
16
20
|
# (Re)create labelings reflecting a widget's parameters
|
17
21
|
origin_mappings.each do |language, new_origins|
|
18
22
|
new_origins = new_origins.
|
data/lib/iqvoc/skosxl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iqvoc_skosxl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Glaser
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-02
|
13
|
+
date: 2014-04-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: iqvoc
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.2.
|
147
|
+
rubygems_version: 2.2.2
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: iQvoc SKOS-XL extension
|