rerun 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/rerun/runner.rb +1 -1
- data/lib/rerun/system.rb +1 -1
- data/lib/rerun/watcher.rb +1 -1
- data/rerun.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8edd82e6bd70bc71c84fbb3fc9d11d2fe2e4c824ac0d155ff32789c61f6814d0
|
4
|
+
data.tar.gz: 7baf742d08ca26d70420bb1d7f13812a5e1ebbdcc6a3dbee31fcc76d417cc335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8306545490ac2fabb2ecc83803ef3cd3ef77bcb0d0e2a4d4b7c28e0bcaf5bde2b6a9454477b9e5133c0397eb21d3243500492f7206ae3d781c96183979e4d8
|
7
|
+
data.tar.gz: 75d0031f73ddff5bd1185fa4f71e50d4a12d4bb7bd2663afd3eef47043b71d332f115bc3489aacd481e83860f5a4f18bde5de11384ef0e4116291c112b05c369
|
data/README.md
CHANGED
@@ -399,7 +399,10 @@ Based upon and/or inspired by:
|
|
399
399
|
|
400
400
|
# Version History
|
401
401
|
|
402
|
-
*
|
402
|
+
* v0.14.0 4 January 2023
|
403
|
+
* Ruby 3.2 compatibility fix: .exists? no longer exists
|
404
|
+
|
405
|
+
* v0.13.1 9 December 2020
|
403
406
|
* --no-ignore-dotfiles option
|
404
407
|
|
405
408
|
* v0.13.0 26 January 2018
|
data/lib/rerun/runner.rb
CHANGED
@@ -311,7 +311,7 @@ module Rerun
|
|
311
311
|
|
312
312
|
def read_git_head
|
313
313
|
git_head_file = File.join(dir, '.git', 'HEAD')
|
314
|
-
@git_head = File.
|
314
|
+
@git_head = File.exist?(git_head_file) && File.read(git_head_file)
|
315
315
|
end
|
316
316
|
|
317
317
|
def notify(title, body, background = true)
|
data/lib/rerun/system.rb
CHANGED
data/lib/rerun/watcher.rb
CHANGED
@@ -50,7 +50,7 @@ module Rerun
|
|
50
50
|
dirs = [*dirs]
|
51
51
|
dirs.map do |d|
|
52
52
|
d.chomp!("/")
|
53
|
-
unless FileTest.
|
53
|
+
unless FileTest.exist?(d) && FileTest.readable?(d) && FileTest.directory?(d)
|
54
54
|
raise InvalidDirectoryError, "Directory '#{d}' either doesnt exist or isn't readable"
|
55
55
|
end
|
56
56
|
File.expand_path(d)
|
data/rerun.gemspec
CHANGED
@@ -3,13 +3,13 @@ $spec = Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'rerun'
|
6
|
-
s.version = '0.
|
6
|
+
s.version = '0.14.0'
|
7
7
|
|
8
8
|
s.description = "Restarts your app when a file changes. A no-frills, command-line alternative to Guard, Shotgun, Autotest, etc."
|
9
9
|
s.summary = "Launches an app, and restarts it whenever the filesystem changes. A no-frills, command-line alternative to Guard, Shotgun, Autotest, etc."
|
10
10
|
|
11
11
|
s.authors = ["Alex Chaffee"]
|
12
|
-
s.email = "
|
12
|
+
s.email = "alexch@gmail.com"
|
13
13
|
|
14
14
|
s.files = %w[
|
15
15
|
README.md
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rerun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Chaffee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
version: '3.0'
|
27
27
|
description: Restarts your app when a file changes. A no-frills, command-line alternative
|
28
28
|
to Guard, Shotgun, Autotest, etc.
|
29
|
-
email:
|
29
|
+
email: alexch@gmail.com
|
30
30
|
executables:
|
31
31
|
- rerun
|
32
32
|
extensions: []
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
|
-
rubygems_version: 3.
|
70
|
+
rubygems_version: 3.4.2
|
71
71
|
signing_key:
|
72
72
|
specification_version: 2
|
73
73
|
summary: Launches an app, and restarts it whenever the filesystem changes. A no-frills,
|