datapipe2 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -11
- data/lib/fns/mssql_to_pgsql.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1484071c5a50332e6707526b1a45fe7546716c90
|
4
|
+
data.tar.gz: ed9430b7e754959abe46454672239440fa955b2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23162306076c01311fcc4b743c48a4fd15776fc416d7f744b377897dcedf11192b4d2251fbf53e7ba598c1aac0d2b98db96b64003db4605a091b25841c79c4f4
|
7
|
+
data.tar.gz: 6cc315349fab6fe9cc4304091e4816498a83892fbedbad8abc01a78a1031d64e563048f5b10f58602f12283dd9dcfd7b07fa85ff7b91531306536e99a1c8a2cd
|
data/README.md
CHANGED
@@ -3,23 +3,22 @@ zero to one for moving data
|
|
3
3
|
|
4
4
|
## Why
|
5
5
|
Do you need to get data from one database to another? Move data from a CSV
|
6
|
-
file into a database.
|
6
|
+
file into a database.
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
Then, move this data on a semi-regular basis.
|
9
|
+
|
10
|
+
And all this before you know whether its useful?
|
10
11
|
|
11
12
|
## How
|
12
13
|
You can call this on a single line,
|
13
|
-
|
14
|
-
csv_to_db './data/test.csv', 'test_tbl'
|
15
|
-
```
|
14
|
+
|
15
|
+
csv_to_db './data/test.csv', 'test_tbl'
|
16
16
|
|
17
17
|
Or, you can put it in a DSL and have it run on a scheduled basis.
|
18
|
-
|
19
|
-
DB=pgsql://testuser:testpass@localhost/datapipe2 \
|
20
|
-
Bcs_CRON="* * * * *" \
|
21
|
-
datapipe2
|
22
|
-
```
|
18
|
+
|
19
|
+
DB=pgsql://testuser:testpass@localhost/datapipe2 \
|
20
|
+
Bcs_CRON="* * * * *" \
|
21
|
+
datapipe2
|
23
22
|
|
24
23
|
## What
|
25
24
|
Check the lib and examples directories for available functions.
|
data/lib/fns/mssql_to_pgsql.rb
CHANGED