enju_leaf 1.2.0.beta.2 → 1.2.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/layouts/application.html.erb +1 -1
  3. data/app/views/page/configuration.html.erb +6 -2
  4. data/app/views/page/import.html.erb +3 -1
  5. data/lib/enju_leaf.rb +0 -3
  6. data/lib/enju_leaf/version.rb +1 -1
  7. data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +3 -0
  8. data/lib/generators/enju_leaf/setup/setup_generator.rb +3 -5
  9. data/lib/tasks/enju_leaf_tasks.rake +3 -6
  10. data/spec/dummy/app/models/user.rb +1 -3
  11. data/spec/dummy/config/application.rb +4 -2
  12. data/spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb +5 -0
  13. data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +5 -0
  14. data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +5 -0
  15. data/spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb +5 -0
  16. data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +5 -0
  17. data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +5 -0
  18. data/spec/dummy/db/schema.rb +14 -6
  19. data/spec/fixtures/library_groups.yml +1 -2
  20. data/spec/views/page/about.html.erb_spec.rb +2 -3
  21. data/spec/views/page/advanced_search.html.erb_spec.rb +1 -2
  22. data/spec/views/page/configuration.html.erb_spec.rb +2 -3
  23. data/spec/views/page/export.html.erb_spec.rb +2 -3
  24. data/spec/views/page/import.html.erb_spec.rb +2 -3
  25. data/spec/views/page/index.html.erb_spec.rb +1 -1
  26. data/spec/views/page/opensearch.xml.builder_spec.rb +1 -2
  27. data/spec/views/page/statistics.html.erb_spec.rb +3 -4
  28. metadata +43 -46
  29. data/app/models/concerns/calculate_stat.rb +0 -35
  30. data/app/models/concerns/enju_leaf/enju_user.rb +0 -309
  31. data/app/models/concerns/export_file.rb +0 -19
  32. data/app/models/concerns/import_file.rb +0 -89
  33. data/app/models/concerns/master_model.rb +0 -38
  34. data/lib/enju_leaf/localized_name.rb +0 -15
  35. data/lib/enju_leaf/url_validator.rb +0 -12
  36. data/lib/generators/enju_leaf/setup/templates/config/initializers/enju_leaf.rb +0 -1
  37. data/lib/generators/enju_leaf/setup/templates/config/initializers/resque.rb +0 -3
  38. data/spec/dummy/config/initializers/enju_leaf.rb +0 -2
  39. data/spec/factories/checkout.rb +0 -9
  40. data/spec/models/user_spec.rb +0 -194
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e4355899ff711bb6fc0a762a9b541940b6754b5
4
- data.tar.gz: f5d746c0756b0ffafbb767149a0d1dd216564e89
3
+ metadata.gz: fa2de232a12dad2b7547780211196d73c29cfd64
4
+ data.tar.gz: da83dca348c08b19a0c9d58682105b3bf3ef9232
5
5
  SHA512:
6
- metadata.gz: 87467540f453196ed22bee978ffbc37fb883a9456bbfe78e517decaa6c5b587061f56a3c52632456e814330b761e52397400e08dc2eed593ff070a1678bd4c08
7
- data.tar.gz: 92cb8990273542be0406a604a32eefaffba3ecbd268c66bb3500c9cf60ca6356f2d5b2ff88acb324149cf560b70b2d89de8100d226210a2342cc67058383a0cb
6
+ metadata.gz: e36a6038eba1207e92ec5327000be57aa272a70d44c4eb5b16041fc8dc591618e1fb8b1ccba901f8a3fee240273f9f17f7dab6a3bdc8a8a119871dfe34b5ebb3
7
+ data.tar.gz: 7fb4e3ec48acb3defdd384d9f2ba5ff05587e0ee41bcd8eb2ae06918e54272774bef484ba533dadf6b80e81e5ea25cb15e2ee91d9350b89df7d318e81b862311
@@ -12,7 +12,7 @@
12
12
  <%= auto_discovery_link_tag(:atom, news_posts_url(format: :atom, locale: @locale), title: (t('news_post.library_group_news_post', library_group_name: @library_group.display_name.localize) + " (Atom)")) %>
13
13
  <% end %>
14
14
  <% end %>
15
- <%= book_jacket_header(@library_group.settings[:book_jacket_source]) %>
15
+ <%= book_jacket_header(@library_group.book_jacket_source) %>
16
16
  <% if controller.controller_name == 'page' %>
17
17
  <%= render 'page/portlets' %>
18
18
  <% end %>
@@ -7,7 +7,9 @@
7
7
  <li><%= link_to t('activerecord.models.library'), libraries_path -%>
8
8
  <ul>
9
9
  <li><%= link_to t('activerecord.models.shelf'), shelves_path -%></li>
10
- <li><%= link_to t('activerecord.models.event'), events_path -%></li>
10
+ <% if defined?(EnjuEvent) %>
11
+ <li><%= link_to t('activerecord.models.event'), events_path -%></li>
12
+ <% end %>
11
13
  </ul>
12
14
  </li>
13
15
  <li><%= link_to t('activerecord.models.user_group'), user_groups_path -%></li>
@@ -132,7 +134,9 @@
132
134
  <div class="config_box">
133
135
  <ul>
134
136
  <% if current_user.has_role?('Administrator') %>
135
- <li><%= link_to 'Resque', resque_path %></li>
137
+ <% if defined?(Resque::Server) %>
138
+ <li><%= link_to 'Resque', resque_path %></li>
139
+ <% end %>
136
140
  <li><%= link_to t('page.system_information'), page_system_information_path %></li>
137
141
  <% end %>
138
142
  </ul>
@@ -5,7 +5,9 @@
5
5
  <ul>
6
6
  <li><%= link_to t('activerecord.models.user'), user_import_files_path -%>
7
7
  <li><%= link_to t('page.manifestation_and_item'), resource_import_files_path -%></li>
8
- <li><%= link_to t('activerecord.models.event'), event_import_files_path -%></li>
8
+ <% if defined?(EnjuEvent) %>
9
+ <li><%= link_to t('activerecord.models.event'), event_import_files_path -%></li>
10
+ <% end %>
9
11
  <!--
10
12
  <li><%= link_to t('activerecord.models.agent'), agent_import_files_path -%></li>
11
13
  -->
@@ -1,9 +1,6 @@
1
1
  require "enju_leaf/engine"
2
2
  require "enju_leaf/version"
3
3
  require "enju_leaf/helper"
4
- require "enju_leaf/localized_name"
5
- require "enju_leaf/url_validator"
6
-
7
4
  require 'csv'
8
5
  require 'rss'
9
6
  require 'nkf'
@@ -1,3 +1,3 @@
1
1
  module EnjuLeaf
2
- VERSION = "1.2.0.beta.2"
2
+ VERSION = "1.2.0.beta.3"
3
3
  end
@@ -8,6 +8,7 @@ class EnjuLeaf::QuickInstallGenerator < Rails::Generators::Base
8
8
  rake("enju_seed_engine:install:migrations")
9
9
  rake("enju_library_engine:install:migrations")
10
10
  rake("enju_biblio_engine:install:migrations")
11
+ rake("enju_manifestation_viewer_engine:install:migrations")
11
12
  if !ENV['ENJU_SKIP_CONFIG']
12
13
  generate("enju_library:setup")
13
14
  generate("enju_biblio:setup")
@@ -30,5 +31,7 @@ class EnjuLeaf::QuickInstallGenerator < Rails::Generators::Base
30
31
  rake("sunspot:solr:stop", env: environment)
31
32
  end
32
33
  end
34
+
35
+ rake("enju_library:upgrade")
33
36
  end
34
37
  end
@@ -7,8 +7,6 @@ class EnjuLeaf::SetupGenerator < Rails::Generators::Base
7
7
  directory("solr", "example/solr")
8
8
  copy_file("Procfile", "Procfile")
9
9
  copy_file("config/schedule.rb", "config/schedule.rb")
10
- copy_file("config/initializers/enju_leaf.rb", "config/initializers/enju_leaf.rb")
11
- copy_file("config/initializers/resque.rb", "config/initializers/resque.rb")
12
10
  append_to_file("config/initializers/assets.rb", "Rails.application.config.assets.precompile += %w( *.png )")
13
11
  inject_into_file 'config/application.rb', after: /# config.i18n.default_locale = :de$\n/ do
14
12
  <<"EOS"
@@ -23,7 +21,6 @@ EOS
23
21
  "config.time_zone = 'Tokyo'"
24
22
  gsub_file 'config/schedule.rb', /\/path\/to\/enju_leaf/, Rails.root.to_s
25
23
  append_to_file("Rakefile", "require 'resque/tasks'\n")
26
- append_to_file("Rakefile", "require 'resque/scheduler/tasks'")
27
24
  append_to_file("db/seeds.rb", File.open(File.expand_path('../templates', __FILE__) + '/db/seeds.rb').read)
28
25
  application(nil, env: "development") do
29
26
  "config.action_mailer.default_url_options = {host: 'localhost:3000'}\n"
@@ -40,7 +37,7 @@ EOS
40
37
  gsub_file 'app/models/user.rb', /, :trackable, :validatable$/, <<EOS
41
38
  , :trackable, #:validatable,
42
39
  :lockable, :lock_strategy => :none, :unlock_strategy => :none
43
- include EnjuLeaf::EnjuUser
40
+ include EnjuSeed::EnjuUser
44
41
  EOS
45
42
  generate("sunspot_rails:install")
46
43
  generate("kaminari:config")
@@ -70,10 +67,11 @@ EOS
70
67
 
71
68
  inject_into_class "app/controllers/application_controller.rb", ApplicationController do
72
69
  <<"EOS"
73
- include EnjuBiblio::Controller
74
70
  include EnjuLibrary::Controller
71
+ include EnjuBiblio::Controller
75
72
 
76
73
  include Pundit
74
+ before_action :set_paper_trail_whodunnit
77
75
  after_action :verify_authorized, unless: :devise_controller?
78
76
  EOS
79
77
  end
@@ -21,14 +21,11 @@ namespace :enju_leaf do
21
21
 
22
22
  desc "upgrade enju_leaf"
23
23
  task :upgrade => :environment do
24
- Rake::Task['enju_biblio:upgrade'].invoke
25
- Rake::Task['enju_circulation:upgrade'].invoke
26
24
  Rake::Task['enju_library:upgrade'].invoke
25
+ Rake::Task['enju_biblio:upgrade'].invoke
26
+ Rake::Task['enju_event:upgrade'].invoke
27
27
  Rake::Task['enju_message:upgrade'].invoke
28
- Rake::Task['enju_subject:upgrade'].invoke
29
- Profile.transaction do
30
- update_profile
31
- end
28
+ Rake::Task['enju_circulation:upgrade'].invoke
32
29
  puts 'enju_leaf: The upgrade completed successfully.'
33
30
  end
34
31
 
@@ -3,7 +3,5 @@ class User < ActiveRecord::Base
3
3
  :recoverable, :rememberable, :trackable, #, :validatable
4
4
  :lockable, :lock_strategy => :none, :unlock_strategy => :none
5
5
 
6
- include EnjuLeaf::EnjuUser
7
- include EnjuMessage::EnjuUser
8
- include EnjuCirculation::EnjuUser
6
+ include EnjuSeed::EnjuUser
9
7
  end
@@ -4,9 +4,11 @@ require 'rails/all'
4
4
 
5
5
  Bundler.require
6
6
  require 'enju_leaf'
7
- require 'resque/server'
7
+ require 'enju_library'
8
8
  require 'enju_manifestation_viewer'
9
- require 'enju_circulation'
9
+ require 'globalize'
10
+ require 'globalize-accessors'
11
+ require 'resque/server'
10
12
 
11
13
  module Dummy
12
14
  class Application < Rails::Application
@@ -0,0 +1,5 @@
1
+ class AddBookJacketSourceToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :book_jacket_source, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddMaxNumberOfResultsToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :max_number_of_results, :integer, default: 500
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddFamilyNameFirstToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :family_name_first, :boolean, default: true
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddScreenshotGeneratorToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :screenshot_generator, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddPubYearFacetRangeIntervalToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_column :library_groups, :pub_year_facet_range_interval, :integer, default: 10
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddUserIdToLibraryGroup < ActiveRecord::Migration
2
+ def change
3
+ add_reference :library_groups, :user, index: true, foreign_key: true
4
+ end
5
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160703190209) do
14
+ ActiveRecord::Schema.define(version: 20160813203039) do
15
15
 
16
16
  create_table "accepts", force: :cascade do |t|
17
17
  t.integer "basket_id"
@@ -691,9 +691,9 @@ ActiveRecord::Schema.define(version: 20160703190209) do
691
691
  add_index "library_group_translations", ["locale"], name: "index_library_group_translations_on_locale"
692
692
 
693
693
  create_table "library_groups", force: :cascade do |t|
694
- t.string "name", null: false
694
+ t.string "name", null: false
695
695
  t.text "display_name"
696
- t.string "short_name", null: false
696
+ t.string "short_name", null: false
697
697
  t.text "my_networks"
698
698
  t.text "login_banner"
699
699
  t.text "note"
@@ -702,13 +702,20 @@ ActiveRecord::Schema.define(version: 20160703190209) do
702
702
  t.datetime "created_at"
703
703
  t.datetime "updated_at"
704
704
  t.text "admin_networks"
705
- t.boolean "allow_bookmark_external_url", default: false, null: false
706
- t.string "url", default: "http://localhost:3000/"
705
+ t.boolean "allow_bookmark_external_url", default: false, null: false
706
+ t.string "url", default: "http://localhost:3000/"
707
707
  t.text "settings"
708
708
  t.text "html_snippet"
709
+ t.string "book_jacket_source"
710
+ t.integer "max_number_of_results", default: 500
711
+ t.boolean "family_name_first", default: true
712
+ t.string "screenshot_generator"
713
+ t.integer "pub_year_facet_range_interval", default: 10
714
+ t.integer "user_id"
709
715
  end
710
716
 
711
717
  add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
718
+ add_index "library_groups", ["user_id"], name: "index_library_groups_on_user_id"
712
719
 
713
720
  create_table "licenses", force: :cascade do |t|
714
721
  t.string "name", null: false
@@ -907,11 +914,12 @@ ActiveRecord::Schema.define(version: 20160703190209) do
907
914
 
908
915
  create_table "message_transitions", force: :cascade do |t|
909
916
  t.string "to_state"
910
- t.text "metadata", default: "{}"
917
+ t.text "metadata", default: "{}"
911
918
  t.integer "sort_key"
912
919
  t.integer "message_id"
913
920
  t.datetime "created_at"
914
921
  t.datetime "updated_at"
922
+ t.boolean "most_recent"
915
923
  end
916
924
 
917
925
  add_index "message_transitions", ["message_id"], name: "index_message_transitions_on_message_id"
@@ -12,8 +12,7 @@ one:
12
12
  login_banner: "*Next-L Enju*"
13
13
  admin_networks: "0.0.0.0/0\r\n\
14
14
  ::/0"
15
- settings:
16
- "{\"max_number_of_results\":200,\"family_name_first\":true,\"book_jacket_source\":\"google\",\"screenshot_generator\":\"mozshot\"}"
15
+ user_id: 1
17
16
 
18
17
  # == Schema Information
19
18
  #
@@ -1,11 +1,10 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/about" do
5
4
  fixtures :all
6
5
 
7
6
  before(:each) do
8
- view.stub(:current_user).and_return(User.find('enjuadmin'))
7
+ view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
9
8
  end
10
9
 
11
10
  it "renders attributes in <p>" do
@@ -1,5 +1,4 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/advanced_search" do
5
4
  fixtures :all
@@ -1,16 +1,15 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require 'rails_helper'
3
2
 
4
3
  describe "page/configuration" do
5
4
  fixtures :all
6
5
 
7
6
  before(:each) do
8
- view.stub(:current_user).and_return(User.find('enjuadmin'))
7
+ view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
9
8
  end
10
9
 
11
10
  it "renders attributes in <p>" do
12
11
  render
13
12
  # Run the generator again with the --webrat flag if you want to use webrat matchers
14
- rendered.should match(/Checkout/)
13
+ rendered.should match(/System configuration/)
15
14
  end
16
15
  end
@@ -1,11 +1,10 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/export" do
5
4
  fixtures :all
6
5
 
7
6
  before(:each) do
8
- view.stub(:current_user).and_return(User.find('enjuadmin'))
7
+ view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
9
8
  end
10
9
 
11
10
  it "renders attributes in <p>" do
@@ -1,11 +1,10 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/import" do
5
4
  fixtures :all
6
5
 
7
6
  before(:each) do
8
- view.stub(:current_user).and_return(User.find('enjuadmin'))
7
+ view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
9
8
  end
10
9
 
11
10
  it "renders attributes in <p>" do
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
3
  describe "page/index" do
4
4
  fixtures :all
@@ -1,5 +1,4 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/opensearch" do
5
4
  fixtures :all
@@ -1,17 +1,16 @@
1
- # -*- encoding: utf-8 -*-
2
- require 'spec_helper'
1
+ require 'rails_helper'
3
2
 
4
3
  describe "page/statistics" do
5
4
  fixtures :all
6
5
 
7
6
  before(:each) do
8
7
  @profile = assign(:profile, profiles(:admin))
9
- view.stub(:current_user).and_return(User.find('enjuadmin'))
8
+ view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
10
9
  end
11
10
 
12
11
  it "renders attributes in <p>" do
13
12
  render
14
13
  # Run the generator again with the --webrat flag if you want to use webrat matchers
15
- rendered.should match(/Checkout/)
14
+ rendered.should match(/Statistics/)
16
15
  end
17
16
  end
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_leaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.beta.2
4
+ version: 1.2.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-12 00:00:00.000000000 Z
11
+ date: 2016-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: 4.2.7.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: 4.2.7.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: enju_library
28
+ name: enju_biblio
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.0.beta.3
41
- - !ruby/object:Gem::Dependency
42
- name: enju_biblio
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 0.2.0.beta.2
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 0.2.0.beta.2
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: jquery-ui-rails
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +58,42 @@ dependencies:
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: 0.2.0.beta.2
61
+ version: 0.2.0.beta.3
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: 0.2.0.beta.2
68
+ version: 0.2.0.beta.3
83
69
  - !ruby/object:Gem::Dependency
84
- name: enju_circulation
70
+ name: globalize
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: 0.2.0.beta.1
75
+ version: '5.0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 0.2.0.beta.1
82
+ version: '5.0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: enju_event
84
+ name: globalize-accessors
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
- - - "~>"
87
+ - - ">="
102
88
  - !ruby/object:Gem::Version
103
- version: 0.2.0.beta.1
89
+ version: '0'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - "~>"
94
+ - - ">="
109
95
  - !ruby/object:Gem::Version
110
- version: 0.2.0.beta.1
96
+ version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: sqlite3
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -304,6 +290,20 @@ dependencies:
304
290
  - - "~>"
305
291
  - !ruby/object:Gem::Version
306
292
  version: '1.26'
293
+ - !ruby/object:Gem::Dependency
294
+ name: appraisal
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
307
  description: integrated library system
308
308
  email:
309
309
  - nabeta@fastmail.fm
@@ -400,11 +400,6 @@ files:
400
400
  - app/helpers/page_helper.rb
401
401
  - app/jobs/user_export_file_job.rb
402
402
  - app/jobs/user_import_file_job.rb
403
- - app/models/concerns/calculate_stat.rb
404
- - app/models/concerns/enju_leaf/enju_user.rb
405
- - app/models/concerns/export_file.rb
406
- - app/models/concerns/import_file.rb
407
- - app/models/concerns/master_model.rb
408
403
  - app/views/devise/confirmations/new.html.erb
409
404
  - app/views/devise/mailer/confirmation_instructions.html.erb
410
405
  - app/views/devise/mailer/reset_password_instructions.html.erb
@@ -495,16 +490,12 @@ files:
495
490
  - lib/enju_leaf.rb
496
491
  - lib/enju_leaf/engine.rb
497
492
  - lib/enju_leaf/helper.rb
498
- - lib/enju_leaf/localized_name.rb
499
- - lib/enju_leaf/url_validator.rb
500
493
  - lib/enju_leaf/version.rb
501
494
  - lib/generators/enju_leaf/USAGE
502
495
  - lib/generators/enju_leaf/quick_install/USAGE
503
496
  - lib/generators/enju_leaf/quick_install/quick_install_generator.rb
504
497
  - lib/generators/enju_leaf/setup/setup_generator.rb
505
498
  - lib/generators/enju_leaf/setup/templates/Procfile
506
- - lib/generators/enju_leaf/setup/templates/config/initializers/enju_leaf.rb
507
- - lib/generators/enju_leaf/setup/templates/config/initializers/resque.rb
508
499
  - lib/generators/enju_leaf/setup/templates/config/schedule.rb
509
500
  - lib/generators/enju_leaf/setup/templates/db/fixtures/roles.yml
510
501
  - lib/generators/enju_leaf/setup/templates/db/fixtures/user_groups.yml
@@ -540,7 +531,6 @@ files:
540
531
  - spec/dummy/config/initializers/assets.rb
541
532
  - spec/dummy/config/initializers/backtrace_silencers.rb
542
533
  - spec/dummy/config/initializers/devise.rb
543
- - spec/dummy/config/initializers/enju_leaf.rb
544
534
  - spec/dummy/config/initializers/friendly_id.rb
545
535
  - spec/dummy/config/initializers/inflections.rb
546
536
  - spec/dummy/config/initializers/kaminari_config.rb
@@ -791,6 +781,12 @@ files:
791
781
  - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
792
782
  - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
793
783
  - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
784
+ - spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb
785
+ - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
786
+ - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
787
+ - spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb
788
+ - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
789
+ - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
794
790
  - spec/dummy/db/schema.rb
795
791
  - spec/dummy/public/404.html
796
792
  - spec/dummy/public/422.html
@@ -803,7 +799,6 @@ files:
803
799
  - spec/factories/basket.rb
804
800
  - spec/factories/bookstore.rb
805
801
  - spec/factories/carrier_type.rb
806
- - spec/factories/checkout.rb
807
802
  - spec/factories/content_type.rb
808
803
  - spec/factories/country.rb
809
804
  - spec/factories/create.rb
@@ -900,7 +895,6 @@ files:
900
895
  - spec/fixtures/user_groups.yml
901
896
  - spec/fixtures/user_has_roles.yml
902
897
  - spec/fixtures/users.yml
903
- - spec/models/user_spec.rb
904
898
  - spec/rails_helper.rb
905
899
  - spec/spec_helper.rb
906
900
  - spec/support/controller_macros.rb
@@ -988,7 +982,6 @@ test_files:
988
982
  - spec/dummy/config/initializers/assets.rb
989
983
  - spec/dummy/config/initializers/backtrace_silencers.rb
990
984
  - spec/dummy/config/initializers/devise.rb
991
- - spec/dummy/config/initializers/enju_leaf.rb
992
985
  - spec/dummy/config/initializers/friendly_id.rb
993
986
  - spec/dummy/config/initializers/inflections.rb
994
987
  - spec/dummy/config/initializers/kaminari_config.rb
@@ -1240,6 +1233,12 @@ test_files:
1240
1233
  - spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb
1241
1234
  - spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
1242
1235
  - spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb
1236
+ - spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb
1237
+ - spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
1238
+ - spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
1239
+ - spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb
1240
+ - spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
1241
+ - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
1243
1242
  - spec/dummy/db/schema.rb
1244
1243
  - spec/dummy/public/404.html
1245
1244
  - spec/dummy/public/422.html
@@ -1254,7 +1253,6 @@ test_files:
1254
1253
  - spec/factories/basket.rb
1255
1254
  - spec/factories/bookstore.rb
1256
1255
  - spec/factories/carrier_type.rb
1257
- - spec/factories/checkout.rb
1258
1256
  - spec/factories/content_type.rb
1259
1257
  - spec/factories/country.rb
1260
1258
  - spec/factories/create.rb
@@ -1351,7 +1349,6 @@ test_files:
1351
1349
  - spec/fixtures/user_groups.yml
1352
1350
  - spec/fixtures/user_has_roles.yml
1353
1351
  - spec/fixtures/users.yml
1354
- - spec/models/user_spec.rb
1355
1352
  - spec/rails_helper.rb
1356
1353
  - spec/spec_helper.rb
1357
1354
  - spec/support/controller_macros.rb