deputy 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/deputy +0 -1
  3. data/deputy.gemspec +1 -1
  4. data/lib/deputy.rb +2 -1
  5. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.16
1
+ 0.1.17
data/bin/deputy CHANGED
@@ -4,7 +4,6 @@ require 'optparse'
4
4
  $LOAD_PATH << "#{File.dirname(__FILE__)}/../lib"
5
5
  require 'deputy'
6
6
 
7
- options = {}
8
7
  OptionParser.new do |opts|
9
8
  opts.banner = <<BANNER
10
9
  Report to the sheriff
data/deputy.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deputy}
8
- s.version = "0.1.16"
8
+ s.version = "0.1.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
data/lib/deputy.rb CHANGED
@@ -81,7 +81,8 @@ module Deputy
81
81
  VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
82
82
 
83
83
  def self.install_cron
84
- `crontab -l | { cat; echo "* * * * * deputy --run-plugins 2>&1 >> /tmp/deputy.log"; } | crontab -`
84
+ executable = File.expand_path("#{__FILE__}/../bin/deputy")
85
+ `crontab -l | { cat; echo "* * * * * #{executable} --run-plugins >> /tmp/deputy.log 2>&1"; } | crontab -`
85
86
  end
86
87
 
87
88
  def self.run_plugins
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 16
9
- version: 0.1.16
8
+ - 17
9
+ version: 0.1.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser