farmstead 0.0.45 → 0.0.46
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/README.md +4 -0
- data/lib/farmstead/api/v1.rb +2 -3
- data/lib/farmstead/db.rb +2 -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: 9af9766d2bf99aff2dc4853eb04d44b8253e162c
|
4
|
+
data.tar.gz: 9a6dc71173f7c358f817cc3851cde2aec1f5ead6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3d38fa3acff331621727307330525f21981966dfe001e84603823aca0514b52c5b00a0cba1e89c38016ebf7979d0bb884017ec883f3a6d0354b867882d4effb
|
7
|
+
data.tar.gz: bfcc00e7a2635b2db989dc04640269e4f700c258331a4f2162e1753d784c289f0b5ea44da354b6868a23ed1d6eff4f74bf0b5e4f95e03a61919743f615e910fa
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/farmstead/api/v1.rb
CHANGED
data/lib/farmstead/db.rb
CHANGED
@@ -12,9 +12,8 @@ module Farmstead
|
|
12
12
|
|
13
13
|
def self.add_source(payload)
|
14
14
|
self.pull_variables
|
15
|
-
|
16
|
-
|
17
|
-
#ds.insert(:name => name, :type => type)
|
15
|
+
ds = @@DB[:sources]
|
16
|
+
ds.insert(:name => payload["name"], :type => payload["type"])
|
18
17
|
end
|
19
18
|
|
20
19
|
def self.setup
|
data/lib/farmstead/version.rb
CHANGED