farmstead 0.0.43 → 0.0.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/farmstead/db.rb +4 -3
- data/lib/farmstead/version.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: d9f38a23814cc27798bbab1c13791d02ae317e1f
|
4
|
+
data.tar.gz: 314ce213c099e583c08e6aa73c6fa50282af4241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c893473b81c5ef76fbd1eab72e1df3c389a3a35614910fa38a319dbb3c18a8c90d896014f2a9834fb7c92e80f0b03009fac4cce5eca121a4223b6a6dbef96278
|
7
|
+
data.tar.gz: e9413484b6be6186b033ae84409e2ea03d80851d2133a2a2ba0e3daffc6dfa606a51ab522a2864612f1e23d96219f14627fb38ca137d424ee62dbfee38b789e7
|
data/Gemfile.lock
CHANGED
data/lib/farmstead/db.rb
CHANGED
@@ -10,10 +10,11 @@ module Farmstead
|
|
10
10
|
@@DB = Sequel.connect(adapter: "mysql2", host: @@mysql_host, database: @@mysql_database, user: @@mysql_user, password: @@mysql_password)
|
11
11
|
end
|
12
12
|
|
13
|
-
def self.add_source(
|
13
|
+
def self.add_source(payload)
|
14
14
|
self.pull_variables
|
15
|
-
|
16
|
-
ds
|
15
|
+
payload
|
16
|
+
#ds = @@DB[:sources]
|
17
|
+
#ds.insert(:name => name, :type => type)
|
17
18
|
end
|
18
19
|
|
19
20
|
def self.setup
|
data/lib/farmstead/version.rb
CHANGED