GFunk911-dataload 0.3.1 → 0.3.3

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.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 3
3
3
  :major: 0
4
4
  :minor: 3
@@ -124,10 +124,3 @@ def dataload(&b)
124
124
  puts "Row Count: " + dsl.loader.ar.find(:all).size.to_s
125
125
  end
126
126
 
127
- dataload do
128
- source "source.csv"
129
- database :adapter => 'sqlite3', :database => "db.sqlite3", :timeout => 5000
130
- table 'foobar'
131
- string(:cat) { bar + "_cat" }
132
- end
133
-
@@ -0,0 +1,6 @@
1
+ dataload do
2
+ source "source.csv"
3
+ database :adapter => 'sqlite3', :database => "db.sqlite3", :timeout => 5000
4
+ table 'foobar'
5
+ string(:cat) { bar + "_cat" }
6
+ end
data/lib/dataload.rb CHANGED
@@ -0,0 +1 @@
1
+ require File.dirname(__FILE__) + "/dataload/loader"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GFunk911-dataload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Harris
@@ -57,6 +57,7 @@ files:
57
57
  - lib/dataload
58
58
  - lib/dataload/db.sqlite3
59
59
  - lib/dataload/loader.rb
60
+ - lib/dataload/sample.rb
60
61
  - lib/dataload/source.csv
61
62
  - lib/dataload.rb
62
63
  - spec/dataload_spec.rb