enju_circulation 0.1.0.pre5 → 0.1.0.pre6

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,6 @@ class CheckoutsController < ApplicationController
9
9
 
10
10
  # GET /checkouts
11
11
  # GET /checkouts.json
12
-
13
12
  def index
14
13
  if params[:icalendar_token].present?
15
14
  icalendar_user = User.where(:checkout_icalendar_token => params[:icalendar_token]).first
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.1.0.pre5"
2
+ VERSION = "0.1.0.pre6"
3
3
  end
@@ -58,3 +58,4 @@ require 'nkf'
58
58
  require 'enju_biblio'
59
59
  require 'enju_library'
60
60
  require 'enju_manifestation_viewer'
61
+ require 'mobile-fu'
Binary file
@@ -84,11 +84,14 @@
84
84
  <fieldType name="tfloat" class="solr.TrieFloatField" omitNorms="true"/>
85
85
  <!-- *** This fieldType is used by Sunspot! *** -->
86
86
  <fieldType name="tdate" class="solr.TrieDateField" omitNorms="true"/>
87
+
88
+ <!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
89
+ <fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
87
90
  </types>
88
91
  <fields>
89
92
  <!-- Valid attributes for fields:
90
93
  name: mandatory - the name for the field
91
- type: mandatory - the name of a previously defined type from the
94
+ type: mandatory - the name of a previously defined type from the
92
95
  <types> section
93
96
  indexed: true if this field should be indexed (searchable or sortable)
94
97
  stored: true if this field should be retrievable
@@ -223,8 +226,17 @@
223
226
  <dynamicField name="*_ets" stored="true" termVectors="true" type="tdouble" multiValued="false" indexed="true"/>
224
227
  <!-- *** This dynamicField is used by Sunspot! *** -->
225
228
  <dynamicField name="*_etms" stored="true" termVectors="true" type="tdouble" multiValued="true" indexed="true"/>
229
+
230
+ <!-- Type used to index the lat and lon components for the "location" FieldType -->
231
+ <dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" multiValued="false"/>
232
+ <dynamicField name="*_p" type="location" indexed="true" stored="true" multiValued="false"/>
233
+
234
+ <dynamicField name="*_ll" stored="false" type="location" multiValued="false" indexed="true"/>
235
+ <dynamicField name="*_llm" stored="false" type="location" multiValued="true" indexed="true"/>
236
+ <dynamicField name="*_lls" stored="true" type="location" multiValued="false" indexed="true"/>
237
+ <dynamicField name="*_llms" stored="true" type="location" multiValued="true" indexed="true"/>
226
238
  </fields>
227
- <!-- Field to use to determine and enforce document uniqueness.
239
+ <!-- Field to use to determine and enforce document uniqueness.
228
240
  Unless this field is marked with required="false", it will be a required field
229
241
  -->
230
242
  <uniqueKey>id</uniqueKey>
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.pre5
4
+ version: 0.1.0.pre6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-26 00:00:00.000000000 Z
12
+ date: 2012-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 0.1.13
101
+ version: 0.1.14.pre
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 0.1.13
109
+ version: 0.1.14.pre
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: enju_event
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 0.1.17.pre2
117
+ version: 0.1.17.pre3
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 0.1.17.pre2
125
+ version: 0.1.17.pre3
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: sqlite3
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ~>
180
180
  - !ruby/object:Gem::Version
181
- version: 2.0.0.pre.120720
181
+ version: 2.0.0.pre.120925
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ~>
188
188
  - !ruby/object:Gem::Version
189
- version: 2.0.0.pre.120720
189
+ version: 2.0.0.pre.120925
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: enju_biblio
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@ dependencies:
194
194
  requirements:
195
195
  - - ~>
196
196
  - !ruby/object:Gem::Version
197
- version: 0.1.0.pre6
197
+ version: 0.1.0.pre8
198
198
  type: :development
199
199
  prerelease: false
200
200
  version_requirements: !ruby/object:Gem::Requirement
@@ -202,7 +202,7 @@ dependencies:
202
202
  requirements:
203
203
  - - ~>
204
204
  - !ruby/object:Gem::Version
205
- version: 0.1.0.pre6
205
+ version: 0.1.0.pre8
206
206
  - !ruby/object:Gem::Dependency
207
207
  name: enju_library
208
208
  requirement: !ruby/object:Gem::Requirement
@@ -251,6 +251,22 @@ dependencies:
251
251
  - - ! '>='
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
+ - !ruby/object:Gem::Dependency
255
+ name: mobile-fu
256
+ requirement: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ! '>='
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ type: :development
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
254
270
  description: Circulation management for Next-L Enju
255
271
  email:
256
272
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -620,16 +636,16 @@ files:
620
636
  - spec/dummy/solr/conf/spellings.txt
621
637
  - spec/dummy/solr/conf/stopwords.txt
622
638
  - spec/dummy/solr/conf/synonyms.txt
623
- - spec/dummy/solr/data/test/index/_j.fdt
624
- - spec/dummy/solr/data/test/index/_j.fdx
625
- - spec/dummy/solr/data/test/index/_j.fnm
626
- - spec/dummy/solr/data/test/index/_j.frq
627
- - spec/dummy/solr/data/test/index/_j.nrm
628
- - spec/dummy/solr/data/test/index/_j.prx
629
- - spec/dummy/solr/data/test/index/_j.tii
630
- - spec/dummy/solr/data/test/index/_j.tis
639
+ - spec/dummy/solr/data/test/index/_1w.fdt
640
+ - spec/dummy/solr/data/test/index/_1w.fdx
641
+ - spec/dummy/solr/data/test/index/_1w.fnm
642
+ - spec/dummy/solr/data/test/index/_1w.frq
643
+ - spec/dummy/solr/data/test/index/_1w.nrm
644
+ - spec/dummy/solr/data/test/index/_1w.prx
645
+ - spec/dummy/solr/data/test/index/_1w.tii
646
+ - spec/dummy/solr/data/test/index/_1w.tis
631
647
  - spec/dummy/solr/data/test/index/segments.gen
632
- - spec/dummy/solr/data/test/index/segments_15
648
+ - spec/dummy/solr/data/test/index/segments_3z
633
649
  - spec/dummy/solr/data/test/spellchecker/segments.gen
634
650
  - spec/dummy/solr/data/test/spellchecker/segments_1
635
651
  - spec/factories/basket.rb
@@ -892,16 +908,16 @@ test_files:
892
908
  - spec/dummy/solr/conf/spellings.txt
893
909
  - spec/dummy/solr/conf/stopwords.txt
894
910
  - spec/dummy/solr/conf/synonyms.txt
895
- - spec/dummy/solr/data/test/index/_j.fdt
896
- - spec/dummy/solr/data/test/index/_j.fdx
897
- - spec/dummy/solr/data/test/index/_j.fnm
898
- - spec/dummy/solr/data/test/index/_j.frq
899
- - spec/dummy/solr/data/test/index/_j.nrm
900
- - spec/dummy/solr/data/test/index/_j.prx
901
- - spec/dummy/solr/data/test/index/_j.tii
902
- - spec/dummy/solr/data/test/index/_j.tis
911
+ - spec/dummy/solr/data/test/index/_1w.fdt
912
+ - spec/dummy/solr/data/test/index/_1w.fdx
913
+ - spec/dummy/solr/data/test/index/_1w.fnm
914
+ - spec/dummy/solr/data/test/index/_1w.frq
915
+ - spec/dummy/solr/data/test/index/_1w.nrm
916
+ - spec/dummy/solr/data/test/index/_1w.prx
917
+ - spec/dummy/solr/data/test/index/_1w.tii
918
+ - spec/dummy/solr/data/test/index/_1w.tis
903
919
  - spec/dummy/solr/data/test/index/segments.gen
904
- - spec/dummy/solr/data/test/index/segments_15
920
+ - spec/dummy/solr/data/test/index/segments_3z
905
921
  - spec/dummy/solr/data/test/spellchecker/segments.gen
906
922
  - spec/dummy/solr/data/test/spellchecker/segments_1
907
923
  - spec/factories/basket.rb