data_miner 2.3.2 → 2.3.4

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,15 @@
1
+ 2.3.4 / 2012-07-06
2
+
3
+ * Bug fixes
4
+
5
+ * Fix silly deadlock
6
+
7
+ 2.3.3 / 2012-07-06
8
+
9
+ * Bug fixes
10
+
11
+ * Always register data miner scripts with DataMiner.model_names or else DataMiner.run won't work as expected - just bad logic before
12
+
1
13
  2.3.2 / 2012-06-25
2
14
 
3
15
  * Bug fixes
data/lib/data_miner.rb CHANGED
@@ -129,4 +129,5 @@ class DataMiner
129
129
  end
130
130
  end
131
131
 
132
+ DataMiner.model_names
132
133
  ::ActiveRecord::Base.extend ::DataMiner::ActiveRecordClassMethods
@@ -96,7 +96,6 @@ class DataMiner
96
96
  #
97
97
  # @return [nil]
98
98
  def data_miner(options = {}, &blk)
99
- DataMiner.model_names.add name
100
99
  unless options[:append]
101
100
  @data_miner_script = nil
102
101
  end
@@ -47,6 +47,7 @@ class DataMiner
47
47
 
48
48
  # @private
49
49
  def initialize(model)
50
+ DataMiner.model_names.add model.name
50
51
  @model = model
51
52
  @steps = []
52
53
  end
@@ -1,3 +1,3 @@
1
1
  class DataMiner
2
- VERSION = '2.3.2'
2
+ VERSION = '2.3.4'
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: 2.3.2
4
+ version: 2.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-06-25 00:00:00.000000000 Z
14
+ date: 2012-07-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: aasm