wonko9-i_can_daemonize 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/i_can_daemonize.rb +3 -3
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :patch: 0
3
3
  :major: 0
4
- :minor: 6
4
+ :minor: 7
@@ -167,7 +167,7 @@ module ICanDaemonize
167
167
  return unless ok_to_start?
168
168
 
169
169
  options.merge!(opts)
170
- puts "Starting #{instances_to_start} #{script_name} #{pluarlize('instance', instances_to_start)}..."
170
+ puts "Starting #{instances_to_start} #{script_name} #{pluralize('instance', instances_to_start)}..."
171
171
  puts "Logging to: #{log_file}" unless ontop?
172
172
 
173
173
  unless ontop?
@@ -293,7 +293,7 @@ module ICanDaemonize
293
293
  # stop the daemon, nicely at first, and then forcefully if necessary
294
294
  def stop_daemons
295
295
  self.running = false
296
- puts "Stopping #{instances} #{script_name} #{pluarlize('instance', instances)}..."
296
+ puts "Stopping #{instances} #{script_name} #{pluralize('instance', instances)}..."
297
297
  if pids.empty?
298
298
  $stderr.puts "#{script_name} doesn't appear to be running"
299
299
  exit
@@ -421,7 +421,7 @@ module ICanDaemonize
421
421
  @instances ||= 1
422
422
  end
423
423
 
424
- def pluarlize(name, num)
424
+ def pluralize(name, num)
425
425
  num == 1 ? name : "#{name}s"
426
426
  end
427
427
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wonko9-i_can_daemonize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Pisoni