enju_biblio 0.1.0.pre3 → 0.1.0.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/app/controllers/manifestations_controller.rb +6 -6
  2. data/app/controllers/patron_import_files_controller.rb +2 -2
  3. data/app/controllers/picture_files_controller.rb +2 -2
  4. data/app/controllers/resource_import_files_controller.rb +2 -2
  5. data/app/models/create.rb +1 -1
  6. data/app/models/create_type.rb +1 -1
  7. data/app/models/exemplify.rb +1 -1
  8. data/app/models/manifestation.rb +1 -1
  9. data/app/models/patron.rb +1 -1
  10. data/app/models/patron_import_file.rb +2 -2
  11. data/app/models/picture_file.rb +1 -1
  12. data/app/models/produce.rb +1 -1
  13. data/app/models/produce_type.rb +1 -1
  14. data/app/models/realize.rb +1 -1
  15. data/app/models/realize_type.rb +1 -1
  16. data/app/models/resource_import_file.rb +2 -2
  17. data/app/views/manifestations/_form.html.erb +1 -1
  18. data/app/views/manifestations/index.html.erb +2 -2
  19. data/app/views/patrons/_form.html.erb +1 -1
  20. data/lib/enju_biblio/version.rb +1 -1
  21. data/spec/dummy/app/models/setting.rb +4 -0
  22. data/spec/dummy/config/application.yml +37 -0
  23. data/spec/dummy/db/development.sqlite3 +0 -0
  24. data/spec/dummy/db/production.sqlite3 +0 -0
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  27. data/spec/dummy/solr/data/test/index/segments_5px +0 -0
  28. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  29. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  30. metadata +16 -20
  31. data/spec/dummy/config/configatron/defaults.rb +0 -28
  32. data/spec/dummy/config/configatron/development.rb +0 -4
  33. data/spec/dummy/config/configatron/production.rb +0 -12
  34. data/spec/dummy/config/configatron/production.rb.sample +0 -12
  35. data/spec/dummy/config/configatron/test.rb +0 -7
  36. data/spec/dummy/config/initializers/configatron.rb +0 -2
  37. data/spec/dummy/solr/data/test/index/segments_5hq +0 -0
@@ -201,7 +201,7 @@ class ManifestationsController < ApplicationController
201
201
  else
202
202
  flash[:search_query] = @search_query
203
203
  @manifestation_ids = search.build do
204
- paginate :page => 1, :per_page => configatron.max_number_of_results
204
+ paginate :page => 1, :per_page => Setting.max_number_of_results
205
205
  end.execute.raw_results.collect(&:primary_key).map{|id| id.to_i}
206
206
  end
207
207
  end
@@ -210,7 +210,7 @@ class ManifestationsController < ApplicationController
210
210
  if params[:view] == 'tag_cloud'
211
211
  unless @manifestation_ids
212
212
  @manifestation_ids = search.build do
213
- paginate :page => 1, :per_page => configatron.max_number_of_results
213
+ paginate :page => 1, :per_page => Setting.max_number_of_results
214
214
  end.execute.raw_results.collect(&:primary_key).map{|id| id.to_i}
215
215
  end
216
216
  #bookmark_ids = Bookmark.where(:manifestation_id => flash[:manifestation_ids]).limit(1000).pluck(:id)
@@ -237,8 +237,8 @@ class ManifestationsController < ApplicationController
237
237
  end
238
238
  end
239
239
  search_result = search.execute
240
- if @count[:query_result] > configatron.max_number_of_results
241
- max_count = configatron.max_number_of_results
240
+ if @count[:query_result] > Setting.max_number_of_results
241
+ max_count = Setting.max_number_of_results
242
242
  else
243
243
  max_count = @count[:query_result]
244
244
  end
@@ -366,7 +366,7 @@ class ManifestationsController < ApplicationController
366
366
  end
367
367
 
368
368
  if @manifestation.attachment.path
369
- if configatron.uploaded_file.storage == :s3
369
+ if Setting.uploaded_file.storage == :s3
370
370
  data = open(@manifestation.attachment.url).read.force_encoding('UTF-8')
371
371
  else
372
372
  file = @manifestation.attachment.path
@@ -392,7 +392,7 @@ class ManifestationsController < ApplicationController
392
392
  #format.js
393
393
  format.download {
394
394
  if @manifestation.attachment.path
395
- if configatron.uploaded_file.storage == :s3
395
+ if Setting.uploaded_file.storage == :s3
396
396
  send_data @manifestation.attachment.data, :filename => File.basename(@manifestation.attachment_file_name), :type => 'application/octet-stream'
397
397
  else
398
398
  if File.exist?(file) and File.file?(file)
@@ -16,7 +16,7 @@ class PatronImportFilesController < ApplicationController
16
16
  # GET /patron_import_files/1.json
17
17
  def show
18
18
  if @patron_import_file.patron_import.path
19
- unless configatron.uploaded_file.storage == :s3
19
+ unless Setting.uploaded_file.storage == :s3
20
20
  file = @patron_import_file.patron_import.path
21
21
  end
22
22
  end
@@ -25,7 +25,7 @@ class PatronImportFilesController < ApplicationController
25
25
  format.html # show.html.erb
26
26
  format.json { render :json => @patron_import_file }
27
27
  format.download {
28
- if configatron.uploaded_file.storage == :s3
28
+ if Setting.uploaded_file.storage == :s3
29
29
  redirect_to @patron_import_file.patron_import.expiring_url(10)
30
30
  else
31
31
  send_file file, :filename => @patron_import_file.patron_import_file_name, :type => 'application/octet-stream'
@@ -31,7 +31,7 @@ class PictureFilesController < ApplicationController
31
31
  end
32
32
 
33
33
  if @picture_file.picture.path
34
- if configatron.uploaded_file.storage == :s3
34
+ if Setting.uploaded_file.storage == :s3
35
35
  file = open(@picture_file.picture.expiring_url).read.force_encoding('UTF-8')
36
36
  else
37
37
  file = @picture_file.picture.path(size)
@@ -166,7 +166,7 @@ class PictureFilesController < ApplicationController
166
166
  end
167
167
 
168
168
  if @picture_file.picture.path
169
- if configatron.uploaded_file.storage == :s3
169
+ if Setting.uploaded_file.storage == :s3
170
170
  send_data file, :filename => File.basename(@picture_file.picture_file_name), :type => @picture_file.picture_content_type, :disposition => disposition
171
171
  else
172
172
  if File.exist?(file) and File.file?(file)
@@ -16,7 +16,7 @@ class ResourceImportFilesController < ApplicationController
16
16
  # GET /resource_import_files/1.json
17
17
  def show
18
18
  if @resource_import_file.resource_import.path
19
- unless configatron.uploaded_file.storage == :s3
19
+ unless Setting.uploaded_file.storage == :s3
20
20
  file = @resource_import_file.resource_import.path
21
21
  end
22
22
  end
@@ -25,7 +25,7 @@ class ResourceImportFilesController < ApplicationController
25
25
  format.html # show.html.erb
26
26
  format.json { render :json => @resource_import_file }
27
27
  format.download {
28
- if configatron.uploaded_file.storage == :s3
28
+ if Setting.uploaded_file.storage == :s3
29
29
  redirect_to @resource_import_file.resource_import.expiring_url(10)
30
30
  else
31
31
  send_file file, :filename => @resource_import_file.resource_import_file_name, :type => 'application/octet-stream'
data/app/models/create.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Create < ActiveRecord::Base
2
- attr_accessible :patron_id, :work_id, :create_type_id
2
+ attr_accessible :patron_id, :work_id, :create_type_id, :position
3
3
  belongs_to :patron
4
4
  belongs_to :work, :class_name => 'Manifestation', :foreign_key => 'work_id'
5
5
  belongs_to :create_type
@@ -1,5 +1,5 @@
1
1
  class CreateType < ActiveRecord::Base
2
- attr_accessible :name, :display_name, :note
2
+ attr_accessible :name, :display_name, :note, :position
3
3
  include MasterModel
4
4
  default_scope :order => 'create_types.position'
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class Exemplify < ActiveRecord::Base
2
- attr_accessible :manifestation_id, :item_id
2
+ attr_accessible :manifestation_id, :item_id, :position
3
3
  belongs_to :manifestation
4
4
  belongs_to :item
5
5
  #accepts_nested_attributes_for :item
@@ -180,7 +180,7 @@ class Manifestation < ActiveRecord::Base
180
180
  #enju_export
181
181
 
182
182
  has_paper_trail
183
- if configatron.uploaded_file.storage == :s3
183
+ if Setting.uploaded_file.storage == :s3
184
184
  has_attached_file :attachment, :storage => :s3, :s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
185
185
  :s3_permissions => :private
186
186
  else
data/app/models/patron.rb CHANGED
@@ -89,7 +89,7 @@ class Patron < ActiveRecord::Base
89
89
 
90
90
  def set_full_name
91
91
  if self.full_name.blank?
92
- if self.last_name.to_s.strip and self.first_name.to_s.strip and configatron.family_name_first == true
92
+ if self.last_name.to_s.strip and self.first_name.to_s.strip and Setting.family_name_first == true
93
93
  self.full_name = [last_name, middle_name, first_name].compact.join(" ").to_s.strip
94
94
  else
95
95
  self.full_name = [first_name, last_name, middle_name].compact.join(" ").to_s.strip
@@ -5,7 +5,7 @@ class PatronImportFile < ActiveRecord::Base
5
5
  scope :not_imported, where(:state => 'pending')
6
6
  scope :stucked, where('created_at < ? AND state = ?', 1.hour.ago, 'pending')
7
7
 
8
- if configatron.uploaded_file.storage == :s3
8
+ if Setting.uploaded_file.storage == :s3
9
9
  has_attached_file :patron_import, :storage => :s3, :s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
10
10
  :s3_permissions => :private
11
11
  else
@@ -174,7 +174,7 @@ class PatronImportFile < ActiveRecord::Base
174
174
  private
175
175
  def open_import_file
176
176
  tempfile = Tempfile.new('patron_import_file')
177
- if configatron.uploaded_file.storage == :s3
177
+ if Setting.uploaded_file.storage == :s3
178
178
  uploaded_file_path = patron_import.expiring_url(10)
179
179
  else
180
180
  uploaded_file_path = patron_import.path
@@ -4,7 +4,7 @@ class PictureFile < ActiveRecord::Base
4
4
  scope :attached, where('picture_attachable_id IS NOT NULL')
5
5
  belongs_to :picture_attachable, :polymorphic => true, :validate => true
6
6
 
7
- if configatron.uploaded_file.storage == :s3
7
+ if Setting.uploaded_file.storage == :s3
8
8
  has_attached_file :picture, :storage => :s3, :styles => { :medium => "600x600>", :thumb => "100x100>" },
9
9
  :s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
10
10
  :s3_permissions => :private
@@ -1,5 +1,5 @@
1
1
  class Produce < ActiveRecord::Base
2
- attr_accessible :patron_id, :manifestation_id, :produce_type_id
2
+ attr_accessible :patron_id, :manifestation_id, :produce_type_id, :position
3
3
  belongs_to :patron
4
4
  belongs_to :manifestation
5
5
  belongs_to :produce_type
@@ -1,5 +1,5 @@
1
1
  class ProduceType < ActiveRecord::Base
2
- attr_accessible :name, :display_name, :note
2
+ attr_accessible :name, :display_name, :note, :position
3
3
  include MasterModel
4
4
  default_scope :order => 'produce_types.position'
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class Realize < ActiveRecord::Base
2
- attr_accessible :patron_id, :expression_id, :realize_type_id
2
+ attr_accessible :patron_id, :expression_id, :realize_type_id, :position
3
3
  belongs_to :patron
4
4
  belongs_to :expression, :class_name => 'Manifestation', :foreign_key => 'expression_id'
5
5
  belongs_to :realize_type
@@ -1,5 +1,5 @@
1
1
  class RealizeType < ActiveRecord::Base
2
- attr_accessible :name, :display_name, :note
2
+ attr_accessible :name, :display_name, :note, :position
3
3
  include MasterModel
4
4
  default_scope :order => 'realize_types.position'
5
5
  end
@@ -6,7 +6,7 @@ class ResourceImportFile < ActiveRecord::Base
6
6
  scope :not_imported, where(:state => 'pending')
7
7
  scope :stucked, where('created_at < ? AND state = ?', 1.hour.ago, 'pending')
8
8
 
9
- if configatron.uploaded_file.storage == :s3
9
+ if Setting.uploaded_file.storage == :s3
10
10
  has_attached_file :resource_import, :storage => :s3, :s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
11
11
  :s3_permissions => :private
12
12
  else
@@ -335,7 +335,7 @@ class ResourceImportFile < ActiveRecord::Base
335
335
  private
336
336
  def open_import_file
337
337
  tempfile = Tempfile.new('patron_import_file')
338
- if configatron.uploaded_file.storage == :s3
338
+ if Setting.uploaded_file.storage == :s3
339
339
  uploaded_file_path = resource_import.expiring_url(10)
340
340
  else
341
341
  uploaded_file_path = resource_import.path
@@ -95,7 +95,7 @@
95
95
  <div class="field">
96
96
  <%= f.label :lccn -%>
97
97
  <%= f.text_field :lccn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled' -%>
98
- <% if @manifestation.periodical? %>
98
+ <%- if @series_statement.try(:periodical?) -%>
99
99
  <%= f.label :issn -%>
100
100
  <%= f.text_field :issn, :class => 'resource_isbn_issn', :style => 'ime-mode: disabled' -%>
101
101
  <% end %>
@@ -28,9 +28,9 @@
28
28
  <%- if @manifestations.total_count > 0 -%>
29
29
  <p>
30
30
  <%= t('page.number_of_search_results', :count => @count[:query_result], :numdocs => Manifestation.search.total, :seconds => sprintf("%.3f", @seconds)) -%>
31
- <%- if @count[:query_result] > configatron.max_number_of_results -%>
31
+ <%- if @count[:query_result] > Setting.max_number_of_results -%>
32
32
  <br />
33
- <%= t('page.limit_exceeded', :count => configatron.max_number_of_results) -%>
33
+ <%= t('page.limit_exceeded', :count => Setting.max_number_of_results) -%>
34
34
  <%- end -%>
35
35
  </p>
36
36
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  <div class="field">
11
11
  <span id="name_person">
12
- <%- if configatron.family_name_first == true -%>
12
+ <%- if Setting.family_name_first == true -%>
13
13
  <%= render 'patrons/form_family_name_first', :f => f -%>
14
14
  <%- else -%>
15
15
  <%= render 'patrons/form_family_name_last', :f => f -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre3"
2
+ VERSION = "0.1.0.pre4"
3
3
  end
@@ -0,0 +1,4 @@
1
+ class Setting < Settingslogic
2
+ source "#{Rails.root}/config/application.yml"
3
+ namespace Rails.env
4
+ end
@@ -0,0 +1,37 @@
1
+ defaults: &defaults
2
+ enju:
3
+ web_hostname: localhost
4
+ web_port_number: 3000
5
+
6
+ family_name_first: true
7
+ max_number_of_results: 500
8
+ write_search_log_to_file: true
9
+ csv_charset_conversion: true
10
+
11
+ # Choose a locale from 'ca', 'de', 'fr', 'jp', 'uk', 'us'
12
+ #AMAZON_AWS_HOSTNAME = 'ecs.amazonaws.com'
13
+ amazon:
14
+ aws_hostname: ecs.amazonaws.jp
15
+ hostname: www.amazon.co.jp
16
+ access_key: REPLACE_WITH_YOUR_AMAZON_ACCESS_KEY
17
+ secret_access_key: REPLACE_WITH_YOUR_AMAZON_SECRET_ACCESS_KEY
18
+
19
+ # :google, :amazon
20
+ book_jacket:
21
+ source: :google
22
+
23
+ # :mozshot, :simpleapi, :heartrails, :thumbalizr
24
+ screenshot:
25
+ generator: :mozshot
26
+
27
+ uploaded_file:
28
+ storage: :local
29
+
30
+ development:
31
+ <<: *defaults
32
+
33
+ test:
34
+ <<: *defaults
35
+
36
+ production:
37
+ <<: *defaults
File without changes
File without changes
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre3
4
+ version: 0.1.0.pre4
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-07-31 00:00:00.000000000 Z
12
+ date: 2012-08-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -242,7 +242,7 @@ dependencies:
242
242
  requirements:
243
243
  - - ~>
244
244
  - !ruby/object:Gem::Version
245
- version: 0.1.0.pre
245
+ version: 0.1.1.pre
246
246
  type: :runtime
247
247
  prerelease: false
248
248
  version_requirements: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ dependencies:
250
250
  requirements:
251
251
  - - ~>
252
252
  - !ruby/object:Gem::Version
253
- version: 0.1.0.pre
253
+ version: 0.1.1.pre
254
254
  - !ruby/object:Gem::Dependency
255
255
  name: resque_mailer
256
256
  requirement: !ruby/object:Gem::Requirement
@@ -370,7 +370,7 @@ dependencies:
370
370
  requirements:
371
371
  - - ~>
372
372
  - !ruby/object:Gem::Version
373
- version: 0.1.0.pre
373
+ version: 0.1.0.pre2
374
374
  type: :development
375
375
  prerelease: false
376
376
  version_requirements: !ruby/object:Gem::Requirement
@@ -378,7 +378,7 @@ dependencies:
378
378
  requirements:
379
379
  - - ~>
380
380
  - !ruby/object:Gem::Version
381
- version: 0.1.0.pre
381
+ version: 0.1.0.pre2
382
382
  - !ruby/object:Gem::Dependency
383
383
  name: enju_inventory
384
384
  requirement: !ruby/object:Gem::Requirement
@@ -1000,6 +1000,7 @@ files:
1000
1000
  - spec/dummy/app/models/ability.rb
1001
1001
  - spec/dummy/app/models/local_patron.rb
1002
1002
  - spec/dummy/app/models/role.rb
1003
+ - spec/dummy/app/models/setting.rb
1003
1004
  - spec/dummy/app/models/user.rb
1004
1005
  - spec/dummy/app/models/user_group.rb
1005
1006
  - spec/dummy/app/models/user_has_role.rb
@@ -1011,19 +1012,14 @@ files:
1011
1012
  - spec/dummy/app/views/page/404.mobile.erb
1012
1013
  - spec/dummy/app/views/page/404.xml.erb
1013
1014
  - spec/dummy/config/application.rb
1015
+ - spec/dummy/config/application.yml
1014
1016
  - spec/dummy/config/boot.rb
1015
- - spec/dummy/config/configatron/defaults.rb
1016
- - spec/dummy/config/configatron/development.rb
1017
- - spec/dummy/config/configatron/production.rb
1018
- - spec/dummy/config/configatron/production.rb.sample
1019
- - spec/dummy/config/configatron/test.rb
1020
1017
  - spec/dummy/config/database.yml
1021
1018
  - spec/dummy/config/environment.rb
1022
1019
  - spec/dummy/config/environments/development.rb
1023
1020
  - spec/dummy/config/environments/production.rb
1024
1021
  - spec/dummy/config/environments/test.rb
1025
1022
  - spec/dummy/config/initializers/backtrace_silencers.rb
1026
- - spec/dummy/config/initializers/configatron.rb
1027
1023
  - spec/dummy/config/initializers/devise.rb
1028
1024
  - spec/dummy/config/initializers/inflections.rb
1029
1025
  - spec/dummy/config/initializers/kaminari_config.rb
@@ -1036,6 +1032,7 @@ files:
1036
1032
  - spec/dummy/config/locales/ja.yml
1037
1033
  - spec/dummy/config/routes.rb
1038
1034
  - spec/dummy/config.ru
1035
+ - spec/dummy/db/development.sqlite3
1039
1036
  - spec/dummy/db/migrate/032_create_checkins.rb
1040
1037
  - spec/dummy/db/migrate/033_create_checkouts.rb
1041
1038
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1106,6 +1103,7 @@ files:
1106
1103
  - spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
1107
1104
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
1108
1105
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
1106
+ - spec/dummy/db/production.sqlite3
1109
1107
  - spec/dummy/db/schema.rb
1110
1108
  - spec/dummy/db/test.sqlite3
1111
1109
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1155,7 +1153,7 @@ files:
1155
1153
  - spec/dummy/solr/conf/stopwords.txt
1156
1154
  - spec/dummy/solr/conf/synonyms.txt
1157
1155
  - spec/dummy/solr/data/test/index/segments.gen
1158
- - spec/dummy/solr/data/test/index/segments_5hq
1156
+ - spec/dummy/solr/data/test/index/segments_5px
1159
1157
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1160
1158
  - spec/dummy/solr/data/test/spellchecker/segments_1
1161
1159
  - spec/dummy/tmp/cache/4F7/F90/default_role
@@ -1442,6 +1440,7 @@ test_files:
1442
1440
  - spec/dummy/app/models/ability.rb
1443
1441
  - spec/dummy/app/models/local_patron.rb
1444
1442
  - spec/dummy/app/models/role.rb
1443
+ - spec/dummy/app/models/setting.rb
1445
1444
  - spec/dummy/app/models/user.rb
1446
1445
  - spec/dummy/app/models/user_group.rb
1447
1446
  - spec/dummy/app/models/user_has_role.rb
@@ -1453,19 +1452,14 @@ test_files:
1453
1452
  - spec/dummy/app/views/page/404.mobile.erb
1454
1453
  - spec/dummy/app/views/page/404.xml.erb
1455
1454
  - spec/dummy/config/application.rb
1455
+ - spec/dummy/config/application.yml
1456
1456
  - spec/dummy/config/boot.rb
1457
- - spec/dummy/config/configatron/defaults.rb
1458
- - spec/dummy/config/configatron/development.rb
1459
- - spec/dummy/config/configatron/production.rb
1460
- - spec/dummy/config/configatron/production.rb.sample
1461
- - spec/dummy/config/configatron/test.rb
1462
1457
  - spec/dummy/config/database.yml
1463
1458
  - spec/dummy/config/environment.rb
1464
1459
  - spec/dummy/config/environments/development.rb
1465
1460
  - spec/dummy/config/environments/production.rb
1466
1461
  - spec/dummy/config/environments/test.rb
1467
1462
  - spec/dummy/config/initializers/backtrace_silencers.rb
1468
- - spec/dummy/config/initializers/configatron.rb
1469
1463
  - spec/dummy/config/initializers/devise.rb
1470
1464
  - spec/dummy/config/initializers/inflections.rb
1471
1465
  - spec/dummy/config/initializers/kaminari_config.rb
@@ -1478,6 +1472,7 @@ test_files:
1478
1472
  - spec/dummy/config/locales/ja.yml
1479
1473
  - spec/dummy/config/routes.rb
1480
1474
  - spec/dummy/config.ru
1475
+ - spec/dummy/db/development.sqlite3
1481
1476
  - spec/dummy/db/migrate/032_create_checkins.rb
1482
1477
  - spec/dummy/db/migrate/033_create_checkouts.rb
1483
1478
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1548,6 +1543,7 @@ test_files:
1548
1543
  - spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
1549
1544
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
1550
1545
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
1546
+ - spec/dummy/db/production.sqlite3
1551
1547
  - spec/dummy/db/schema.rb
1552
1548
  - spec/dummy/db/test.sqlite3
1553
1549
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1597,7 +1593,7 @@ test_files:
1597
1593
  - spec/dummy/solr/conf/stopwords.txt
1598
1594
  - spec/dummy/solr/conf/synonyms.txt
1599
1595
  - spec/dummy/solr/data/test/index/segments.gen
1600
- - spec/dummy/solr/data/test/index/segments_5hq
1596
+ - spec/dummy/solr/data/test/index/segments_5px
1601
1597
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1602
1598
  - spec/dummy/solr/data/test/spellchecker/segments_1
1603
1599
  - spec/dummy/tmp/cache/4F7/F90/default_role
@@ -1,28 +0,0 @@
1
- # Put all your default configatron settings here.
2
-
3
- # Example:
4
- # configatron.emails.welcome.subject = 'Welcome!'
5
- # configatron.emails.sales_reciept.subject = 'Thanks for your order'
6
- #
7
- # configatron.file.storage = :s3
8
-
9
- configatron.enju.web_hostname = 'localhost'
10
- configatron.enju.web_port_number = 3000
11
-
12
- # パトロンの名前を入力する際、姓を先に表示する
13
- configatron.family_name_first = true
14
-
15
- configatron.max_number_of_results = 500
16
- configatron.write_search_log_to_file = true
17
- configatron.csv_charset_conversion = true
18
-
19
- # Choose a locale from 'ca', 'de', 'fr', 'jp', 'uk', 'us'
20
- #AMAZON_AWS_HOSTNAME = 'ecs.amazonaws.com'
21
- configatron.amazon.aws_hostname = 'ecs.amazonaws.jp'
22
- configatron.amazon.hostname = 'www.amazon.co.jp'
23
-
24
- # :google, :amazon
25
- configatron.book_jacket.source = :google
26
-
27
- # :mozshot, :simpleapi, :heartrails, :thumbalizr
28
- configatron.screenshot.generator = :mozshot
@@ -1,4 +0,0 @@
1
- # Override your default settings for the Development environment here.
2
- #
3
- # Example:
4
- # configatron.file.storage = :local
@@ -1,12 +0,0 @@
1
- # Override your default settings for the Production environment here.
2
- #
3
- # Example:
4
- # configatron.uploaded_file.storage = :s3
5
-
6
- #configatron.uploaded_file.storage = :s3
7
-
8
- configatron.amazon.access_key = 'REPLACE_WITH_YOUR_AMAZON_ACCESS_KEY'
9
- configatron.amazon.secret_access_key = 'REPLACE_WITH_YOUR_AMAZON_SECRET_ACCESS_KEY'
10
-
11
- #configatron.google.google_maps_api_key = 'REPLACE_WITH_YOUR_GOOGLE_MAPS_API_KEY'
12
- #configatron.thumbalizr.api_key = 'REPLACE_WITH_YOUR_THUMBALIZR_API_KEY'
@@ -1,12 +0,0 @@
1
- # Override your default settings for the Production environment here.
2
- #
3
- # Example:
4
- # configatron.uploaded_file.storage = :s3
5
-
6
- #configatron.uploaded_file.storage = :s3
7
-
8
- configatron.amazon.access_key = 'REPLACE_WITH_YOUR_AMAZON_ACCESS_KEY'
9
- configatron.amazon.secret_access_key = 'REPLACE_WITH_YOUR_AMAZON_SECRET_ACCESS_KEY'
10
-
11
- #configatron.google.google_maps_api_key = 'REPLACE_WITH_YOUR_GOOGLE_MAPS_API_KEY'
12
- #configatron.thumbalizr.api_key = 'REPLACE_WITH_YOUR_THUMBALIZR_API_KEY'
@@ -1,7 +0,0 @@
1
- # Override your default settings for the Test environment here.
2
- #
3
- # Example:
4
- # configatron.file.storage = :local
5
-
6
- configatron.amazon.access_key = 'REPLACE_WITH_YOUR_AMAZON_ACCESS_KEY'
7
- configatron.amazon.secret_access_key = 'REPLACE_WITH_YOUR_AMAZON_SECRET_ACCESS_KEY'
@@ -1,2 +0,0 @@
1
- require 'configatron'
2
- Configatron::Rails.init