data_miner 3.0.0.rc1 → 3.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ 3.0.0.rc2 / 2013-08-28
2
+
3
+ * Enhancements
4
+
5
+ * (Re-)Start logging the beginning, erroring, and ending of steps
6
+ * Raise errors if a step fails
7
+
1
8
  3.0.0.rc1 / 2013-08-08
2
9
 
3
10
  * Enhancements
@@ -252,9 +252,16 @@ class DataMiner
252
252
  other.register step
253
253
  end
254
254
  end
255
- steps.each do |step|
256
- step.start
257
- model.reset_column_information
255
+ steps.each_with_index do |step, i|
256
+ begin
257
+ DataMiner.logger.info "[DataMiner] START #{step.model.name} step #{i} #{step.description.inspect}"
258
+ step.start
259
+ model.reset_column_information
260
+ rescue
261
+ DataMiner.logger.info "[DataMiner] FAIL #{step.model.name} step #{i} (#{step.description.inspect})"
262
+ raise $!
263
+ end
264
+ DataMiner.logger.info "[DataMiner] DONE #{step.model.name} step #{i} (#{step.description.inspect})"
258
265
  end
259
266
  nil
260
267
  end
@@ -1,3 +1,3 @@
1
1
  class DataMiner
2
- VERSION = '3.0.0.rc1'
2
+ VERSION = '3.0.0.rc2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_miner
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc1
4
+ version: 3.0.0.rc2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-08-08 00:00:00.000000000 Z
16
+ date: 2013-08-28 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activerecord