enju_circulation 0.1.0.pre21 → 0.1.0.pre22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42fe7716b2a15ef1abfbde1049347750372529a8
4
- data.tar.gz: 83ebb3332694c8c2353f279c238592c730f3a16f
3
+ metadata.gz: f9149eb84811ea589471caba3692ee1e3904fc53
4
+ data.tar.gz: 54eeca60097095281d8dca365c2d97f7d80e4acd
5
5
  SHA512:
6
- metadata.gz: 013dc7a2bc51b2aa8a0b262432328f5f997d2c9da07f84c2ba260bb50f43be14dd82a62f5a4c111bfedfd398f5b8ea81cbbcbae622b04ed8d00e64129fa11598
7
- data.tar.gz: 6ab8cb1e0a9e4c4d551915d469dbfadc219d38970c0644623611a2b5e9a37fe334627b52dea7fb052d71e5c479d3218e151897a1c77880c9ea31b200dde60e30
6
+ metadata.gz: 88ed86c902c800f46708c32202e016feb8f4e3cf2e8e07780cdd7c0ef6b42b5e2e632c024838fa3252df5efe16a94faf790e9d537b5a62cd841fb1846da94f29
7
+ data.tar.gz: 3de8fb98c2829bda69ea50d4e7cbe570f218eb83496c8798a716270563b9f325f28e2a814b1f586b0c5fa8b702d5371627d9ab9991628ba50c24114a4540eaca
@@ -1,4 +1,4 @@
1
1
  <%=h @manifestation_checkout_stat.start_date -%>,<%=h @manifestation_checkout_stat.end_date -%><%= "\n" -%>
2
2
  <%- @stats.each do |stat| -%>
3
- "<%=h stat.manifestation.original_title -%>","<%=h stat.checkouts_count -%>"<%= "\n" -%>
3
+ "<%=h stat.manifestation.original_title if stat.manifestation -%>","<%=h stat.checkouts_count -%>"<%= "\n" -%>
4
4
  <%- end -%>
@@ -31,7 +31,7 @@
31
31
  <%- @stats.each do |stat| -%>
32
32
  <tr class="line<%= cycle("0", "1") -%>">
33
33
  <td>
34
- <%= render 'manifestations/show_index', :manifestation => stat.manifestation -%>
34
+ <%= render 'manifestations/show_index', :manifestation => stat.manifestation if stat.manifestation -%>
35
35
  </td>
36
36
  <td><%= stat.checkouts_count -%></td>
37
37
  </tr>
@@ -1,4 +1,4 @@
1
1
  <%=h @manifestation_reserve_stat.start_date -%>,<%=h @manifestation_reserve_stat.end_date -%><%= "\n" -%>
2
2
  <%- @stats.each do |stat| -%>
3
- "<%=h stat.user.username -%>","<%=h stat.reserves_count -%>"<%= "\n" -%>
3
+ "<%=h stat.manifestation.original_title if stat.manifestation -%>","<%=h stat.reserves_count -%>"<%= "\n" -%>
4
4
  <%- end -%>
@@ -31,7 +31,7 @@
31
31
  <%- @stats.each do |stat| -%>
32
32
  <tr class="line<%= cycle("0", "1") -%>">
33
33
  <td>
34
- <%= render 'manifestations/show_index', :manifestation => stat.manifestation -%>
34
+ <%= render 'manifestations/show_index', :manifestation => stat.manifestation if stat.manifestation -%>
35
35
  </td>
36
36
  <td><%= stat.reserves_count -%></td>
37
37
  </tr>
@@ -1,4 +1,4 @@
1
1
  <%=h @user_checkout_stat.start_date -%>,<%=h @user_checkout_stat.end_date -%><%= "\n" -%>
2
2
  <%- @stats.each do |stat| -%>
3
- "<%=h stat.user.username -%>","<%=h stat.checkouts_count -%>"<%= "\n" -%>
3
+ "<%=h stat.user.username if stat.user -%>","<%=h stat.checkouts_count -%>"<%= "\n" -%>
4
4
  <%- end -%>
@@ -31,7 +31,7 @@
31
31
  <%- @stats.each do |stat| -%>
32
32
  <tr class="line<%= cycle("0", "1") -%>">
33
33
  <td>
34
- <%= link_to stat.user.username, stat.user -%>
34
+ <%= link_to stat.user.username, stat.user if stat.user -%>
35
35
  </td>
36
36
  <td><%= stat.checkouts_count -%></td>
37
37
  </tr>
@@ -1,4 +1,4 @@
1
1
  <%=h @user_reserve_stat.start_date -%>,<%=h @user_reserve_stat.end_date -%><%= "\n" -%>
2
2
  <%- @stats.each do |stat| -%>
3
- "<%=h stat.user.username -%>","<%=h stat.reserves_count -%>"<%= "\n" -%>
3
+ "<%=h stat.user.username if stat.user -%>","<%=h stat.reserves_count -%>"<%= "\n" -%>
4
4
  <%- end -%>
@@ -31,7 +31,7 @@
31
31
  <%- @stats.each do |stat| -%>
32
32
  <tr class="line<%= cycle("0", "1") -%>">
33
33
  <td>
34
- <%= link_to stat.user.username, stat.user -%>
34
+ <%= link_to stat.user.username, stat.user if stat.user -%>
35
35
  </td>
36
36
  <td><%= stat.reserves_count -%></td>
37
37
  </tr>
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.1.0.pre21"
2
+ VERSION = "0.1.0.pre22"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_circulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre21
4
+ version: 0.1.0.pre22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
- version: 0.1.0.pre20
187
+ version: 0.1.0.pre21
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ~>
193
193
  - !ruby/object:Gem::Version
194
- version: 0.1.0.pre20
194
+ version: 0.1.0.pre21
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: enju_export
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - '>='
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: sunspot-rails-tester
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - '>='
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
237
251
  description: Circulation management for Next-L Enju
238
252
  email:
239
253
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -623,16 +637,16 @@ files:
623
637
  - spec/dummy/solr/conf/spellings.txt
624
638
  - spec/dummy/solr/conf/stopwords.txt
625
639
  - spec/dummy/solr/conf/synonyms.txt
626
- - spec/dummy/solr/data/test/index/_1fz.fdt
627
- - spec/dummy/solr/data/test/index/_1fz.fdx
628
- - spec/dummy/solr/data/test/index/_1fz.fnm
629
- - spec/dummy/solr/data/test/index/_1fz.frq
630
- - spec/dummy/solr/data/test/index/_1fz.nrm
631
- - spec/dummy/solr/data/test/index/_1fz.prx
632
- - spec/dummy/solr/data/test/index/_1fz.tii
633
- - spec/dummy/solr/data/test/index/_1fz.tis
640
+ - spec/dummy/solr/data/test/index/_1h2.fdt
641
+ - spec/dummy/solr/data/test/index/_1h2.fdx
642
+ - spec/dummy/solr/data/test/index/_1h2.fnm
643
+ - spec/dummy/solr/data/test/index/_1h2.frq
644
+ - spec/dummy/solr/data/test/index/_1h2.nrm
645
+ - spec/dummy/solr/data/test/index/_1h2.prx
646
+ - spec/dummy/solr/data/test/index/_1h2.tii
647
+ - spec/dummy/solr/data/test/index/_1h2.tis
634
648
  - spec/dummy/solr/data/test/index/segments.gen
635
- - spec/dummy/solr/data/test/index/segments_2w1
649
+ - spec/dummy/solr/data/test/index/segments_2y7
636
650
  - spec/dummy/solr/data/test/spellchecker/segments.gen
637
651
  - spec/dummy/solr/data/test/spellchecker/segments_1
638
652
  - spec/factories/basket.rb
@@ -898,16 +912,16 @@ test_files:
898
912
  - spec/dummy/solr/conf/spellings.txt
899
913
  - spec/dummy/solr/conf/stopwords.txt
900
914
  - spec/dummy/solr/conf/synonyms.txt
901
- - spec/dummy/solr/data/test/index/_1fz.fdt
902
- - spec/dummy/solr/data/test/index/_1fz.fdx
903
- - spec/dummy/solr/data/test/index/_1fz.fnm
904
- - spec/dummy/solr/data/test/index/_1fz.frq
905
- - spec/dummy/solr/data/test/index/_1fz.nrm
906
- - spec/dummy/solr/data/test/index/_1fz.prx
907
- - spec/dummy/solr/data/test/index/_1fz.tii
908
- - spec/dummy/solr/data/test/index/_1fz.tis
915
+ - spec/dummy/solr/data/test/index/_1h2.fdt
916
+ - spec/dummy/solr/data/test/index/_1h2.fdx
917
+ - spec/dummy/solr/data/test/index/_1h2.fnm
918
+ - spec/dummy/solr/data/test/index/_1h2.frq
919
+ - spec/dummy/solr/data/test/index/_1h2.nrm
920
+ - spec/dummy/solr/data/test/index/_1h2.prx
921
+ - spec/dummy/solr/data/test/index/_1h2.tii
922
+ - spec/dummy/solr/data/test/index/_1h2.tis
909
923
  - spec/dummy/solr/data/test/index/segments.gen
910
- - spec/dummy/solr/data/test/index/segments_2w1
924
+ - spec/dummy/solr/data/test/index/segments_2y7
911
925
  - spec/dummy/solr/data/test/spellchecker/segments.gen
912
926
  - spec/dummy/solr/data/test/spellchecker/segments_1
913
927
  - spec/factories/basket.rb