enju_event 0.1.17.pre3 → 0.1.17.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. data/lib/enju_event/version.rb +1 -1
  2. data/spec/dummy/config/application.rb +1 -0
  3. data/spec/dummy/db/test.sqlite3 +0 -0
  4. data/spec/dummy/solr/conf/schema.xml +14 -2
  5. data/spec/dummy/solr/data/test/index/{_2y.fdt → _1c.fdt} +0 -0
  6. data/spec/dummy/solr/data/test/index/{_2y.fdx → _1c.fdx} +0 -0
  7. data/spec/dummy/solr/data/test/index/{_2y.fnm → _1c.fnm} +0 -0
  8. data/spec/dummy/solr/data/test/index/{_2y.frq → _1c.frq} +0 -0
  9. data/spec/dummy/solr/data/test/index/{_2y.nrm → _1c.nrm} +0 -0
  10. data/spec/dummy/solr/data/test/index/{_2y.prx → _1c.prx} +0 -0
  11. data/spec/dummy/solr/data/test/index/{_2y.tii → _1c.tii} +0 -0
  12. data/spec/dummy/solr/data/test/index/{_2y.tis → _1c.tis} +0 -0
  13. data/spec/dummy/solr/data/test/index/{_2z.fdt → _1d.fdt} +0 -0
  14. data/spec/dummy/solr/data/test/index/{_2z.fdx → _1d.fdx} +0 -0
  15. data/spec/dummy/solr/data/test/index/{_2z.fnm → _1d.fnm} +0 -0
  16. data/spec/dummy/solr/data/test/index/{_2z.frq → _1d.frq} +0 -0
  17. data/spec/dummy/solr/data/test/index/{_2z.nrm → _1d.nrm} +0 -0
  18. data/spec/dummy/solr/data/test/index/{_2z.prx → _1d.prx} +0 -0
  19. data/spec/dummy/solr/data/test/index/{_2z.tii → _1d.tii} +0 -0
  20. data/spec/dummy/solr/data/test/index/_1d.tis +0 -0
  21. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  22. data/spec/dummy/solr/data/test/index/segments_29 +0 -0
  23. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  24. metadata +58 -50
  25. data/spec/dummy/private/system/event_imports/4/original/event_destroy_file.tsv +0 -4
  26. data/spec/dummy/private/system/event_imports/4/original/event_import_file_sample1.tsv +0 -5
  27. data/spec/dummy/private/system/event_imports/4/original/event_import_file_sample2.tsv +0 -3
  28. data/spec/dummy/private/system/event_imports/4/original/event_update_file.tsv +0 -4
  29. data/spec/dummy/solr/data/test/index/_2z.tis +0 -0
  30. data/spec/dummy/solr/data/test/index/segments_47 +0 -0
@@ -1,3 +1,3 @@
1
1
  module EnjuEvent
2
- VERSION = "0.1.17.pre3"
2
+ VERSION = "0.1.17.pre4"
3
3
  end
@@ -45,3 +45,4 @@ end
45
45
  require 'enju_biblio'
46
46
  require 'enju_library'
47
47
  require 'enju_manifestation_viewer'
48
+ 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_event
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17.pre3
4
+ version: 0.1.17.pre4
5
5
  prerelease: 7
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
@@ -210,7 +210,7 @@ dependencies:
210
210
  requirements:
211
211
  - - ~>
212
212
  - !ruby/object:Gem::Version
213
- version: 0.1.0.pre6
213
+ version: 0.1.0.pre8
214
214
  type: :development
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ dependencies:
218
218
  requirements:
219
219
  - - ~>
220
220
  - !ruby/object:Gem::Version
221
- version: 0.1.0.pre6
221
+ version: 0.1.0.pre8
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: enju_library
224
224
  requirement: !ruby/object:Gem::Requirement
@@ -226,7 +226,7 @@ dependencies:
226
226
  requirements:
227
227
  - - ~>
228
228
  - !ruby/object:Gem::Version
229
- version: 0.1.0.pre4
229
+ version: 0.1.0.pre5
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
@@ -234,7 +234,7 @@ dependencies:
234
234
  requirements:
235
235
  - - ~>
236
236
  - !ruby/object:Gem::Version
237
- version: 0.1.0.pre4
237
+ version: 0.1.0.pre5
238
238
  - !ruby/object:Gem::Dependency
239
239
  name: enju_manifestation_viewer
240
240
  requirement: !ruby/object:Gem::Requirement
@@ -258,7 +258,7 @@ dependencies:
258
258
  requirements:
259
259
  - - ~>
260
260
  - !ruby/object:Gem::Version
261
- version: 2.0.0.pre.120720
261
+ version: 2.0.0.pre.120925
262
262
  type: :development
263
263
  prerelease: false
264
264
  version_requirements: !ruby/object:Gem::Requirement
@@ -266,7 +266,23 @@ dependencies:
266
266
  requirements:
267
267
  - - ~>
268
268
  - !ruby/object:Gem::Version
269
- version: 2.0.0.pre.120720
269
+ version: 2.0.0.pre.120925
270
+ - !ruby/object:Gem::Dependency
271
+ name: mobile-fu
272
+ requirement: !ruby/object:Gem::Requirement
273
+ none: false
274
+ requirements:
275
+ - - ! '>='
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ none: false
282
+ requirements:
283
+ - - ! '>='
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
270
286
  description: Event management for Next-L Enju
271
287
  email:
272
288
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -470,10 +486,6 @@ files:
470
486
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_import_file_sample1.tsv
471
487
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_import_file_sample2.tsv
472
488
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_update_file.tsv
473
- - spec/dummy/private/system/event_imports/4/original/event_destroy_file.tsv
474
- - spec/dummy/private/system/event_imports/4/original/event_import_file_sample1.tsv
475
- - spec/dummy/private/system/event_imports/4/original/event_import_file_sample2.tsv
476
- - spec/dummy/private/system/event_imports/4/original/event_update_file.tsv
477
489
  - spec/dummy/public/404.html
478
490
  - spec/dummy/public/422.html
479
491
  - spec/dummy/public/500.html
@@ -490,24 +502,24 @@ files:
490
502
  - spec/dummy/solr/conf/spellings.txt
491
503
  - spec/dummy/solr/conf/stopwords.txt
492
504
  - spec/dummy/solr/conf/synonyms.txt
493
- - spec/dummy/solr/data/test/index/_2y.fdt
494
- - spec/dummy/solr/data/test/index/_2y.fdx
495
- - spec/dummy/solr/data/test/index/_2y.fnm
496
- - spec/dummy/solr/data/test/index/_2y.frq
497
- - spec/dummy/solr/data/test/index/_2y.nrm
498
- - spec/dummy/solr/data/test/index/_2y.prx
499
- - spec/dummy/solr/data/test/index/_2y.tii
500
- - spec/dummy/solr/data/test/index/_2y.tis
501
- - spec/dummy/solr/data/test/index/_2z.fdt
502
- - spec/dummy/solr/data/test/index/_2z.fdx
503
- - spec/dummy/solr/data/test/index/_2z.fnm
504
- - spec/dummy/solr/data/test/index/_2z.frq
505
- - spec/dummy/solr/data/test/index/_2z.nrm
506
- - spec/dummy/solr/data/test/index/_2z.prx
507
- - spec/dummy/solr/data/test/index/_2z.tii
508
- - spec/dummy/solr/data/test/index/_2z.tis
505
+ - spec/dummy/solr/data/test/index/_1c.fdt
506
+ - spec/dummy/solr/data/test/index/_1c.fdx
507
+ - spec/dummy/solr/data/test/index/_1c.fnm
508
+ - spec/dummy/solr/data/test/index/_1c.frq
509
+ - spec/dummy/solr/data/test/index/_1c.nrm
510
+ - spec/dummy/solr/data/test/index/_1c.prx
511
+ - spec/dummy/solr/data/test/index/_1c.tii
512
+ - spec/dummy/solr/data/test/index/_1c.tis
513
+ - spec/dummy/solr/data/test/index/_1d.fdt
514
+ - spec/dummy/solr/data/test/index/_1d.fdx
515
+ - spec/dummy/solr/data/test/index/_1d.fnm
516
+ - spec/dummy/solr/data/test/index/_1d.frq
517
+ - spec/dummy/solr/data/test/index/_1d.nrm
518
+ - spec/dummy/solr/data/test/index/_1d.prx
519
+ - spec/dummy/solr/data/test/index/_1d.tii
520
+ - spec/dummy/solr/data/test/index/_1d.tis
509
521
  - spec/dummy/solr/data/test/index/segments.gen
510
- - spec/dummy/solr/data/test/index/segments_47
522
+ - spec/dummy/solr/data/test/index/segments_29
511
523
  - spec/dummy/solr/data/test/spellchecker/segments.gen
512
524
  - spec/dummy/solr/data/test/spellchecker/segments_1
513
525
  - spec/factories/country.rb
@@ -700,10 +712,6 @@ test_files:
700
712
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_import_file_sample1.tsv
701
713
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_import_file_sample2.tsv
702
714
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_update_file.tsv
703
- - spec/dummy/private/system/event_imports/4/original/event_destroy_file.tsv
704
- - spec/dummy/private/system/event_imports/4/original/event_import_file_sample1.tsv
705
- - spec/dummy/private/system/event_imports/4/original/event_import_file_sample2.tsv
706
- - spec/dummy/private/system/event_imports/4/original/event_update_file.tsv
707
715
  - spec/dummy/public/404.html
708
716
  - spec/dummy/public/422.html
709
717
  - spec/dummy/public/500.html
@@ -720,24 +728,24 @@ test_files:
720
728
  - spec/dummy/solr/conf/spellings.txt
721
729
  - spec/dummy/solr/conf/stopwords.txt
722
730
  - spec/dummy/solr/conf/synonyms.txt
723
- - spec/dummy/solr/data/test/index/_2y.fdt
724
- - spec/dummy/solr/data/test/index/_2y.fdx
725
- - spec/dummy/solr/data/test/index/_2y.fnm
726
- - spec/dummy/solr/data/test/index/_2y.frq
727
- - spec/dummy/solr/data/test/index/_2y.nrm
728
- - spec/dummy/solr/data/test/index/_2y.prx
729
- - spec/dummy/solr/data/test/index/_2y.tii
730
- - spec/dummy/solr/data/test/index/_2y.tis
731
- - spec/dummy/solr/data/test/index/_2z.fdt
732
- - spec/dummy/solr/data/test/index/_2z.fdx
733
- - spec/dummy/solr/data/test/index/_2z.fnm
734
- - spec/dummy/solr/data/test/index/_2z.frq
735
- - spec/dummy/solr/data/test/index/_2z.nrm
736
- - spec/dummy/solr/data/test/index/_2z.prx
737
- - spec/dummy/solr/data/test/index/_2z.tii
738
- - spec/dummy/solr/data/test/index/_2z.tis
731
+ - spec/dummy/solr/data/test/index/_1c.fdt
732
+ - spec/dummy/solr/data/test/index/_1c.fdx
733
+ - spec/dummy/solr/data/test/index/_1c.fnm
734
+ - spec/dummy/solr/data/test/index/_1c.frq
735
+ - spec/dummy/solr/data/test/index/_1c.nrm
736
+ - spec/dummy/solr/data/test/index/_1c.prx
737
+ - spec/dummy/solr/data/test/index/_1c.tii
738
+ - spec/dummy/solr/data/test/index/_1c.tis
739
+ - spec/dummy/solr/data/test/index/_1d.fdt
740
+ - spec/dummy/solr/data/test/index/_1d.fdx
741
+ - spec/dummy/solr/data/test/index/_1d.fnm
742
+ - spec/dummy/solr/data/test/index/_1d.frq
743
+ - spec/dummy/solr/data/test/index/_1d.nrm
744
+ - spec/dummy/solr/data/test/index/_1d.prx
745
+ - spec/dummy/solr/data/test/index/_1d.tii
746
+ - spec/dummy/solr/data/test/index/_1d.tis
739
747
  - spec/dummy/solr/data/test/index/segments.gen
740
- - spec/dummy/solr/data/test/index/segments_47
748
+ - spec/dummy/solr/data/test/index/segments_29
741
749
  - spec/dummy/solr/data/test/spellchecker/segments.gen
742
750
  - spec/dummy/solr/data/test/spellchecker/segments_1
743
751
  - spec/factories/country.rb
@@ -1,4 +0,0 @@
1
- id dummy
2
- 1
3
- 2
4
- 3 この行は無視される
@@ -1,5 +0,0 @@
1
- "name" "category" "library" "start_at" "end_at" "dummy"
2
- "イベント名" "カテゴリ。休館日の場合はclosed" "図書館名" "開始日" "終了日" "インポート省略"
3
- "hogehoge" "おはなし会" "kamata" "2009-04-01" "2009-04-03"
4
- "hogehoge" "hachioji"
5
- "休館日" "closed" "kamata" "2011-04-01" "2011-04-03"
@@ -1,3 +0,0 @@
1
- "name" "library" "start_at" "end_at"
2
- "���{��̍Â���" "kamata" "2011-03-26" "2011-03-27"
3
- "���{��̍Â���2" "kamata" "2011-03-26" "2011-03-27"
@@ -1,4 +0,0 @@
1
- id name category library start_at end_at all_day note dummy
2
- 1 変更後のイベント名 kamata 2012-04-01 2012-04-02
3
- 2 mita 2012-04-03 FALSE
4
- 3 変更後のイベント名 この行は無視される