enju_flower 0.1.0.pre12 → 0.1.0.pre13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/manifestations_controller.rb +771 -0
  3. data/app/views/layouts/{patrons.html.erb → agents.html.erb} +0 -0
  4. data/app/views/layouts/{patrons.mobile.erb → agents.mobile.erb} +0 -0
  5. data/app/views/manifestations/_manifestation.html.erb +5 -5
  6. data/app/views/manifestations/_show_holding.html.erb +1 -1
  7. data/app/views/manifestations/_show_holding.mobile.erb +1 -1
  8. data/lib/enju_flower/version.rb +1 -1
  9. data/spec/dummy/config/initializers/inflections.rb +0 -5
  10. data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +5 -0
  11. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +5 -0
  12. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +5 -0
  13. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +8 -0
  14. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +5 -0
  15. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +5 -0
  16. data/spec/dummy/db/test.sqlite3 +0 -0
  17. data/spec/dummy/solr/data/test/index/{_23i.fdt → _20.fdt} +0 -0
  18. data/spec/dummy/solr/data/test/index/{_23i.fdx → _20.fdx} +0 -0
  19. data/spec/dummy/solr/data/test/index/{_23i.fnm → _20.fnm} +0 -0
  20. data/spec/dummy/solr/data/test/index/{_23i.frq → _20.frq} +0 -0
  21. data/spec/dummy/solr/data/test/index/{_23i.nrm → _20.nrm} +0 -0
  22. data/spec/dummy/solr/data/test/index/{_23i.prx → _20.prx} +0 -0
  23. data/spec/dummy/solr/data/test/index/{_23i.tii → _20.tii} +0 -0
  24. data/spec/dummy/solr/data/test/index/{_23i.tis → _20.tis} +0 -0
  25. data/spec/dummy/solr/data/test/index/{_23j.fdt → _21.fdt} +0 -0
  26. data/spec/dummy/solr/data/test/index/{_23j.fdx → _21.fdx} +0 -0
  27. data/spec/dummy/solr/data/test/index/{_23j.fnm → _21.fnm} +0 -0
  28. data/spec/dummy/solr/data/test/index/{_23j.frq → _21.frq} +0 -0
  29. data/spec/dummy/solr/data/test/index/{_23j.nrm → _21.nrm} +0 -0
  30. data/spec/dummy/solr/data/test/index/{_23j.prx → _21.prx} +0 -0
  31. data/spec/dummy/solr/data/test/index/{_23j.tii → _21.tii} +0 -0
  32. data/spec/dummy/solr/data/test/index/{_23j.tis → _21.tis} +0 -0
  33. data/spec/dummy/solr/data/test/index/{_23k.fdt → _22.fdt} +0 -0
  34. data/spec/dummy/solr/data/test/index/{_23k.fdx → _22.fdx} +0 -0
  35. data/spec/dummy/solr/data/test/index/{_23k.fnm → _22.fnm} +1 -1
  36. data/spec/dummy/solr/data/test/index/_22.frq +0 -0
  37. data/spec/dummy/solr/data/test/index/{_23k.nrm → _22.nrm} +1 -1
  38. data/spec/dummy/solr/data/test/index/_22.prx +0 -0
  39. data/spec/dummy/solr/data/test/index/_22.tii +0 -0
  40. data/spec/dummy/solr/data/test/index/_22.tis +0 -0
  41. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  42. data/spec/dummy/solr/data/test/index/{segments_2u7 → segments_2s} +0 -0
  43. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  44. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  45. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  46. data/spec/fixtures/agent_import_files.yml +47 -0
  47. data/spec/fixtures/agent_import_results.yml +29 -0
  48. data/spec/fixtures/agent_relationships.yml +6 -6
  49. data/spec/fixtures/agents.yml +2 -2
  50. data/spec/fixtures/circulation_statuses.yml +136 -0
  51. data/spec/fixtures/creates.yml +1 -1
  52. data/spec/fixtures/donates.yml +1 -1
  53. data/spec/fixtures/event_categories.yml +55 -0
  54. data/spec/fixtures/events.yml +142 -0
  55. data/spec/fixtures/identifier_types.yml +7 -0
  56. data/spec/fixtures/item_has_use_restrictions.yml +61 -0
  57. data/spec/fixtures/items.yml +48 -1
  58. data/spec/fixtures/manifestations.yml +1 -1
  59. data/spec/fixtures/owns.yml +1 -1
  60. data/spec/fixtures/produces.yml +1 -1
  61. data/spec/fixtures/realizes.yml +1 -1
  62. data/spec/fixtures/series_statements.yml +15 -2
  63. metadata +82 -57
  64. data/spec/dummy/solr/data/test/index/_23k.frq +0 -0
  65. data/spec/dummy/solr/data/test/index/_23k.prx +0 -0
  66. data/spec/dummy/solr/data/test/index/_23k.tii +0 -0
  67. data/spec/dummy/solr/data/test/index/_23k.tis +0 -0
@@ -1,7 +1,7 @@
1
1
  <tr class="line<%= cycle("0", "1") -%>">
2
2
  <td style="width: 30px"><%= @manifestations.offset_value + 1 + manifestation_counter -%></td>
3
- <% cache([:manifestation => manifestation.id, :fragment => 'manifestation_html', :role => current_user_role_name, :locale => @locale]) do %>
4
- <td style="480px">
3
+ <td style="480px">
4
+ <% cache([:manifestation => manifestation.id, :fragment => 'manifestation_html', :role => current_user_role_name, :locale => @locale]) do %>
5
5
  <% if manifestation.root_series_statement %>
6
6
  <%= render 'manifestations/show_series_index', :manifestation => manifestation, :series_statement => manifestation.root_series_statement -%>
7
7
  <% else %>
@@ -18,9 +18,10 @@
18
18
  <%- end -%>
19
19
  <%= render 'manifestations/show_tag', :manifestation => manifestation -%>
20
20
  <% end %>
21
- <%= render 'manifestations/holding', :manifestation => manifestation -%>
22
21
  <% end %>
23
- </td>
22
+ <%= render 'manifestations/holding', :manifestation => manifestation -%>
23
+ <% end %>
24
+ </td>
24
25
  <% if signed_in? %>
25
26
  <td id="edit_icons">
26
27
  <% if defined?(EnjuCirculation) %>
@@ -52,5 +53,4 @@
52
53
  <%- end -%>
53
54
  </td>
54
55
  <% end %>
55
- <% end %>
56
56
  </tr>
@@ -34,7 +34,7 @@
34
34
  <%- if item.rent? -%>
35
35
  (
36
36
  <%= t('activerecord.attributes.checkout.due_date') -%>:
37
- <%= l(item.checkouts.first.due_date, :format => :short) -%>
37
+ <%= l(item.latest_checkout.due_date, :format => :short) -%>
38
38
  )
39
39
  <%- end -%>
40
40
  </td>
@@ -29,7 +29,7 @@
29
29
  <%- if item.rent? -%>
30
30
  (
31
31
  <%= t('activerecord.attributes.checkout.due_date') -%>:
32
- <%= l(item.checkouts.first.due_date, :format => :short) -%>
32
+ <%= l(item.last_checkout.due_date, :format => :short) -%>
33
33
  )
34
34
  <%- end -%>
35
35
  </td>
@@ -1,3 +1,3 @@
1
1
  module EnjuFlower
2
- VERSION = "0.1.0.pre12"
2
+ VERSION = "0.1.0.pre13"
3
3
  end
@@ -8,8 +8,3 @@
8
8
  # inflect.irregular 'person', 'people'
9
9
  # inflect.uncountable %w( fish sheep )
10
10
  # end
11
- #
12
- # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
- # inflect.acronym 'RESTful'
15
- # end
@@ -0,0 +1,5 @@
1
+ class AddStateIndexToReserve < ActiveRecord::Migration
2
+ def change
3
+ add_index :reserves, :state
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddRetainedAtToReserve < ActiveRecord::Migration
2
+ def change
3
+ add_column :reserves, :retained_at, :datetime
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddPostponedAtToReserve < ActiveRecord::Migration
2
+ def change
3
+ add_column :reserves, :postponed_at, :datetime
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ class AddCirculationStatusIdToItem < ActiveRecord::Migration
2
+ def change
3
+ add_column :items, :circulation_status_id, :integer, :default => 5, :null => false
4
+ add_column :items, :checkout_type_id, :integer, :default => 1, :null => false
5
+ add_index :items, :circulation_status_id
6
+ add_index :items, :checkout_type_id
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ class AddLockVersionToReserve < ActiveRecord::Migration
2
+ def change
3
+ add_column :reserves, :lock_version, :integer, :default => 0, :null => false
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddLockVersionToCheckin < ActiveRecord::Migration
2
+ def change
3
+ add_column :checkins, :lock_version, :integer, :default => 0, :null => false
4
+ end
5
+ end
Binary file
@@ -4,5 +4,5 @@ library_sm
4
4
  language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
5
  end_page_inumber_of_pages_irepository_content_b
6
6
  creator_sm sort_title_s periodical_bseries_master_bresource_master_b
7
- title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textissn_smoriginal_manifestation_ids_im
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textissn_smoriginal_manifestation_ids_im
8
8
  pub_year_i
@@ -1 +1 @@
1
- NRM�vruwvvuur|xttutttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|x||u|ttwwuuuuuuxx||||yx||y||||||||||||||||||||||||||||||||||||||||||||||||||||||||tt|t|||||||||||||||||||||||tt|t||||||||||||
1
+ NRM�vruwvvuur|xutusttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|x||u|ttwwuuuuuuxx||||yx||y||||||||||||||||||||||||||||||||||||||||||||||||||||||||ww|s||||||||||||||||||||||||||s||||||||||||
@@ -0,0 +1,47 @@
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
+ state: completed
10
+ agent_import_file_00002:
11
+ id: 2
12
+ agent_import_file_name: MyString
13
+ agent_import_file_size: 1
14
+ user_id: 1
15
+ agent_import_content_type: text/csv
16
+ state: pending
17
+ agent_import_file_00003:
18
+ id: 3
19
+ agent_import_file_name: MyString
20
+ agent_import_file_size: 1
21
+ user_id: 1
22
+ agent_import_content_type: text/csv
23
+ state: pending
24
+
25
+ # == Schema Information
26
+ #
27
+ # Table name: agent_import_files
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)
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
+ # created_at :datetime not null
42
+ # updated_at :datetime not null
43
+ # agent_import_fingerprint :string(255)
44
+ # error_message :text
45
+ # edit_mode :string(255)
46
+ #
47
+
@@ -0,0 +1,29 @@
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
+ user_id: 1
8
+ body: MyText
9
+
10
+ two:
11
+ id: 2
12
+ agent_import_file_id: 1
13
+ agent_id: 1
14
+ user_id: 1
15
+ body: MyText
16
+
17
+ # == Schema Information
18
+ #
19
+ # Table name: agent_import_results
20
+ #
21
+ # id :integer not null, primary key
22
+ # agent_import_file_id :integer
23
+ # agent_id :integer
24
+ # user_id :integer
25
+ # body :text
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
+ #
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
 
@@ -0,0 +1,136 @@
1
+ ---
2
+ circulation_status_00005:
3
+ name: In Process
4
+ display_name: In Process
5
+ updated_at: 2008-02-15 17:31:42.422676 +09:00
6
+ id: 5
7
+ note: ""
8
+ created_at: 2008-02-15 17:31:42.422676 +09:00
9
+ position: 5
10
+ circulation_status_00006:
11
+ name: In Transit Between Library Locations
12
+ display_name: In Transit Between Library Locations
13
+ updated_at: 2008-02-15 17:31:51.227056 +09:00
14
+ id: 6
15
+ note: ""
16
+ created_at: 2008-02-15 17:31:51.227056 +09:00
17
+ position: 6
18
+ circulation_status_00007:
19
+ name: Lost
20
+ display_name: Lost
21
+ updated_at: 2008-02-15 17:31:58.627987 +09:00
22
+ id: 7
23
+ note: ""
24
+ created_at: 2008-02-15 17:31:58.627987 +09:00
25
+ position: 7
26
+ circulation_status_00008:
27
+ name: Missing
28
+ display_name: Missing
29
+ updated_at: 2008-02-15 17:32:07.006541 +09:00
30
+ id: 8
31
+ note: ""
32
+ created_at: 2008-02-15 17:32:07.006541 +09:00
33
+ position: 8
34
+ circulation_status_00010:
35
+ name: On Loan
36
+ display_name: On Loan
37
+ updated_at: 2008-02-15 17:32:22.969896 +09:00
38
+ id: 10
39
+ note: ""
40
+ created_at: 2008-02-15 17:32:22.969896 +09:00
41
+ position: 10
42
+ circulation_status_00009:
43
+ name: Not Available
44
+ display_name: Not Available
45
+ updated_at: 2008-02-15 17:32:15.454067 +09:00
46
+ id: 9
47
+ note: ""
48
+ created_at: 2008-02-15 17:32:15.454067 +09:00
49
+ position: 9
50
+ circulation_status_00011:
51
+ name: On Order
52
+ display_name: On Order
53
+ updated_at: 2008-02-15 17:32:30.675735 +09:00
54
+ id: 11
55
+ note: ""
56
+ created_at: 2008-02-15 17:32:30.675735 +09:00
57
+ position: 11
58
+ circulation_status_00012:
59
+ name: Pending Transfer
60
+ display_name: Pending Transfer
61
+ updated_at: 2008-02-15 17:32:39.395000 +09:00
62
+ id: 12
63
+ note: ""
64
+ created_at: 2008-02-15 17:32:39.395000 +09:00
65
+ position: 12
66
+ circulation_status_00001:
67
+ name: Available For Pickup
68
+ display_name: Available For Pickup
69
+ updated_at: 2008-02-15 17:31:10.588524 +09:00
70
+ id: 1
71
+ note: ""
72
+ created_at: 2008-02-15 17:31:10.588524 +09:00
73
+ position: 1
74
+ circulation_status_00002:
75
+ name: Available On Shelf
76
+ display_name: Available On Shelf
77
+ updated_at: 2008-02-15 17:31:18.946298 +09:00
78
+ id: 2
79
+ note: ""
80
+ created_at: 2008-02-15 17:31:18.946298 +09:00
81
+ position: 2
82
+ circulation_status_00013:
83
+ name: Recalled
84
+ display_name: Recalled
85
+ updated_at: 2008-02-15 17:32:48.355304 +09:00
86
+ id: 13
87
+ note: ""
88
+ created_at: 2008-02-15 17:32:48.355304 +09:00
89
+ position: 13
90
+ circulation_status_00014:
91
+ name: Waiting To Be Reshelved
92
+ display_name: Waiting To Be Reshelved
93
+ updated_at: 2008-02-15 17:32:59.078750 +09:00
94
+ id: 14
95
+ note: ""
96
+ created_at: 2008-02-15 17:32:59.078750 +09:00
97
+ position: 14
98
+ circulation_status_00003:
99
+ name: Circulation Status Undefined
100
+ display_name: Circulation Status Undefined
101
+ updated_at: 2008-02-15 17:31:26.564769 +09:00
102
+ id: 3
103
+ note: ""
104
+ created_at: 2008-02-15 17:31:26.564769 +09:00
105
+ position: 3
106
+ circulation_status_00004:
107
+ name: Claimed Returned Or Never Borrowed
108
+ display_name: Claimed Returned Or Never Borrowed
109
+ updated_at: 2008-02-15 17:31:35.786404 +09:00
110
+ id: 4
111
+ note: ""
112
+ created_at: 2008-02-15 17:31:35.786404 +09:00
113
+ position: 4
114
+ circulation_status_00015:
115
+ name: Removed
116
+ display_name: "en: Removed\r\n\
117
+ ja: 除籍済み"
118
+ id: 15
119
+ updated_at: 2008-02-15 17:31:35.786404 +09:00
120
+ note: ""
121
+ created_at: 2008-02-15 17:31:35.786404 +09:00
122
+ position: 15
123
+
124
+ # == Schema Information
125
+ #
126
+ # Table name: circulation_statuses
127
+ #
128
+ # id :integer not null, primary key
129
+ # name :string(255) not null
130
+ # display_name :text
131
+ # note :text
132
+ # position :integer
133
+ # created_at :datetime
134
+ # updated_at :datetime
135
+ #
136
+
@@ -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
@@ -0,0 +1,55 @@
1
+ ---
2
+ event_category_00002:
3
+ name: closed
4
+ display_name: 休館日
5
+ updated_at: 2008-01-01 16:24:32.561469 +09:00
6
+ id: 2
7
+ note: ""
8
+ created_at: 2008-01-01 16:17:34.642433 +09:00
9
+ position: 2
10
+ event_category_00003:
11
+ name: おはなし会
12
+ display_name: おはなし会
13
+ updated_at: 2008-01-01 16:24:45.267241 +09:00
14
+ id: 3
15
+ note: ""
16
+ created_at: 2008-01-01 16:17:45.415487 +09:00
17
+ position: 3
18
+ event_category_00004:
19
+ name: 上映会
20
+ display_name: 上映会
21
+ updated_at: 2008-01-01 16:24:55.261682 +09:00
22
+ id: 4
23
+ note: ""
24
+ created_at: 2008-01-01 16:18:08.868680 +09:00
25
+ position: 4
26
+ event_category_00005:
27
+ name: 講演会
28
+ display_name: 講演会
29
+ updated_at: 2008-01-01 16:25:04.251141 +09:00
30
+ id: 5
31
+ note: ""
32
+ created_at: 2008-01-01 16:25:04.251141 +09:00
33
+ position: 5
34
+ event_category_00001:
35
+ name: unknown
36
+ display_name: (not specified)
37
+ updated_at: 2008-01-01 16:24:17.869192 +09:00
38
+ id: 1
39
+ note: ""
40
+ created_at: 2008-01-01 16:17:12.549565 +09:00
41
+ position: 1
42
+
43
+ # == Schema Information
44
+ #
45
+ # Table name: event_categories
46
+ #
47
+ # id :integer not null, primary key
48
+ # name :string(255) not null
49
+ # display_name :text
50
+ # note :text
51
+ # position :integer
52
+ # created_at :datetime
53
+ # updated_at :datetime
54
+ #
55
+
@@ -0,0 +1,142 @@
1
+ ---
2
+ event_00001:
3
+ updated_at: 2008-01-13 02:54:43.764011 +09:00
4
+ event_category_id: 1
5
+ end_at: 2008-01-14 02:54:00 +09:00
6
+ name: !binary |
7
+ 5LuV5LqL5aeL44KB
8
+
9
+ display_name: !binary |
10
+ 5LuV5LqL5aeL44KB
11
+
12
+ deleted_at:
13
+ start_at: 2008-01-13 02:54:00 +09:00
14
+ id: 1
15
+ note: !binary |
16
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
17
+
18
+ library_id: 2
19
+ created_at: 2008-01-01 16:20:54.372729 +09:00
20
+ event_00002:
21
+ updated_at: 2008-01-13 02:54:21.134175 +09:00
22
+ event_category_id: 2
23
+ end_at: 2008-01-14 02:54:00 +09:00
24
+ name: !binary |
25
+ 44OG44K544OI
26
+
27
+ display_name: !binary |
28
+ 44OG44K544OI
29
+
30
+ deleted_at:
31
+ start_at: 2008-01-13 02:54:00 +09:00
32
+ id: 2
33
+ note: !binary |
34
+ 44OG44K544OI55So44Gu44Kk44OZ44Oz44OI44Gn44GZ44CC
35
+
36
+ library_id: 2
37
+ created_at: 2008-01-01 20:54:25.803201 +09:00
38
+ event_00003:
39
+ updated_at: 2008-02-05 20:00:35.319131 +09:00
40
+ event_category_id: 1
41
+ end_at: 2008-02-05 00:00:00 +09:00
42
+ name: !binary |
43
+ 44Of44O844OG44Kj44Oz44Kw
44
+
45
+ display_name: !binary |
46
+ 44Of44O844OG44Kj44Oz44Kw
47
+
48
+ deleted_at:
49
+ start_at: 2008-01-13 00:00:00 +09:00
50
+ id: 3
51
+ note: ""
52
+ library_id: 2
53
+ created_at: 2008-01-13 02:51:10.642395 +09:00
54
+ event_00004:
55
+ updated_at: 2008-02-05 15:43:42.617670 +09:00
56
+ event_category_id: 4
57
+ end_at: 2008-02-06 00:00:00 +09:00
58
+ name: !binary |
59
+ 44OG44K544OI
60
+
61
+ display_name: !binary |
62
+ 44OG44K544OI
63
+
64
+ deleted_at:
65
+ start_at: 2008-02-05 00:00:00 +09:00
66
+ id: 4
67
+ note: !binary |
68
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
69
+
70
+ library_id: 3
71
+ created_at: 2008-02-05 15:43:42.617670 +09:00
72
+ event_00005:
73
+ updated_at: 2008-02-05 20:41:50.533164 +09:00
74
+ event_category_id: 1
75
+ end_at: 2008-02-08 00:00:00 +09:00
76
+ name: test
77
+ display_name: test
78
+ deleted_at:
79
+ start_at: 2008-02-05 00:00:00 +09:00
80
+ id: 5
81
+ note: ""
82
+ library_id: 2
83
+ created_at: 2008-02-05 20:41:50.533164 +09:00
84
+ event_00006:
85
+ updated_at: 2008-02-05 23:52:06.315285 +09:00
86
+ event_category_id: 2
87
+ end_at: 2008-02-08 00:00:00 +09:00
88
+ name: !binary |
89
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
90
+
91
+ display_name: !binary |
92
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
93
+
94
+ deleted_at:
95
+ start_at: 2008-02-05 00:00:00 +09:00
96
+ id: 6
97
+ note: ""
98
+ library_id: 2
99
+ created_at: 2008-02-05 20:50:26.651371 +09:00
100
+ event_00007:
101
+ updated_at: 2008-02-05 21:00:53.926050 +09:00
102
+ event_category_id: 1
103
+ end_at: 2008-02-08 00:00:00 +09:00
104
+ name: test
105
+ display_name: test
106
+ deleted_at:
107
+ start_at: 2008-02-05 00:00:00 +09:00
108
+ id: 7
109
+ note: test
110
+ library_id: 2
111
+ created_at: 2008-02-05 21:00:53.926050 +09:00
112
+ event_00008:
113
+ updated_at: 2008-02-05 21:00:53.926050 +09:00
114
+ event_category_id: 1
115
+ end_at: 2008-02-05 15:00:00 +09:00
116
+ name: test
117
+ display_name: test
118
+ deleted_at:
119
+ start_at: 2008-02-05 15:00:00 +09:00
120
+ id: 8
121
+ note: test
122
+ library_id: 2
123
+ created_at: 2008-02-05 21:00:53.926050 +09:00
124
+
125
+ # == Schema Information
126
+ #
127
+ # Table name: events
128
+ #
129
+ # id :integer not null, primary key
130
+ # library_id :integer default(1), not null
131
+ # event_category_id :integer default(1), not null
132
+ # name :string(255)
133
+ # note :text
134
+ # start_at :datetime
135
+ # end_at :datetime
136
+ # all_day :boolean default(FALSE), not null
137
+ # deleted_at :datetime
138
+ # created_at :datetime
139
+ # updated_at :datetime
140
+ # display_name :text
141
+ #
142
+