enju_biblio 0.1.0.pre57 → 0.1.0.pre58

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/item.rb +11 -4
  3. data/app/views/manifestations/_call_number.html.erb +1 -1
  4. data/lib/enju_biblio/version.rb +1 -1
  5. data/spec/dummy/db/test.sqlite3 +0 -0
  6. data/spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140820-19805-1p3heid.txt +147 -0
  7. data/spec/dummy/solr/test/data/index/_49n.fdt +0 -0
  8. data/spec/dummy/solr/test/data/index/_49n.fdx +0 -0
  9. data/spec/dummy/solr/test/data/index/_49n.fnm +0 -0
  10. data/spec/dummy/solr/test/data/index/_49n.nvd +0 -0
  11. data/spec/dummy/solr/test/data/index/_49n.nvm +0 -0
  12. data/spec/dummy/solr/test/data/index/_49n.si +0 -0
  13. data/spec/dummy/solr/test/data/index/_49n_Lucene41_0.doc +0 -0
  14. data/spec/dummy/solr/test/data/index/_49n_Lucene41_0.pos +0 -0
  15. data/spec/dummy/solr/test/data/index/_49n_Lucene41_0.tim +0 -0
  16. data/spec/dummy/solr/test/data/index/_49n_Lucene41_0.tip +0 -0
  17. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  18. data/spec/dummy/solr/test/data/index/segments_62f +0 -0
  19. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007855 +0 -0
  20. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007856 +0 -0
  21. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007857 +0 -0
  22. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007858 +0 -0
  23. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007859 +0 -0
  24. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007860 +0 -0
  25. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007861 +0 -0
  26. data/spec/dummy/tmp/cache/stdout +101 -0
  27. data/spec/dummy/tmp/pids/redis-test.pid +1 -1
  28. metadata +40 -20
  29. data/app/models/item_sweeper.rb +0 -18
  30. data/app/models/manifestation_sweeper.rb +0 -23
  31. data/spec/dummy/solr/test/data/index/segments_5ur +0 -0
  32. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007580 +0 -0
  33. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007581 +0 -0
  34. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007582 +0 -0
  35. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007583 +0 -0
  36. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007584 +0 -0
  37. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000007585 +0 -0
  38. data/spec/dummy/tmp/cache/ACB/B20/manifestation_search_total +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 725c260ad04215dee9f9ffdec238b0d21da102bb
4
- data.tar.gz: bee4e5ab54605fb4338aa3862edde45232d54c58
3
+ metadata.gz: 01d1d8279fdb15b0495e5c5dc35b7862a5fe84ab
4
+ data.tar.gz: cc18d562cb0fcdf4d8d8aa31b0a50e21e9357a6f
5
5
  SHA512:
6
- metadata.gz: b83d8be25b262448587c0d51ae484f088399d079dc7c074ae2139c1a01d6e4988df9e1fd36a889ac548c5eb4459e4e8ff64202ad8b684a51572144015aa8683f
7
- data.tar.gz: 9e0b84d885a257643145273caabd91136edb86ea5a3b02f4b1859699bb11b308603ee4d3beb09bb2566a60331c10b28775a8fa4d7feb6998a25ed559572dffac
6
+ metadata.gz: 8ddf8dbff2d9adccaedc08830a8a6ea67143a8d57200b7019af6016f9af8dc1f91f3e0c6e2ce3d5c48ad232c1669f1b40bf4f7864f1651b2fcdd573bd48cf141
7
+ data.tar.gz: c01337714392fd34e4012e6fb7bea77c03d3f5161ce8d0efc432d63bef8b1f89bf0743203eddab448adf481df0d34c1bf982ec3b550a950517483f9817cac7de
data/app/models/item.rb CHANGED
@@ -13,15 +13,15 @@ class Item < ActiveRecord::Base
13
13
  :binding_item_identifier, :binding_call_number, :binded_at
14
14
  scope :on_shelf, where('shelf_id != 1')
15
15
  scope :on_web, where(:shelf_id => 1)
16
- belongs_to :manifestation, touch: true
16
+ delegate :display_name, :to => :shelf, :prefix => true
17
17
  has_many :owns
18
18
  has_many :agents, through: :owns
19
- delegate :display_name, :to => :shelf, :prefix => true
20
- belongs_to :bookstore, validate: true
21
19
  has_many :donates
22
20
  has_many :donors, through: :donates, source: :agent
23
- belongs_to :required_role, class_name: 'Role', foreign_key: 'required_role_id', validate: true
24
21
  has_one :resource_import_result
22
+ belongs_to :manifestation, touch: true
23
+ belongs_to :bookstore, validate: true
24
+ belongs_to :required_role, class_name: 'Role', foreign_key: 'required_role_id', validate: true
25
25
  belongs_to :budget_type
26
26
 
27
27
  validates_associated :bookstore
@@ -51,6 +51,13 @@ class Item < ActiveRecord::Base
51
51
  time :acquired_at
52
52
  end
53
53
 
54
+ after_save do
55
+ manifestation.index!
56
+ end
57
+ after_destroy do
58
+ manifestation.index!
59
+ end
60
+
54
61
  attr_accessor :library_id
55
62
 
56
63
  paginates_per 10
@@ -3,7 +3,7 @@
3
3
  <td class="call_number_table">
4
4
  <%= item.shelf.library.display_name.localize -%>
5
5
  <br />
6
- <%= link_to item.shelf.display_name.localize, shelf -%>
6
+ <%= link_to item.shelf.display_name.localize, item.shelf -%>
7
7
  <br />
8
8
  <% if defined?(EnjuCirculation) %>
9
9
  <%= item.circulation_status.display_name.localize if item.circulation_status -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre57"
2
+ VERSION = "0.1.0.pre58"
3
3
  end
Binary file
@@ -0,0 +1,147 @@
1
+ manifestation_id original_title creator publisher pub_date price isbn item_identifier call_number item_price acquired_at bookstore budget_type circulation_status shelf library
2
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00001 Available On Shelf web web
3
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00004 Available On Shelf web web
4
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00007 Available On Shelf web web
5
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00010 Available On Shelf web web
6
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00011 Available On Shelf web web
7
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00018 On Loan web web
8
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00019 Available On Shelf web web
9
+ 1 よくわかる最新Webサービス技術 Administrator//Librarian1 Administrator//Kosuke Tanabe 4798002062 00020 Recalled web web
10
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00002 Available On Shelf web web
11
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00005 Available On Shelf web web
12
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00008 Available On Shelf web web
13
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00012 Circulation Status Undefined web web
14
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00013 On Loan web web
15
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00014 On Loan web web
16
+ 2 情報通信ハンドブック2005 Administrator Librarian1//Administrator 4915724824 00015 On Loan web web
17
+ 3 これからの生命科学研究者のためのバイオ特許入門講座 Kosuke Tanabe//Librarian1 4897063590 00003 Available On Shelf web web
18
+ 3 これからの生命科学研究者のためのバイオ特許入門講座 Kosuke Tanabe//Librarian1 4897063590 00006 Available On Shelf web web
19
+ 3 これからの生命科学研究者のためのバイオ特許入門講座 Kosuke Tanabe//Librarian1 4897063590 00009 Available On Shelf third_shelf hachioji
20
+ 3 これからの生命科学研究者のためのバイオ特許入門講座 Kosuke Tanabe//Librarian1 4897063590 00016 On Loan web web
21
+ 3 これからの生命科学研究者のためのバイオ特許入門講座 Kosuke Tanabe//Librarian1 4897063590 00017 On Loan web web
22
+ 4 THE BIOTECH INVESTOR'S BIBLE Administrator//Kosuke Tanabe 0471412791
23
+ 5 顧客満足型マーケティングの構図 Administrator//Librarian1
24
+ 6 仕組み革新の時代
25
+ 7 dictionary of e-business 0470844701
26
+ 8 Webサービス完全解説 4798101028
27
+ 9 逐条解説不正競争防止法 4641143331
28
+ 10 Apache Lucene入門 : Java・オープンソース・全文検索システムの構築 9784774127804
29
+ 11 Webサービス完全構築ガイド 00021 Available On Shelf web web
30
+ 11 Webサービス完全構築ガイド 00022 Available On Shelf web web
31
+ 11 Webサービス完全構築ガイド 00023 Removed first_shelf kamata
32
+ 22 YouTube - Open Source ILS Song
33
+ 23 世界の美しい図書館集めてみた【第一弾】
34
+ 101 CGI基礎講座 : Perl・プログラミング・日本語処理 テスト正式名称
35
+ 102 CGIレスキュー実践Perlプログラミング : Web裏技 作者ダミー
36
+ 103 Perlクックブック. v.2 作者ダミー
37
+ 104 Perlクックブック. v.1 作者ダミー
38
+ 105 初めてのPerl. 続
39
+ 106 Perl & XML
40
+ 107 はじめてのPerlモジュール : 厳選実用モジュール集
41
+ 108 Perl 5パワフルテクニック大全集
42
+ 109 CGI/Perlパワープログラミング
43
+ 110 Ruby/GTKプログラミング入門 : Rubyで作って遊ぶGUIプログラミング
44
+ 111 すぐわかるPerl
45
+ 112 CGIのための実践入門Perl : 対話的・動きのあるWebページを作ろう
46
+ 113 プログラミングは難しくない! : ウェブではじめるJavaScript/Perl/Java
47
+ 114 Rubyを256倍使うための本. 魔道編 2001-03-20 9784756137470
48
+ 115 入門Perl
49
+ 116 sed & awkプログラミング : UNIX power tools 1991-12-24 9784756100917
50
+ 117 Perlの達人
51
+ 118 ナチ強制・絶滅収容所 : 18施設内の生と死
52
+ 119 Perl基礎講座
53
+ 120 Rubyプログラミング入門 オーム社 2000-10-01 9784274063855
54
+ 121 Django×Python
55
+ 122 みんなのPython
56
+ 123 Rubyでgroonga使って全文検索 - ラングバ
57
+ 124 まちづくり三鷹図書館(Ruby図書館情報システム デモサイト)
58
+ 125 Ruby on Rails入門 : 優しいRailsの育て方
59
+ 126 Ruby Cookbook
60
+ 127 CGI programming on the World Wide Web
61
+ 128 Genomic Perl
62
+ 129 Indians of the Pacific Northwest
63
+ 130 Massachusetts acid rain monitoring project / Massachusetts acid rain monitoring project A.R.M
64
+ 131 International Symposium Genes and Chromosomes Structure and Function
65
+ 132 Perl black book, 2nd edition
66
+ 133 Python scripting for computational science
67
+ 134 Tests on a gold ore from the Ruby Basin, Black Hills
68
+ 135 Official guide to programming with CGI.pm / Programming with CGI.pm / Official guide to programming with CGI.pm
69
+ 136 Three little words [sound recording] / Nevertheless (I'm in love with you) / I love you so much / All alone Monday / Where did you get that girl? / Thinking of you / I wanna be loved by you / Who's sorry now? / My sunny Tennessee / So long Oolong / Three little words
70
+ 137 Femtosecond time-resolved spectroscopy of organic molecular crystals / Time-resolved spectroscopy of organic molecular crystals, Femtosecond
71
+ 138 CGI programming with Perl
72
+ 139 Python and XML / Python &amp; XML / XML processing with Python
73
+ 140 Perl cookbook / Solutions and examples for Perl programmers
74
+ 141 Mastering Perl/Tk / Perl/Tk
75
+ 142 Mastering algorithms with Perl / Practical programming through computer science
76
+ 143 Programming Perl
77
+ 144 Fort Worth &amp; Tarrant County / Fort Worth and Tarrant County
78
+ 145 Monty Python's Spamalot [sound recording] / Spamalot / Spamalot / Monty Python and the Holy Grail (Motion picture)
79
+ 146 AWK programming language
80
+ 147 Toting the lead row
81
+ 148 Afro-American blues and game songs
82
+ 149 Perl/Tk pocket reference
83
+ 150 politics of improving urban air quality
84
+ 151 Perl developer's dictionary
85
+ 152 Andrテδゥ Poitiers
86
+ 153 PERL and CGI for the World Wide Web [electronic resource] / Visual QuickStart guide
87
+ 154 Python tutorial
88
+ 155 Line shapes of paramagnetic resonances in ruby
89
+ 156 Perl programmer's reference
90
+ 157 Technological capabilities in developing countries
91
+ 158 phenomena of vagueness
92
+ 159 theory of consumer's demand
93
+ 160 theory of consumer's demand
94
+ 161 Monty Python, Shakespeare, and English Renaissance drama
95
+ 162 Analyzing computer system performance with PERL::PDQ
96
+ 163 equilibrium of the reaction between the manganate, permanganate, and hydroxide of potassium, and manganese dioxide
97
+ 164 Stimulated optical emission in ruby
98
+ 165 Strategic planning and risk analysis
99
+ 166 Performance assertion checking
100
+ 167 Spin-lattice relaxation time of ruby
101
+ 168 Mourning Ruby
102
+ 169 statistical analysis of banking performance in the Eastern Caribbean Currency Union in the 1990s
103
+ 170 Professional Perl programming / Perl programming
104
+ 171 Perl in a nutshell
105
+ 172 Programming Web services with Perl
106
+ 173 Proceedings of the Trieste Workshop on the search for New Elementary Particles / International journal of modern physics / Search for new elementary particles
107
+ 174 Europeras 3 &amp; 4 / Europera
108
+ 175 Retreats from realism in recent English drama
109
+ 176 Python programming patterns
110
+ 177 Beginning Perl for bioinformatics
111
+ 178 Learning Perl
112
+ 179 Effective awk programming
113
+ 180 Python standard library / Annotated reference for Python 2.0
114
+ 181 Programming Python
115
+ 182 Perl CD bookshelf
116
+ 183 Programming Perl
117
+ 184 Sed &amp; awk pocket reference / Sed and awk pocket reference
118
+ 185 Perl power!
119
+ 186 ATOKダイレクト API for Perl / Ruby?|?さらに使いこなす?|?ATOK.com
120
+ 187 Welcome ― Ruby Enterprise Edition
121
+ 188 Pythonクックブック
122
+ 189 みんなのPython インデントの世界へようこそ! object oriented-lightweight language Python
123
+ 190 Django | The Web framework for perfectionists with deadlines
124
+ 191 fac-back-opac - Google Code
125
+ 192 Rubyクックブック 2007-04-27 9784873113241
126
+ 193 Rubyレシピブック 2007-02-01 4797340045
127
+ 194 初めてのPerl 第3版
128
+ 195 続・初めてのPerl 改訂版
129
+ 196 たのしいRuby 第2版 Rubyではじめる気軽なプログラミング 2006-08-05 9784797336610
130
+ 197 Ruby
131
+ 198 紅玉の本 Ruby社
132
+ 201 テスト雑誌2005年1月号 出版社テスト
133
+ 202 テスト雑誌2月号 出版社テスト
134
+ 203 テスト単行本記事2005
135
+ 204 テスト雑誌1月号の記事1 2005 試験用会社
136
+ 205 テスト雑誌1月号の記事2 試験用会社
137
+ 206 テスト雑誌2月号の記事1 試験用会社
138
+ 207 試験単行本 出版社テスト
139
+ 208 ある出版物 テスト正式名称
140
+ 209 権限確認Admin専用1
141
+ 210 権限確認Admin専用2
142
+ 211 権限確認Librarian以上用1
143
+ 212 権限確認Librarian以上用2
144
+ 213 権限確認User以上用1
145
+ 214 権限確認User以上用2
146
+ 215 権限確認
147
+ 216 権限確認
@@ -6131,3 +6131,104 @@
6131
6131
  [14408] 20 Aug 02:18:34.444 * The server is now ready to accept connections on port 9736
6132
6132
  [14408] 20 Aug 02:18:35.442 - 0 clients connected (0 slaves), 952944 bytes in use
6133
6133
  [14408] 20 Aug 02:18:40.471 - 0 clients connected (0 slaves), 952944 bytes in use
6134
+ [19809] 20 Aug 10:29:03.929 * Increased maximum number of open files to 10032 (it was originally set to 256).
6135
+ _._
6136
+ _.-``__ ''-._
6137
+ _.-`` `. `_. ''-._ Redis 2.8.13 (00000000/0) 64 bit
6138
+ .-`` .-```. ```\/ _.,_ ''-._
6139
+ ( ' , .-` | `, ) Running in stand alone mode
6140
+ |`-._`-...-` __...-.``-._|'` _.-'| Port: 9736
6141
+ | `-._ `._ / _.-' | PID: 19809
6142
+ `-._ `-._ `-./ _.-' _.-'
6143
+ |`-._`-._ `-.__.-' _.-'_.-'|
6144
+ | `-._`-._ _.-'_.-' | http://redis.io
6145
+ `-._ `-._`-.__.-'_.-' _.-'
6146
+ |`-._`-._ `-.__.-' _.-'_.-'|
6147
+ | `-._`-._ _.-'_.-' |
6148
+ `-._ `-._`-.__.-'_.-' _.-'
6149
+ `-._ `-.__.-' _.-'
6150
+ `-._ _.-'
6151
+ `-.__.-'
6152
+
6153
+ [19809] 20 Aug 10:29:03.950 # Server started, Redis version 2.8.13
6154
+ [19809] 20 Aug 10:29:03.950 * The server is now ready to accept connections on port 9736
6155
+ [19809] 20 Aug 10:29:04.947 - 0 clients connected (0 slaves), 952944 bytes in use
6156
+ [19809] 20 Aug 10:29:09.987 - 0 clients connected (0 slaves), 952944 bytes in use
6157
+ [19809] 20 Aug 10:29:15.031 - 0 clients connected (0 slaves), 952944 bytes in use
6158
+ [19809] 20 Aug 10:29:20.091 - 0 clients connected (0 slaves), 952944 bytes in use
6159
+ [19809] 20 Aug 10:29:25.125 - 0 clients connected (0 slaves), 952944 bytes in use
6160
+ [19809] 20 Aug 10:29:30.162 - 0 clients connected (0 slaves), 952944 bytes in use
6161
+ [19809] 20 Aug 10:29:35.198 - 0 clients connected (0 slaves), 952944 bytes in use
6162
+ [19809] 20 Aug 10:29:40.228 - 0 clients connected (0 slaves), 952944 bytes in use
6163
+ [19809] 20 Aug 10:29:45.269 - 0 clients connected (0 slaves), 952944 bytes in use
6164
+ [19809] 20 Aug 10:29:50.313 - 0 clients connected (0 slaves), 952944 bytes in use
6165
+ [19809] 20 Aug 10:29:55.351 - 0 clients connected (0 slaves), 952944 bytes in use
6166
+ [19809] 20 Aug 10:30:00.389 - 0 clients connected (0 slaves), 952944 bytes in use
6167
+ [19809] 20 Aug 10:30:05.435 - 0 clients connected (0 slaves), 952944 bytes in use
6168
+ [19809] 20 Aug 10:30:10.478 - 0 clients connected (0 slaves), 952944 bytes in use
6169
+ [19809] 20 Aug 10:30:15.521 - 0 clients connected (0 slaves), 952944 bytes in use
6170
+ [19809] 20 Aug 10:30:20.563 - 0 clients connected (0 slaves), 952944 bytes in use
6171
+ [19809] 20 Aug 10:30:25.612 - 0 clients connected (0 slaves), 952944 bytes in use
6172
+ [19809] 20 Aug 10:30:30.659 - 0 clients connected (0 slaves), 952944 bytes in use
6173
+ [19809] 20 Aug 10:30:35.700 - 0 clients connected (0 slaves), 952944 bytes in use
6174
+ [19809] 20 Aug 10:30:40.746 - 0 clients connected (0 slaves), 952944 bytes in use
6175
+ [19809] 20 Aug 10:30:45.794 - 0 clients connected (0 slaves), 952944 bytes in use
6176
+ [19809] 20 Aug 10:30:50.837 - 0 clients connected (0 slaves), 952944 bytes in use
6177
+ [19809] 20 Aug 10:30:55.879 - 0 clients connected (0 slaves), 952944 bytes in use
6178
+ [19809] 20 Aug 10:31:00.919 - 0 clients connected (0 slaves), 952944 bytes in use
6179
+ [19809] 20 Aug 10:31:05.961 - 0 clients connected (0 slaves), 952944 bytes in use
6180
+ [19809] 20 Aug 10:31:11.003 - 0 clients connected (0 slaves), 952944 bytes in use
6181
+ [19809] 20 Aug 10:31:16.046 - 0 clients connected (0 slaves), 952944 bytes in use
6182
+ [19809] 20 Aug 10:31:21.093 - 0 clients connected (0 slaves), 952944 bytes in use
6183
+ [19809] 20 Aug 10:31:26.131 - 0 clients connected (0 slaves), 952944 bytes in use
6184
+ [19809] 20 Aug 10:31:31.168 - 0 clients connected (0 slaves), 952944 bytes in use
6185
+ [19809] 20 Aug 10:31:36.213 - 0 clients connected (0 slaves), 952944 bytes in use
6186
+ [19809] 20 Aug 10:31:41.255 - 0 clients connected (0 slaves), 952944 bytes in use
6187
+ [19809] 20 Aug 10:31:46.280 - 0 clients connected (0 slaves), 952944 bytes in use
6188
+ [19809] 20 Aug 10:31:51.323 - 0 clients connected (0 slaves), 952944 bytes in use
6189
+ [19809] 20 Aug 10:31:56.365 - 0 clients connected (0 slaves), 952944 bytes in use
6190
+ [19809] 20 Aug 10:32:01.412 - 0 clients connected (0 slaves), 952944 bytes in use
6191
+ [19809] 20 Aug 10:32:06.454 - 0 clients connected (0 slaves), 952944 bytes in use
6192
+ [19809] 20 Aug 10:32:11.500 - 0 clients connected (0 slaves), 952944 bytes in use
6193
+ [19809] 20 Aug 10:32:16.548 - 0 clients connected (0 slaves), 952944 bytes in use
6194
+ [19809] 20 Aug 10:32:21.592 - 0 clients connected (0 slaves), 952944 bytes in use
6195
+ [19809] 20 Aug 10:32:26.639 - 0 clients connected (0 slaves), 952944 bytes in use
6196
+ [19809] 20 Aug 10:32:31.683 - 0 clients connected (0 slaves), 952944 bytes in use
6197
+ [19809] 20 Aug 10:32:36.722 - 0 clients connected (0 slaves), 952944 bytes in use
6198
+ [19809] 20 Aug 10:32:41.755 - 0 clients connected (0 slaves), 952944 bytes in use
6199
+ [19809] 20 Aug 10:32:46.798 - 0 clients connected (0 slaves), 952944 bytes in use
6200
+ [19809] 20 Aug 10:32:51.842 - 0 clients connected (0 slaves), 952944 bytes in use
6201
+ [19809] 20 Aug 10:32:56.890 - 0 clients connected (0 slaves), 952944 bytes in use
6202
+ [19809] 20 Aug 10:33:01.938 - 0 clients connected (0 slaves), 952944 bytes in use
6203
+ [19809] 20 Aug 10:33:06.972 - 0 clients connected (0 slaves), 952944 bytes in use
6204
+ [19809] 20 Aug 10:33:12.015 - 0 clients connected (0 slaves), 952944 bytes in use
6205
+ [19809] 20 Aug 10:33:17.059 - 0 clients connected (0 slaves), 952944 bytes in use
6206
+ [19809] 20 Aug 10:33:22.107 - 0 clients connected (0 slaves), 952944 bytes in use
6207
+ [19809] 20 Aug 10:33:27.154 - 0 clients connected (0 slaves), 952944 bytes in use
6208
+ [19809] 20 Aug 10:33:32.202 - 0 clients connected (0 slaves), 952944 bytes in use
6209
+ [19809] 20 Aug 10:33:37.235 - 0 clients connected (0 slaves), 952944 bytes in use
6210
+ [19809] 20 Aug 10:33:42.267 - 0 clients connected (0 slaves), 952944 bytes in use
6211
+ [20166] 20 Aug 10:34:25.135 * Increased maximum number of open files to 10032 (it was originally set to 256).
6212
+ _._
6213
+ _.-``__ ''-._
6214
+ _.-`` `. `_. ''-._ Redis 2.8.13 (00000000/0) 64 bit
6215
+ .-`` .-```. ```\/ _.,_ ''-._
6216
+ ( ' , .-` | `, ) Running in stand alone mode
6217
+ |`-._`-...-` __...-.``-._|'` _.-'| Port: 9736
6218
+ | `-._ `._ / _.-' | PID: 20166
6219
+ `-._ `-._ `-./ _.-' _.-'
6220
+ |`-._`-._ `-.__.-' _.-'_.-'|
6221
+ | `-._`-._ _.-'_.-' | http://redis.io
6222
+ `-._ `-._`-.__.-'_.-' _.-'
6223
+ |`-._`-._ `-.__.-' _.-'_.-'|
6224
+ | `-._`-._ _.-'_.-' |
6225
+ `-._ `-._`-.__.-'_.-' _.-'
6226
+ `-._ `-.__.-' _.-'
6227
+ `-._ _.-'
6228
+ `-.__.-'
6229
+
6230
+ [20166] 20 Aug 10:34:25.137 # Server started, Redis version 2.8.13
6231
+ [20166] 20 Aug 10:34:25.137 * The server is now ready to accept connections on port 9736
6232
+ [20166] 20 Aug 10:34:25.137 - 0 clients connected (0 slaves), 952944 bytes in use
6233
+ [20166] 20 Aug 10:34:30.189 - 0 clients connected (0 slaves), 952944 bytes in use
6234
+ [20166] 20 Aug 10:34:35.235 - 0 clients connected (0 slaves), 952944 bytes in use
@@ -1 +1 @@
1
- 14408
1
+ 20166
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre57
4
+ version: 0.1.0.pre58
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_seed
@@ -519,13 +519,11 @@ files:
519
519
  - app/models/import_request_state_machine.rb
520
520
  - app/models/import_request_transition.rb
521
521
  - app/models/item.rb
522
- - app/models/item_sweeper.rb
523
522
  - app/models/language.rb
524
523
  - app/models/license.rb
525
524
  - app/models/manifestation.rb
526
525
  - app/models/manifestation_relationship.rb
527
526
  - app/models/manifestation_relationship_type.rb
528
- - app/models/manifestation_sweeper.rb
529
527
  - app/models/medium_of_performance.rb
530
528
  - app/models/own.rb
531
529
  - app/models/page_sweeper.rb
@@ -1168,6 +1166,7 @@ files:
1168
1166
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-97947-mfqh5b.txt
1169
1167
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-98488-126cvb4.txt
1170
1168
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-98849-1lg47mm.txt
1169
+ - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140820-19805-1p3heid.txt
1171
1170
  - spec/dummy/script/rails
1172
1171
  - spec/dummy/solr/conf/admin-extra.html
1173
1172
  - spec/dummy/solr/conf/elevate.xml
@@ -1184,18 +1183,28 @@ files:
1184
1183
  - spec/dummy/solr/development/data/index/segments.gen
1185
1184
  - spec/dummy/solr/development/data/index/segments_1
1186
1185
  - spec/dummy/solr/solr.xml
1186
+ - spec/dummy/solr/test/data/index/_49n.fdt
1187
+ - spec/dummy/solr/test/data/index/_49n.fdx
1188
+ - spec/dummy/solr/test/data/index/_49n.fnm
1189
+ - spec/dummy/solr/test/data/index/_49n.nvd
1190
+ - spec/dummy/solr/test/data/index/_49n.nvm
1191
+ - spec/dummy/solr/test/data/index/_49n.si
1192
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.doc
1193
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.pos
1194
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.tim
1195
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.tip
1187
1196
  - spec/dummy/solr/test/data/index/segments.gen
1188
- - spec/dummy/solr/test/data/index/segments_5ur
1189
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007580
1190
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007581
1191
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007582
1192
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007583
1193
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007584
1194
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007585
1197
+ - spec/dummy/solr/test/data/index/segments_62f
1198
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007855
1199
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007856
1200
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007857
1201
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007858
1202
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007859
1203
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007860
1204
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007861
1195
1205
  - spec/dummy/test/integration/resource_export_file_test.rb
1196
1206
  - spec/dummy/tmp/cache/4F7/F90/default_role
1197
1207
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1198
- - spec/dummy/tmp/cache/ACB/B20/manifestation_search_total
1199
1208
  - spec/dummy/tmp/cache/assets/test/sprockets/01c388ec88c5fa6d00409d725549a506
1200
1209
  - spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec
1201
1210
  - spec/dummy/tmp/cache/assets/test/sprockets/0483120d2ec851526d1beb322a87b34d
@@ -1781,6 +1790,7 @@ test_files:
1781
1790
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-97947-mfqh5b.txt
1782
1791
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-98488-126cvb4.txt
1783
1792
  - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140819-98849-1lg47mm.txt
1793
+ - spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140820-19805-1p3heid.txt
1784
1794
  - spec/dummy/Rakefile
1785
1795
  - spec/dummy/README.rdoc
1786
1796
  - spec/dummy/script/rails
@@ -1799,18 +1809,28 @@ test_files:
1799
1809
  - spec/dummy/solr/development/data/index/segments.gen
1800
1810
  - spec/dummy/solr/development/data/index/segments_1
1801
1811
  - spec/dummy/solr/solr.xml
1812
+ - spec/dummy/solr/test/data/index/_49n.fdt
1813
+ - spec/dummy/solr/test/data/index/_49n.fdx
1814
+ - spec/dummy/solr/test/data/index/_49n.fnm
1815
+ - spec/dummy/solr/test/data/index/_49n.nvd
1816
+ - spec/dummy/solr/test/data/index/_49n.nvm
1817
+ - spec/dummy/solr/test/data/index/_49n.si
1818
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.doc
1819
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.pos
1820
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.tim
1821
+ - spec/dummy/solr/test/data/index/_49n_Lucene41_0.tip
1802
1822
  - spec/dummy/solr/test/data/index/segments.gen
1803
- - spec/dummy/solr/test/data/index/segments_5ur
1804
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007580
1805
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007581
1806
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007582
1807
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007583
1808
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007584
1809
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000007585
1823
+ - spec/dummy/solr/test/data/index/segments_62f
1824
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007855
1825
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007856
1826
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007857
1827
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007858
1828
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007859
1829
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007860
1830
+ - spec/dummy/solr/test/data/tlog/tlog.0000000000000007861
1810
1831
  - spec/dummy/test/integration/resource_export_file_test.rb
1811
1832
  - spec/dummy/tmp/cache/4F7/F90/default_role
1812
1833
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1813
- - spec/dummy/tmp/cache/ACB/B20/manifestation_search_total
1814
1834
  - spec/dummy/tmp/cache/assets/test/sprockets/01c388ec88c5fa6d00409d725549a506
1815
1835
  - spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec
1816
1836
  - spec/dummy/tmp/cache/assets/test/sprockets/0483120d2ec851526d1beb322a87b34d
@@ -1,18 +0,0 @@
1
- class ItemSweeper < ActionController::Caching::Sweeper
2
- observe Item
3
-
4
- def after_save(record)
5
- expire_editable_fragment(record)
6
- expire_editable_fragment(record.manifestation)
7
- record.agents.each do |agent|
8
- expire_editable_fragment(agent)
9
- end
10
- record.donors.each do |donor|
11
- expire_editable_fragment(donor)
12
- end
13
- end
14
-
15
- def after_destroy(record)
16
- after_save(record)
17
- end
18
- end
@@ -1,23 +0,0 @@
1
- class ManifestationSweeper < ActionController::Caching::Sweeper
2
- observe Manifestation
3
-
4
- def after_save(record)
5
- expire_editable_fragment(record)
6
- record.items.each do |item|
7
- expire_editable_fragment(item)
8
- end
9
- record.creators.each do |creator|
10
- expire_editable_fragment(creator)
11
- end
12
- record.contributors.each do |contributor|
13
- expire_editable_fragment(contributor)
14
- end
15
- record.publishers.each do |publisher|
16
- expire_editable_fragment(publisher)
17
- end
18
- end
19
-
20
- def after_destroy(record)
21
- after_save(record)
22
- end
23
- end