enju_biblio 0.2.1 → 0.2.2

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: a1eb140bfb7d033553767e30d96b21f1e5676b96
4
- data.tar.gz: 64e7b0582b80a5f10a62f60cb02ac85b0cf1f421
3
+ metadata.gz: ca4c6d65c4e426650c735e188baa841f14ce6691
4
+ data.tar.gz: dec44e59e0972500c61f3cacc77ee3777742bd55
5
5
  SHA512:
6
- metadata.gz: 1ab614207670a2737639e68137b6759a5338b6679352f948b2dd0885e199dca4daea3d8eb99c4e1540cd0554fcf2e96f973a2930f2963178da725d7adbd9a9fa
7
- data.tar.gz: 9153e48531157e6d7e6f787829fc74d127a5dda1d9edb6bbb6dd6dc8b0c452cc6038ea0d4f063541a8a7cc1778893c404a51335c9bc1638f78b08ace98b5b15c
6
+ metadata.gz: 04cd75b74dbff4d2f30776c6ab5c2f75342b87baf29704d97ae347abf19b4dbd6c6f34183a14d1fa7b0458176c68b0f370a7ea327554f761df2aedc520637fc3
7
+ data.tar.gz: a3e96b5f2818e935a71f019171e29b62d473ac7b4dfe40209f2ad24157c567223d691e8d5bbf424dfb079954c5a6b957a37bc46bf0c95576dfad157b885ac729
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -4,7 +4,7 @@ def update_carrier_type
4
4
  when "volume"
5
5
  carrier_type = CarrierType.find_by(name: 'volume')
6
6
  if carrier_type
7
- unless carrier_type.attachment
7
+ unless carrier_type.attachment_file_name
8
8
  carrier_type.attachment = File.open("#{File.dirname(__FILE__)}/../../app/assets/images/icons/book.png")
9
9
  carrier_type.save!
10
10
  end
@@ -12,7 +12,7 @@ def update_carrier_type
12
12
  when "audio_disc"
13
13
  carrier_type = CarrierType.find_by(name: 'audio_disc')
14
14
  if carrier_type
15
- unless carrier_type.attachment
15
+ unless carrier_type.attachment_file_name
16
16
  carrier_type.attachment = File.open("#{File.dirname(__FILE__)}/../../app/assets/images/icons/cd.png")
17
17
  carrier_type.save!
18
18
  end
@@ -20,7 +20,7 @@ def update_carrier_type
20
20
  when "videodisc"
21
21
  carrier_type = CarrierType.find_by(name: 'videodisc')
22
22
  if carrier_type
23
- unless carrier_type.attachment
23
+ unless carrier_type.attachment_file_name
24
24
  carrier_type.attachment = File.open("#{File.dirname(__FILE__)}/../../app/assets/images/icons/dvd.png")
25
25
  carrier_type.save!
26
26
  end
@@ -28,7 +28,7 @@ def update_carrier_type
28
28
  when "online_resource"
29
29
  carrier_type = CarrierType.find_by(name: 'online_resource')
30
30
  if carrier_type
31
- unless carrier_type.attachment
31
+ unless carrier_type.attachment_file_name
32
32
  carrier_type.attachment = File.open("#{File.dirname(__FILE__)}/../../app/assets/images/icons/monitor.png")
33
33
  carrier_type.save!
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.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: 2017-05-01 00:00:00.000000000 Z
11
+ date: 2017-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_library
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0
19
+ version: 0.2.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: 0.2.0
26
+ version: 0.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: marc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,42 +114,42 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.2.0
117
+ version: 1.2.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.2.0
124
+ version: 1.2.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: enju_manifestation_viewer
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.2.0
131
+ version: 0.2.1
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
138
+ version: 0.2.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: enju_subject
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.2.0
145
+ version: 0.2.1
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: 0.2.0
152
+ version: 0.2.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: enju_inventory
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.2.0
187
+ version: 0.2.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.2.0
194
+ version: 0.2.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: enju_circulation
197
197
  requirement: !ruby/object:Gem::Requirement