hireling 0.1.2 → 0.1.3

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/Rakefile +2 -2
  2. data/bin/hirelings_ctl +13 -0
  3. metadata +4 -3
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ specification = Gem::Specification.new do |s|
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.name = "hireling"
8
8
  s.summary = "Simple scheduled process structure for Rails apps."
9
- s.version = "0.1.2"
9
+ s.version = "0.1.3"
10
10
  s.author = "David Vollbracht, Scott Conley"
11
11
  s.description = s.summary
12
12
  s.email = "scott.conley@flipstone.com"
@@ -17,7 +17,7 @@ specification = Gem::Specification.new do |s|
17
17
  s.add_dependency('daemons', '>= 1.0.10')
18
18
  s.add_dependency('rufus-scheduler', '>= 2.0.6')
19
19
 
20
- s.files = FileList['{lib,test,bin}/**/*.*', 'Rakefile'].to_a
20
+ s.files = FileList['{lib,test,bin}/**/*', 'Rakefile'].to_a
21
21
  end
22
22
 
23
23
  Rake::GemPackageTask.new(specification) do |package|
data/bin/hirelings_ctl ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require "daemons"
4
+
5
+ # dir_mode: script
6
+ # dir: ../../log
7
+ # multiple: false
8
+ # backtrace: true
9
+ # monitor: true
10
+
11
+ options = {:dir => "../../log", :monitor => false, :multiple => false, :dir_mode => :script}
12
+
13
+ Daemons.run File.dirname(__FILE__) + '../lib/new_hire/hirelings.rb', options
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hireling
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Vollbracht, Scott Conley
@@ -61,6 +61,7 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - lib/hireling/hireling.rb
63
63
  - lib/hireling/hirelings.rb
64
+ - bin/hirelings_ctl
64
65
  - Rakefile
65
66
  has_rdoc: true
66
67
  homepage: ""