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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcdc5231080791c955c1005d68e94c2f1ba2265e
4
- data.tar.gz: 823997c88ada7c6d7797586d4c33cb8e615168ea
3
+ metadata.gz: d9f38a23814cc27798bbab1c13791d02ae317e1f
4
+ data.tar.gz: 314ce213c099e583c08e6aa73c6fa50282af4241
5
5
  SHA512:
6
- metadata.gz: befbf6ac0d5df2078abd6a08d735211337062f6f25d3bf2c8905e07f215b5587d840b824cba8cac45159ac3dc213e1405473b3b80961719e56a216af239696d0
7
- data.tar.gz: 1c245c327e38d6151e2d99c6b80567e6c2db891928d89774d3c2fcefa967c9757f4d3effcd10410a8dd5b73f2aece9372b0ddf34d59493d86778484019b38bbc
6
+ metadata.gz: c893473b81c5ef76fbd1eab72e1df3c389a3a35614910fa38a319dbb3c18a8c90d896014f2a9834fb7c92e80f0b03009fac4cce5eca121a4223b6a6dbef96278
7
+ data.tar.gz: e9413484b6be6186b033ae84409e2ea03d80851d2133a2a2ba0e3daffc6dfa606a51ab522a2864612f1e23d96219f14627fb38ca137d424ee62dbfee38b789e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.43)
4
+ farmstead (0.0.44)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
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(name,type)
13
+ def self.add_source(payload)
14
14
  self.pull_variables
15
- ds = @@DB[:sources]
16
- ds.insert(:name => name, :type => type)
15
+ payload
16
+ #ds = @@DB[:sources]
17
+ #ds.insert(:name => name, :type => type)
17
18
  end
18
19
 
19
20
  def self.setup
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.43"
2
+ VERSION = "0.0.44"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farmstead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney