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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12916c529d417f7435294064c61ab8bc9b3e4811e61ab162725b84dc42730212
4
- data.tar.gz: 2d32573a380ae73f845564580eced58064271d3347a09da7c5e13ad72882a8c5
3
+ metadata.gz: 8edd82e6bd70bc71c84fbb3fc9d11d2fe2e4c824ac0d155ff32789c61f6814d0
4
+ data.tar.gz: 7baf742d08ca26d70420bb1d7f13812a5e1ebbdcc6a3dbee31fcc76d417cc335
5
5
  SHA512:
6
- metadata.gz: a3d9ed3d68053c23b3c9665abc33cde89d4fd5893fa1d9930fbcb93113459450810ced0d3d0cd7e83c2bc4dc9da27446228f1104dc2a46cdb01ef53dc8bc5f48
7
- data.tar.gz: 1df642c255cd253271015b111f2b0fa4b9023c0fd697b1bd03405b2fccb9d716658f840a82884dfa7b042395c07664205f6427c08a9b432f8742ce58413792cd
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.exists?(git_head_file) && File.read(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
@@ -15,7 +15,7 @@ module Rerun
15
15
 
16
16
  def rails?
17
17
  rails_sig_file = File.expand_path(".")+"/config/boot.rb"
18
- File.exists? rails_sig_file
18
+ File.exist? rails_sig_file
19
19
  end
20
20
 
21
21
  end
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.exists?(d) && FileTest.readable?(d) && FileTest.directory?(d)
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.13.1'
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 = "alex@stinky.com"
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.13.1
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: 2020-12-09 00:00:00.000000000 Z
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: alex@stinky.com
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.1.2
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,