pixhibitee 0.0.2 → 0.0.3

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: 978939e9501d82f967bbd3fc52a7a268880f7dbe
4
- data.tar.gz: fe90825b907e4b839d34e16c5ab0e7ce4da3aaa4
3
+ metadata.gz: 8e8538316ca5f5566cefeaac42f2a6ec04d9744a
4
+ data.tar.gz: 36e8ecf1c4a335abf1f42fd5b9a8929a826e5228
5
5
  SHA512:
6
- metadata.gz: 95e2af145940e00b5b9c8a833a0cdd977a513edb29869a2d665250ca3cf6697a3bd42b880aef3d3387f66b78e779e4bbac91df38cf857a9ab2d50c9ce19d8ce8
7
- data.tar.gz: 35355842136334cf978b49ffd057d27d6e6e086616ddaa2a5726fbf42b2992ed8265f951486d85457e497209e084173f6c11b666796fd7f61af33fc6a5a3d546
6
+ metadata.gz: 1de58486bf52c2642a56b5c1ce169ac35cb2a554ddac3f27fd0f7612be59ed6f72afd236f95c85466659e77249ab92fe6534f5fdbf51a0b37d94d5daff5aaa82
7
+ data.tar.gz: cb68093317ae9d08c514fa4523e4295857e3453af5e5dfd853d2d61c1520f17460bd0fa3ffa0231b5a06f47038e77da8d68c73a342aa963d19b9fea740476825
@@ -39,7 +39,6 @@ module Pixhibitee
39
39
  def displayable?(path)
40
40
  mime_type = MIME::Types.type_for(path)[0]
41
41
  return false unless mime_type
42
- return false if File.size(path) > 1_000_000
43
42
  mime_type.media_type == "image"
44
43
  end
45
44
 
@@ -1,3 +1,3 @@
1
1
  module Pixhibitee
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -13,12 +13,12 @@
13
13
  %div.slider-nav
14
14
  - @paths.each do |path|
15
15
  %div
16
- %img{src: path, width: 120, height: 80}
16
+ %img{"data-lazy" => path, width: 120, height: 80}
17
17
 
18
18
  %div.slider-for{align: "center"}
19
19
  - @paths.each do |path|
20
20
  %div
21
- %img{src: path}
21
+ %img{"data-lazy" => path}
22
22
 
23
23
  %p
24
24
  - @sub_directories.each do |dir|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixhibitee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Yokoyama