sourcescrub 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sourcescrub/client.rb +4 -4
- data/lib/sourcescrub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4980e44a9b4c4a87dec3bd316dc8de553db7a6d51290660ecf6c186ad28b4b6f
|
|
4
|
+
data.tar.gz: 8f919568a28e03bfa1256e1582581d4631b89b8d51395e6468e5d546683d5155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0dd2c6d24b3ba995ae93a327b42b80f2cad1bf94b7a1aefbecf8c6b96be0163ad78dd447f1686ee66409f4c2209b1374ed63310e54c67fcb0377e2769f287de
|
|
7
|
+
data.tar.gz: 32c0d749fbd12014cb60a9f98ca35a78b63a13045483f265ec3cf9cf0b8966ab214f4089de855f2bce868cb036d8866865dc26f23c121eb851aa4613db1ee097
|
data/Gemfile.lock
CHANGED
data/lib/sourcescrub/client.rb
CHANGED
|
@@ -73,28 +73,28 @@ module Sourcescrub
|
|
|
73
73
|
private
|
|
74
74
|
|
|
75
75
|
def companies_api(args)
|
|
76
|
-
|
|
76
|
+
Apis::Companies.new(
|
|
77
77
|
nil,
|
|
78
78
|
{ model_type: 'company' }.merge(args)
|
|
79
79
|
)
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
def company_api(domain, args)
|
|
83
|
-
|
|
83
|
+
Apis::Companies.new(
|
|
84
84
|
domain,
|
|
85
85
|
{ model_type: 'company' }.merge(args)
|
|
86
86
|
)
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def source_api(source_id, args)
|
|
90
|
-
|
|
90
|
+
Apis::Sources.new(
|
|
91
91
|
source_id,
|
|
92
92
|
{ model_type: 'source' }.merge(args)
|
|
93
93
|
)
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
def source_companies_api(source_id, args)
|
|
97
|
-
|
|
97
|
+
Apis::Sources.new(
|
|
98
98
|
source_id,
|
|
99
99
|
{ model_type: 'company' }.merge(args)
|
|
100
100
|
)
|
data/lib/sourcescrub/version.rb
CHANGED