enju_biblio 0.3.10.rc.3 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d7203c658e7663f3cbac31e55722e0dae3f5ce6805105697470ef7998dc956
4
- data.tar.gz: b0fccbbda78a90bdcc409f25673d137cdcaac5a50629d44eea35f27ad2690cc3
3
+ metadata.gz: 3d531d406b5fda2fe6871aacfff5e40ee50b4b9e705011b48194043636435d4f
4
+ data.tar.gz: 254254c68a6ad93a6e05ca9db4bcc38dcb5abd6ba100cdb26dd9f1d6cc8a3ee1
5
5
  SHA512:
6
- metadata.gz: 8dbdc8cc98c98e26594cf4abe0cfdae324b187e94e45829e32de9668f798844155eecb7a37a389fa4b61306897c8861cc43f6d43974521f3483084754c57848f
7
- data.tar.gz: 237824184eba2b78940b5fe20c67025e8c7bb694e5fbc12cc39320c0749b12bdc1c352d69313df60671ac6124085502a3b119ff39be8b408d6273a611102eeaf
6
+ metadata.gz: ab53272b3a84a1970be279892113c5296ca7eb3ee5fa8058d807b716737597dabe1d4a087e1abfed6763853920a922096ba0d932de6e2645bb3dfb96040e3f50
7
+ data.tar.gz: 9967b069e6d50dd77c0ed2f1d42c06d574d1138164e569043fb00861bd4b6246105288f052fb0351993a60531e87f9c79266def019ac45e749f548caf1162e02
@@ -549,7 +549,7 @@ class Manifestation < ApplicationRecord
549
549
  manifestation_identifier: manifestation_identifier,
550
550
  creator: creates.map{|create|
551
551
  if create.create_type
552
- "#{create.agent.full_name}||#{create.creator_type.name}"
552
+ "#{create.agent.full_name}||#{create.create_type.name}"
553
553
  else
554
554
  "#{create.agent.full_name}"
555
555
  end
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.3.10.rc.3".freeze
2
+ VERSION = "0.3.10".freeze
3
3
  end
@@ -2,6 +2,7 @@
2
2
  create_00001:
3
3
  updated_at: 2007-12-13 19:56:07.002082 +09:00
4
4
  agent_id: 1
5
+ create_type_id: 1
5
6
  id: 1
6
7
  work_id: 1
7
8
  position: 1
@@ -9,6 +10,7 @@ create_00001:
9
10
  create_00002:
10
11
  updated_at: 2007-12-13 19:56:48.538796 +09:00
11
12
  agent_id: 1
13
+ create_type_id: 1
12
14
  id: 2
13
15
  work_id: 2
14
16
  position: 1
@@ -3,6 +3,7 @@ produce_00001:
3
3
  updated_at: 2008-01-11 23:28:19.277110 +09:00
4
4
  manifestation_id: 1
5
5
  agent_id: 1
6
+ produce_type_id: 1
6
7
  id: 1
7
8
  position: 1
8
9
  created_at: 2008-01-11 23:28:19.277110 +09:00
@@ -10,6 +11,7 @@ produce_00002:
10
11
  updated_at: 2008-01-11 23:28:57.068191 +09:00
11
12
  manifestation_id: 2
12
13
  agent_id: 2
14
+ produce_type_id: 1
13
15
  id: 2
14
16
  position: 1
15
17
  created_at: 2008-01-11 23:28:57.068191 +09:00
@@ -3,6 +3,7 @@ realize_00001:
3
3
  updated_at: 2008-01-11 23:28:19.277110 +09:00
4
4
  expression_id: 1
5
5
  agent_id: 1
6
+ realize_type_id: 1
6
7
  id: 1
7
8
  position: 1
8
9
  created_at: 2008-01-11 23:28:19.277110 +09:00
@@ -10,6 +11,7 @@ realize_00002:
10
11
  updated_at: 2008-01-11 23:28:57.068191 +09:00
11
12
  expression_id: 2
12
13
  agent_id: 2
14
+ realize_type_id: 1
13
15
  id: 2
14
16
  position: 2
15
17
  created_at: 2008-01-11 23:28:57.068191 +09:00
@@ -61,7 +61,7 @@ describe ResourceExportFile do
61
61
  end
62
62
  end
63
63
 
64
- it "should export create_type" do
64
+ it "should export create_type, realize_type and produce_type" do
65
65
  export_file = ResourceExportFile.new
66
66
  export_file.user = users(:admin)
67
67
  export_file.save!
@@ -71,7 +71,19 @@ describe ResourceExportFile do
71
71
  manifestation = Manifestation.find(row['manifestation_id'])
72
72
  manifestation.creates.each do |create|
73
73
  if create.create_type
74
- expect(row['creator']).to eq "#{create.agent.full_nane}||#{create.create_type.name}"
74
+ expect(row['creator']).to match "#{create.agent.full_name}||#{create.create_type.name}"
75
+ end
76
+ end
77
+
78
+ manifestation.realizes.each do |realize|
79
+ if realize.realize_type
80
+ expect(row['contributor']).to match "#{realize.agent.full_name}||#{realize.realize_type.name}"
81
+ end
82
+ end
83
+
84
+ manifestation.produces.each do |produce|
85
+ if produce.produce_type
86
+ expect(row['publisher']).to match "#{produce.agent.full_name}||#{produce.produce_type.name}"
75
87
  end
76
88
  end
77
89
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10.rc.3
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-23 00:00:00.000000000 Z
11
+ date: 2020-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_library
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.8.rc.2
19
+ version: 0.3.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.3.8.rc.2
26
+ version: 0.3.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: marc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3.4.rc.2
131
+ version: 1.3.3
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.4.rc.2
138
+ version: 1.3.3
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: enju_subject
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -310,14 +310,14 @@ dependencies:
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: '5.1'
313
+ version: '6.0'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: '5.1'
320
+ version: '6.0'
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: sunspot_solr
323
323
  requirement: !ruby/object:Gem::Requirement
@@ -1676,7 +1676,7 @@ post_install_message: |+
1676
1676
  New migration file(s) are included in enju_biblio-0.3.10. Please run the following command after the installation:
1677
1677
  enju_biblio-0.3.10では新しいマイグレーションファイルが含まれています。インストール後に以下のコマンドを実行してください:
1678
1678
 
1679
- $ bundle exec rake enju_biblio:engine:install:migrations
1679
+ $ bundle exec rake enju_biblio_engine:install:migrations
1680
1680
 
1681
1681
  rdoc_options: []
1682
1682
  require_paths:
@@ -1688,12 +1688,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1688
1688
  version: '0'
1689
1689
  required_rubygems_version: !ruby/object:Gem::Requirement
1690
1690
  requirements:
1691
- - - ">"
1691
+ - - ">="
1692
1692
  - !ruby/object:Gem::Version
1693
- version: 1.3.1
1693
+ version: '0'
1694
1694
  requirements: []
1695
1695
  rubygems_version: 3.0.3
1696
- signing_key:
1696
+ signing_key:
1697
1697
  specification_version: 4
1698
1698
  summary: enju_biblio plugin
1699
1699
  test_files: