enju_leaf 1.3.4.rc.1 → 1.3.4.rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cf5da7527e2fdb69232a4d00c9c184b22e618da593e39d2f6ff2b4b90c4c335
4
- data.tar.gz: 190ae6fd55bace81e2f7e5377db4cdbb45c7f92323424352ff57777d795f3be3
3
+ metadata.gz: 4f92663aa152854679803aa42abfa2a3ee150236f420a395607c01c6e1836137
4
+ data.tar.gz: 4ba4507ddc605db6c99414237c3eff728a3d5891d5bf60f98775c9a5b32319bd
5
5
  SHA512:
6
- metadata.gz: 46d4593b640621f95347a407a793a30cf711582ac75e52706a59f332edab2b68c01d7c35901f2ad032caea2571ed04bfd997ccbd18e0bf4e2d048039fe6dd662
7
- data.tar.gz: 4d81f71444e15fddaec50ce28a66a934810197ff18626d2cb707c5aaf35c0ee0e0494d4c7f04e5958f394c70c45d5d7862d7882c17744284e17b6e135da149d3
6
+ metadata.gz: 25378ba7d4a9d6cb9f2078b71412bfb874737cccc0640fca0dee2ac0107e3e98ef51a8876bb8255ca664cba623caee2d49791323907cea1e6cb86467b9357ca6
7
+ data.tar.gz: 133f1122194c991fd9f2c0c17563fd6093f242558a924b05493291d3931e6bc4a9abdedd922536196b50f172fe5998fb46f7342b6fffb252c8f3cdc2d134ec96
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Next-L Enju Leaf
2
2
  [![Travis CI](https://travis-ci.com/next-l/enju_leaf.svg?branch=1.3)](https://travis-ci.com/next-l/enju_leaf)
3
- [![Coverage Status](https://coveralls.io/repos/github/next-l/enju_biblio/badge.svg?branch=1.3)](https://coveralls.io/github/next-l/enju_biblio?branch=1.3)
4
- [![security](https://hakiri.io/github/next-l/enju_biblio/1.3.svg)](https://hakiri.io/github/next-l/enju_biblio/1.3)
3
+ [![Coverage Status](https://coveralls.io/repos/github/next-l/enju_leaf/badge.svg?branch=1.3)](https://coveralls.io/github/next-l/enju_leaf?branch=1.3)
4
+ [![security](https://hakiri.io/github/next-l/enju_leaf/1.3.svg)](https://hakiri.io/github/next-l/enju_leaf/1.3)
5
5
 
6
6
  Next-L Enju Leaf は、[Project Next-L](https://www.next-l.jp) で開発している図書館管理システムです。
7
7
 
@@ -1,4 +1,4 @@
1
1
  //= require rails-ujs
2
- //= require jquery
2
+ //= require jquery2
3
3
  //= require jquery.mobile-1.4.5
4
4
  //= require jquery.colorbox
@@ -20,17 +20,17 @@
20
20
  <li>This system depends on the following sofrare.
21
21
  <ul>
22
22
  <li>
23
- <a href="http://www.ruby-lang.org/">Ruby</a>,
24
- <a href="http://www.rubyonrails.org/">Ruby on Rails</a>,
23
+ <a href="https://www.ruby-lang.org/">Ruby</a>,
24
+ <a href="https://www.rubyonrails.org/">Ruby on Rails</a>,
25
25
  <%= database_adapter -%>,
26
- <a href="http://lucene.apache.org/solr/">Apache Solr</a>
26
+ <a href="https://lucene.apache.org/solr/">Apache Solr</a>
27
27
  </li>
28
28
  </ul>
29
29
  </li>
30
30
  <li>This system has been using bibliographic data from the following services and databases.
31
31
  <ul>
32
- <li><a href="http://iss.ndl.go.jp/">NDL Search</a></li>
33
- <li><a href="http://crd.ndl.go.jp/jp/public/">National Diet Library Collaborative Reference Database</a></li>
32
+ <li><a href="https://iss.ndl.go.jp/">NDL Search</a></li>
33
+ <li><a href="https://crd.ndl.go.jp/jp/public/">National Diet Library Collaborative Reference Database</a></li>
34
34
  </ul>
35
35
  </li>
36
36
  <li>This system has been using book jacket images from the following service.
@@ -51,8 +51,8 @@
51
51
 
52
52
  <div id="submenu" class="ui-corner-all ui-widget-content">
53
53
  <ul>
54
- <li><a href="http://www.next-l.jp/">Project Next-L</a></li>
54
+ <li><a href="https://www.next-l.jp/">Project Next-L</a></li>
55
55
  <li><a href="https://github.com/next-l/enju_leaf">this project on GitHub</a></li>
56
- <li><a href="http://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">Mailing list</a> (in Japanese)</li>
56
+ <li><a href="https://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">Mailing list</a> (in Japanese)</li>
57
57
  </ul>
58
58
  </div>
@@ -19,17 +19,17 @@
19
19
  <li>このシステムは、以下のソフトウェアを利用しています。
20
20
  <ul>
21
21
  <li>
22
- <a href="http://www.ruby-lang.org/">Ruby</a>,
23
- <a href="http://www.rubyonrails.org/">Ruby on Rails</a>,
22
+ <a href="https://www.ruby-lang.org/">Ruby</a>,
23
+ <a href="https://www.rubyonrails.org/">Ruby on Rails</a>,
24
24
  <%= database_adapter -%>,
25
- <a href="http://lucene.apache.org/solr/">Apache Solr</a>
25
+ <a href="https://lucene.apache.org/solr/">Apache Solr</a>
26
26
  </li>
27
27
  </ul>
28
28
  </li>
29
29
  <li>このシステムは、以下のサービスやデータベースから得た書誌データを利用しています。
30
30
  <ul>
31
- <li><a href="http://iss.ndl.go.jp/">国立国会図書館サーチ (NDLサーチ)</a></li>
32
- <li><a href="http://crd.ndl.go.jp/jp/public/">国立国会図書館レファレンス協同データベース</a></li>
31
+ <li><a href="https://iss.ndl.go.jp/">国立国会図書館サーチ (NDLサーチ)</a></li>
32
+ <li><a href="https://crd.ndl.go.jp/jp/public/">国立国会図書館レファレンス協同データベース</a></li>
33
33
  </ul>
34
34
  </li>
35
35
  <li>このシステムは、以下のサービスから得た書影を利用しています。
@@ -50,8 +50,8 @@
50
50
 
51
51
  <div id="submenu" class="ui-corner-all ui-widget-content">
52
52
  <ul>
53
- <li><a href="http://www.next-l.jp/">Project Next-L</a></li>
53
+ <li><a href="https://www.next-l.jp/">Project Next-L</a></li>
54
54
  <li><a href="https://github.com/next-l/enju_leaf">GitHubでのプロジェクトのページ</a></li>
55
- <li><a href="http://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">メーリングリスト</a></li>
55
+ <li><a href="https://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">メーリングリスト</a></li>
56
56
  </ul>
57
57
  </div>
@@ -125,6 +125,8 @@
125
125
  <li><%= link_to t('activerecord.models.realize_type'), realize_types_path -%></li>
126
126
  <li><%= link_to t('activerecord.models.produce_type'), produce_types_path -%></li>
127
127
  -->
128
+ <li><%= link_to t('activerecord.models.manifestation_custom_property'), manifestation_custom_properties_path -%></li>
129
+ <li><%= link_to t('activerecord.models.item_custom_property'), item_custom_properties_path -%></li>
128
130
  </ul>
129
131
  </div>
130
132
  </div>
@@ -1,3 +1,3 @@
1
1
  module EnjuLeaf
2
- VERSION = "1.3.4.rc.1".freeze
2
+ VERSION = "1.3.4.rc.2".freeze
3
3
  end
@@ -11,9 +11,10 @@ class EnjuLeaf::SetupGenerator < Rails::Generators::Base
11
11
  <<"EOS"
12
12
  config.i18n.available_locales = [:en, :ja]
13
13
  config.i18n.enforce_available_locales = true
14
- config.active_job.queue_adapter = :resque
15
14
  config.i18n.default_locale = :ja
15
+ config.i18n.fallbacks = [I18n.default_locale]
16
16
  config.time_zone = 'Tokyo'
17
+ config.active_job.queue_adapter = :resque
17
18
  EOS
18
19
  end
19
20
  gsub_file 'config/schedule.rb', /\/path\/to\/enju_leaf/, Rails.root.to_s
@@ -101,9 +102,16 @@ EOS
101
102
  gsub_file 'config/environments/production.rb',
102
103
  /config.serve_static_assets = false$/,
103
104
  "config.serve_static_assets = true"
104
- gsub_file 'config/environments/production.rb',
105
- /# config.cache_store = :mem_cache_store$/,
106
- "config.cache_store = :redis_store, ENV['REDIS_URL'], { expires_in: 1.day }"
105
+ if Rails::VERSION::STRING =~ /^5\.1/
106
+ gsub_file 'config/environments/production.rb',
107
+ /# config.cache_store = :mem_cache_store$/,
108
+ "config.cache_store = :redis_store, ENV['REDIS_URL'], { expires_in: 1.day }"
109
+ else
110
+ gsub_file 'config/environments/production.rb',
111
+ /# config.cache_store = :mem_cache_store$/,
112
+ "config.cache_store = :redis_cache_store, { url: ENV['REDIS_URL'], expires_in: 1.day }"
113
+ end
114
+
107
115
  gsub_file 'config/environments/production.rb',
108
116
  /# config.assets.precompile \+= %w\( search.js \)$/,
109
117
  "config.assets.precompile += %w( mobile.js mobile.css print.css )"
@@ -1,3 +1,3 @@
1
1
  solr: bundle exec rake sunspot:solr:run
2
2
  resque: bundle exec rake environment resque:work QUEUE=enju_leaf,mailers TERM_CHILD=1
3
- web: bundle exec rails s
3
+ web: bundle exec rails s -p 3000
@@ -31,6 +31,10 @@ profile.save!
31
31
  system_user.profile = profile
32
32
  system_user.save!
33
33
  LibraryGroup.first.update!(user: system_user)
34
+ UserGroup.order(created_at: :desc).first.update!(
35
+ number_of_day_to_notify_overdue: 7,
36
+ number_of_day_to_notify_due_date: 3
37
+ )
34
38
 
35
39
  user = User.new
36
40
  user.username = username
@@ -4,7 +4,7 @@ describe "page/configuration" do
4
4
  fixtures :all
5
5
 
6
6
  before(:each) do
7
- view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
7
+ view.stub(:current_user).and_return(User.find_by(username: 'enjuadmin'))
8
8
  end
9
9
 
10
10
  it "renders attributes in <p>" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_leaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4.rc.1
4
+ version: 1.3.4.rc.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-31 00:00:00.000000000 Z
11
+ date: 2020-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.7
33
+ version: 0.3.8.rc.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.7
40
+ version: 0.3.8.rc.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: enju_biblio
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.8
47
+ version: 0.3.10.rc.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.8
54
+ version: 0.3.10.rc.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jquery-ui-rails
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '3.8'
145
+ version: '4.0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '3.8'
152
+ version: '4.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: vcr
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '5.0'
159
+ version: '5.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '5.0'
166
+ version: '5.1'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -252,16 +252,16 @@ dependencies:
252
252
  name: coveralls
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - ">="
255
+ - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: '0'
257
+ version: 0.8.23
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - ">="
262
+ - - "~>"
263
263
  - !ruby/object:Gem::Version
264
- version: '0'
264
+ version: 0.8.23
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: selenium-webdriver
267
267
  requirement: !ruby/object:Gem::Requirement
@@ -749,8 +749,6 @@ files:
749
749
  - spec/dummy/public/404.html
750
750
  - spec/dummy/public/422.html
751
751
  - spec/dummy/public/500.html
752
- - spec/dummy/public/apple-touch-icon-precomposed.png
753
- - spec/dummy/public/apple-touch-icon.png
754
752
  - spec/dummy/public/favicon.ico
755
753
  - spec/factories/agent.rb
756
754
  - spec/factories/agent_relationship.rb
@@ -904,10 +902,8 @@ test_files:
904
902
  - spec/dummy/Rakefile
905
903
  - spec/dummy/public/favicon.ico
906
904
  - spec/dummy/public/422.html
907
- - spec/dummy/public/apple-touch-icon.png
908
905
  - spec/dummy/public/500.html
909
906
  - spec/dummy/public/404.html
910
- - spec/dummy/public/apple-touch-icon-precomposed.png
911
907
  - spec/dummy/db/schema.rb
912
908
  - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
913
909
  - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
File without changes
File without changes