sourcescrub 0.0.9 → 0.1.0

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
  SHA256:
3
- metadata.gz: c19a7a8e7554d1092ccc61b24d0086edccd0f6a88d6eb506b6bafc47e18bc404
4
- data.tar.gz: 503a99966317d3237531c12ccbd8b2d5e608f874c20d3ffc476f661ccf61acab
3
+ metadata.gz: 4980e44a9b4c4a87dec3bd316dc8de553db7a6d51290660ecf6c186ad28b4b6f
4
+ data.tar.gz: 8f919568a28e03bfa1256e1582581d4631b89b8d51395e6468e5d546683d5155
5
5
  SHA512:
6
- metadata.gz: 163d4b20774715805eec30672711c96a5aa0b412faa3431c1fb9668faa9c98b83f8d21d3b6044c8f184a22f62da0bf75993df5db4d0d1e16c6670f2ec125eaef
7
- data.tar.gz: 072a4fbf9921d199c4006bd6535e9cb5e61d784db8003d9e9bb7ff1a443ef0fcf07be1102392c67db380a792454054525c7a71fbb09139000562d75dc3dc0aea
6
+ metadata.gz: f0dd2c6d24b3ba995ae93a327b42b80f2cad1bf94b7a1aefbecf8c6b96be0163ad78dd447f1686ee66409f4c2209b1374ed63310e54c67fcb0377e2769f287de
7
+ data.tar.gz: 32c0d749fbd12014cb60a9f98ca35a78b63a13045483f265ec3cf9cf0b8966ab214f4089de855f2bce868cb036d8866865dc26f23c121eb851aa4613db1ee097
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sourcescrub (0.0.9)
4
+ sourcescrub (0.1.0)
5
5
  faraday
6
6
 
7
7
  GEM
@@ -73,28 +73,28 @@ module Sourcescrub
73
73
  private
74
74
 
75
75
  def companies_api(args)
76
- @companies_api ||= Apis::Companies.new(
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
- @company_api ||= Apis::Companies.new(
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
- @source_api ||= Apis::Sources.new(
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
- @source_companies_api ||= Apis::Sources.new(
97
+ Apis::Sources.new(
98
98
  source_id,
99
99
  { model_type: 'company' }.merge(args)
100
100
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sourcescrub
4
- VERSION = '0.0.9'
4
+ VERSION = '0.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sourcescrub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Encore Shao