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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/agent.rb +2 -2
  3. data/app/models/agent_import_file.rb +12 -12
  4. data/app/models/agent_import_result.rb +5 -5
  5. data/app/models/agent_relationship.rb +6 -6
  6. data/app/models/create.rb +1 -1
  7. data/app/models/donate.rb +1 -1
  8. data/app/models/own.rb +1 -1
  9. data/app/models/produce.rb +1 -1
  10. data/app/models/realize.rb +1 -1
  11. data/lib/enju_biblio/version.rb +1 -1
  12. data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +0 -0
  13. data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patron_types.yml → agent_types.yml} +0 -0
  14. data/lib/generators/enju_biblio/setup/templates/db/fixtures/{patrons.yml → agents.yml} +0 -0
  15. data/spec/fixtures/agent_import_files.yml +12 -12
  16. data/spec/fixtures/agent_import_results.yml +5 -5
  17. data/spec/fixtures/agent_relationships.yml +6 -6
  18. data/spec/fixtures/agents.yml +2 -2
  19. data/spec/fixtures/creates.yml +1 -1
  20. data/spec/fixtures/donates.yml +1 -1
  21. data/spec/fixtures/owns.yml +1 -1
  22. data/spec/fixtures/produces.yml +1 -1
  23. data/spec/fixtures/realizes.yml +1 -1
  24. data/spec/models/agent_import_file_spec.rb +12 -12
  25. data/spec/models/agent_import_result_spec.rb +5 -5
  26. data/spec/models/agent_relationship_spec.rb +6 -6
  27. data/spec/models/agent_spec.rb +2 -2
  28. data/spec/models/create_spec.rb +1 -1
  29. data/spec/models/donate_spec.rb +1 -1
  30. data/spec/models/own_spec.rb +1 -1
  31. data/spec/models/produce_spec.rb +1 -1
  32. data/spec/models/realize_spec.rb +1 -1
  33. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05e41c2afb92e36527a3eda64e40ce1699d52245
4
- data.tar.gz: 078c063e6952e3fd647c2f3a5b443bce2510ff88
3
+ metadata.gz: 28d266808a01c8682a0901a05d13c58a59111ef8
4
+ data.tar.gz: 1ae870c4a6cc48b43ea2e7e69187a757078bd5e0
5
5
  SHA512:
6
- metadata.gz: 4daa909c36210b558fec08687ac3192a0ee6fc2d3339a0d9c4f64aadcda002a37148133ddd890d6febf0fd60b09a34e1795695a6e299ea4ee46b3d748bbd32fd
7
- data.tar.gz: f9cfbe413e6d31f995cba2076b46bc20825ee6479d0a80af74a1ce0f5645b59fd6084a43273b47513c01aa638a68cf3e4becfb4d3fd39569e61fc88003d9c2c1
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 :integer default(1), not null
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 :string(255)
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 :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)
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 :datetime not null
295
- # updated_at :datetime not null
294
+ # created_at :datetime not null
295
+ # updated_at :datetime not null
296
296
  # agent_import_fingerprint :string(255)
297
- # error_message :text
298
- # edit_mode :string(255)
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 :integer not null, primary key
18
+ # id :integer not null, primary key
19
19
  # agent_import_file_id :integer
20
20
  # agent_id :integer
21
- # user_id :integer
22
- # body :text
23
- # created_at :datetime not null
24
- # updated_at :datetime not null
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 :integer not null, primary key
20
- # parent_id :integer
21
- # child_id :integer
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 :datetime not null
24
- # updated_at :datetime not null
25
- # position :integer
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
@@ -23,7 +23,7 @@ end
23
23
  # Table name: creates
24
24
  #
25
25
  # id :integer not null, primary key
26
- # agent_id :integer not null
26
+ # agent_id :integer not null
27
27
  # work_id :integer not null
28
28
  # position :integer
29
29
  # created_at :datetime not null
data/app/models/donate.rb CHANGED
@@ -11,7 +11,7 @@ end
11
11
  # Table name: donates
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # item_id :integer not null
16
16
  # created_at :datetime not null
17
17
  # updated_at :datetime not null
data/app/models/own.rb CHANGED
@@ -24,7 +24,7 @@ end
24
24
  # Table name: owns
25
25
  #
26
26
  # id :integer not null, primary key
27
- # agent_id :integer not null
27
+ # agent_id :integer not null
28
28
  # item_id :integer not null
29
29
  # position :integer
30
30
  # created_at :datetime not null
@@ -24,7 +24,7 @@ end
24
24
  # Table name: produces
25
25
  #
26
26
  # id :integer not null, primary key
27
- # agent_id :integer not null
27
+ # agent_id :integer not null
28
28
  # manifestation_id :integer not null
29
29
  # position :integer
30
30
  # created_at :datetime not null
@@ -23,7 +23,7 @@ end
23
23
  # Table name: realizes
24
24
  #
25
25
  # id :integer not null, primary key
26
- # agent_id :integer not null
26
+ # agent_id :integer not null
27
27
  # expression_id :integer not null
28
28
  # position :integer
29
29
  # created_at :datetime not null
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre43"
2
+ VERSION = "0.1.0.pre44"
3
3
  end
@@ -26,22 +26,22 @@ agent_import_file_00003:
26
26
  #
27
27
  # Table name: agent_import_files
28
28
  #
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)
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 :datetime not null
42
- # updated_at :datetime not null
41
+ # created_at :datetime not null
42
+ # updated_at :datetime not null
43
43
  # agent_import_fingerprint :string(255)
44
- # error_message :text
45
- # edit_mode :string(255)
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 :integer not null, primary key
21
+ # id :integer not null, primary key
22
22
  # agent_import_file_id :integer
23
23
  # agent_id :integer
24
- # user_id :integer
25
- # body :text
26
- # created_at :datetime not null
27
- # updated_at :datetime not null
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 :integer not null, primary key
18
- # parent_id :integer
19
- # child_id :integer
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 :datetime not null
22
- # updated_at :datetime not null
23
- # position :integer
21
+ # created_at :datetime not null
22
+ # updated_at :datetime not null
23
+ # position :integer
24
24
  #
25
25
 
@@ -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 :integer default(1), not null
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 :string(255)
332
+ # agent_identifier :string(255)
333
333
  #
334
334
 
@@ -54,7 +54,7 @@ create_00104:
54
54
  # Table name: creates
55
55
  #
56
56
  # id :integer not null, primary key
57
- # agent_id :integer not null
57
+ # agent_id :integer not null
58
58
  # work_id :integer not null
59
59
  # position :integer
60
60
  # created_at :datetime not null
@@ -23,7 +23,7 @@ donate_00003:
23
23
  # Table name: donates
24
24
  #
25
25
  # id :integer not null, primary key
26
- # agent_id :integer not null
26
+ # agent_id :integer not null
27
27
  # item_id :integer not null
28
28
  # created_at :datetime not null
29
29
  # updated_at :datetime not null
@@ -17,7 +17,7 @@ own_00002:
17
17
  # Table name: owns
18
18
  #
19
19
  # id :integer not null, primary key
20
- # agent_id :integer not null
20
+ # agent_id :integer not null
21
21
  # item_id :integer not null
22
22
  # position :integer
23
23
  # created_at :datetime not null
@@ -138,7 +138,7 @@ produce_00202:
138
138
  # Table name: produces
139
139
  #
140
140
  # id :integer not null, primary key
141
- # agent_id :integer not null
141
+ # agent_id :integer not null
142
142
  # manifestation_id :integer not null
143
143
  # position :integer
144
144
  # created_at :datetime not null
@@ -75,7 +75,7 @@ realize_00010:
75
75
  # Table name: realizes
76
76
  #
77
77
  # id :integer not null, primary key
78
- # agent_id :integer not null
78
+ # agent_id :integer not null
79
79
  # expression_id :integer not null
80
80
  # position :integer
81
81
  # created_at :datetime not null
@@ -75,22 +75,22 @@ end
75
75
  #
76
76
  # Table name: agent_import_files
77
77
  #
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)
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 :datetime not null
91
- # updated_at :datetime not null
90
+ # created_at :datetime not null
91
+ # updated_at :datetime not null
92
92
  # agent_import_fingerprint :string(255)
93
- # error_message :text
94
- # edit_mode :string(255)
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 :integer not null, primary key
13
+ # id :integer not null, primary key
14
14
  # agent_import_file_id :integer
15
15
  # agent_id :integer
16
- # user_id :integer
17
- # body :text
18
- # created_at :datetime not null
19
- # updated_at :datetime not null
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 :integer not null, primary key
14
- # parent_id :integer
15
- # child_id :integer
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 :datetime not null
18
- # updated_at :datetime not null
19
- # position :integer
17
+ # created_at :datetime not null
18
+ # updated_at :datetime not null
19
+ # position :integer
20
20
  #
21
21
 
@@ -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 :integer default(1), not null
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 :string(255)
96
+ # agent_identifier :string(255)
97
97
  #
98
98
 
@@ -11,7 +11,7 @@ end
11
11
  # Table name: creates
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # work_id :integer not null
16
16
  # position :integer
17
17
  # created_at :datetime not null
@@ -11,7 +11,7 @@ end
11
11
  # Table name: donates
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # item_id :integer not null
16
16
  # created_at :datetime not null
17
17
  # updated_at :datetime not null
@@ -11,7 +11,7 @@ end
11
11
  # Table name: owns
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # item_id :integer not null
16
16
  # position :integer
17
17
  # created_at :datetime not null
@@ -11,7 +11,7 @@ end
11
11
  # Table name: produces
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # manifestation_id :integer not null
16
16
  # position :integer
17
17
  # created_at :datetime not null
@@ -11,7 +11,7 @@ end
11
11
  # Table name: realizes
12
12
  #
13
13
  # id :integer not null, primary key
14
- # agent_id :integer not null
14
+ # agent_id :integer not null
15
15
  # expression_id :integer not null
16
16
  # position :integer
17
17
  # created_at :datetime not null
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.pre43
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