enju_leaf 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -0
- data/Rakefile +9 -1
- data/app/assets/javascripts/enju_leaf.js +1 -1
- data/app/assets/javascripts/{enju.menu.js → menu.js} +0 -0
- data/app/assets/javascripts/mobile.js +2 -2
- data/app/assets/stylesheets/enju.css +2 -0
- data/app/views/page/opensearch.xml.builder +1 -0
- data/app/views/page/system_information.html.erb +7 -1
- data/lib/enju_leaf.rb +0 -1
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +2 -19
- data/lib/generators/enju_leaf/seed/seed_generator.rb +29 -0
- data/lib/generators/enju_leaf/setup/setup_generator.rb +0 -1
- data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +9 -12
- data/lib/tasks/enju_leaf_tasks.rake +2 -1
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/schema.rb +0 -390
- metadata +323 -516
- data/README.rdoc +0 -30
- data/config/locales/en.yml +0 -214
- data/config/locales/ja.yml +0 -204
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/roles.yml +0 -29
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/user_groups.yml +0 -7
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/db/migrate/032_create_checkins.rb +0 -17
- data/spec/dummy/db/migrate/033_create_checkouts.rb +0 -25
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -26
- data/spec/dummy/db/migrate/055_create_bookmarks.rb +0 -22
- data/spec/dummy/db/migrate/121_create_checked_items.rb +0 -17
- data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +0 -16
- data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +0 -17
- data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +0 -25
- data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +0 -18
- data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -13
- data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +0 -13
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -23
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +0 -15
- data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +0 -21
- data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
- data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +0 -9
- data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +0 -6
- data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +0 -6
- data/spec/dummy/db/migrate/20111231145823_add_share_bookmarks_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +0 -5
- data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +0 -5
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +0 -6
- data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +0 -8
- data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
- data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +0 -12
- data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +0 -6
- data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20150106001709_create_demands.rb +0 -14
- data/spec/dummy/db/migrate/20150421023923_create_identities.rb +0 -15
- data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +0 -5
- data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +0 -11
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +0 -5
- data/spec/fixtures/agent_import_files.yml +0 -44
- data/spec/fixtures/agent_import_results.yml +0 -26
- data/spec/fixtures/agent_relationship_types.yml +0 -34
- data/spec/fixtures/agent_relationships.yml +0 -25
- data/spec/fixtures/agent_types.yml +0 -35
- data/spec/fixtures/agents.yml +0 -326
- data/spec/fixtures/baskets.yml +0 -80
- data/spec/fixtures/carrier_type_has_checkout_types.yml +0 -30
- data/spec/fixtures/checked_items.yml +0 -34
- data/spec/fixtures/checkins.yml +0 -54
- data/spec/fixtures/checkout_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/checkout_stat_has_users.yml +0 -23
- data/spec/fixtures/checkout_types.yml +0 -33
- data/spec/fixtures/checkouts.yml +0 -162
- data/spec/fixtures/circulation_statuses.yml +0 -119
- data/spec/fixtures/create_types.yml +0 -47
- data/spec/fixtures/creates.yml +0 -66
- data/spec/fixtures/donates.yml +0 -31
- data/spec/fixtures/event_categories.yml +0 -55
- data/spec/fixtures/events.yml +0 -116
- data/spec/fixtures/exemplifies.yml +0 -168
- data/spec/fixtures/import_requests.yml +0 -25
- data/spec/fixtures/item_has_use_restrictions.yml +0 -60
- data/spec/fixtures/items.yml +0 -303
- data/spec/fixtures/lending_policies.yml +0 -98
- data/spec/fixtures/licenses.yml +0 -29
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -27
- data/spec/fixtures/manifestation_relationship_types.yml +0 -29
- data/spec/fixtures/manifestation_relationships.yml +0 -30
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -27
- data/spec/fixtures/medium_of_performances.yml +0 -29
- data/spec/fixtures/message_requests.yml +0 -27
- data/spec/fixtures/message_templates.yml +0 -105
- data/spec/fixtures/owns.yml +0 -27
- data/spec/fixtures/picture_files.yml +0 -64
- data/spec/fixtures/produce_types.yml +0 -31
- data/spec/fixtures/produces.yml +0 -150
- data/spec/fixtures/realize_types.yml +0 -39
- data/spec/fixtures/realizes.yml +0 -87
- data/spec/fixtures/request_status_types.yml +0 -63
- data/spec/fixtures/request_types.yml +0 -55
- data/spec/fixtures/reserve_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/reserve_stat_has_users.yml +0 -23
- data/spec/fixtures/reserve_transitions.yml +0 -88
- data/spec/fixtures/reserves.yml +0 -162
- data/spec/fixtures/resource_import_files.yml +0 -44
- data/spec/fixtures/resource_import_results.yml +0 -29
- data/spec/fixtures/series_statements.yml +0 -45
- data/spec/fixtures/subscribes.yml +0 -45
- data/spec/fixtures/subscriptions.yml +0 -27
- data/spec/fixtures/use_restrictions.yml +0 -92
- data/spec/fixtures/user_checkout_stats.yml +0 -27
- data/spec/fixtures/user_group_has_checkout_types.yml +0 -110
@@ -1,9 +0,0 @@
|
|
1
|
-
class AddMostRecentToManifestationReserveStatTransitions < ActiveRecord::Migration[4.2]
|
2
|
-
def up
|
3
|
-
add_column :manifestation_reserve_stat_transitions, :most_recent, :boolean, null: true
|
4
|
-
end
|
5
|
-
|
6
|
-
def down
|
7
|
-
remove_column :manifestation_reserve_stat_transitions, :most_recent
|
8
|
-
end
|
9
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
agent_import_file_00001:
|
4
|
-
id: 1
|
5
|
-
agent_import_file_name: MyString
|
6
|
-
agent_import_file_size: 1
|
7
|
-
user_id: 1
|
8
|
-
agent_import_content_type: text/csv
|
9
|
-
agent_import_file_00002:
|
10
|
-
id: 2
|
11
|
-
agent_import_file_name: MyString
|
12
|
-
agent_import_file_size: 1
|
13
|
-
user_id: 1
|
14
|
-
agent_import_content_type: text/csv
|
15
|
-
agent_import_file_00003:
|
16
|
-
id: 3
|
17
|
-
agent_import_file_name: MyString
|
18
|
-
agent_import_file_size: 1
|
19
|
-
user_id: 1
|
20
|
-
agent_import_content_type: text/csv
|
21
|
-
|
22
|
-
# == Schema Information
|
23
|
-
#
|
24
|
-
# Table name: agent_import_files
|
25
|
-
#
|
26
|
-
# id :integer not null, primary key
|
27
|
-
# parent_id :integer
|
28
|
-
# content_type :string(255)
|
29
|
-
# size :integer
|
30
|
-
# user_id :integer
|
31
|
-
# note :text
|
32
|
-
# executed_at :datetime
|
33
|
-
# state :string(255)
|
34
|
-
# agent_import_file_name :string(255)
|
35
|
-
# agent_import_content_type :string(255)
|
36
|
-
# agent_import_file_size :integer
|
37
|
-
# agent_import_updated_at :datetime
|
38
|
-
# created_at :datetime not null
|
39
|
-
# updated_at :datetime not null
|
40
|
-
# edit_mode :string(255)
|
41
|
-
# agent_import_fingerprint :string(255)
|
42
|
-
# error_message :text
|
43
|
-
#
|
44
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
id: 1
|
5
|
-
agent_import_file_id: 1
|
6
|
-
agent_id: 1
|
7
|
-
body: MyText
|
8
|
-
|
9
|
-
two:
|
10
|
-
id: 2
|
11
|
-
agent_import_file_id: 1
|
12
|
-
agent_id: 1
|
13
|
-
body: MyText
|
14
|
-
|
15
|
-
# == Schema Information
|
16
|
-
#
|
17
|
-
# Table name: agent_import_results
|
18
|
-
#
|
19
|
-
# id :integer not null, primary key
|
20
|
-
# agent_import_file_id :integer
|
21
|
-
# agent_id :integer
|
22
|
-
# body :text
|
23
|
-
# created_at :datetime
|
24
|
-
# updated_at :datetime
|
25
|
-
#
|
26
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
agent_relationship_type_00001:
|
4
|
-
id: 1
|
5
|
-
name: See also
|
6
|
-
display_name: See also
|
7
|
-
note:
|
8
|
-
position: 1
|
9
|
-
agent_relationship_type_00002:
|
10
|
-
id: 2
|
11
|
-
name: Member
|
12
|
-
display_name: Member
|
13
|
-
note:
|
14
|
-
position: 2
|
15
|
-
agent_relationship_type_00003:
|
16
|
-
id: 3
|
17
|
-
name: Child
|
18
|
-
display_name: Child
|
19
|
-
note:
|
20
|
-
position: 3
|
21
|
-
|
22
|
-
# == Schema Information
|
23
|
-
#
|
24
|
-
# Table name: agent_relationship_types
|
25
|
-
#
|
26
|
-
# id :integer not null, primary key
|
27
|
-
# name :string(255) not null
|
28
|
-
# display_name :text
|
29
|
-
# note :text
|
30
|
-
# position :integer
|
31
|
-
# created_at :datetime
|
32
|
-
# updated_at :datetime
|
33
|
-
#
|
34
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
parent_id: 1
|
5
|
-
child_id: 2
|
6
|
-
agent_relationship_type_id: 1
|
7
|
-
|
8
|
-
two:
|
9
|
-
parent_id: 2
|
10
|
-
child_id: 3
|
11
|
-
agent_relationship_type_id: 1
|
12
|
-
|
13
|
-
# == Schema Information
|
14
|
-
#
|
15
|
-
# Table name: agent_relationships
|
16
|
-
#
|
17
|
-
# id :integer not null, primary key
|
18
|
-
# parent_id :integer
|
19
|
-
# child_id :integer
|
20
|
-
# agent_relationship_type_id :integer
|
21
|
-
# created_at :datetime
|
22
|
-
# updated_at :datetime
|
23
|
-
# position :integer
|
24
|
-
#
|
25
|
-
|
@@ -1,35 +0,0 @@
|
|
1
|
-
---
|
2
|
-
agent_type_00001:
|
3
|
-
id: 1
|
4
|
-
name: Person
|
5
|
-
display_name: Person
|
6
|
-
note:
|
7
|
-
position: 1
|
8
|
-
|
9
|
-
agent_type_00002:
|
10
|
-
id: 2
|
11
|
-
name: CorporateBody
|
12
|
-
display_name: CorporateBody
|
13
|
-
note:
|
14
|
-
position: 2
|
15
|
-
|
16
|
-
agent_type_00003:
|
17
|
-
id: 3
|
18
|
-
name: Conference
|
19
|
-
display_name: Conference
|
20
|
-
note:
|
21
|
-
position: 3
|
22
|
-
|
23
|
-
# == Schema Information
|
24
|
-
#
|
25
|
-
# Table name: agent_types
|
26
|
-
#
|
27
|
-
# id :integer not null, primary key
|
28
|
-
# name :string(255) not null
|
29
|
-
# display_name :text
|
30
|
-
# note :text
|
31
|
-
# position :integer
|
32
|
-
# created_at :datetime
|
33
|
-
# updated_at :datetime
|
34
|
-
#
|
35
|
-
|
data/spec/fixtures/agents.yml
DELETED
@@ -1,326 +0,0 @@
|
|
1
|
-
---
|
2
|
-
agent_00001:
|
3
|
-
place: ""
|
4
|
-
last_name: Administrator
|
5
|
-
first_name:
|
6
|
-
full_name: Administrator
|
7
|
-
updated_at: 2007-11-21 22:01:56.137409 +09:00
|
8
|
-
other_designation: ""
|
9
|
-
id: 1
|
10
|
-
date_of_birth: 2000-01-01
|
11
|
-
date_of_death:
|
12
|
-
address_1:
|
13
|
-
language_id: 1
|
14
|
-
country_id: 1
|
15
|
-
agent_type_id: 1
|
16
|
-
required_role_id: 1
|
17
|
-
created_at: 2007-11-19 17:06:06.507237 +09:00
|
18
|
-
agent_00002:
|
19
|
-
place: ""
|
20
|
-
last_name: Librarian1
|
21
|
-
first_name:
|
22
|
-
full_name: Librarian1
|
23
|
-
updated_at: 2007-11-21 22:02:10.359793 +09:00
|
24
|
-
other_designation: ""
|
25
|
-
id: 2
|
26
|
-
date_of_birth: 2000-01-01
|
27
|
-
date_of_death:
|
28
|
-
address_1:
|
29
|
-
language_id: 1
|
30
|
-
country_id: 1
|
31
|
-
agent_type_id: 1
|
32
|
-
required_role_id: 4
|
33
|
-
created_at: 2007-11-19 17:06:07.724517 +09:00
|
34
|
-
agent_00003:
|
35
|
-
place:
|
36
|
-
last_name: Kosuke
|
37
|
-
first_name: Tanabe
|
38
|
-
full_name: Kosuke Tanabe
|
39
|
-
updated_at: 2007-12-04 16:25:01.523618 +09:00
|
40
|
-
other_designation:
|
41
|
-
id: 3
|
42
|
-
date_of_birth: 2000-01-01
|
43
|
-
date_of_death:
|
44
|
-
address_1:
|
45
|
-
language_id: 1
|
46
|
-
country_id: 1
|
47
|
-
agent_type_id: 1
|
48
|
-
required_role_id: 3
|
49
|
-
created_at: 2007-12-04 16:25:01.523618 +09:00
|
50
|
-
agent_00004:
|
51
|
-
place:
|
52
|
-
last_name: Librarian2
|
53
|
-
first_name:
|
54
|
-
full_name: Librarian2
|
55
|
-
updated_at: 2007-12-04 16:25:01.785027 +09:00
|
56
|
-
other_designation:
|
57
|
-
id: 4
|
58
|
-
date_of_birth: 2000-01-01
|
59
|
-
date_of_death:
|
60
|
-
address_1:
|
61
|
-
language_id: 1
|
62
|
-
country_id: 1
|
63
|
-
agent_type_id: 1
|
64
|
-
required_role_id: 1
|
65
|
-
created_at: 2007-12-04 16:25:01.785027 +09:00
|
66
|
-
agent_00005:
|
67
|
-
place: ""
|
68
|
-
last_name: User2
|
69
|
-
first_name:
|
70
|
-
full_name: User2
|
71
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
72
|
-
other_designation: ""
|
73
|
-
id: 5
|
74
|
-
date_of_birth: 2000-01-01
|
75
|
-
date_of_death:
|
76
|
-
address_1:
|
77
|
-
language_id: 1
|
78
|
-
country_id: 1
|
79
|
-
agent_type_id: 1
|
80
|
-
required_role_id: 2
|
81
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
82
|
-
agent_00006:
|
83
|
-
place: ""
|
84
|
-
last_name: New agent 1
|
85
|
-
first_name:
|
86
|
-
full_name: New agent 1
|
87
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
88
|
-
other_designation: ""
|
89
|
-
id: 6
|
90
|
-
date_of_birth: 2000-01-01
|
91
|
-
date_of_death:
|
92
|
-
address_1:
|
93
|
-
language_id: 1
|
94
|
-
country_id: 1
|
95
|
-
agent_type_id: 1
|
96
|
-
required_role_id: 1
|
97
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
98
|
-
agent_00007:
|
99
|
-
place: ""
|
100
|
-
last_name: New agent 2
|
101
|
-
first_name:
|
102
|
-
full_name: New agent 2
|
103
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
104
|
-
other_designation: ""
|
105
|
-
id: 7
|
106
|
-
date_of_birth: 2000-01-01
|
107
|
-
date_of_death:
|
108
|
-
address_1:
|
109
|
-
language_id: 1
|
110
|
-
country_id: 1
|
111
|
-
agent_type_id: 1
|
112
|
-
required_role_id: 1
|
113
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
114
|
-
agent_00008:
|
115
|
-
place: ""
|
116
|
-
last_name: New agent 3
|
117
|
-
first_name:
|
118
|
-
full_name: New agent 3
|
119
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
120
|
-
other_designation: ""
|
121
|
-
id: 8
|
122
|
-
date_of_birth: 2000-01-01
|
123
|
-
date_of_death:
|
124
|
-
address_1:
|
125
|
-
language_id: 1
|
126
|
-
country_id: 1
|
127
|
-
agent_type_id: 1
|
128
|
-
required_role_id: 1
|
129
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
130
|
-
agent_00009:
|
131
|
-
place: ""
|
132
|
-
last_name: New agent 4
|
133
|
-
first_name:
|
134
|
-
full_name: New agent 4
|
135
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
136
|
-
other_designation: ""
|
137
|
-
id: 9
|
138
|
-
date_of_birth: 2000-01-01
|
139
|
-
date_of_death:
|
140
|
-
address_1:
|
141
|
-
language_id: 1
|
142
|
-
country_id: 1
|
143
|
-
agent_type_id: 1
|
144
|
-
required_role_id: 1
|
145
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
146
|
-
agent_00010:
|
147
|
-
place: ""
|
148
|
-
last_name: New agent 5
|
149
|
-
first_name:
|
150
|
-
full_name: New agent 5
|
151
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
152
|
-
other_designation: ""
|
153
|
-
id: 10
|
154
|
-
date_of_birth: 2000-01-01
|
155
|
-
date_of_death:
|
156
|
-
address_1:
|
157
|
-
language_id: 1
|
158
|
-
country_id: 1
|
159
|
-
agent_type_id: 1
|
160
|
-
required_role_id: 1
|
161
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
162
|
-
agent_00011:
|
163
|
-
place: ""
|
164
|
-
last_name: User3
|
165
|
-
first_name:
|
166
|
-
full_name: User3
|
167
|
-
updated_at: 2007-11-21 22:02:35.579396 +09:00
|
168
|
-
other_designation: ""
|
169
|
-
id: 11
|
170
|
-
date_of_birth: 2000-01-01
|
171
|
-
date_of_death:
|
172
|
-
address_1:
|
173
|
-
language_id: 1
|
174
|
-
country_id: 1
|
175
|
-
agent_type_id: 1
|
176
|
-
required_role_id: 1
|
177
|
-
created_at: 2007-11-19 17:24:50.153417 +09:00
|
178
|
-
agent_00101:
|
179
|
-
place: ""
|
180
|
-
last_name: テスト名字
|
181
|
-
first_name: テスト名前
|
182
|
-
full_name: テスト正式名称
|
183
|
-
updated_at: 2010-03-03 17:00:00.579396 +09:00
|
184
|
-
other_designation: ""
|
185
|
-
id: 101
|
186
|
-
date_of_birth: 2000-01-01
|
187
|
-
date_of_death:
|
188
|
-
address_1:
|
189
|
-
language_id: 1
|
190
|
-
country_id: 1
|
191
|
-
agent_type_id: 1
|
192
|
-
required_role_id: 1
|
193
|
-
created_at: 2010-03-03 17:00:00.579396 +09:00
|
194
|
-
agent_00102:
|
195
|
-
place: ""
|
196
|
-
last_name:
|
197
|
-
first_name:
|
198
|
-
full_name: 出版社テスト
|
199
|
-
updated_at: 2010-03-03 17:00:00.579396 +09:00
|
200
|
-
other_designation: ""
|
201
|
-
id: 102
|
202
|
-
date_of_birth:
|
203
|
-
date_of_death:
|
204
|
-
address_1:
|
205
|
-
language_id: 1
|
206
|
-
country_id: 1
|
207
|
-
agent_type_id: 1
|
208
|
-
required_role_id: 1
|
209
|
-
created_at: 2010-03-03 17:00:00.579396 +09:00
|
210
|
-
agent_00103:
|
211
|
-
place: ""
|
212
|
-
last_name:
|
213
|
-
first_name:
|
214
|
-
full_name: 作者ダミー
|
215
|
-
updated_at: 2010-03-16 19:00:00.579396 +09:00
|
216
|
-
other_designation: ""
|
217
|
-
id: 103
|
218
|
-
date_of_birth:
|
219
|
-
date_of_death:
|
220
|
-
address_1:
|
221
|
-
language_id: 1
|
222
|
-
country_id: 1
|
223
|
-
agent_type_id: 1
|
224
|
-
required_role_id: 1
|
225
|
-
created_at: 2010-03-16 19:00:00.579396 +09:00
|
226
|
-
agent_00104:
|
227
|
-
place: ""
|
228
|
-
last_name:
|
229
|
-
first_name:
|
230
|
-
full_name: 試験用会社
|
231
|
-
updated_at: 2010-03-16 19:00:00.579396 +09:00
|
232
|
-
other_designation: ""
|
233
|
-
id: 104
|
234
|
-
date_of_birth:
|
235
|
-
date_of_death:
|
236
|
-
address_1:
|
237
|
-
language_id: 1
|
238
|
-
country_id: 1
|
239
|
-
agent_type_id: 1
|
240
|
-
required_role_id: 1
|
241
|
-
created_at: 2010-03-16 19:00:00.579396 +09:00
|
242
|
-
agent_00201:
|
243
|
-
place: ""
|
244
|
-
last_name:
|
245
|
-
first_name:
|
246
|
-
full_name: オーム社
|
247
|
-
updated_at: 2010-03-15 17:00:00.579396 +09:00
|
248
|
-
other_designation: ""
|
249
|
-
id: 201
|
250
|
-
date_of_birth:
|
251
|
-
date_of_death:
|
252
|
-
address_1:
|
253
|
-
language_id: 1
|
254
|
-
country_id: 1
|
255
|
-
agent_type_id: 1
|
256
|
-
required_role_id: 1
|
257
|
-
created_at: 2010-03-15 17:00:00.579396 +09:00
|
258
|
-
agent_00202:
|
259
|
-
place: ""
|
260
|
-
last_name:
|
261
|
-
first_name:
|
262
|
-
full_name: Ruby社
|
263
|
-
updated_at: 2010-03-15 17:00:00.579396 +09:00
|
264
|
-
other_designation: ""
|
265
|
-
id: 202
|
266
|
-
date_of_birth:
|
267
|
-
date_of_death:
|
268
|
-
address_1:
|
269
|
-
language_id: 1
|
270
|
-
country_id: 1
|
271
|
-
agent_type_id: 1
|
272
|
-
required_role_id: 1
|
273
|
-
created_at: 2010-03-15 17:00:00.579396 +09:00
|
274
|
-
|
275
|
-
# == Schema Information
|
276
|
-
#
|
277
|
-
# Table name: agents
|
278
|
-
#
|
279
|
-
# id :integer not null, primary key
|
280
|
-
# last_name :string(255)
|
281
|
-
# middle_name :string(255)
|
282
|
-
# first_name :string(255)
|
283
|
-
# last_name_transcription :string(255)
|
284
|
-
# middle_name_transcription :string(255)
|
285
|
-
# first_name_transcription :string(255)
|
286
|
-
# corporate_name :string(255)
|
287
|
-
# corporate_name_transcription :string(255)
|
288
|
-
# full_name :string(255)
|
289
|
-
# full_name_transcription :text
|
290
|
-
# full_name_alternative :text
|
291
|
-
# created_at :datetime
|
292
|
-
# updated_at :datetime
|
293
|
-
# deleted_at :datetime
|
294
|
-
# zip_code_1 :string(255)
|
295
|
-
# zip_code_2 :string(255)
|
296
|
-
# address_1 :text
|
297
|
-
# address_2 :text
|
298
|
-
# address_1_note :text
|
299
|
-
# address_2_note :text
|
300
|
-
# telephone_number_1 :string(255)
|
301
|
-
# telephone_number_2 :string(255)
|
302
|
-
# fax_number_1 :string(255)
|
303
|
-
# fax_number_2 :string(255)
|
304
|
-
# other_designation :text
|
305
|
-
# place :text
|
306
|
-
# street :text
|
307
|
-
# locality :text
|
308
|
-
# region :text
|
309
|
-
# date_of_birth :datetime
|
310
|
-
# date_of_death :datetime
|
311
|
-
# language_id :integer default(1), not null
|
312
|
-
# country_id :integer default(1), not null
|
313
|
-
# agent_type_id :integer default(1), not null
|
314
|
-
# lock_version :integer default(0), not null
|
315
|
-
# note :text
|
316
|
-
# required_role_id :integer default(1), not null
|
317
|
-
# required_score :integer default(0), not null
|
318
|
-
# state :string(255)
|
319
|
-
# email :text
|
320
|
-
# url :text
|
321
|
-
# full_name_alternative_transcription :text
|
322
|
-
# title :string(255)
|
323
|
-
# birth_date :string(255)
|
324
|
-
# death_date :string(255)
|
325
|
-
#
|
326
|
-
|