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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/layouts/patrons.html.erb +2 -2
  3. data/app/views/manifestations/_index_form_contributor.html.erb +1 -1
  4. data/app/views/manifestations/_index_form_creator.html.erb +1 -1
  5. data/app/views/manifestations/_index_form_publisher.html.erb +1 -1
  6. data/app/views/manifestations/_manifestation_list.html.erb +6 -6
  7. data/app/views/manifestations/_show_creators.html.erb +4 -4
  8. data/app/views/manifestations/_show_creators.mobile.erb +4 -4
  9. data/app/views/manifestations/_title.html.erb +3 -3
  10. data/app/views/manifestations/_title.mobile.erb +3 -3
  11. data/app/views/manifestations/index.atom.builder +2 -2
  12. data/app/views/manifestations/index.html.erb +3 -3
  13. data/app/views/manifestations/index.opds.builder +2 -2
  14. data/app/views/manifestations/index.sru.builder +6 -6
  15. data/lib/enju_flower/version.rb +1 -1
  16. data/spec/controllers/manifestations_controller_spec.rb +5 -5
  17. data/spec/dummy/app/models/ability.rb +31 -31
  18. data/spec/dummy/app/models/{local_patron.rb → local_agent.rb} +1 -1
  19. data/spec/dummy/app/models/user.rb +5 -99
  20. data/spec/dummy/config/environments/test.rb +1 -0
  21. data/spec/dummy/db/development.sqlite3 +0 -0
  22. data/spec/dummy/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +8 -8
  23. data/spec/dummy/db/migrate/012_create_owns.rb +2 -2
  24. data/spec/dummy/db/migrate/015_create_creates.rb +2 -2
  25. data/spec/dummy/db/migrate/035_create_reserves.rb +1 -1
  26. data/spec/dummy/db/migrate/047_create_produces.rb +2 -2
  27. data/spec/dummy/db/migrate/125_create_donates.rb +2 -2
  28. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +2 -2
  29. data/spec/dummy/db/migrate/{20080905191442_create_patron_types.rb → 20080905191442_create_agent_types.rb} +2 -2
  30. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +22 -0
  31. data/spec/dummy/db/migrate/20090519203307_create_participates.rb +2 -2
  32. data/spec/dummy/db/migrate/{20090812151902_create_patron_relationship_types.rb → 20090812151902_create_agent_relationship_types.rb} +2 -2
  33. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
  34. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
  35. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
  36. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +12 -0
  37. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
  38. data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -8
  39. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
  40. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  41. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
  42. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
  43. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +26 -0
  44. data/spec/dummy/db/schema.rb +152 -140
  45. data/spec/dummy/db/test.sqlite3 +0 -0
  46. data/spec/dummy/solr/data/test/index/{_1g9.frq → _23i.frq} +0 -0
  47. data/spec/dummy/solr/data/test/index/{_1g9.nrm → _23i.nrm} +1 -1
  48. data/spec/dummy/solr/data/test/index/{_1g9.prx → _23i.prx} +0 -0
  49. data/spec/dummy/solr/data/test/index/{_1g9.tii → _23i.tii} +0 -0
  50. data/spec/dummy/solr/data/test/index/{_1g9.tis → _23i.tis} +0 -0
  51. data/spec/dummy/solr/data/test/index/{_1gb.frq → _23k.frq} +0 -0
  52. data/spec/dummy/solr/data/test/index/{_1gb.nrm → _23k.nrm} +1 -1
  53. data/spec/dummy/solr/data/test/index/{_1gb.prx → _23k.prx} +0 -0
  54. data/spec/dummy/solr/data/test/index/{_1gb.tii → _23k.tii} +0 -0
  55. data/spec/dummy/solr/data/test/index/{_1gb.tis → _23k.tis} +0 -0
  56. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  57. data/spec/dummy/solr/data/test/index/segments_2u7 +0 -0
  58. data/spec/factories/{patron.rb → agent.rb} +3 -3
  59. data/spec/factories/agent_relationship.rb +6 -0
  60. data/spec/factories/agent_relationship_type.rb +5 -0
  61. data/spec/factories/agent_type.rb +5 -0
  62. data/spec/factories/create.rb +1 -1
  63. data/spec/factories/donate.rb +1 -1
  64. data/spec/factories/library.rb +13 -0
  65. data/spec/factories/own.rb +1 -1
  66. data/spec/factories/produce.rb +1 -1
  67. data/spec/factories/realize.rb +1 -1
  68. data/spec/factories/user.rb +33 -11
  69. data/spec/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +4 -4
  70. data/spec/fixtures/{patron_relationships.yml → agent_relationships.yml} +4 -4
  71. data/spec/fixtures/{patron_types.yml → agent_types.yml} +4 -4
  72. data/spec/fixtures/{patrons.yml → agents.yml} +47 -47
  73. data/spec/fixtures/creates.yml +8 -8
  74. data/spec/fixtures/donates.yml +4 -4
  75. data/spec/fixtures/owns.yml +3 -3
  76. data/spec/fixtures/picture_files.yml +1 -1
  77. data/spec/fixtures/produces.yml +20 -20
  78. data/spec/fixtures/realizes.yml +11 -11
  79. metadata +103 -107
  80. data/spec/dummy/app/mailers/notifier.rb +0 -40
  81. data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +0 -22
  82. data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +0 -13
  83. data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +0 -11
  84. data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +0 -12
  85. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +0 -11
  86. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +0 -5
  87. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +0 -5
  88. data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +0 -9
  89. data/spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +0 -6
  90. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +0 -5
  91. data/spec/dummy/solr/data/test/index/segments_1zb +0 -0
  92. data/spec/factories/patron_relationship.rb +0 -6
  93. data/spec/factories/patron_relationship_type.rb +0 -5
  94. data/spec/factories/patron_type.rb +0 -5
  95. data/spec/fixtures/patron_import_files.yml +0 -47
  96. data/spec/fixtures/patron_import_results.yml +0 -29
  97. /data/spec/dummy/solr/data/test/index/{_1g9.fdt → _23i.fdt} +0 -0
  98. /data/spec/dummy/solr/data/test/index/{_1g9.fdx → _23i.fdx} +0 -0
  99. /data/spec/dummy/solr/data/test/index/{_1g9.fnm → _23i.fnm} +0 -0
  100. /data/spec/dummy/solr/data/test/index/{_1ga.fdt → _23j.fdt} +0 -0
  101. /data/spec/dummy/solr/data/test/index/{_1ga.fdx → _23j.fdx} +0 -0
  102. /data/spec/dummy/solr/data/test/index/{_1ga.fnm → _23j.fnm} +0 -0
  103. /data/spec/dummy/solr/data/test/index/{_1ga.frq → _23j.frq} +0 -0
  104. /data/spec/dummy/solr/data/test/index/{_1ga.nrm → _23j.nrm} +0 -0
  105. /data/spec/dummy/solr/data/test/index/{_1ga.prx → _23j.prx} +0 -0
  106. /data/spec/dummy/solr/data/test/index/{_1ga.tii → _23j.tii} +0 -0
  107. /data/spec/dummy/solr/data/test/index/{_1ga.tis → _23j.tis} +0 -0
  108. /data/spec/dummy/solr/data/test/index/{_1gb.fdt → _23k.fdt} +0 -0
  109. /data/spec/dummy/solr/data/test/index/{_1gb.fdx → _23k.fdx} +0 -0
  110. /data/spec/dummy/solr/data/test/index/{_1gb.fnm → _23k.fnm} +0 -0
@@ -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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- patron_id: 102
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
- patron_id: 102
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
- patron_id: 102
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
- patron_id: 101
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
- patron_id: 104
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
- patron_id: 104
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
- patron_id: 104
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
- patron_id: 201
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
- patron_id: 202
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
- # patron_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
@@ -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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- patron_id: 2
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
- patron_id: 3
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
- patron_id: 1
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
- # patron_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