chrono_trigger 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/README.rdoc +4 -2
- data/Rakefile +3 -28
- data/VERSION.yml +3 -3
- data/chrono_trigger.gemspec +5 -5
- data/lib/chrono_trigger.rb +2 -2
- data/test/test_helper.rb +3 -2
- metadata +5 -5
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
= chrono_trigger
|
2
2
|
|
3
3
|
This is a branch of http://github.com/gregfitz23/chrono_trigger/tree/master as it hasn't been updated in sometime.
|
4
|
-
New code can be found at https://github.com/darful/chrono_trigger.
|
4
|
+
New code can be found at https://github.com/darful/chrono_trigger. Now with Ruby 1.9.x support.
|
5
|
+
|
5
6
|
|
6
7
|
== DESCRIPTION:
|
7
8
|
|
@@ -27,7 +28,8 @@ Other available options are:
|
|
27
28
|
|
28
29
|
== REQUIREMENTS:
|
29
30
|
|
30
|
-
* ActiveSupport >=
|
31
|
+
* ActiveSupport >= 3.0.0
|
32
|
+
* Ruby >= 1.9.x
|
31
33
|
|
32
34
|
== INSTALL:
|
33
35
|
|
data/Rakefile
CHANGED
@@ -1,32 +1,7 @@
|
|
1
|
-
%w[rubygems rake rake/clean fileutils newgem rubigen rake/testtask].each { |f| require f }
|
2
|
-
require File.dirname(__FILE__) + '/lib/chrono_trigger'
|
1
|
+
# %w[rubygems rake rake/clean fileutils newgem rubigen rake/testtask].each { |f| require f }
|
2
|
+
# require File.dirname(__FILE__) + '/lib/chrono_trigger'
|
3
3
|
|
4
|
-
|
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]
|
4
|
+
require 'rake/testtask'
|
30
5
|
|
31
6
|
Rake::TestTask.new do |t|
|
32
7
|
t.libs << 'test'
|
data/VERSION.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
---
|
1
|
+
---
|
2
2
|
:major: 0
|
3
|
-
:minor:
|
4
|
-
:patch:
|
3
|
+
:minor: 2
|
4
|
+
:patch: 0
|
data/chrono_trigger.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "chrono_trigger"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jon Ciccone"]
|
12
|
-
s.date = "
|
13
|
-
s.description = "
|
12
|
+
s.date = "2013-01-10"
|
13
|
+
s.description = "c"
|
14
14
|
s.email = "darful@gmail.com"
|
15
15
|
s.executables = ["chrono_trigger"]
|
16
16
|
s.extra_rdoc_files = [
|
@@ -44,11 +44,11 @@ Gem::Specification.new do |s|
|
|
44
44
|
"test/test_trigger.rb",
|
45
45
|
"test/triggers.rb"
|
46
46
|
]
|
47
|
-
s.homepage = ""
|
47
|
+
s.homepage = "https://rubygems.org/gems/chrono_trigger"
|
48
48
|
s.rdoc_options = ["--charset=UTF-8"]
|
49
49
|
s.require_paths = ["lib"]
|
50
50
|
s.rubygems_version = "1.8.24"
|
51
|
-
s.summary = "
|
51
|
+
s.summary = "A cron framework for defining cron tasks using a readable DSL."
|
52
52
|
s.test_files = [
|
53
53
|
"test/test_chrono_trigger.rb",
|
54
54
|
"test/test_cron_entry.rb",
|
data/lib/chrono_trigger.rb
CHANGED
@@ -2,10 +2,10 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
3
|
|
4
4
|
module ChronoTrigger
|
5
|
-
VERSION = '0.0
|
5
|
+
VERSION = '0.2.0'
|
6
6
|
end
|
7
7
|
|
8
|
-
require "
|
8
|
+
require "active_support/all"
|
9
9
|
require "chrono_trigger/shell"
|
10
10
|
require "chrono_trigger/trigger"
|
11
11
|
require "chrono_trigger/cron_entry"
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chrono_trigger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,9 +9,9 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
14
|
+
description: c
|
15
15
|
email: darful@gmail.com
|
16
16
|
executables:
|
17
17
|
- chrono_trigger
|
@@ -45,7 +45,7 @@ files:
|
|
45
45
|
- test/test_shell.rb
|
46
46
|
- test/test_trigger.rb
|
47
47
|
- test/triggers.rb
|
48
|
-
homepage:
|
48
|
+
homepage: https://rubygems.org/gems/chrono_trigger
|
49
49
|
licenses: []
|
50
50
|
post_install_message:
|
51
51
|
rdoc_options:
|
@@ -69,7 +69,7 @@ rubyforge_project:
|
|
69
69
|
rubygems_version: 1.8.24
|
70
70
|
signing_key:
|
71
71
|
specification_version: 3
|
72
|
-
summary:
|
72
|
+
summary: A cron framework for defining cron tasks using a readable DSL.
|
73
73
|
test_files:
|
74
74
|
- test/test_chrono_trigger.rb
|
75
75
|
- test/test_cron_entry.rb
|