utopia-gallery 2.0.0 → 2.0.1

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: 69f0a0aec906b446239d6e3048f8eda7e3f65361
4
- data.tar.gz: ae8c0c3da88f1aa55ef289665025d70b307f1221
3
+ metadata.gz: 6248d2e8dbea1cfe4447c80367877e69bf8c0f86
4
+ data.tar.gz: 7e10b84589fcaab9f56126eebb482b872df2d671
5
5
  SHA512:
6
- metadata.gz: c1402cbdf7fdce1316ef63cbce5cf2ac610260e8d32a2130dd029d6050593b5ab44301afd087f0b488ad4813bf206754a1e52d7323d9d97ce67416e288ed50fc
7
- data.tar.gz: f081553113a7f74d1cffd008229c0d319712e2985f3d88c82521260019486c1e0a6d6eec59b7b5d638ce949653748c8a99520a71073a16104605bd2614a9beec
6
+ metadata.gz: 29a23954c1afd838b86a27e7da02b64ae11988e1183de7a177c5c9074f8bf1a20db616d245f213dfc64e92d843b8c2ae55139666a9c779986f8605daa2c65884
7
+ data.tar.gz: d210843e1a7dfefd108d2b2caa6b21c9b5417e5019855810cea54ef75f66acc90620cb1782754c08951aa6522dbbcb0a4e3b81b5adc53852df271465e72e94bc
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  This extension for [Utopia](https://github.com/ioquatix/utopia) provides tags for generating photo galleries. Works well in conjunction with [jQuery.LiteBox](https://github.com/ioquatix/jquery-litebox).
4
4
 
5
+ [![Build Status](https://secure.travis-ci.org/ioquatix/utopia-gallery.svg)](http://travis-ci.org/ioquatix/utopia-gallery)
6
+ [![Code Climate](https://codeclimate.com/github/ioquatix/utopia-gallery.svg)](https://codeclimate.com/github/ioquatix/utopia-gallery)
7
+ [![Coverage Status](https://coveralls.io/repos/ioquatix/utopia-gallery/badge.svg)](https://coveralls.io/r/ioquatix/utopia-gallery)
8
+
9
+
5
10
  ## Installation
6
11
 
7
12
  Add this line to your website's Gemfile:
@@ -37,7 +37,7 @@ module Utopia
37
37
  end
38
38
 
39
39
  def fresh?(input_path, output_path)
40
- return File.exist?(output_path) && File.mtime(input_path) < File.mtime(output_path)
40
+ return File.exist?(output_path) && File.mtime(input_path) <= File.mtime(output_path)
41
41
  end
42
42
  end
43
43
 
@@ -1,5 +1,5 @@
1
1
  module Utopia
2
2
  module Gallery
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
@@ -22,4 +22,9 @@ RSpec.describe Utopia::Gallery::Cache do
22
22
  it "should generate thumbnails" do
23
23
  subject.each(&:update)
24
24
  end
25
+
26
+ it "it should be reentrant" do
27
+ subject.each(&:update)
28
+ subject.each(&:update)
29
+ end
25
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: utopia