enju_biblio 0.1.0.pre43 → 0.1.0.pre44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/agent.rb +2 -2
- data/app/models/agent_import_file.rb +12 -12
- data/app/models/agent_import_result.rb +5 -5
- data/app/models/agent_relationship.rb +6 -6
- data/app/models/create.rb +1 -1
- data/app/models/donate.rb +1 -1
- data/app/models/own.rb +1 -1
- data/app/models/produce.rb +1 -1
- data/app/models/realize.rb +1 -1
- data/lib/enju_biblio/version.rb +1 -1
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +0 -0
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patron_types.yml → agent_types.yml} +0 -0
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patrons.yml → agents.yml} +0 -0
- data/spec/fixtures/agent_import_files.yml +12 -12
- data/spec/fixtures/agent_import_results.yml +5 -5
- data/spec/fixtures/agent_relationships.yml +6 -6
- data/spec/fixtures/agents.yml +2 -2
- data/spec/fixtures/creates.yml +1 -1
- data/spec/fixtures/donates.yml +1 -1
- data/spec/fixtures/owns.yml +1 -1
- data/spec/fixtures/produces.yml +1 -1
- data/spec/fixtures/realizes.yml +1 -1
- data/spec/models/agent_import_file_spec.rb +12 -12
- data/spec/models/agent_import_result_spec.rb +5 -5
- data/spec/models/agent_relationship_spec.rb +6 -6
- data/spec/models/agent_spec.rb +2 -2
- data/spec/models/create_spec.rb +1 -1
- data/spec/models/donate_spec.rb +1 -1
- data/spec/models/own_spec.rb +1 -1
- data/spec/models/produce_spec.rb +1 -1
- data/spec/models/realize_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28d266808a01c8682a0901a05d13c58a59111ef8
|
4
|
+
data.tar.gz: 1ae870c4a6cc48b43ea2e7e69187a757078bd5e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 382f8564b6cce2c595eea0b9b176eaa4c42cbea9094c303f6728e952064786a74a43436f442548474cc9e2065be197ca23dd3ef9210eb84d089aaee9eb1528e3
|
7
|
+
data.tar.gz: 7a93be17d7b965575e0fc72d5b5933cf841c79b3a13ae2e98264f8064c185ee8c401cdcc972fed8149ab9c1d46604962393dba6eb0749417f37bbb4dcc130e1d
|
data/app/models/agent.rb
CHANGED
@@ -287,7 +287,7 @@ end
|
|
287
287
|
# date_of_death :datetime
|
288
288
|
# language_id :integer default(1), not null
|
289
289
|
# country_id :integer default(1), not null
|
290
|
-
# agent_type_id
|
290
|
+
# agent_type_id :integer default(1), not null
|
291
291
|
# lock_version :integer default(0), not null
|
292
292
|
# note :text
|
293
293
|
# required_role_id :integer default(1), not null
|
@@ -298,6 +298,6 @@ end
|
|
298
298
|
# full_name_alternative_transcription :text
|
299
299
|
# birth_date :string(255)
|
300
300
|
# death_date :string(255)
|
301
|
-
# agent_identifier
|
301
|
+
# agent_identifier :string(255)
|
302
302
|
#
|
303
303
|
|
@@ -279,22 +279,22 @@ end
|
|
279
279
|
#
|
280
280
|
# Table name: agent_import_files
|
281
281
|
#
|
282
|
-
# id
|
283
|
-
# parent_id
|
284
|
-
# content_type
|
285
|
-
# size
|
286
|
-
# user_id
|
287
|
-
# note
|
288
|
-
# executed_at
|
289
|
-
# state
|
282
|
+
# id :integer not null, primary key
|
283
|
+
# parent_id :integer
|
284
|
+
# content_type :string(255)
|
285
|
+
# size :integer
|
286
|
+
# user_id :integer
|
287
|
+
# note :text
|
288
|
+
# executed_at :datetime
|
289
|
+
# state :string(255)
|
290
290
|
# agent_import_file_name :string(255)
|
291
291
|
# agent_import_content_type :string(255)
|
292
292
|
# agent_import_file_size :integer
|
293
293
|
# agent_import_updated_at :datetime
|
294
|
-
# created_at
|
295
|
-
# updated_at
|
294
|
+
# created_at :datetime not null
|
295
|
+
# updated_at :datetime not null
|
296
296
|
# agent_import_fingerprint :string(255)
|
297
|
-
# error_message
|
298
|
-
# edit_mode
|
297
|
+
# error_message :text
|
298
|
+
# edit_mode :string(255)
|
299
299
|
#
|
300
300
|
|
@@ -15,12 +15,12 @@ end
|
|
15
15
|
#
|
16
16
|
# Table name: agent_import_results
|
17
17
|
#
|
18
|
-
# id
|
18
|
+
# id :integer not null, primary key
|
19
19
|
# agent_import_file_id :integer
|
20
20
|
# agent_id :integer
|
21
|
-
# user_id
|
22
|
-
# body
|
23
|
-
# created_at
|
24
|
-
# updated_at
|
21
|
+
# user_id :integer
|
22
|
+
# body :text
|
23
|
+
# created_at :datetime not null
|
24
|
+
# updated_at :datetime not null
|
25
25
|
#
|
26
26
|
|
@@ -16,12 +16,12 @@ end
|
|
16
16
|
#
|
17
17
|
# Table name: agent_relationships
|
18
18
|
#
|
19
|
-
# id
|
20
|
-
# parent_id
|
21
|
-
# child_id
|
19
|
+
# id :integer not null, primary key
|
20
|
+
# parent_id :integer
|
21
|
+
# child_id :integer
|
22
22
|
# agent_relationship_type_id :integer
|
23
|
-
# created_at
|
24
|
-
# updated_at
|
25
|
-
# position
|
23
|
+
# created_at :datetime not null
|
24
|
+
# updated_at :datetime not null
|
25
|
+
# position :integer
|
26
26
|
#
|
27
27
|
|
data/app/models/create.rb
CHANGED
data/app/models/donate.rb
CHANGED
data/app/models/own.rb
CHANGED
data/app/models/produce.rb
CHANGED
data/app/models/realize.rb
CHANGED
data/lib/enju_biblio/version.rb
CHANGED
File without changes
|
data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patron_types.yml → agent_types.yml}
RENAMED
File without changes
|
File without changes
|
@@ -26,22 +26,22 @@ agent_import_file_00003:
|
|
26
26
|
#
|
27
27
|
# Table name: agent_import_files
|
28
28
|
#
|
29
|
-
# id
|
30
|
-
# parent_id
|
31
|
-
# content_type
|
32
|
-
# size
|
33
|
-
# user_id
|
34
|
-
# note
|
35
|
-
# executed_at
|
36
|
-
# state
|
29
|
+
# id :integer not null, primary key
|
30
|
+
# parent_id :integer
|
31
|
+
# content_type :string(255)
|
32
|
+
# size :integer
|
33
|
+
# user_id :integer
|
34
|
+
# note :text
|
35
|
+
# executed_at :datetime
|
36
|
+
# state :string(255)
|
37
37
|
# agent_import_file_name :string(255)
|
38
38
|
# agent_import_content_type :string(255)
|
39
39
|
# agent_import_file_size :integer
|
40
40
|
# agent_import_updated_at :datetime
|
41
|
-
# created_at
|
42
|
-
# updated_at
|
41
|
+
# created_at :datetime not null
|
42
|
+
# updated_at :datetime not null
|
43
43
|
# agent_import_fingerprint :string(255)
|
44
|
-
# error_message
|
45
|
-
# edit_mode
|
44
|
+
# error_message :text
|
45
|
+
# edit_mode :string(255)
|
46
46
|
#
|
47
47
|
|
@@ -18,12 +18,12 @@ two:
|
|
18
18
|
#
|
19
19
|
# Table name: agent_import_results
|
20
20
|
#
|
21
|
-
# id
|
21
|
+
# id :integer not null, primary key
|
22
22
|
# agent_import_file_id :integer
|
23
23
|
# agent_id :integer
|
24
|
-
# user_id
|
25
|
-
# body
|
26
|
-
# created_at
|
27
|
-
# updated_at
|
24
|
+
# user_id :integer
|
25
|
+
# body :text
|
26
|
+
# created_at :datetime not null
|
27
|
+
# updated_at :datetime not null
|
28
28
|
#
|
29
29
|
|
@@ -14,12 +14,12 @@ two:
|
|
14
14
|
#
|
15
15
|
# Table name: agent_relationships
|
16
16
|
#
|
17
|
-
# id
|
18
|
-
# parent_id
|
19
|
-
# child_id
|
17
|
+
# id :integer not null, primary key
|
18
|
+
# parent_id :integer
|
19
|
+
# child_id :integer
|
20
20
|
# agent_relationship_type_id :integer
|
21
|
-
# created_at
|
22
|
-
# updated_at
|
23
|
-
# position
|
21
|
+
# created_at :datetime not null
|
22
|
+
# updated_at :datetime not null
|
23
|
+
# position :integer
|
24
24
|
#
|
25
25
|
|
data/spec/fixtures/agents.yml
CHANGED
@@ -318,7 +318,7 @@ agent_00202:
|
|
318
318
|
# date_of_death :datetime
|
319
319
|
# language_id :integer default(1), not null
|
320
320
|
# country_id :integer default(1), not null
|
321
|
-
# agent_type_id
|
321
|
+
# agent_type_id :integer default(1), not null
|
322
322
|
# lock_version :integer default(0), not null
|
323
323
|
# note :text
|
324
324
|
# required_role_id :integer default(1), not null
|
@@ -329,6 +329,6 @@ agent_00202:
|
|
329
329
|
# full_name_alternative_transcription :text
|
330
330
|
# birth_date :string(255)
|
331
331
|
# death_date :string(255)
|
332
|
-
# agent_identifier
|
332
|
+
# agent_identifier :string(255)
|
333
333
|
#
|
334
334
|
|
data/spec/fixtures/creates.yml
CHANGED
data/spec/fixtures/donates.yml
CHANGED
data/spec/fixtures/owns.yml
CHANGED
data/spec/fixtures/produces.yml
CHANGED
@@ -138,7 +138,7 @@ produce_00202:
|
|
138
138
|
# Table name: produces
|
139
139
|
#
|
140
140
|
# id :integer not null, primary key
|
141
|
-
# agent_id
|
141
|
+
# agent_id :integer not null
|
142
142
|
# manifestation_id :integer not null
|
143
143
|
# position :integer
|
144
144
|
# created_at :datetime not null
|
data/spec/fixtures/realizes.yml
CHANGED
@@ -75,22 +75,22 @@ end
|
|
75
75
|
#
|
76
76
|
# Table name: agent_import_files
|
77
77
|
#
|
78
|
-
# id
|
79
|
-
# parent_id
|
80
|
-
# content_type
|
81
|
-
# size
|
82
|
-
# user_id
|
83
|
-
# note
|
84
|
-
# executed_at
|
85
|
-
# state
|
78
|
+
# id :integer not null, primary key
|
79
|
+
# parent_id :integer
|
80
|
+
# content_type :string(255)
|
81
|
+
# size :integer
|
82
|
+
# user_id :integer
|
83
|
+
# note :text
|
84
|
+
# executed_at :datetime
|
85
|
+
# state :string(255)
|
86
86
|
# agent_import_file_name :string(255)
|
87
87
|
# agent_import_content_type :string(255)
|
88
88
|
# agent_import_file_size :integer
|
89
89
|
# agent_import_updated_at :datetime
|
90
|
-
# created_at
|
91
|
-
# updated_at
|
90
|
+
# created_at :datetime not null
|
91
|
+
# updated_at :datetime not null
|
92
92
|
# agent_import_fingerprint :string(255)
|
93
|
-
# error_message
|
94
|
-
# edit_mode
|
93
|
+
# error_message :text
|
94
|
+
# edit_mode :string(255)
|
95
95
|
#
|
96
96
|
|
@@ -10,12 +10,12 @@ end
|
|
10
10
|
#
|
11
11
|
# Table name: agent_import_results
|
12
12
|
#
|
13
|
-
# id
|
13
|
+
# id :integer not null, primary key
|
14
14
|
# agent_import_file_id :integer
|
15
15
|
# agent_id :integer
|
16
|
-
# user_id
|
17
|
-
# body
|
18
|
-
# created_at
|
19
|
-
# updated_at
|
16
|
+
# user_id :integer
|
17
|
+
# body :text
|
18
|
+
# created_at :datetime not null
|
19
|
+
# updated_at :datetime not null
|
20
20
|
#
|
21
21
|
|
@@ -10,12 +10,12 @@ end
|
|
10
10
|
#
|
11
11
|
# Table name: agent_relationships
|
12
12
|
#
|
13
|
-
# id
|
14
|
-
# parent_id
|
15
|
-
# child_id
|
13
|
+
# id :integer not null, primary key
|
14
|
+
# parent_id :integer
|
15
|
+
# child_id :integer
|
16
16
|
# agent_relationship_type_id :integer
|
17
|
-
# created_at
|
18
|
-
# updated_at
|
19
|
-
# position
|
17
|
+
# created_at :datetime not null
|
18
|
+
# updated_at :datetime not null
|
19
|
+
# position :integer
|
20
20
|
#
|
21
21
|
|
data/spec/models/agent_spec.rb
CHANGED
@@ -82,7 +82,7 @@ end
|
|
82
82
|
# date_of_death :datetime
|
83
83
|
# language_id :integer default(1), not null
|
84
84
|
# country_id :integer default(1), not null
|
85
|
-
# agent_type_id
|
85
|
+
# agent_type_id :integer default(1), not null
|
86
86
|
# lock_version :integer default(0), not null
|
87
87
|
# note :text
|
88
88
|
# required_role_id :integer default(1), not null
|
@@ -93,6 +93,6 @@ end
|
|
93
93
|
# full_name_alternative_transcription :text
|
94
94
|
# birth_date :string(255)
|
95
95
|
# death_date :string(255)
|
96
|
-
# agent_identifier
|
96
|
+
# agent_identifier :string(255)
|
97
97
|
#
|
98
98
|
|
data/spec/models/create_spec.rb
CHANGED
data/spec/models/donate_spec.rb
CHANGED
data/spec/models/own_spec.rb
CHANGED
data/spec/models/produce_spec.rb
CHANGED
data/spec/models/realize_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_biblio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
@@ -896,6 +896,9 @@ files:
|
|
896
896
|
- lib/enju_biblio/version.rb
|
897
897
|
- lib/enju_biblio.rb
|
898
898
|
- lib/generators/enju_biblio/setup/setup_generator.rb
|
899
|
+
- lib/generators/enju_biblio/setup/templates/db/fixtures/agent_relationship_types.yml
|
900
|
+
- lib/generators/enju_biblio/setup/templates/db/fixtures/agent_types.yml
|
901
|
+
- lib/generators/enju_biblio/setup/templates/db/fixtures/agents.yml
|
899
902
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/carrier_types.yml
|
900
903
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/content_types.yml
|
901
904
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/countries.yml
|
@@ -906,9 +909,6 @@ files:
|
|
906
909
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/languages.yml
|
907
910
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/licenses.yml
|
908
911
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/manifestation_relationship_types.yml
|
909
|
-
- lib/generators/enju_biblio/setup/templates/db/fixtures/patron_relationship_types.yml
|
910
|
-
- lib/generators/enju_biblio/setup/templates/db/fixtures/patron_types.yml
|
911
|
-
- lib/generators/enju_biblio/setup/templates/db/fixtures/patrons.yml
|
912
912
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/produce_types.yml
|
913
913
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/realize_types.yml
|
914
914
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/request_status_types.yml
|