tagrity 0.3.2 → 0.3.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
  SHA256:
3
- metadata.gz: ba42a97fdd56521aac107e9adff40cbb296d1afa36d88906f48000bd10e874a0
4
- data.tar.gz: 042f1ea9fe546284aa2bd943cafde60cb098705e0451b2ca420c0a90c5766d92
3
+ metadata.gz: feac80617071ba8f1e51552d8ecf49d3c0464d09f0caf5d58f0fbd983f9a4b61
4
+ data.tar.gz: 2e1b979a98041aaaf2c9c3929cec40e95735b53dc0a1aaebfe83bf4fb4662d3d
5
5
  SHA512:
6
- metadata.gz: 134cd56085f5747952e3ffb51a524e47363e97f3f744a9a04c7e53feed830341a444dfea5c0da53f470af2ea1e511cb4c7e525e180931c83e4d7b4502496263c
7
- data.tar.gz: 3061e97a976898881cda0ec32e08c831b98d43336f8bf85b7ddd9182c180505ef7e19e2c7778d0ee839552d56cfa82bf485d188abe4d370465c140aef8d9407c
6
+ metadata.gz: 1e1d0a0f06f2f5ed7dca379180466dfe791d03fcbe45451f0960f2050a94e2f36ce5edc0c4fa1d3225cdad545fcbb2b5f170bbb9fb0834eadb5aa90995516a4d
7
+ data.tar.gz: d9b49c8551382fe60cc9c2a4fde328f6a0140294cf60c257f450afd0581f5057944fc73cc1b70dbf0eb1123eefa21c881b75dbee68dcedc79814d69b2706c63a
@@ -3,7 +3,7 @@ require 'tagrity/commands/start'
3
3
  require 'tagrity/commands/stop'
4
4
  require 'tagrity/commands/status'
5
5
  require 'tagrity/commands/logs'
6
- require 'tagrity/commands/init'
6
+ require 'tagrity/commands/revive'
7
7
  require 'tagrity/version'
8
8
 
9
9
  module Tagrity
@@ -37,9 +37,9 @@ module Tagrity
37
37
  Command::Logs::call(options['n'], options['debug'])
38
38
  end
39
39
 
40
- desc "init", "Restart any tagrity processes that died"
41
- def init
42
- Command::Init::call
40
+ desc "revive", "Restart any tagrity processes that died"
41
+ def revive
42
+ Command::Revive::call
43
43
  end
44
44
  end
45
45
  end
@@ -1,6 +1,6 @@
1
1
  module Tagrity
2
2
  module Command
3
- class Init
3
+ class Revive
4
4
  class << self
5
5
  def call
6
6
  PidFile.revive_dead_pids
@@ -44,7 +44,7 @@ module Tagrity
44
44
  if not Helper.alive?(pid)
45
45
  File.delete(path)
46
46
  Dir.chdir(File.realdirpath(dir)) do
47
- Process.spawn(['tagrity', 'start'])
47
+ Process.spawn('tagrity start')
48
48
  end
49
49
  end
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module Tagrity
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagrity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam P. Regasz-Rethy
@@ -147,8 +147,8 @@ files:
147
147
  - exe/tagrity
148
148
  - lib/tagrity.rb
149
149
  - lib/tagrity/cli.rb
150
- - lib/tagrity/commands/init.rb
151
150
  - lib/tagrity/commands/logs.rb
151
+ - lib/tagrity/commands/revive.rb
152
152
  - lib/tagrity/commands/start.rb
153
153
  - lib/tagrity/commands/status.rb
154
154
  - lib/tagrity/commands/stop.rb