seamusabshere-data_miner 0.1.3 → 0.1.5
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/VERSION +1 -1
- data/data_miner.gemspec +1 -1
- data/lib/data_miner/active_record_ext.rb +4 -2
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
data/data_miner.gemspec
CHANGED
|
@@ -8,8 +8,10 @@ module DataMiner
|
|
|
8
8
|
def mine_data(options = {}, &block)
|
|
9
9
|
if defined?(:NO_DATA_MINER) and ::NO_DATA_MINER == true
|
|
10
10
|
class_eval do
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
class << self
|
|
12
|
+
def data_mine
|
|
13
|
+
raise "NO_DATA_MINER is set to true, so data_mine is not available"
|
|
14
|
+
end
|
|
13
15
|
end
|
|
14
16
|
end
|
|
15
17
|
else
|