gregfitz23-chrono_trigger 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile ADDED
@@ -0,0 +1,44 @@
1
+ %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
2
+ require File.dirname(__FILE__) + '/lib/chrono_trigger'
3
+
4
+ ## Generate all the Rake tasks
5
+ ## Run 'rake -T' to see list of generated tasks (from gem root directory)
6
+ # $hoe = Hoe.new('chrono_trigger', ChronoTrigger::VERSION) do |p|
7
+ # p.developer('Greg Fitzgerald', 'fitzgerald@healthcentral.com')
8
+ # p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
9
+ # # p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
10
+ # p.rubyforge_name = "gregfitz23-chrono_trigger"
11
+ # p.extra_deps = [
12
+ # # ['activesupport','>= 2.0.2'],
13
+ # ]
14
+ # p.extra_dev_deps = [
15
+ # ['newgem', ">= #{::Newgem::VERSION}"],
16
+ # ['thoughtbot_shoulda', ">= 2.0.6"]
17
+ # ]
18
+ #
19
+ # p.clean_globs |= %w[**/.DS_Store tmp *.log]
20
+ # path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
21
+ # p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
22
+ # p.rsync_args = '-av --delete --ignore-errors'
23
+ # end
24
+ #
25
+ # require 'newgem/tasks' # load /tasks/*.rake
26
+ # Dir['tasks/**/*.rake'].each { |t| load t }
27
+ #
28
+ # # TODO - want other tests/tasks run by default? Add them to the list
29
+ # task :default => [:spec, :features]
30
+
31
+
32
+ begin
33
+ require 'jeweler'
34
+ Jeweler::Tasks.new do |s|
35
+ s.name = "chrono_trigger"
36
+ s.summary = "TODO"
37
+ s.email = "greg_fitz@yahoo.com"
38
+ s.homepage = ""
39
+ s.description = "TODO"
40
+ s.authors = ["Greg Fitzgerald"]
41
+ end
42
+ rescue LoadError
43
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
44
+ end
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 2
3
3
  :major: 0
4
4
  :minor: 1
@@ -1,4 +1,3 @@
1
- require "chrono_trigger"
2
1
  module ChronoTrigger
3
2
 
4
3
  class Process
@@ -31,6 +30,8 @@ module ChronoTrigger
31
30
  STDOUT.puts "Loading application environment at #{File.join(application_context, 'config', 'environment')} for '#{ENV['RAILS_ENV']}' enviroment."
32
31
  require(application_path)
33
32
  end
33
+
34
+ require "chrono_trigger"
34
35
  end
35
36
  end
36
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gregfitz23-chrono_trigger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Fitzgerald
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-17 00:00:00 -07:00
12
+ date: 2009-06-04 00:00:00 -07:00
13
13
  default_executable: chrono_trigger
14
14
  dependencies: []
15
15
 
@@ -26,19 +26,17 @@ files:
26
26
  - Manifest.txt
27
27
  - PostInstall.txt
28
28
  - README.rdoc
29
+ - Rakefile
29
30
  - VERSION.yml
30
31
  - bin/chrono_trigger
31
- - lib/chrono_trigger
32
+ - lib/chrono_trigger.rb
32
33
  - lib/chrono_trigger/cron_entry.rb
33
34
  - lib/chrono_trigger/process.rb
34
35
  - lib/chrono_trigger/runner.rb
35
36
  - lib/chrono_trigger/shell.rb
36
37
  - lib/chrono_trigger/tasks.rb
37
38
  - lib/chrono_trigger/trigger.rb
38
- - lib/chrono_trigger.rb
39
- - lib/tasks
40
39
  - lib/tasks/chrono_trigger.rake
41
- - lib/triggers
42
40
  - lib/triggers/test_triggers.rb
43
41
  - test/test_chrono_trigger.rb
44
42
  - test/test_cron_entry.rb
@@ -50,7 +48,6 @@ has_rdoc: true
50
48
  homepage: ""
51
49
  post_install_message:
52
50
  rdoc_options:
53
- - --inline-source
54
51
  - --charset=UTF-8
55
52
  require_paths:
56
53
  - lib
@@ -73,5 +70,10 @@ rubygems_version: 1.2.0
73
70
  signing_key:
74
71
  specification_version: 2
75
72
  summary: TODO
76
- test_files: []
77
-
73
+ test_files:
74
+ - test/test_chrono_trigger.rb
75
+ - test/test_cron_entry.rb
76
+ - test/test_helper.rb
77
+ - test/test_shell.rb
78
+ - test/test_trigger.rb
79
+ - test/triggers.rb