enju_library 0.2.0.beta.5 → 0.2.0.beta.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42a44942a2f9f6712338875e04d3620e8a26a3fe
4
- data.tar.gz: e59e12321c3e61bfac3a6a107537ca5e723fbbd3
3
+ metadata.gz: ce1d7c6637629e89eedd47160f5bdf127f2b08e5
4
+ data.tar.gz: 51b41e193b6eea1c4da8d30a39a00662fe0251a7
5
5
  SHA512:
6
- metadata.gz: 915289ec0dd9e01591da6eb837aecb80a225d5b37c39eb0890b09629a26925818978a024d3e18956714a7b6aa96c26093dfdcc2af4a1de7af846706c8c7c3b28
7
- data.tar.gz: 4d3198f69e98495ee0feb67c2f9750ce457b3b528294e59a9e5d0efb15604b88b375b7647f3f5cbe3101f52f08886b23c91cff3a680f1f6b5f2591d916daf205
6
+ metadata.gz: ce3fbbe7aeec14b779943b2c61a0b0f02e71351342564da10a43985710793a263489dac3fe6b60f1fea5c09c607847744b80f844e57b732825f5252b435e4025
7
+ data.tar.gz: 5dc50e0c7e13ac1177a04015b701fa29a016bb75bb2b7ca206e42c8f5b1744a1c5906a0ab52ae1fa8bf240c1f660ba8cd9047af9778e65b4bfa7271a54445074
@@ -219,7 +219,7 @@ module EnjuLibrary
219
219
  end
220
220
 
221
221
  def store_current_location
222
- store_location_for(:user, request.url)
222
+ store_location_for(:user, request.url) unless request.xhr?
223
223
  end
224
224
 
225
225
  def get_library_group
@@ -1,3 +1,3 @@
1
1
  module EnjuLibrary
2
- VERSION = "0.2.0.beta.5"
2
+ VERSION = "0.2.0.beta.6"
3
3
  end
@@ -19,6 +19,24 @@ namespace :enju_library do
19
19
  Rake::Task['statesman:backfill_most_recent'].invoke('UserImportFile')
20
20
  library_group = LibraryGroup.site_config
21
21
  library_group.email = User.find(1).try(:email)
22
+ login_ja = <<"EOS"
23
+ このシステムはオープンソース図書館システム Next-L Enju です。このメッセージは管理者によって変更することができます。
24
+ EOS
25
+ login_en = <<"EOS"
26
+ Next-L Enju, an open-source integrated library system. You can edit this message after logging in as Administrator.
27
+ EOS
28
+ footer_ja = <<"EOS"
29
+ [Next-L Enju Leaf 1.1.4](https://github.com/next-l/enju_leaf), オープンソース統合図書館システム
30
+ Developed by Kosuke Tanabe and [Project Next-L](http://www.next-l.jp) \| [不具合を報告する](https://github.com/next-l/enju_leaf/issues) \| [マニュアル](https://next-l.github.com/manual/)
31
+ EOS
32
+ footer_en = <<"EOS"
33
+ [Next-L Enju Leaf 1.1.4](https://github.com/next-l/enju_leaf), an open source integrated library system
34
+ Developed by Kosuke Tanabe and [Project Next-L](http://www.next-l.jp) \| [Report bugs](https://github.com/next-l/enju_leaf/issues) \| [Manual](https://next-l.github.com/manual/)
35
+ EOS
36
+ library_group.login_banner_ja = login_ja if library_group.login_banner_ja.blank?
37
+ library_group.login_banner_en = login_en if library_group.login_banner_en.blank?
38
+ library_group.footer_banner_ja = footer_ja if library_group.footer_banner_ja.blank?
39
+ library_group.footer_banner_en = footer_en if library_group.footer_banner_en.blank?
22
40
  library_group.save
23
41
  puts 'enju_library: The upgrade completed successfully.'
24
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.beta.5
4
+ version: 0.2.0.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.2.0.beta.2
131
+ version: 0.2.0.beta.3
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.2.0.beta.2
138
+ version: 0.2.0.beta.3
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: enju_manifestation_viewer
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.2.0.beta.2
173
+ version: 0.2.0.beta.3
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.2.0.beta.2
180
+ version: 0.2.0.beta.3
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: enju_circulation
183
183
  requirement: !ruby/object:Gem::Requirement