iqvoc 4.11.0 → 4.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +5 -5
- data/app/models/concept/base.rb +0 -1
- data/db/schema.rb +162 -163
- data/lib/iqvoc/version.rb +1 -1
- data/public/export/18617.nt +28 -0
- data/public/export/19074.nt +28 -0
- data/public/export/24764.nt +28 -0
- data/public/export/38590854592790558235693154089294015870.nt +28 -0
- data/public/uploads/import/12da92ad97941cf2acc58a796a534945.nt +259 -0
- data/public/uploads/import/271b9ad9260a8949c3d494c0c5a69f0d.nt +259 -0
- data/public/uploads/import/463cf5144a6993b20eb11a9ccc047af2.nt +259 -0
- data/public/uploads/import/68e05107da872671a418d24863497260.nt +259 -0
- data/public/uploads/import/88a29315e069ed594778a5eaf956195f.nt +259 -0
- data/public/uploads/tmp/1490957316-22527-1910/hobbies.nt +259 -0
- data/public/uploads/tmp/1490962601-31167-1324/hobbies.nt +259 -0
- data/public/uploads/tmp/1490972630-31678-0940/hobbies.nt +259 -0
- data/public/uploads/tmp/1490973400-33509-9132/hobbies.nt +259 -0
- data/public/uploads/tmp/1490975755-51502-7114/hobbies.nt +259 -0
- data/test/integration/concept_collection_assignment_test.rb +14 -3
- metadata +16 -2
@@ -46,9 +46,14 @@ class ConceptCollectionAssignmentTest < ActionDispatch::IntegrationTest
|
|
46
46
|
assert page.has_content? 'Instance copy has been created and locked.'
|
47
47
|
collection_origins = [@sports_coll, @hobbies_coll].map(&:origin).join(', ')
|
48
48
|
fill_in 'concept_assigned_collection_origins', with: collection_origins
|
49
|
+
|
50
|
+
fill_in 'concept[inline_match_skos_narrow_matches]', with: 'http://example.org/tennis,'
|
49
51
|
click_link_or_button 'Save'
|
50
52
|
|
51
|
-
|
53
|
+
# there should be two collections
|
54
|
+
assert_equal 2, page.all('#assigned_collections ul li a').size
|
55
|
+
|
56
|
+
within('#assigned_collections') do
|
52
57
|
assert page.has_content? 'Sports'
|
53
58
|
assert page.has_content? 'Hobbies'
|
54
59
|
end
|
@@ -58,7 +63,10 @@ class ConceptCollectionAssignmentTest < ActionDispatch::IntegrationTest
|
|
58
63
|
fill_in 'concept_assigned_collection_origins', with: @sports_coll.origin
|
59
64
|
click_link_or_button 'Save'
|
60
65
|
|
61
|
-
|
66
|
+
# there should be one collection left
|
67
|
+
assert_equal 1, page.all('#assigned_collections ul li a').size
|
68
|
+
|
69
|
+
within('#assigned_collections') do
|
62
70
|
assert page.has_content? 'Sports'
|
63
71
|
refute page.has_content? 'Hobbies'
|
64
72
|
end
|
@@ -68,7 +76,10 @@ class ConceptCollectionAssignmentTest < ActionDispatch::IntegrationTest
|
|
68
76
|
fill_in 'concept_assigned_collection_origins', with: ''
|
69
77
|
click_link_or_button 'Save'
|
70
78
|
|
71
|
-
|
79
|
+
# there should be no collections anymore
|
80
|
+
assert_equal 0, page.all('#assigned_collections ul li a').size
|
81
|
+
|
82
|
+
within('#assigned_collections') do
|
72
83
|
refute page.has_content?('Sports'), 'Sports should be removed'
|
73
84
|
refute page.has_content?('Hobbies'), 'Hobbies should be removed'
|
74
85
|
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: 4.11.
|
4
|
+
version: 4.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Glaser
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-03-
|
14
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -867,8 +867,10 @@ files:
|
|
867
867
|
- public/export/18536.nt
|
868
868
|
- public/export/18568.nt
|
869
869
|
- public/export/186167758354016160061051942216737239930.nt
|
870
|
+
- public/export/18617.nt
|
870
871
|
- public/export/18691370562573626405322536758281327051.nt
|
871
872
|
- public/export/19005675879943976619209658028974932617.nt
|
873
|
+
- public/export/19074.nt
|
872
874
|
- public/export/19084.nt
|
873
875
|
- public/export/19294.nt
|
874
876
|
- public/export/19348.nt
|
@@ -908,6 +910,7 @@ files:
|
|
908
910
|
- public/export/24154.nt
|
909
911
|
- public/export/24453.nt
|
910
912
|
- public/export/24489.nt
|
913
|
+
- public/export/24764.nt
|
911
914
|
- public/export/248824582869005094796757796982726190611.nt
|
912
915
|
- public/export/249181243272996686855538181507933173508.nt
|
913
916
|
- public/export/253582497035603303866078761322036162874.nt
|
@@ -1006,6 +1009,7 @@ files:
|
|
1006
1009
|
- public/export/37687357862944733731237338243666999173.nt
|
1007
1010
|
- public/export/37849330793704327758529891524887236412.ttl
|
1008
1011
|
- public/export/38277.nt
|
1012
|
+
- public/export/38590854592790558235693154089294015870.nt
|
1009
1013
|
- public/export/38674.nt
|
1010
1014
|
- public/export/38788.nt
|
1011
1015
|
- public/export/39528.nt
|
@@ -1193,6 +1197,7 @@ files:
|
|
1193
1197
|
- public/uploads/import/11ce0fcb2f54de2632c32999b5107339.nt
|
1194
1198
|
- public/uploads/import/11d17304b09bdec788eb0dbc514cd451.nt
|
1195
1199
|
- public/uploads/import/1288e0406223db92f08968b51a5ba466.nt
|
1200
|
+
- public/uploads/import/12da92ad97941cf2acc58a796a534945.nt
|
1196
1201
|
- public/uploads/import/130dc4f9fa8abeb11ec1f6b58dcd328b.nt
|
1197
1202
|
- public/uploads/import/1326b6cb32770c5cda8307fb89ec95df.nt
|
1198
1203
|
- public/uploads/import/137983f32ae2cfcd197ca07f54bd8836.nt
|
@@ -1232,6 +1237,7 @@ files:
|
|
1232
1237
|
- public/uploads/import/25deed29d38f0d216f20326ce0654142.nt
|
1233
1238
|
- public/uploads/import/2630c1b010d4f6cd0bfc1a82b567c0f2.nt
|
1234
1239
|
- public/uploads/import/2711fd4805d7d1fbfd920196a38e4bf9.nt
|
1240
|
+
- public/uploads/import/271b9ad9260a8949c3d494c0c5a69f0d.nt
|
1235
1241
|
- public/uploads/import/27cc545e7107e263f53a90cfa5c9f811.nt
|
1236
1242
|
- public/uploads/import/28a591c94853a4ab9ac22b59fe13eb99.nt
|
1237
1243
|
- public/uploads/import/28ae19af26643a34ca902ddd18ccbd6a.nt
|
@@ -1300,6 +1306,7 @@ files:
|
|
1300
1306
|
- public/uploads/import/45be2ea3017c3cb7e1d6b42e4020136e.nt
|
1301
1307
|
- public/uploads/import/45f09a6d14c36affc05014a9f32d6e2e.nt
|
1302
1308
|
- public/uploads/import/4639b3e690c601979c8eb0373103fdb9.nt
|
1309
|
+
- public/uploads/import/463cf5144a6993b20eb11a9ccc047af2.nt
|
1303
1310
|
- public/uploads/import/4648b24a76ef7a4210e83d907695bbba.nt
|
1304
1311
|
- public/uploads/import/46882dfcda4a4e3977f9a018d3cf66ce.nt
|
1305
1312
|
- public/uploads/import/46dbb9d15154dac47e0e233b236826e4.nt
|
@@ -1382,6 +1389,7 @@ files:
|
|
1382
1389
|
- public/uploads/import/675329ee5f6a98936021fafee0ce11d4.nt
|
1383
1390
|
- public/uploads/import/68215556e3de730f958cab4984635451.nt
|
1384
1391
|
- public/uploads/import/68dcbfd4457a91339dd8220be5d1f453.nt
|
1392
|
+
- public/uploads/import/68e05107da872671a418d24863497260.nt
|
1385
1393
|
- public/uploads/import/697d9fb90fd840866b6432123637ac1f.nt
|
1386
1394
|
- public/uploads/import/699909f8faa5743a897024a34a7c0672.nt
|
1387
1395
|
- public/uploads/import/699f14f838ccc381ebd47c3c50fd4a3e.nt
|
@@ -1453,6 +1461,7 @@ files:
|
|
1453
1461
|
- public/uploads/import/859e0763655994d7808addd3607797b9.nt
|
1454
1462
|
- public/uploads/import/8761c0c4546be2dee28b0878478aaf76.nt
|
1455
1463
|
- public/uploads/import/876b3334d3fd4143d573e4e1c213a637.nt
|
1464
|
+
- public/uploads/import/88a29315e069ed594778a5eaf956195f.nt
|
1456
1465
|
- public/uploads/import/88a9ec52d60760c84b7150a13f91bb7a.nt
|
1457
1466
|
- public/uploads/import/88cd4af65af2d8be85b187993ff8b284.nt
|
1458
1467
|
- public/uploads/import/899656cc9e6591d0a815b841552191d5.nt
|
@@ -2237,6 +2246,11 @@ files:
|
|
2237
2246
|
- public/uploads/tmp/1479292258-60665-3926/hobbies.nt
|
2238
2247
|
- public/uploads/tmp/1479903704-8347-9444/hobbies.nt
|
2239
2248
|
- public/uploads/tmp/1479905096-13975-7245/hobbies.nt
|
2249
|
+
- public/uploads/tmp/1490957316-22527-1910/hobbies.nt
|
2250
|
+
- public/uploads/tmp/1490962601-31167-1324/hobbies.nt
|
2251
|
+
- public/uploads/tmp/1490972630-31678-0940/hobbies.nt
|
2252
|
+
- public/uploads/tmp/1490973400-33509-9132/hobbies.nt
|
2253
|
+
- public/uploads/tmp/1490975755-51502-7114/hobbies.nt
|
2240
2254
|
- test/authentication.rb
|
2241
2255
|
- test/controllers/concepts_movement_controller_test.rb
|
2242
2256
|
- test/controllers/hierarchy_test.rb
|