enju_book_jacket 0.1.0.pre5 → 0.1.0.pre6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d26369023f7161a226fa9aea694b89c589743f31
4
+ data.tar.gz: 9cf2bff2bf775e350d49b929a4df9376d897824d
5
+ SHA512:
6
+ metadata.gz: 785609babef31bf23f2fe9b7413977c3e58662edef078bb59b37cdfff678201c6fc5d7151ed7dc8f9eac9452fb9cbabfd1c6b89ca19a457324456230e1aa7fe9
7
+ data.tar.gz: cb602bdb78670546ee024daf3e20d8e06024f22f4e0b071dad4b5b37dffb6378ee4fba1e9b423658af03aa4cf25cc85449fe52f087e9f11eb23be470123ad35b
@@ -27,10 +27,14 @@
27
27
  <% if Setting.book_jacket.unknown_resource.blank? %>
28
28
  var link = '<%= image_tag("unknown_resource.png", :size => "150x150", :alt => "*") %>';
29
29
  <% else %>
30
- var link = '<%= Setting.book_jacket.unknown_resource %>'
30
+ var link = '<%= Setting.book_jacket.unknown_resource %>';
31
31
  <% end %>
32
32
  }
33
- document.getElementById('gbsthumbnail').innerHTML = link;
33
+
34
+ var thumb_element = document.getElementById('gbsthumbnail');
35
+ if (thumb_element) {
36
+ thumb_element.innerHTML = link;
37
+ }
34
38
  });
35
39
  }
36
40
  </script>
@@ -1,3 +1,3 @@
1
1
  module EnjuBookJacket
2
- VERSION = "0.1.0.pre5"
2
+ VERSION = "0.1.0.pre6"
3
3
  end
Binary file
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_book_jacket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre5
5
- prerelease: 6
4
+ version: 0.1.0.pre6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kosuke Tanabe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-24 00:00:00.000000000 Z
11
+ date: 2013-02-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,65 +27,57 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec-rails
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: enju_biblio
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
69
- version: 0.1.0.pre16
61
+ version: 0.1.0.pre19
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
77
- version: 0.1.0.pre16
68
+ version: 0.1.0.pre19
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: vcr
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: Display book jackets on Next-L Enju
@@ -226,30 +215,26 @@ files:
226
215
  - spec/spec_helper.rb
227
216
  homepage: https://github.com/next-l/enju_book_jacket
228
217
  licenses: []
218
+ metadata: {}
229
219
  post_install_message:
230
220
  rdoc_options: []
231
221
  require_paths:
232
222
  - lib
233
223
  required_ruby_version: !ruby/object:Gem::Requirement
234
- none: false
235
224
  requirements:
236
- - - ! '>='
225
+ - - '>='
237
226
  - !ruby/object:Gem::Version
238
227
  version: '0'
239
- segments:
240
- - 0
241
- hash: -3141942546143898937
242
228
  required_rubygems_version: !ruby/object:Gem::Requirement
243
- none: false
244
229
  requirements:
245
- - - ! '>'
230
+ - - '>'
246
231
  - !ruby/object:Gem::Version
247
232
  version: 1.3.1
248
233
  requirements: []
249
234
  rubyforge_project:
250
- rubygems_version: 1.8.23
235
+ rubygems_version: 2.0.0
251
236
  signing_key:
252
- specification_version: 3
237
+ specification_version: 4
253
238
  summary: enju_book_jacket plugin
254
239
  test_files:
255
240
  - spec/dummy/app/assets/javascripts/application.js