enju_leaf 1.1.0.rc3 → 1.1.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/enju_leaf.js +0 -2
- data/app/controllers/page_controller.rb +2 -2
- data/app/controllers/users_controller.rb +7 -7
- data/app/views/layouts/patrons.html.erb +2 -2
- data/app/views/my_accounts/show.html.erb +9 -1
- data/app/views/page/_menu.html.erb +1 -1
- data/app/views/page/advanced_search.html.erb +2 -2
- data/app/views/page/configuration.html.erb +3 -3
- data/app/views/page/export.html.erb +2 -2
- data/app/views/page/import.html.erb +1 -1
- data/app/views/page/statistics.html.erb +2 -2
- data/app/views/users/index.html.erb +0 -11
- data/app/views/users/new.html.erb +4 -4
- data/app/views/users/show.html.erb +9 -1
- data/config/locales/translation_en.yml +13 -13
- data/config/locales/translation_ja.yml +13 -13
- data/lib/enju_leaf/user.rb +12 -12
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/enju_leaf.rb +2 -2
- data/lib/generators/enju_leaf/setup/setup_generator.rb +10 -3
- data/spec/dummy/db/migrate/001_create_patrons.rb +7 -7
- 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/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 +1 -1
- data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +8 -8
- data/spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb +1 -1
- data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
- data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +4 -4
- data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +2 -2
- data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +3 -3
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +4 -4
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +2 -2
- data/spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +2 -2
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +1 -1
- data/spec/dummy/db/schema.rb +129 -129
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.fdt → _7z.fdt} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.fdx → _7z.fdx} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.fnm → _7z.fnm} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.frq → _7z.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.nrm → _7z.nrm} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.prx → _7z.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.tii → _7z.tii} +0 -0
- data/spec/dummy/solr/data/test/index/{_6z.tis → _7z.tis} +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_g1 +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/own.rb +1 -1
- data/spec/factories/produce.rb +1 -1
- data/spec/factories/realize.rb +1 -1
- data/spec/fixtures/{patron_import_files.yml → agent_import_files.yml} +18 -18
- data/spec/fixtures/{patron_import_results.yml → agent_import_results.yml} +7 -7
- 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/produces.yml +20 -20
- data/spec/fixtures/realizes.yml +11 -11
- data/spec/spec_helper.rb +0 -2
- data/vendor/assets/javascripts/jquery.colorbox.js +70 -33
- data/vendor/assets/javascripts/jquery.ui.menubar.js +342 -187
- data/vendor/assets/stylesheets/jquery.ui.menubar.css +25 -5
- metadata +61 -76
- data/app/assets/stylesheets/images/ajax-loader.gif +0 -0
- data/app/assets/stylesheets/images/border.png +0 -0
- data/app/assets/stylesheets/images/controls.png +0 -0
- data/app/assets/stylesheets/images/icons-18-black.png +0 -0
- data/app/assets/stylesheets/images/icons-18-white.png +0 -0
- data/app/assets/stylesheets/images/icons-36-black.png +0 -0
- data/app/assets/stylesheets/images/icons-36-white.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderBottomCenter.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderBottomLeft.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderBottomRight.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderMiddleLeft.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderMiddleRight.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderTopCenter.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderTopLeft.png +0 -0
- data/app/assets/stylesheets/images/ie6/borderTopRight.png +0 -0
- data/app/assets/stylesheets/images/loading.gif +0 -0
- data/app/assets/stylesheets/images/loading_background.png +0 -0
- data/app/assets/stylesheets/images/overlay.png +0 -0
- data/app/assets/stylesheets/images/spinner_bar.gif +0 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments_e1 +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/vendor/assets/stylesheets/images/ie6/borderBottomCenter.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderBottomLeft.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderBottomRight.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderMiddleLeft.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderMiddleRight.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderTopCenter.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderTopLeft.png +0 -0
- data/vendor/assets/stylesheets/images/ie6/borderTopRight.png +0 -0
@@ -1,30 +1,30 @@
|
|
1
1
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
2
|
|
3
|
-
|
3
|
+
agent_import_file_00001:
|
4
4
|
id: 1
|
5
|
-
|
6
|
-
|
5
|
+
agent_import_file_name: MyString
|
6
|
+
agent_import_file_size: 1
|
7
7
|
user_id: 1
|
8
|
-
|
8
|
+
agent_import_content_type: text/csv
|
9
9
|
state: completed
|
10
|
-
|
10
|
+
agent_import_file_00002:
|
11
11
|
id: 2
|
12
|
-
|
13
|
-
|
12
|
+
agent_import_file_name: MyString
|
13
|
+
agent_import_file_size: 1
|
14
14
|
user_id: 1
|
15
|
-
|
15
|
+
agent_import_content_type: text/csv
|
16
16
|
state: pending
|
17
|
-
|
17
|
+
agent_import_file_00003:
|
18
18
|
id: 3
|
19
|
-
|
20
|
-
|
19
|
+
agent_import_file_name: MyString
|
20
|
+
agent_import_file_size: 1
|
21
21
|
user_id: 1
|
22
|
-
|
22
|
+
agent_import_content_type: text/csv
|
23
23
|
state: pending
|
24
24
|
|
25
25
|
# == Schema Information
|
26
26
|
#
|
27
|
-
# Table name:
|
27
|
+
# Table name: agent_import_files
|
28
28
|
#
|
29
29
|
# id :integer not null, primary key
|
30
30
|
# parent_id :integer
|
@@ -34,14 +34,14 @@ patron_import_file_00003:
|
|
34
34
|
# note :text
|
35
35
|
# executed_at :datetime
|
36
36
|
# state :string(255)
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
37
|
+
# agent_import_file_name :string(255)
|
38
|
+
# agent_import_content_type :string(255)
|
39
|
+
# agent_import_file_size :integer
|
40
|
+
# agent_import_updated_at :datetime
|
41
41
|
# created_at :datetime not null
|
42
42
|
# updated_at :datetime not null
|
43
43
|
# edit_mode :string(255)
|
44
|
-
#
|
44
|
+
# agent_import_fingerprint :string(255)
|
45
45
|
# error_message :text
|
46
46
|
#
|
47
47
|
|
@@ -2,25 +2,25 @@
|
|
2
2
|
|
3
3
|
one:
|
4
4
|
id: 1
|
5
|
-
|
6
|
-
|
5
|
+
agent_import_file_id: 1
|
6
|
+
agent_id: 1
|
7
7
|
user_id: 1
|
8
8
|
body: MyText
|
9
9
|
|
10
10
|
two:
|
11
11
|
id: 2
|
12
|
-
|
13
|
-
|
12
|
+
agent_import_file_id: 1
|
13
|
+
agent_id: 1
|
14
14
|
user_id: 1
|
15
15
|
body: MyText
|
16
16
|
|
17
17
|
# == Schema Information
|
18
18
|
#
|
19
|
-
# Table name:
|
19
|
+
# Table name: agent_import_results
|
20
20
|
#
|
21
21
|
# id :integer not null, primary key
|
22
|
-
#
|
23
|
-
#
|
22
|
+
# agent_import_file_id :integer
|
23
|
+
# agent_id :integer
|
24
24
|
# user_id :integer
|
25
25
|
# body :text
|
26
26
|
# created_at :datetime
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
2
|
|
3
|
-
|
3
|
+
agent_relationship_type_00001:
|
4
4
|
id: 1
|
5
5
|
name: See also
|
6
6
|
display_name: See also
|
7
7
|
note:
|
8
8
|
position: 1
|
9
|
-
|
9
|
+
agent_relationship_type_00002:
|
10
10
|
id: 2
|
11
11
|
name: Member
|
12
12
|
display_name: Member
|
13
13
|
note:
|
14
14
|
position: 2
|
15
|
-
|
15
|
+
agent_relationship_type_00003:
|
16
16
|
id: 3
|
17
17
|
name: Child
|
18
18
|
display_name: Child
|
@@ -21,7 +21,7 @@ patron_relationship_type_00003:
|
|
21
21
|
|
22
22
|
# == Schema Information
|
23
23
|
#
|
24
|
-
# Table name:
|
24
|
+
# Table name: agent_relationship_types
|
25
25
|
#
|
26
26
|
# id :integer not null, primary key
|
27
27
|
# name :string(255) not null
|
@@ -3,21 +3,21 @@
|
|
3
3
|
one:
|
4
4
|
parent_id: 1
|
5
5
|
child_id: 2
|
6
|
-
|
6
|
+
agent_relationship_type_id: 1
|
7
7
|
|
8
8
|
two:
|
9
9
|
parent_id: 2
|
10
10
|
child_id: 3
|
11
|
-
|
11
|
+
agent_relationship_type_id: 1
|
12
12
|
|
13
13
|
# == Schema Information
|
14
14
|
#
|
15
|
-
# Table name:
|
15
|
+
# Table name: agent_relationships
|
16
16
|
#
|
17
17
|
# id :integer not null, primary key
|
18
18
|
# parent_id :integer
|
19
19
|
# child_id :integer
|
20
|
-
#
|
20
|
+
# agent_relationship_type_id :integer
|
21
21
|
# created_at :datetime
|
22
22
|
# updated_at :datetime
|
23
23
|
# position :integer
|
@@ -1,19 +1,19 @@
|
|
1
1
|
---
|
2
|
-
|
2
|
+
agent_type_00001:
|
3
3
|
id: 1
|
4
4
|
name: Person
|
5
5
|
display_name: Person
|
6
6
|
note:
|
7
7
|
position: 1
|
8
8
|
|
9
|
-
|
9
|
+
agent_type_00002:
|
10
10
|
id: 2
|
11
11
|
name: CorporateBody
|
12
12
|
display_name: CorporateBody
|
13
13
|
note:
|
14
14
|
position: 2
|
15
15
|
|
16
|
-
|
16
|
+
agent_type_00003:
|
17
17
|
id: 3
|
18
18
|
name: Conference
|
19
19
|
display_name: Conference
|
@@ -22,7 +22,7 @@ patron_type_00003:
|
|
22
22
|
|
23
23
|
# == Schema Information
|
24
24
|
#
|
25
|
-
# Table name:
|
25
|
+
# Table name: agent_types
|
26
26
|
#
|
27
27
|
# id :integer not null, primary key
|
28
28
|
# name :string(255) not null
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# == Schema Information
|
2
2
|
#
|
3
|
-
# Table name:
|
3
|
+
# Table name: agents
|
4
4
|
#
|
5
5
|
# id :integer not null, primary key
|
6
6
|
# user_id :integer
|
@@ -38,7 +38,7 @@
|
|
38
38
|
# date_of_death :datetime
|
39
39
|
# language_id :integer default(1), not null
|
40
40
|
# country_id :integer default(1), not null
|
41
|
-
#
|
41
|
+
# agent_type_id :integer default(1), not null
|
42
42
|
# lock_version :integer default(0), not null
|
43
43
|
# note :text
|
44
44
|
# required_role_id :integer default(1), not null
|
@@ -49,11 +49,11 @@
|
|
49
49
|
# full_name_alternative_transcription :text
|
50
50
|
# birth_date :string(255)
|
51
51
|
# death_date :string(255)
|
52
|
-
#
|
52
|
+
# agent_identifier :string(255)
|
53
53
|
#
|
54
54
|
|
55
55
|
---
|
56
|
-
|
56
|
+
agent_00001:
|
57
57
|
place: ""
|
58
58
|
last_name: Administrator
|
59
59
|
first_name:
|
@@ -66,11 +66,11 @@ patron_00001:
|
|
66
66
|
address_1:
|
67
67
|
language_id: 1
|
68
68
|
country_id: 1
|
69
|
-
|
69
|
+
agent_type_id: 1
|
70
70
|
required_role_id: 1
|
71
71
|
created_at: 2007-11-19 17:06:06.507237 +09:00
|
72
72
|
user_id: 1
|
73
|
-
|
73
|
+
agent_00002:
|
74
74
|
place: ""
|
75
75
|
last_name: Librarian1
|
76
76
|
first_name:
|
@@ -83,11 +83,11 @@ patron_00002:
|
|
83
83
|
address_1:
|
84
84
|
language_id: 1
|
85
85
|
country_id: 1
|
86
|
-
|
86
|
+
agent_type_id: 1
|
87
87
|
required_role_id: 4
|
88
88
|
created_at: 2007-11-19 17:06:07.724517 +09:00
|
89
89
|
user_id: 2
|
90
|
-
|
90
|
+
agent_00003:
|
91
91
|
place:
|
92
92
|
last_name: Kosuke
|
93
93
|
first_name: Tanabe
|
@@ -100,11 +100,11 @@ patron_00003:
|
|
100
100
|
address_1:
|
101
101
|
language_id: 1
|
102
102
|
country_id: 1
|
103
|
-
|
103
|
+
agent_type_id: 1
|
104
104
|
required_role_id: 3
|
105
105
|
created_at: 2007-12-04 16:25:01.523618 +09:00
|
106
106
|
user_id: 3
|
107
|
-
|
107
|
+
agent_00004:
|
108
108
|
place:
|
109
109
|
last_name: Librarian2
|
110
110
|
first_name:
|
@@ -117,11 +117,11 @@ patron_00004:
|
|
117
117
|
address_1:
|
118
118
|
language_id: 1
|
119
119
|
country_id: 1
|
120
|
-
|
120
|
+
agent_type_id: 1
|
121
121
|
required_role_id: 1
|
122
122
|
created_at: 2007-12-04 16:25:01.785027 +09:00
|
123
123
|
user_id: 4
|
124
|
-
|
124
|
+
agent_00005:
|
125
125
|
place: ""
|
126
126
|
last_name: User2
|
127
127
|
first_name:
|
@@ -134,15 +134,15 @@ patron_00005:
|
|
134
134
|
address_1:
|
135
135
|
language_id: 1
|
136
136
|
country_id: 1
|
137
|
-
|
137
|
+
agent_type_id: 1
|
138
138
|
required_role_id: 2
|
139
139
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
140
140
|
user_id: 5
|
141
|
-
|
141
|
+
agent_00006:
|
142
142
|
place: ""
|
143
|
-
last_name: New
|
143
|
+
last_name: New agent 1
|
144
144
|
first_name:
|
145
|
-
full_name: New
|
145
|
+
full_name: New agent 1
|
146
146
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
147
147
|
other_designation: ""
|
148
148
|
id: 6
|
@@ -151,14 +151,14 @@ patron_00006:
|
|
151
151
|
address_1:
|
152
152
|
language_id: 1
|
153
153
|
country_id: 1
|
154
|
-
|
154
|
+
agent_type_id: 1
|
155
155
|
required_role_id: 1
|
156
156
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
157
|
-
|
157
|
+
agent_00007:
|
158
158
|
place: ""
|
159
|
-
last_name: New
|
159
|
+
last_name: New agent 2
|
160
160
|
first_name:
|
161
|
-
full_name: New
|
161
|
+
full_name: New agent 2
|
162
162
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
163
163
|
other_designation: ""
|
164
164
|
id: 7
|
@@ -167,14 +167,14 @@ patron_00007:
|
|
167
167
|
address_1:
|
168
168
|
language_id: 1
|
169
169
|
country_id: 1
|
170
|
-
|
170
|
+
agent_type_id: 1
|
171
171
|
required_role_id: 1
|
172
172
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
173
|
-
|
173
|
+
agent_00008:
|
174
174
|
place: ""
|
175
|
-
last_name: New
|
175
|
+
last_name: New agent 3
|
176
176
|
first_name:
|
177
|
-
full_name: New
|
177
|
+
full_name: New agent 3
|
178
178
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
179
179
|
other_designation: ""
|
180
180
|
id: 8
|
@@ -183,14 +183,14 @@ patron_00008:
|
|
183
183
|
address_1:
|
184
184
|
language_id: 1
|
185
185
|
country_id: 1
|
186
|
-
|
186
|
+
agent_type_id: 1
|
187
187
|
required_role_id: 1
|
188
188
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
189
|
-
|
189
|
+
agent_00009:
|
190
190
|
place: ""
|
191
|
-
last_name: New
|
191
|
+
last_name: New agent 4
|
192
192
|
first_name:
|
193
|
-
full_name: New
|
193
|
+
full_name: New agent 4
|
194
194
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
195
195
|
other_designation: ""
|
196
196
|
id: 9
|
@@ -199,14 +199,14 @@ patron_00009:
|
|
199
199
|
address_1:
|
200
200
|
language_id: 1
|
201
201
|
country_id: 1
|
202
|
-
|
202
|
+
agent_type_id: 1
|
203
203
|
required_role_id: 1
|
204
204
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
205
|
-
|
205
|
+
agent_00010:
|
206
206
|
place: ""
|
207
|
-
last_name: New
|
207
|
+
last_name: New agent 5
|
208
208
|
first_name:
|
209
|
-
full_name: New
|
209
|
+
full_name: New agent 5
|
210
210
|
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
211
211
|
other_designation: ""
|
212
212
|
id: 10
|
@@ -215,10 +215,10 @@ patron_00010:
|
|
215
215
|
address_1:
|
216
216
|
language_id: 1
|
217
217
|
country_id: 1
|
218
|
-
|
218
|
+
agent_type_id: 1
|
219
219
|
required_role_id: 1
|
220
220
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
221
|
-
|
221
|
+
agent_00011:
|
222
222
|
place: ""
|
223
223
|
last_name: User3
|
224
224
|
first_name:
|
@@ -231,11 +231,11 @@ patron_00011:
|
|
231
231
|
address_1:
|
232
232
|
language_id: 1
|
233
233
|
country_id: 1
|
234
|
-
|
234
|
+
agent_type_id: 1
|
235
235
|
required_role_id: 1
|
236
236
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
237
237
|
user_id: 6
|
238
|
-
|
238
|
+
agent_00101:
|
239
239
|
place: ""
|
240
240
|
last_name: テスト名字
|
241
241
|
first_name: テスト名前
|
@@ -248,10 +248,10 @@ patron_00101:
|
|
248
248
|
address_1:
|
249
249
|
language_id: 1
|
250
250
|
country_id: 1
|
251
|
-
|
251
|
+
agent_type_id: 1
|
252
252
|
required_role_id: 1
|
253
253
|
created_at: 2010-03-03 17:00:00.579396 +09:00
|
254
|
-
|
254
|
+
agent_00102:
|
255
255
|
place: ""
|
256
256
|
last_name:
|
257
257
|
first_name:
|
@@ -264,10 +264,10 @@ patron_00102:
|
|
264
264
|
address_1:
|
265
265
|
language_id: 1
|
266
266
|
country_id: 1
|
267
|
-
|
267
|
+
agent_type_id: 1
|
268
268
|
required_role_id: 1
|
269
269
|
created_at: 2010-03-03 17:00:00.579396 +09:00
|
270
|
-
|
270
|
+
agent_00103:
|
271
271
|
place: ""
|
272
272
|
last_name:
|
273
273
|
first_name:
|
@@ -280,10 +280,10 @@ patron_00103:
|
|
280
280
|
address_1:
|
281
281
|
language_id: 1
|
282
282
|
country_id: 1
|
283
|
-
|
283
|
+
agent_type_id: 1
|
284
284
|
required_role_id: 1
|
285
285
|
created_at: 2010-03-16 19:00:00.579396 +09:00
|
286
|
-
|
286
|
+
agent_00104:
|
287
287
|
place: ""
|
288
288
|
last_name:
|
289
289
|
first_name:
|
@@ -296,10 +296,10 @@ patron_00104:
|
|
296
296
|
address_1:
|
297
297
|
language_id: 1
|
298
298
|
country_id: 1
|
299
|
-
|
299
|
+
agent_type_id: 1
|
300
300
|
required_role_id: 1
|
301
301
|
created_at: 2010-03-16 19:00:00.579396 +09:00
|
302
|
-
|
302
|
+
agent_00201:
|
303
303
|
place: ""
|
304
304
|
last_name:
|
305
305
|
first_name:
|
@@ -312,10 +312,10 @@ patron_00201:
|
|
312
312
|
address_1:
|
313
313
|
language_id: 1
|
314
314
|
country_id: 1
|
315
|
-
|
315
|
+
agent_type_id: 1
|
316
316
|
required_role_id: 1
|
317
317
|
created_at: 2010-03-15 17:00:00.579396 +09:00
|
318
|
-
|
318
|
+
agent_00202:
|
319
319
|
place: ""
|
320
320
|
last_name:
|
321
321
|
first_name:
|
@@ -328,7 +328,7 @@ patron_00202:
|
|
328
328
|
address_1:
|
329
329
|
language_id: 1
|
330
330
|
country_id: 1
|
331
|
-
|
331
|
+
agent_type_id: 1
|
332
332
|
required_role_id: 1
|
333
333
|
created_at: 2010-03-15 17:00:00.579396 +09:00
|
334
334
|
|
data/spec/fixtures/creates.yml
CHANGED
@@ -1,49 +1,49 @@
|
|
1
1
|
---
|
2
2
|
create_00001:
|
3
3
|
updated_at: 2007-12-13 19:56:07.002082 +09:00
|
4
|
-
|
4
|
+
agent_id: 1
|
5
5
|
id: 1
|
6
6
|
work_id: 1
|
7
7
|
position: 1
|
8
8
|
created_at: 2007-12-13 19:56:07.002082 +09:00
|
9
9
|
create_00002:
|
10
10
|
updated_at: 2007-12-13 19:56:48.538796 +09:00
|
11
|
-
|
11
|
+
agent_id: 1
|
12
12
|
id: 2
|
13
13
|
work_id: 2
|
14
14
|
position: 1
|
15
15
|
created_at: 2007-12-13 19:56:48.538796 +09:00
|
16
16
|
create_00003:
|
17
17
|
updated_at: 2007-12-13 19:56:48.538796 +09:00
|
18
|
-
|
18
|
+
agent_id: 2
|
19
19
|
id: 3
|
20
20
|
work_id: 1
|
21
21
|
position: 2
|
22
22
|
created_at: 2007-12-13 19:56:48.538796 +09:00
|
23
23
|
create_00101:
|
24
24
|
updated_at: 2010-03-03 17:00:00.538796 +09:00
|
25
|
-
|
25
|
+
agent_id: 101
|
26
26
|
id: 101
|
27
27
|
work_id: 101
|
28
28
|
position: 2
|
29
29
|
created_at: 2010-03-03 17:00:00.538796 +09:00
|
30
30
|
create_00102:
|
31
31
|
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
32
|
-
|
32
|
+
agent_id: 103
|
33
33
|
id: 102
|
34
34
|
work_id: 102
|
35
35
|
position: 2
|
36
36
|
created_at: 2010-03-16 19:00:00.538796 +09:00
|
37
37
|
create_00103:
|
38
38
|
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
39
|
-
|
39
|
+
agent_id: 103
|
40
40
|
id: 103
|
41
41
|
work_id: 103
|
42
42
|
position: 2
|
43
43
|
created_at: 2010-03-16 19:00:00.538796 +09:00
|
44
44
|
create_00104:
|
45
45
|
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
46
|
-
|
46
|
+
agent_id: 103
|
47
47
|
id: 104
|
48
48
|
work_id: 104
|
49
49
|
position: 2
|
@@ -55,7 +55,7 @@ create_00104:
|
|
55
55
|
# Table name: creates
|
56
56
|
#
|
57
57
|
# id :integer not null, primary key
|
58
|
-
#
|
58
|
+
# agent_id :integer not null
|
59
59
|
# work_id :integer not null
|
60
60
|
# position :integer
|
61
61
|
# type :string(255)
|
data/spec/fixtures/donates.yml
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
donate_00001:
|
3
3
|
item_id: 5
|
4
4
|
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
5
|
-
|
5
|
+
agent_id: 1
|
6
6
|
id: 1
|
7
7
|
created_at: 2008-02-10 13:24:14.793431 +09:00
|
8
8
|
donate_00002:
|
9
9
|
item_id: 6
|
10
10
|
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
11
|
-
|
11
|
+
agent_id: 1
|
12
12
|
id: 2
|
13
13
|
created_at: 2008-02-10 13:24:14.793431 +09:00
|
14
14
|
donate_00003:
|
15
15
|
item_id: 7
|
16
16
|
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
17
|
-
|
17
|
+
agent_id: 2
|
18
18
|
id: 3
|
19
19
|
created_at: 2008-02-10 13:24:14.793431 +09:00
|
20
20
|
|
@@ -23,7 +23,7 @@ donate_00003:
|
|
23
23
|
# Table name: donates
|
24
24
|
#
|
25
25
|
# id :integer not null, primary key
|
26
|
-
#
|
26
|
+
# agent_id :integer not null
|
27
27
|
# item_id :integer not null
|
28
28
|
# created_at :datetime
|
29
29
|
# updated_at :datetime
|
data/spec/fixtures/owns.yml
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
own_00001:
|
3
3
|
item_id: 1
|
4
4
|
updated_at: 2007-11-21 21:22:57.654360 +09:00
|
5
|
-
|
5
|
+
agent_id: 1
|
6
6
|
id: 1
|
7
7
|
created_at: 2007-11-21 21:22:57.654360 +09:00
|
8
8
|
own_00002:
|
9
9
|
item_id: 2
|
10
10
|
updated_at: 2007-11-21 21:22:13.685287 +09:00
|
11
|
-
|
11
|
+
agent_id: 2
|
12
12
|
id: 2
|
13
13
|
created_at: 2007-11-21 21:22:13.685287 +09:00
|
14
14
|
|
@@ -17,7 +17,7 @@ own_00002:
|
|
17
17
|
# Table name: owns
|
18
18
|
#
|
19
19
|
# id :integer not null, primary key
|
20
|
-
#
|
20
|
+
# agent_id :integer not null
|
21
21
|
# item_id :integer not null
|
22
22
|
# position :integer
|
23
23
|
# type :string(255)
|