tempfile-fixture 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -1
- data/.travis.yml +17 -2
- data/CHANGELOG.md +3 -0
- data/lib/tempfile/fixture.rb +5 -4
- data/lib/tempfile/fixture/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c213f8b25e071769b551f416457cf28d9239aac
|
4
|
+
data.tar.gz: 01544a01bab8587f0ec1fdaa7f28f983ff195bb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 249ee681521c1d9d60ea898964de27c4ba95c0c6d3642ef7ad10366dda42ba7d809c42c689326e7674d91fd28a00948e304f48ea9cd88ed0b3dad4620a1d8a00
|
7
|
+
data.tar.gz: da1884172a7872aa5a6e944a6aea55aca8527c4c1096c69cf4b7abc38361f5e70c29962c4b6531afca3d999c1e8d57079a0c577091acafe8f65a2f4db027fad3
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
|
+
cache: bundler
|
3
4
|
rvm:
|
4
|
-
- 2.
|
5
|
-
|
5
|
+
- 2.3.0
|
6
|
+
- 2.4
|
7
|
+
- 2.5
|
8
|
+
- 2.6
|
9
|
+
- rbx-3
|
10
|
+
- ruby-head
|
11
|
+
matrix:
|
12
|
+
allow_failures:
|
13
|
+
- rvm: ruby-head
|
14
|
+
- rvm: rbx-3
|
15
|
+
- rvm: 2.6
|
16
|
+
before_install:
|
17
|
+
- gem update --system
|
18
|
+
- gem --version
|
19
|
+
install:
|
20
|
+
- bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
|
data/CHANGELOG.md
CHANGED
data/lib/tempfile/fixture.rb
CHANGED
@@ -39,11 +39,12 @@ Tempfile.class_eval do
|
|
39
39
|
file = copy!(&block)
|
40
40
|
self
|
41
41
|
ensure
|
42
|
-
|
43
|
-
|
44
|
-
# Silently fail (hello windows)
|
45
|
-
file.unlink rescue nil # rubocop:disable Style/RescueModifier
|
42
|
+
if file
|
43
|
+
file.close unless file.closed?
|
46
44
|
|
45
|
+
# Silently fail (hello windows)
|
46
|
+
file.unlink rescue nil # rubocop:disable Style/RescueModifier
|
47
|
+
end
|
47
48
|
end
|
48
49
|
|
49
50
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tempfile-fixture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derk-Jan Karrenbeld
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|