dataduck 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dataduck.gemspec +1 -1
- data/docs/overview/getting_started.md +12 -0
- data/lib/dataduck/commands.rb +0 -25
- data/lib/dataduck/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d74bc92fa09f135425c4328c28ff6c677c6ef64f
|
4
|
+
data.tar.gz: ffb1b33a499b99b9b2cc9bc98bc2c398dee59742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d940d76ad6db3262ff637e4abea39f2e4defc91adc65f12cefc61f9823fba683af8c5ab014ccf5016420355d6277418e37267c5facfa4e641ed66add378d4ed
|
7
|
+
data.tar.gz: c728b4a0e08620d4119ce721f1b02b0b5d6ec0820ca5043ea9f360fce001ff0fea86749929e86040c55239ba68c3ec4c0ba2d00ee0842ceb5947daf076ec3dcc
|
data/dataduck.gemspec
CHANGED
@@ -19,6 +19,18 @@ Then execute:
|
|
19
19
|
|
20
20
|
$ bundle install
|
21
21
|
|
22
|
+
For customer relationship management, we use [Supported Source](https://supportedsource.org/). This means you'll have to
|
23
|
+
get a client token with Supported Source in order to run DataDuck ETL. Ensure you have the Supported Source command
|
24
|
+
line interface:
|
25
|
+
|
26
|
+
$ gem install supso
|
27
|
+
|
28
|
+
Then run the following command to get a client token for DataDuck ETL:
|
29
|
+
|
30
|
+
$ supso update
|
31
|
+
|
32
|
+
It will ask you for your work email, then send you a confirmation token. After confirming, you'll be able to continue.
|
33
|
+
|
22
34
|
Finally, run the quickstart command:
|
23
35
|
|
24
36
|
$ dataduck quickstart
|
data/lib/dataduck/commands.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'erb'
|
2
2
|
require 'yaml'
|
3
3
|
require 'fileutils'
|
4
|
-
require 'typhoeus'
|
5
4
|
require 'io/console'
|
6
5
|
|
7
6
|
module DataDuck
|
@@ -166,34 +165,10 @@ module DataDuck
|
|
166
165
|
end
|
167
166
|
end
|
168
167
|
|
169
|
-
def self.quickstart_register_email(email)
|
170
|
-
registration_data = {
|
171
|
-
email: email,
|
172
|
-
version: DataDuck::VERSION,
|
173
|
-
source: "quickstart"
|
174
|
-
}
|
175
|
-
|
176
|
-
request = Typhoeus::Request.new(
|
177
|
-
"dataducketl.com/api/v1/register",
|
178
|
-
method: :post,
|
179
|
-
body: registration_data,
|
180
|
-
timeout: 30,
|
181
|
-
connecttimeout: 10,
|
182
|
-
)
|
183
|
-
|
184
|
-
hydra = Typhoeus::Hydra.new
|
185
|
-
hydra.queue(request)
|
186
|
-
hydra.run
|
187
|
-
end
|
188
|
-
|
189
168
|
def self.quickstart
|
190
169
|
puts "Welcome to DataDuck!"
|
191
170
|
puts "This quickstart wizard will help you set up DataDuck."
|
192
171
|
|
193
|
-
puts "What is your work email address?"
|
194
|
-
email = STDIN.gets.strip
|
195
|
-
self.quickstart_register_email(email)
|
196
|
-
|
197
172
|
puts "What kind of database would you like to source from?"
|
198
173
|
db_type = prompt_choices([
|
199
174
|
[:mysql, "MySQL"],
|
data/lib/dataduck/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dataduck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Pickhardt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: 0.9.6
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
208
|
+
version: 0.9.6
|
209
209
|
description: A straightforward, effective ETL framework.
|
210
210
|
email:
|
211
211
|
- pickhardt@gmail.com
|