enju_circulation 0.1.0.pre35 → 0.1.0.pre36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manifestation_checkout_stats_controller.rb +3 -0
- data/app/controllers/manifestation_reserve_stats_controller.rb +3 -0
- data/app/controllers/user_checkout_stats_controller.rb +3 -0
- data/app/controllers/user_reserve_stats_controller.rb +3 -0
- data/app/models/manifestation_checkout_stat.rb +22 -12
- data/app/models/manifestation_checkout_stat_state_machine.rb +18 -0
- data/app/models/manifestation_checkout_stat_transition.rb +7 -0
- data/app/models/manifestation_reserve_stat.rb +22 -12
- data/app/models/manifestation_reserve_stat_state_machine.rb +18 -0
- data/app/models/manifestation_reserve_stat_transition.rb +7 -0
- data/app/models/user_checkout_stat.rb +23 -13
- data/app/models/user_checkout_stat_state_machine.rb +18 -0
- data/app/models/user_checkout_stat_transition.rb +7 -0
- data/app/models/user_reserve_stat.rb +23 -13
- data/app/models/user_reserve_stat_state_machine.rb +18 -0
- data/app/models/user_reserve_stat_transition.rb +7 -0
- data/app/views/carrier_type_has_checkout_types/edit.html.erb +2 -2
- data/app/views/carrier_type_has_checkout_types/index.html.erb +12 -5
- data/app/views/carrier_type_has_checkout_types/new.html.erb +2 -2
- data/app/views/carrier_type_has_checkout_types/show.html.erb +5 -3
- data/app/views/checked_items/index.html.erb +2 -2
- data/app/views/checked_items/new.html.erb +2 -2
- data/app/views/checked_items/show.html.erb +2 -2
- data/app/views/checkins/edit.html.erb +2 -2
- data/app/views/checkins/index.html.erb +2 -2
- data/app/views/checkins/new.html.erb +2 -2
- data/app/views/checkins/show.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/edit.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/index.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/new.html.erb +2 -2
- data/app/views/checkout_stat_has_manifestations/show.html.erb +2 -2
- data/app/views/checkout_stat_has_users/edit.html.erb +2 -2
- data/app/views/checkout_stat_has_users/index.html.erb +2 -2
- data/app/views/checkout_stat_has_users/new.html.erb +2 -2
- data/app/views/checkout_stat_has_users/show.html.erb +2 -2
- data/app/views/checkout_types/edit.html.erb +2 -2
- data/app/views/checkout_types/index.html.erb +2 -2
- data/app/views/checkout_types/new.html.erb +2 -2
- data/app/views/checkout_types/show.html.erb +2 -2
- data/app/views/checkouts/_index.html.erb +2 -2
- data/app/views/checkouts/_index_item.html.erb +2 -2
- data/app/views/checkouts/_index_overdue.html.erb +2 -2
- data/app/views/checkouts/_index_user.html.erb +2 -2
- data/app/views/checkouts/edit.html.erb +2 -2
- data/app/views/checkouts/show.html.erb +2 -2
- data/app/views/circulation_statuses/edit.html.erb +2 -2
- data/app/views/circulation_statuses/index.html.erb +2 -2
- data/app/views/circulation_statuses/new.html.erb +2 -2
- data/app/views/circulation_statuses/show.html.erb +2 -2
- data/app/views/item_has_use_restrictions/show.html.erb +2 -2
- data/app/views/lending_policies/edit.html.erb +2 -2
- data/app/views/lending_policies/index.html.erb +2 -2
- data/app/views/lending_policies/new.html.erb +2 -2
- data/app/views/lending_policies/show.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/_form.html.erb +2 -1
- data/app/views/manifestation_checkout_stats/edit.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/index.html.erb +3 -3
- data/app/views/manifestation_checkout_stats/new.html.erb +2 -2
- data/app/views/manifestation_checkout_stats/show.html.erb +5 -3
- data/app/views/manifestation_reserve_stats/_form.html.erb +2 -1
- data/app/views/manifestation_reserve_stats/edit.html.erb +2 -2
- data/app/views/manifestation_reserve_stats/index.html.erb +3 -3
- data/app/views/manifestation_reserve_stats/new.html.erb +2 -2
- data/app/views/manifestation_reserve_stats/show.html.erb +5 -3
- data/app/views/reserve_stat_has_manifestations/edit.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/index.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/new.html.erb +2 -2
- data/app/views/reserve_stat_has_manifestations/show.html.erb +2 -2
- data/app/views/reserve_stat_has_users/edit.html.erb +2 -2
- data/app/views/reserve_stat_has_users/index.html.erb +2 -2
- data/app/views/reserve_stat_has_users/new.html.erb +2 -2
- data/app/views/reserve_stat_has_users/show.html.erb +2 -2
- data/app/views/reserves/_new.html.erb +2 -2
- data/app/views/reserves/_new_user.html.erb +2 -2
- data/app/views/reserves/edit.html.erb +2 -2
- data/app/views/reserves/index.html.erb +3 -3
- data/app/views/reserves/show.html.erb +2 -2
- data/app/views/use_restrictions/edit.html.erb +2 -2
- data/app/views/use_restrictions/index.html.erb +2 -2
- data/app/views/use_restrictions/new.html.erb +2 -2
- data/app/views/use_restrictions/show.html.erb +2 -2
- data/app/views/user_checkout_stats/_form.html.erb +2 -1
- data/app/views/user_checkout_stats/edit.html.erb +2 -2
- data/app/views/user_checkout_stats/index.html.erb +3 -3
- data/app/views/user_checkout_stats/new.html.erb +2 -2
- data/app/views/user_checkout_stats/show.html.erb +5 -3
- data/app/views/user_group_has_checkout_types/edit.html.erb +2 -2
- data/app/views/user_group_has_checkout_types/index.html.erb +11 -5
- data/app/views/user_group_has_checkout_types/new.html.erb +2 -2
- data/app/views/user_group_has_checkout_types/show.html.erb +5 -3
- data/app/views/user_reserve_stats/_form.html.erb +2 -1
- data/app/views/user_reserve_stats/edit.html.erb +2 -2
- data/app/views/user_reserve_stats/index.html.erb +3 -3
- data/app/views/user_reserve_stats/new.html.erb +2 -2
- data/app/views/user_reserve_stats/show.html.erb +5 -3
- data/app/workers/manifestation_checkout_stat_queue.rb +7 -0
- data/app/workers/manifestation_reserve_stat_queue.rb +7 -0
- data/app/workers/user_checkout_stat_queue.rb +7 -0
- data/app/workers/user_reserve_stat_queue.rb +7 -0
- data/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +14 -0
- data/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +14 -0
- data/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +14 -0
- data/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +14 -0
- data/lib/enju_circulation/engine.rb +1 -0
- data/lib/enju_circulation/version.rb +1 -1
- data/lib/generators/enju_circulation/setup/setup_generator.rb +7 -0
- data/lib/generators/enju_circulation/setup/templates/config/schedule.rb +0 -4
- data/spec/controllers/checked_items_controller_spec.rb +7 -7
- data/spec/controllers/checkins_controller_spec.rb +3 -3
- data/spec/controllers/checkouts_controller_spec.rb +4 -4
- data/spec/controllers/reserves_controller_spec.rb +5 -5
- data/spec/dummy/config/initializers/statesman.rb +3 -0
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
- data/spec/dummy/db/schema.rb +50 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/models/checked_item_spec.rb +1 -1
- data/spec/models/checkout_spec.rb +5 -5
- data/spec/models/manifestation_checkout_stat_spec.rb +5 -1
- data/spec/models/manifestation_reserve_stat_spec.rb +5 -1
- data/spec/models/reserve_spec.rb +11 -11
- data/spec/models/user_checkout_stat_spec.rb +5 -1
- data/spec/models/user_group_has_checkout_type_spec.rb +2 -2
- data/spec/models/user_reserve_stat_spec.rb +5 -1
- data/spec/spec_helper.rb +3 -0
- data/spec/support/resque.rb +30 -0
- metadata +74 -120
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/solr/conf/admin-extra.html +0 -31
- data/spec/dummy/solr/conf/elevate.xml +0 -36
- data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
- data/spec/dummy/solr/conf/protwords.txt +0 -21
- data/spec/dummy/solr/conf/schema.xml +0 -255
- data/spec/dummy/solr/conf/scripts.conf +0 -24
- data/spec/dummy/solr/conf/solrconfig.xml +0 -667
- data/spec/dummy/solr/conf/spellings.txt +0 -2
- data/spec/dummy/solr/conf/stopwords.txt +0 -58
- data/spec/dummy/solr/conf/synonyms.txt +0 -31
- data/spec/dummy/solr/default/data/index/_6ox.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_6ox.si +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_6ox_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_ajk +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013653 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013654 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013655 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013656 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013657 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013658 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013659 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013660 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013661 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000013662 +0 -0
- data/spec/dummy/solr/development/data/index/segments.gen +0 -0
- data/spec/dummy/solr/development/data/index/segments_1 +0 -0
- data/spec/dummy/solr/solr.xml +0 -8
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2ffe508d0533d0afd2a37bb574eda40d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/49d32c13d390c1b80d8b2705aac86579 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fcdd2234a7c25f9d4179ca12fd9f7b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c1ab0ecf3cf57db41d9e4cd9306d8829 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9738177de2083b68d42e053a1529244 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9ce2df3f0160329df69b22a911dbd04 +0 -0
@@ -1,58 +0,0 @@
|
|
1
|
-
# Licensed to the Apache Software Foundation (ASF) under one or more
|
2
|
-
# contributor license agreements. See the NOTICE file distributed with
|
3
|
-
# this work for additional information regarding copyright ownership.
|
4
|
-
# The ASF licenses this file to You under the Apache License, Version 2.0
|
5
|
-
# (the "License"); you may not use this file except in compliance with
|
6
|
-
# the License. You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
|
-
#-----------------------------------------------------------------------
|
17
|
-
# a couple of test stopwords to test that the words are really being
|
18
|
-
# configured from this file:
|
19
|
-
stopworda
|
20
|
-
stopwordb
|
21
|
-
|
22
|
-
#Standard english stop words taken from Lucene's StopAnalyzer
|
23
|
-
a
|
24
|
-
an
|
25
|
-
and
|
26
|
-
are
|
27
|
-
as
|
28
|
-
at
|
29
|
-
be
|
30
|
-
but
|
31
|
-
by
|
32
|
-
for
|
33
|
-
if
|
34
|
-
in
|
35
|
-
into
|
36
|
-
is
|
37
|
-
it
|
38
|
-
no
|
39
|
-
not
|
40
|
-
of
|
41
|
-
on
|
42
|
-
or
|
43
|
-
s
|
44
|
-
such
|
45
|
-
t
|
46
|
-
that
|
47
|
-
the
|
48
|
-
their
|
49
|
-
then
|
50
|
-
there
|
51
|
-
these
|
52
|
-
they
|
53
|
-
this
|
54
|
-
to
|
55
|
-
was
|
56
|
-
will
|
57
|
-
with
|
58
|
-
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# The ASF licenses this file to You under the Apache License, Version 2.0
|
2
|
-
# (the "License"); you may not use this file except in compliance with
|
3
|
-
# the License. You may obtain a copy of the License at
|
4
|
-
#
|
5
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
6
|
-
#
|
7
|
-
# Unless required by applicable law or agreed to in writing, software
|
8
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
9
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10
|
-
# See the License for the specific language governing permissions and
|
11
|
-
# limitations under the License.
|
12
|
-
|
13
|
-
#-----------------------------------------------------------------------
|
14
|
-
#some test synonym mappings unlikely to appear in real input text
|
15
|
-
aaa => aaaa
|
16
|
-
bbb => bbbb1 bbbb2
|
17
|
-
ccc => cccc1,cccc2
|
18
|
-
a\=>a => b\=>b
|
19
|
-
a\,a => b\,b
|
20
|
-
fooaaa,baraaa,bazaaa
|
21
|
-
|
22
|
-
# Some synonym groups specific to this example
|
23
|
-
GB,gib,gigabyte,gigabytes
|
24
|
-
MB,mib,megabyte,megabytes
|
25
|
-
Television, Televisions, TV, TVs
|
26
|
-
#notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
|
27
|
-
#after us won't split it into two words.
|
28
|
-
|
29
|
-
# Synonym mappings can be used for spelling correction too
|
30
|
-
pixima => pixma
|
31
|
-
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/solr/solr.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
-
<solr persistent="false">
|
3
|
-
<cores adminPath="/admin/cores" host="${host:}" hostPort="${jetty.port:}">
|
4
|
-
<core name="default" instanceDir="." dataDir="default/data"/>
|
5
|
-
<core name="development" instanceDir="." dataDir="development/data"/>
|
6
|
-
<core name="test" instanceDir="." dataDir="test/data"/>
|
7
|
-
</cores>
|
8
|
-
</solr>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|