data_miner 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/data_miner.gemspec +1 -1
- data/lib/data_miner/configuration.rb +2 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.12
|
data/data_miner.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{data_miner}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.12"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Seamus Abshere", "Andy Rossmeissl"]
|
@@ -38,11 +38,12 @@ module DataMiner
|
|
38
38
|
if DataMiner::Run.table_exists?
|
39
39
|
run = DataMiner::Run.create! :started_at => Time.now, :resource_name => resource.name if DataMiner::Run.table_exists?
|
40
40
|
else
|
41
|
+
run = nil
|
41
42
|
DataMiner.log_info "Not logging individual runs. Please run DataMiner::Run.create_tables if you want to enable this."
|
42
43
|
end
|
43
44
|
resource.delete_all if options[:from_scratch]
|
44
45
|
begin
|
45
|
-
runnables.each { |runnable| runnable.run
|
46
|
+
runnables.each { |runnable| runnable.run run }
|
46
47
|
finished = true
|
47
48
|
ensure
|
48
49
|
run.update_attributes! :ended_at => Time.now, :finished => finished if DataMiner::Run.table_exists?
|