enju_library 0.1.0.pre32 → 0.1.0.pre33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/accept.rb +9 -2
  3. data/app/views/accepts/edit.html.erb +2 -2
  4. data/app/views/accepts/index.html.erb +2 -2
  5. data/app/views/accepts/new.html.erb +2 -2
  6. data/app/views/accepts/show.html.erb +2 -2
  7. data/app/views/baskets/edit.html.erb +2 -2
  8. data/app/views/baskets/index.html.erb +2 -2
  9. data/app/views/baskets/new.html.erb +2 -2
  10. data/app/views/baskets/show.html.erb +2 -2
  11. data/app/views/bookstores/edit.html.erb +2 -2
  12. data/app/views/bookstores/index.html.erb +2 -2
  13. data/app/views/bookstores/new.html.erb +2 -2
  14. data/app/views/bookstores/show.html.erb +2 -2
  15. data/app/views/budget_types/edit.html.erb +2 -2
  16. data/app/views/budget_types/index.html.erb +2 -2
  17. data/app/views/budget_types/new.html.erb +2 -2
  18. data/app/views/budget_types/show.html.erb +2 -2
  19. data/app/views/libraries/edit.html.erb +2 -2
  20. data/app/views/libraries/index.html.erb +15 -7
  21. data/app/views/libraries/new.html.erb +2 -2
  22. data/app/views/libraries/show.html.erb +2 -2
  23. data/app/views/library_groups/edit.html.erb +2 -2
  24. data/app/views/library_groups/index.html.erb +6 -4
  25. data/app/views/library_groups/new.html.erb +2 -2
  26. data/app/views/library_groups/show.html.erb +2 -2
  27. data/app/views/request_status_types/edit.html.erb +2 -2
  28. data/app/views/request_status_types/index.html.erb +2 -2
  29. data/app/views/request_status_types/new.html.erb +2 -2
  30. data/app/views/request_status_types/show.html.erb +2 -2
  31. data/app/views/request_types/edit.html.erb +2 -2
  32. data/app/views/request_types/index.html.erb +2 -2
  33. data/app/views/request_types/new.html.erb +2 -2
  34. data/app/views/request_types/show.html.erb +2 -2
  35. data/app/views/search_engines/edit.html.erb +2 -2
  36. data/app/views/search_engines/index.html.erb +2 -2
  37. data/app/views/search_engines/new.html.erb +2 -2
  38. data/app/views/search_engines/show.html.erb +2 -2
  39. data/app/views/shelves/edit.html.erb +2 -2
  40. data/app/views/shelves/index.html.erb +4 -4
  41. data/app/views/shelves/new.html.erb +2 -2
  42. data/app/views/shelves/show.html.erb +2 -2
  43. data/app/views/subscribes/edit.html.erb +2 -2
  44. data/app/views/subscribes/index.html.erb +2 -2
  45. data/app/views/subscribes/new.html.erb +2 -2
  46. data/app/views/subscribes/show.html.erb +2 -2
  47. data/app/views/subscriptions/edit.html.erb +2 -2
  48. data/app/views/subscriptions/index.html.erb +2 -2
  49. data/app/views/subscriptions/new.html.erb +2 -2
  50. data/app/views/subscriptions/show.html.erb +2 -2
  51. data/config/locales/translation_en.yml +1 -0
  52. data/config/locales/translation_ja.yml +1 -0
  53. data/lib/enju_library/version.rb +1 -1
  54. data/spec/controllers/baskets_controller_spec.rb +2 -2
  55. data/spec/controllers/libraries_controller_spec.rb +1 -1
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/models/accept_spec.rb +1 -0
  58. data/spec/models/library_group_spec.rb +2 -2
  59. data/spec/models/library_spec.rb +1 -1
  60. data/spec/models/shelf_spec.rb +2 -2
  61. data/spec/models/subscription_spec.rb +1 -1
  62. data/spec/spec_helper.rb +3 -0
  63. metadata +34 -204
  64. data/spec/dummy/solr/conf/admin-extra.html +0 -31
  65. data/spec/dummy/solr/conf/elevate.xml +0 -36
  66. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
  67. data/spec/dummy/solr/conf/protwords.txt +0 -21
  68. data/spec/dummy/solr/conf/schema.xml +0 -255
  69. data/spec/dummy/solr/conf/scripts.conf +0 -24
  70. data/spec/dummy/solr/conf/solrconfig.xml +0 -667
  71. data/spec/dummy/solr/conf/spellings.txt +0 -2
  72. data/spec/dummy/solr/conf/stopwords.txt +0 -58
  73. data/spec/dummy/solr/conf/synonyms.txt +0 -31
  74. data/spec/dummy/solr/default/data/index/_1s8.fdt +0 -0
  75. data/spec/dummy/solr/default/data/index/_1s8.fdx +0 -0
  76. data/spec/dummy/solr/default/data/index/_1s8.fnm +0 -0
  77. data/spec/dummy/solr/default/data/index/_1s8.nvd +0 -0
  78. data/spec/dummy/solr/default/data/index/_1s8.nvm +0 -0
  79. data/spec/dummy/solr/default/data/index/_1s8.si +0 -0
  80. data/spec/dummy/solr/default/data/index/_1s8_Lucene41_0.doc +0 -0
  81. data/spec/dummy/solr/default/data/index/_1s8_Lucene41_0.pos +0 -0
  82. data/spec/dummy/solr/default/data/index/_1s8_Lucene41_0.tim +0 -0
  83. data/spec/dummy/solr/default/data/index/_1s8_Lucene41_0.tip +0 -0
  84. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  85. data/spec/dummy/solr/default/data/index/segments_2ya +0 -0
  86. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003815 +0 -0
  87. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003816 +0 -0
  88. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003817 +0 -0
  89. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003818 +0 -0
  90. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003819 +0 -0
  91. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003820 +0 -0
  92. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003821 +0 -0
  93. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003822 +0 -0
  94. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003823 +0 -0
  95. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000003824 +0 -0
  96. data/spec/dummy/solr/development/data/index/segments.gen +0 -0
  97. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  98. data/spec/dummy/solr/solr.xml +0 -8
  99. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  100. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/096c3408c7592aaeb756778ce1775f16 +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/09bc1fff0c1477a69e8cd36ed3fe771f +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/0c8f59d97121b79a2e2a0d009d6da9c3 +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/0e7592ffc95bd8b73854cc6453c64e33 +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/0e8e7445a50fad85ab545fa283abf5b7 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/1260173072d9796c1ae7d7752b9916c3 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/17c9f5037fae5b6ee1fc7466948001b5 +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/2258e83cd2e464c650334b6a72a87cb6 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/241a5d6ad6008e25a64a5092e8361ae8 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/2bf9c36d2bc8f8ca084394d139ce8edf +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/2ffe508d0533d0afd2a37bb574eda40d +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/301d9ec69800d0dc163460a12304676a +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/3fbe8dcb9a5b2fbc7a22cc4b1ca4aa11 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/49d32c13d390c1b80d8b2705aac86579 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/4c4d6b8fc44a49272793290caed29e24 +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/5db165a5b217a384aaa8885d6bcaf193 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/5dd0b61707256a0514d7f5e224188a1d +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/6738d1a07584e4b732d197e10afd6a19 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/6a83d3fd052b7923111a0ed838ff53e0 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/6a958d3fc0999c71aa19bae06bacdeb6 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/6df57ded762c97e6755758008bb3a660 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/7289cf11ae787f5e0639528dc155bffb +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/7c4b2e5317023fb751fa54ad41f95101 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/7eea3b9e54d8a23d8a05d354f1a93f51 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/8a73d1e841a4716b4f18ed4a23622092 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/8be2a49de16592553e0d0a09d92bf6ef +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/8f72bcc7284bf844ac8bec5dc4b71482 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/979eaef456657e4fc79b9b967aef0587 +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/9ad166e60e3d477c78328181979a7b77 +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sprockets/9b78afe804f3870fbafb97d2d62e5f6b +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sprockets/a3cea75f1356ef55329e78f86b4c72b1 +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sprockets/a5bf9fc3822019953dee89c6ae2b32ea +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sprockets/a7387ef33f472faf58df3dd72623fbc6 +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sprockets/ae706bde720905edffe622ae48f15740 +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sprockets/b53fd979e77975479427d0b481b004d4 +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sprockets/b57a0579a21bd3280d1db6f42550e5c7 +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sprockets/b80bed2ef62ec65384f12272c185a9a8 +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sprockets/bf33fb298844af06e55096420b989e3b +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/c3e97042b232e677d67679e11ebdb8ec +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/c4700cd893db92917b893a0e48f57a24 +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/c6283ae59dff510d5a2bb2bb9194d045 +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/ca5b985126fb033dec26015bd08d56ee +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/d26b3581068a8ec8af52f3b2cce8c32a +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/d648a0b0abb7fd7ff579d72ffe033d50 +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/db6425848529903bdee75792cb2ed79a +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/e44b4816bd1b2a7ba674c978dad35f3a +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/e513ee1af8fa24dcb4f473c18c09bf87 +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/e8142c2b10712e79b6d2c2cba0894b4c +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/fa8059ddbbe226114ba0c178de3fc31b +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/fbc69737b9b0dc77871fa2bb8647a38a +0 -0
  155. data/spec/spec_helper2.rb +0 -66
@@ -1,2 +0,0 @@
1
- pizza
2
- history
@@ -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
-
@@ -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>
@@ -1,66 +0,0 @@
1
- require 'simplecov'
2
- SimpleCov.start 'rails'
3
-
4
- # This file is copied to spec/ when you run 'rails generate rspec:install'
5
- ENV["RAILS_ENV"] ||= 'test'
6
- require File.expand_path("../../spec/dummy/config/environment", __FILE__)
7
- require 'rspec/rails'
8
- require 'rspec/autorun'
9
- require 'vcr'
10
- require 'factory_girl'
11
- require 'sunspot-rails-tester'
12
- require 'rake'
13
- require 'elasticsearch/extensions/test/cluster/tasks'
14
-
15
- # Requires supporting ruby files with custom matchers and macros, etc,
16
- # in spec/support/ and its subdirectories.
17
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
18
- #Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
19
-
20
- RSpec.configure do |config|
21
- # ## Mock Framework
22
- #
23
- # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
24
- #
25
- # config.mock_with :mocha
26
- # config.mock_with :flexmock
27
- # config.mock_with :rr
28
-
29
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
30
- config.fixture_path = "#{::Rails.root}/../../spec/fixtures"
31
-
32
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
33
- # examples within a transaction, remove the following line or assign false
34
- # instead of true.
35
- config.use_transactional_fixtures = true
36
-
37
- # If true, the base class of anonymous controllers will be inferred
38
- # automatically. This will be the default behavior in future versions of
39
- # rspec-rails.
40
- config.infer_base_class_for_anonymous_controllers = false
41
-
42
- config.extend ControllerMacros, :type => :controller
43
-
44
- $original_sunspot_session = Sunspot.session
45
-
46
- config.before do
47
- Sunspot.session = Sunspot::Rails::StubSessionProxy.new($original_sunspot_session)
48
- end
49
-
50
- config.before :each, :solr => true do
51
- Sunspot::Rails::Tester.start_original_sunspot_session
52
- Sunspot.session = $original_sunspot_session
53
- Sunspot.remove_all!
54
- end
55
-
56
- config.before :suite do
57
- Elasticsearch::Extensions::Test::Cluster.start(port: 9200) unless Elasticsearch::Extensions::Test::Cluster.running?(on: 9200)
58
- end
59
-
60
- config.after :suite do
61
- Elasticsearch::Extensions::Test::Cluster.stop(port: 9200) if Elasticsearch::Extensions::Test::Cluster.running?(on: 9200)
62
- end
63
- end
64
-
65
- FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
66
- FactoryGirl.find_definitions