enju_library 0.1.0.pre4 → 0.1.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- data/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/lib/enju_library/version.rb +1 -1
- data/spec/dummy/config/application.rb +2 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +6 -5
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/conf/schema.xml +14 -2
- data/spec/dummy/solr/data/test/index/_4b.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_4b.fdx +0 -0
- data/spec/dummy/solr/data/test/index/{_1h.fnm → _4b.fnm} +1 -1
- data/spec/dummy/solr/data/test/index/{_1h.frq → _4b.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_1h.nrm → _4b.nrm} +0 -0
- data/spec/dummy/solr/data/test/index/{_1h.prx → _4b.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_1h.tii → _4b.tii} +0 -0
- data/spec/dummy/solr/data/test/index/_4b.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_9x +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/views/library_groups/edit.html.erb_spec.rb +12 -0
- data/spec/views/library_groups/show.html.erb_spec.rb +11 -0
- metadata +65 -30
- data/spec/dummy/solr/data/test/index/_1h.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_1h.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_1h.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments_3n +0 -0
- data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
- data/spec/requests/budget_types_spec.rb +0 -11
data/lib/enju_library/version.rb
CHANGED
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -177,18 +177,19 @@ ActiveRecord::Schema.define(:version => 20120510140958) do
|
|
177
177
|
add_index "libraries", ["name"], :name => "index_libraries_on_name", :unique => true
|
178
178
|
|
179
179
|
create_table "library_groups", :force => true do |t|
|
180
|
-
t.string "name",
|
180
|
+
t.string "name", :null => false
|
181
181
|
t.text "display_name"
|
182
|
-
t.string "short_name",
|
182
|
+
t.string "short_name", :null => false
|
183
183
|
t.string "email"
|
184
184
|
t.text "my_networks"
|
185
185
|
t.text "login_banner"
|
186
186
|
t.text "note"
|
187
187
|
t.integer "country_id"
|
188
188
|
t.integer "position"
|
189
|
-
t.datetime "created_at",
|
190
|
-
t.datetime "updated_at",
|
191
|
-
t.string "url",
|
189
|
+
t.datetime "created_at", :null => false
|
190
|
+
t.datetime "updated_at", :null => false
|
191
|
+
t.string "url", :default => "http://localhost:3000/"
|
192
|
+
t.text "admin_networks"
|
192
193
|
end
|
193
194
|
|
194
195
|
add_index "library_groups", ["short_name"], :name => "index_library_groups_on_short_name"
|
data/spec/dummy/db/test.sqlite3
CHANGED
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>
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre5
|
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-
|
12
|
+
date: 2012-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
requirements:
|
179
179
|
- - ~>
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: 0.1.0.
|
181
|
+
version: 0.1.0.pre4
|
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: 0.1.0.
|
189
|
+
version: 0.1.0.pre4
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: enju_manifestation_viewer
|
192
192
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,7 +210,7 @@ dependencies:
|
|
210
210
|
requirements:
|
211
211
|
- - ~>
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version: 0.1.0.
|
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.
|
221
|
+
version: 0.1.0.pre8
|
222
222
|
- !ruby/object:Gem::Dependency
|
223
223
|
name: sunspot_solr
|
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: 2.0.0.pre.
|
229
|
+
version: 2.0.0.pre.120925
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -234,7 +234,39 @@ dependencies:
|
|
234
234
|
requirements:
|
235
235
|
- - ~>
|
236
236
|
- !ruby/object:Gem::Version
|
237
|
-
version: 2.0.0.pre.
|
237
|
+
version: 2.0.0.pre.120925
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: mobile-fu
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ! '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: RedCloth
|
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'
|
238
270
|
description: Library module for Next-L Enju
|
239
271
|
email:
|
240
272
|
- tanabe@mwr.mediacom.keio.ac.jp
|
@@ -329,6 +361,7 @@ files:
|
|
329
361
|
- db/migrate/20081006090811_create_subscriptions.rb
|
330
362
|
- db/migrate/20081006093246_create_subscribes.rb
|
331
363
|
- db/migrate/20081023092436_create_search_engines.rb
|
364
|
+
- db/migrate/20100211105551_add_admin_networks_to_library_group.rb
|
332
365
|
- db/migrate/20110222073537_add_url_to_library_group.rb
|
333
366
|
- db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
|
334
367
|
- db/migrate/20120105074911_add_isil_to_library.rb
|
@@ -388,6 +421,7 @@ files:
|
|
388
421
|
- spec/dummy/config/locales/en.yml
|
389
422
|
- spec/dummy/config/routes.rb
|
390
423
|
- spec/dummy/config.ru
|
424
|
+
- spec/dummy/db/development.sqlite3
|
391
425
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
392
426
|
- spec/dummy/db/migrate/005_create_manifestations.rb
|
393
427
|
- spec/dummy/db/migrate/006_create_items.rb
|
@@ -460,19 +494,18 @@ files:
|
|
460
494
|
- spec/dummy/solr/conf/spellings.txt
|
461
495
|
- spec/dummy/solr/conf/stopwords.txt
|
462
496
|
- spec/dummy/solr/conf/synonyms.txt
|
463
|
-
- spec/dummy/solr/data/test/index/
|
464
|
-
- spec/dummy/solr/data/test/index/
|
465
|
-
- spec/dummy/solr/data/test/index/
|
466
|
-
- spec/dummy/solr/data/test/index/
|
467
|
-
- spec/dummy/solr/data/test/index/
|
468
|
-
- spec/dummy/solr/data/test/index/
|
469
|
-
- spec/dummy/solr/data/test/index/
|
470
|
-
- spec/dummy/solr/data/test/index/
|
497
|
+
- spec/dummy/solr/data/test/index/_4b.fdt
|
498
|
+
- spec/dummy/solr/data/test/index/_4b.fdx
|
499
|
+
- spec/dummy/solr/data/test/index/_4b.fnm
|
500
|
+
- spec/dummy/solr/data/test/index/_4b.frq
|
501
|
+
- spec/dummy/solr/data/test/index/_4b.nrm
|
502
|
+
- spec/dummy/solr/data/test/index/_4b.prx
|
503
|
+
- spec/dummy/solr/data/test/index/_4b.tii
|
504
|
+
- spec/dummy/solr/data/test/index/_4b.tis
|
471
505
|
- spec/dummy/solr/data/test/index/segments.gen
|
472
|
-
- spec/dummy/solr/data/test/index/
|
506
|
+
- spec/dummy/solr/data/test/index/segments_9x
|
473
507
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
474
508
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
475
|
-
- spec/dummy/tmp/cache/4AD/470/country_all
|
476
509
|
- spec/factories/bookstore.rb
|
477
510
|
- spec/factories/budget_types.rb
|
478
511
|
- spec/factories/carrier_types.yml
|
@@ -512,7 +545,6 @@ files:
|
|
512
545
|
- spec/models/shelf_spec.rb
|
513
546
|
- spec/models/subscribe_spec.rb
|
514
547
|
- spec/models/subscription_spec.rb
|
515
|
-
- spec/requests/budget_types_spec.rb
|
516
548
|
- spec/routing/budget_types_routing_spec.rb
|
517
549
|
- spec/routing/libraries_routing_spec.rb
|
518
550
|
- spec/spec_helper.rb
|
@@ -523,6 +555,8 @@ files:
|
|
523
555
|
- spec/views/budget_types/index.html.erb_spec.rb
|
524
556
|
- spec/views/budget_types/new.html.erb_spec.rb
|
525
557
|
- spec/views/budget_types/show.html.erb_spec.rb
|
558
|
+
- spec/views/library_groups/edit.html.erb_spec.rb
|
559
|
+
- spec/views/library_groups/show.html.erb_spec.rb
|
526
560
|
homepage: https://github.com/next-l/enju_library
|
527
561
|
licenses: []
|
528
562
|
post_install_message:
|
@@ -594,6 +628,7 @@ test_files:
|
|
594
628
|
- spec/dummy/config/locales/en.yml
|
595
629
|
- spec/dummy/config/routes.rb
|
596
630
|
- spec/dummy/config.ru
|
631
|
+
- spec/dummy/db/development.sqlite3
|
597
632
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
598
633
|
- spec/dummy/db/migrate/005_create_manifestations.rb
|
599
634
|
- spec/dummy/db/migrate/006_create_items.rb
|
@@ -666,19 +701,18 @@ test_files:
|
|
666
701
|
- spec/dummy/solr/conf/spellings.txt
|
667
702
|
- spec/dummy/solr/conf/stopwords.txt
|
668
703
|
- spec/dummy/solr/conf/synonyms.txt
|
669
|
-
- spec/dummy/solr/data/test/index/
|
670
|
-
- spec/dummy/solr/data/test/index/
|
671
|
-
- spec/dummy/solr/data/test/index/
|
672
|
-
- spec/dummy/solr/data/test/index/
|
673
|
-
- spec/dummy/solr/data/test/index/
|
674
|
-
- spec/dummy/solr/data/test/index/
|
675
|
-
- spec/dummy/solr/data/test/index/
|
676
|
-
- spec/dummy/solr/data/test/index/
|
704
|
+
- spec/dummy/solr/data/test/index/_4b.fdt
|
705
|
+
- spec/dummy/solr/data/test/index/_4b.fdx
|
706
|
+
- spec/dummy/solr/data/test/index/_4b.fnm
|
707
|
+
- spec/dummy/solr/data/test/index/_4b.frq
|
708
|
+
- spec/dummy/solr/data/test/index/_4b.nrm
|
709
|
+
- spec/dummy/solr/data/test/index/_4b.prx
|
710
|
+
- spec/dummy/solr/data/test/index/_4b.tii
|
711
|
+
- spec/dummy/solr/data/test/index/_4b.tis
|
677
712
|
- spec/dummy/solr/data/test/index/segments.gen
|
678
|
-
- spec/dummy/solr/data/test/index/
|
713
|
+
- spec/dummy/solr/data/test/index/segments_9x
|
679
714
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
680
715
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
681
|
-
- spec/dummy/tmp/cache/4AD/470/country_all
|
682
716
|
- spec/factories/bookstore.rb
|
683
717
|
- spec/factories/budget_types.rb
|
684
718
|
- spec/factories/carrier_types.yml
|
@@ -718,7 +752,6 @@ test_files:
|
|
718
752
|
- spec/models/shelf_spec.rb
|
719
753
|
- spec/models/subscribe_spec.rb
|
720
754
|
- spec/models/subscription_spec.rb
|
721
|
-
- spec/requests/budget_types_spec.rb
|
722
755
|
- spec/routing/budget_types_routing_spec.rb
|
723
756
|
- spec/routing/libraries_routing_spec.rb
|
724
757
|
- spec/spec_helper.rb
|
@@ -729,3 +762,5 @@ test_files:
|
|
729
762
|
- spec/views/budget_types/index.html.erb_spec.rb
|
730
763
|
- spec/views/budget_types/new.html.erb_spec.rb
|
731
764
|
- spec/views/budget_types/show.html.erb_spec.rb
|
765
|
+
- spec/views/library_groups/edit.html.erb_spec.rb
|
766
|
+
- spec/views/library_groups/show.html.erb_spec.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,11 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe "BudgetTypes" do
|
4
|
-
describe "GET /budget_types" do
|
5
|
-
it "works! (now write some real specs)" do
|
6
|
-
# Run the generator again with the --webrat flag if you want to use webrat methods/matchers
|
7
|
-
get budget_types_path
|
8
|
-
response.status.should be(302)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|