enju_flower 0.1.0.pre11 → 0.1.0.pre12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/patrons.html.erb +2 -2
- data/app/views/manifestations/_index_form_contributor.html.erb +1 -1
- data/app/views/manifestations/_index_form_creator.html.erb +1 -1
- data/app/views/manifestations/_index_form_publisher.html.erb +1 -1
- data/app/views/manifestations/_manifestation_list.html.erb +6 -6
- data/app/views/manifestations/_show_creators.html.erb +4 -4
- data/app/views/manifestations/_show_creators.mobile.erb +4 -4
- data/app/views/manifestations/_title.html.erb +3 -3
- data/app/views/manifestations/_title.mobile.erb +3 -3
- data/app/views/manifestations/index.atom.builder +2 -2
- data/app/views/manifestations/index.html.erb +3 -3
- data/app/views/manifestations/index.opds.builder +2 -2
- data/app/views/manifestations/index.sru.builder +6 -6
- data/lib/enju_flower/version.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +5 -5
- data/spec/dummy/app/models/ability.rb +31 -31
- data/spec/dummy/app/models/{local_patron.rb → local_agent.rb} +1 -1
- data/spec/dummy/app/models/user.rb +5 -99
- data/spec/dummy/config/environments/test.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +8 -8
- data/spec/dummy/db/migrate/012_create_owns.rb +2 -2
- data/spec/dummy/db/migrate/015_create_creates.rb +2 -2
- data/spec/dummy/db/migrate/035_create_reserves.rb +1 -1
- data/spec/dummy/db/migrate/047_create_produces.rb +2 -2
- data/spec/dummy/db/migrate/125_create_donates.rb +2 -2
- data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +2 -2
- data/spec/dummy/db/migrate/{20080905191442_create_patron_types.rb → 20080905191442_create_agent_types.rb} +2 -2
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +22 -0
- data/spec/dummy/db/migrate/20090519203307_create_participates.rb +2 -2
- data/spec/dummy/db/migrate/{20090812151902_create_patron_relationship_types.rb → 20090812151902_create_agent_relationship_types.rb} +2 -2
- data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
- data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
- data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +12 -0
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -8
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +26 -0
- data/spec/dummy/db/schema.rb +152 -140
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/{_1g9.frq → _23i.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_1g9.nrm → _23i.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_1g9.prx → _23i.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_1g9.tii → _23i.tii} +0 -0
- data/spec/dummy/solr/data/test/index/{_1g9.tis → _23i.tis} +0 -0
- data/spec/dummy/solr/data/test/index/{_1gb.frq → _23k.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_1gb.nrm → _23k.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_1gb.prx → _23k.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_1gb.tii → _23k.tii} +0 -0
- data/spec/dummy/solr/data/test/index/{_1gb.tis → _23k.tis} +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_2u7 +0 -0
- data/spec/factories/{patron.rb → agent.rb} +3 -3
- data/spec/factories/agent_relationship.rb +6 -0
- data/spec/factories/agent_relationship_type.rb +5 -0
- data/spec/factories/agent_type.rb +5 -0
- data/spec/factories/create.rb +1 -1
- data/spec/factories/donate.rb +1 -1
- data/spec/factories/library.rb +13 -0
- data/spec/factories/own.rb +1 -1
- data/spec/factories/produce.rb +1 -1
- data/spec/factories/realize.rb +1 -1
- data/spec/factories/user.rb +33 -11
- data/spec/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +4 -4
- data/spec/fixtures/{patron_relationships.yml → agent_relationships.yml} +4 -4
- data/spec/fixtures/{patron_types.yml → agent_types.yml} +4 -4
- data/spec/fixtures/{patrons.yml → agents.yml} +47 -47
- data/spec/fixtures/creates.yml +8 -8
- data/spec/fixtures/donates.yml +4 -4
- data/spec/fixtures/owns.yml +3 -3
- data/spec/fixtures/picture_files.yml +1 -1
- data/spec/fixtures/produces.yml +20 -20
- data/spec/fixtures/realizes.yml +11 -11
- metadata +103 -107
- data/spec/dummy/app/mailers/notifier.rb +0 -40
- data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +0 -22
- data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +0 -13
- data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +0 -11
- data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +0 -12
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +0 -11
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +0 -9
- data/spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +0 -6
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +0 -5
- data/spec/dummy/solr/data/test/index/segments_1zb +0 -0
- data/spec/factories/patron_relationship.rb +0 -6
- data/spec/factories/patron_relationship_type.rb +0 -5
- data/spec/factories/patron_type.rb +0 -5
- data/spec/fixtures/patron_import_files.yml +0 -47
- data/spec/fixtures/patron_import_results.yml +0 -29
- /data/spec/dummy/solr/data/test/index/{_1g9.fdt → _23i.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1g9.fdx → _23i.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1g9.fnm → _23i.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.fdt → _23j.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.fdx → _23j.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.fnm → _23j.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.frq → _23j.frq} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.nrm → _23j.nrm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.prx → _23j.prx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.tii → _23j.tii} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1ga.tis → _23j.tis} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1gb.fdt → _23k.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1gb.fdx → _23k.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_1gb.fnm → _23k.fnm} +0 -0
data/spec/fixtures/produces.yml
CHANGED
@@ -2,133 +2,133 @@
|
|
2
2
|
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
6
|
id: 1
|
7
7
|
position: 1
|
8
8
|
created_at: 2008-01-11 23:28:19.277110 +09:00
|
9
9
|
produce_00002:
|
10
10
|
updated_at: 2008-01-11 23:28:57.068191 +09:00
|
11
11
|
manifestation_id: 2
|
12
|
-
|
12
|
+
agent_id: 2
|
13
13
|
id: 2
|
14
14
|
position: 1
|
15
15
|
created_at: 2008-01-11 23:28:57.068191 +09:00
|
16
16
|
produce_00003:
|
17
17
|
updated_at: 2008-01-11 23:32:03.701425 +09:00
|
18
18
|
manifestation_id: 3
|
19
|
-
|
19
|
+
agent_id: 3
|
20
20
|
id: 3
|
21
21
|
position: 1
|
22
22
|
created_at: 2008-01-11 23:32:03.701425 +09:00
|
23
23
|
produce_00004:
|
24
24
|
updated_at: 2008-01-11 02:34:20.183962 +09:00
|
25
25
|
manifestation_id: 4
|
26
|
-
|
26
|
+
agent_id: 1
|
27
27
|
id: 4
|
28
28
|
position: 1
|
29
29
|
created_at: 2008-01-11 02:34:20.183962 +09:00
|
30
30
|
produce_00005:
|
31
31
|
updated_at: 2008-01-11 02:34:32.352223 +09:00
|
32
32
|
manifestation_id: 5
|
33
|
-
|
33
|
+
agent_id: 2
|
34
34
|
id: 5
|
35
35
|
position: 2
|
36
36
|
created_at: 2008-01-11 02:34:32.352223 +09:00
|
37
37
|
produce_00006:
|
38
38
|
updated_at: 2008-01-11 23:35:36.467584 +09:00
|
39
39
|
manifestation_id: 1
|
40
|
-
|
40
|
+
agent_id: 3
|
41
41
|
id: 6
|
42
42
|
position: 2
|
43
43
|
created_at: 2008-01-11 23:35:36.467584 +09:00
|
44
44
|
produce_00007:
|
45
45
|
updated_at: 2008-01-11 02:40:24.038276 +09:00
|
46
46
|
manifestation_id: 2
|
47
|
-
|
47
|
+
agent_id: 1
|
48
48
|
id: 7
|
49
49
|
position: 1
|
50
50
|
created_at: 2008-01-11 02:40:24.038276 +09:00
|
51
51
|
produce_00008:
|
52
52
|
updated_at: 2008-01-11 02:40:40.316742 +09:00
|
53
53
|
manifestation_id: 3
|
54
|
-
|
54
|
+
agent_id: 2
|
55
55
|
id: 8
|
56
56
|
position: 2
|
57
57
|
created_at: 2008-01-11 02:40:40.316742 +09:00
|
58
58
|
produce_00009:
|
59
59
|
updated_at: 2008-01-11 02:40:55.664604 +09:00
|
60
60
|
manifestation_id: 4
|
61
|
-
|
61
|
+
agent_id: 3
|
62
62
|
id: 9
|
63
63
|
position: 3
|
64
64
|
created_at: 2008-01-11 02:40:55.664604 +09:00
|
65
65
|
produce_00010:
|
66
66
|
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
67
67
|
manifestation_id: 5
|
68
|
-
|
68
|
+
agent_id: 1
|
69
69
|
id: 10
|
70
70
|
position: 1
|
71
71
|
created_at: 2008-01-11 02:44:37.135721 +09:00
|
72
72
|
produce_00101:
|
73
73
|
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
74
74
|
manifestation_id: 207
|
75
|
-
|
75
|
+
agent_id: 102
|
76
76
|
id: 101
|
77
77
|
position: 1
|
78
78
|
created_at: 2010-03-03 20:00:00.135721 +09:00
|
79
79
|
produce_00102:
|
80
80
|
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
81
81
|
manifestation_id: 201
|
82
|
-
|
82
|
+
agent_id: 102
|
83
83
|
id: 102
|
84
84
|
position: 1
|
85
85
|
created_at: 2010-03-03 20:00:00.135721 +09:00
|
86
86
|
produce_00103:
|
87
87
|
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
88
88
|
manifestation_id: 202
|
89
|
-
|
89
|
+
agent_id: 102
|
90
90
|
id: 103
|
91
91
|
position: 1
|
92
92
|
created_at: 2010-03-03 20:00:00.135721 +09:00
|
93
93
|
produce_00104:
|
94
94
|
updated_at: 2010-03-16 11:00:00.135721 +09:00
|
95
95
|
manifestation_id: 208
|
96
|
-
|
96
|
+
agent_id: 101
|
97
97
|
id: 104
|
98
98
|
position: 1
|
99
99
|
created_at: 2010-03-16 11:00:00.135721 +09:00
|
100
100
|
produce_00105:
|
101
101
|
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
102
102
|
manifestation_id: 204
|
103
|
-
|
103
|
+
agent_id: 104
|
104
104
|
id: 105
|
105
105
|
position: 1
|
106
106
|
created_at: 2010-03-16 19:00:00.135721 +09:00
|
107
107
|
produce_00106:
|
108
108
|
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
109
109
|
manifestation_id: 205
|
110
|
-
|
110
|
+
agent_id: 104
|
111
111
|
id: 106
|
112
112
|
position: 1
|
113
113
|
created_at: 2010-03-16 19:00:00.135721 +09:00
|
114
114
|
produce_00107:
|
115
115
|
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
116
116
|
manifestation_id: 206
|
117
|
-
|
117
|
+
agent_id: 104
|
118
118
|
id: 107
|
119
119
|
position: 1
|
120
120
|
created_at: 2010-03-16 19:00:00.135721 +09:00
|
121
121
|
produce_00201:
|
122
122
|
updated_at: 2010-03-15 20:00:00.135721 +09:00
|
123
123
|
manifestation_id: 120
|
124
|
-
|
124
|
+
agent_id: 201
|
125
125
|
id: 201
|
126
126
|
position: 1
|
127
127
|
created_at: 2010-03-15 20:00:00.135721 +09:00
|
128
128
|
produce_00202:
|
129
129
|
updated_at: 2010-03-15 20:00:00.135721 +09:00
|
130
130
|
manifestation_id: 198
|
131
|
-
|
131
|
+
agent_id: 202
|
132
132
|
id: 202
|
133
133
|
position: 1
|
134
134
|
created_at: 2010-03-15 20:00:00.135721 +09:00
|
@@ -138,7 +138,7 @@ produce_00202:
|
|
138
138
|
# Table name: produces
|
139
139
|
#
|
140
140
|
# id :integer not null, primary key
|
141
|
-
#
|
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
@@ -2,70 +2,70 @@
|
|
2
2
|
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
6
|
id: 1
|
7
7
|
position: 1
|
8
8
|
created_at: 2008-01-11 23:28:19.277110 +09:00
|
9
9
|
realize_00002:
|
10
10
|
updated_at: 2008-01-11 23:28:57.068191 +09:00
|
11
11
|
expression_id: 2
|
12
|
-
|
12
|
+
agent_id: 2
|
13
13
|
id: 2
|
14
14
|
position: 2
|
15
15
|
created_at: 2008-01-11 23:28:57.068191 +09:00
|
16
16
|
realize_00003:
|
17
17
|
updated_at: 2008-01-11 23:32:03.701425 +09:00
|
18
18
|
expression_id: 3
|
19
|
-
|
19
|
+
agent_id: 3
|
20
20
|
id: 3
|
21
21
|
position: 1
|
22
22
|
created_at: 2008-01-11 23:32:03.701425 +09:00
|
23
23
|
realize_00004:
|
24
24
|
updated_at: 2008-01-11 02:34:20.183962 +09:00
|
25
25
|
expression_id: 4
|
26
|
-
|
26
|
+
agent_id: 1
|
27
27
|
id: 4
|
28
28
|
position: 1
|
29
29
|
created_at: 2008-01-11 02:34:20.183962 +09:00
|
30
30
|
realize_00005:
|
31
31
|
updated_at: 2008-01-11 02:34:32.352223 +09:00
|
32
32
|
expression_id: 5
|
33
|
-
|
33
|
+
agent_id: 2
|
34
34
|
id: 5
|
35
35
|
position: 1
|
36
36
|
created_at: 2008-01-11 02:34:32.352223 +09:00
|
37
37
|
realize_00006:
|
38
38
|
updated_at: 2008-01-11 23:35:36.467584 +09:00
|
39
39
|
expression_id: 1
|
40
|
-
|
40
|
+
agent_id: 3
|
41
41
|
id: 6
|
42
42
|
position: 2
|
43
43
|
created_at: 2008-01-11 23:35:36.467584 +09:00
|
44
44
|
realize_00007:
|
45
45
|
updated_at: 2008-01-11 02:40:24.038276 +09:00
|
46
46
|
expression_id: 2
|
47
|
-
|
47
|
+
agent_id: 1
|
48
48
|
id: 7
|
49
49
|
position: 2
|
50
50
|
created_at: 2008-01-11 02:40:24.038276 +09:00
|
51
51
|
realize_00008:
|
52
52
|
updated_at: 2008-01-11 02:40:40.316742 +09:00
|
53
53
|
expression_id: 3
|
54
|
-
|
54
|
+
agent_id: 2
|
55
55
|
id: 8
|
56
56
|
position: 2
|
57
57
|
created_at: 2008-01-11 02:40:40.316742 +09:00
|
58
58
|
realize_00009:
|
59
59
|
updated_at: 2008-01-11 02:40:55.664604 +09:00
|
60
60
|
expression_id: 4
|
61
|
-
|
61
|
+
agent_id: 3
|
62
62
|
id: 9
|
63
63
|
position: 2
|
64
64
|
created_at: 2008-01-11 02:40:55.664604 +09:00
|
65
65
|
realize_00010:
|
66
66
|
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
67
67
|
expression_id: 5
|
68
|
-
|
68
|
+
agent_id: 1
|
69
69
|
id: 10
|
70
70
|
position: 2
|
71
71
|
created_at: 2008-01-11 02:44:37.135721 +09:00
|
@@ -75,7 +75,7 @@ realize_00010:
|
|
75
75
|
# Table name: realizes
|
76
76
|
#
|
77
77
|
# id :integer not null, primary key
|
78
|
-
#
|
78
|
+
# agent_id :integer not null
|
79
79
|
# expression_id :integer not null
|
80
80
|
# position :integer
|
81
81
|
# created_at :datetime not null
|