stbaldricks 9.3.1 → 10.0.0.alpha.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddc14dda441ec5fffd7c82f0b3be237d6f84e14d6b64fd1c19a4481a032a3deb
|
4
|
+
data.tar.gz: a490fd003103aee515fe0120e38df6aa3347781edacffcb01386714650ca4f7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c500367fc8c60c71087ea9c5b8b2f6e1330d61b787e38b8c7462d9429f4f1cc707a4667ecd53070e901cb5ef24aa2f7cda4ba3ce4e76b6bdd41885777e5abd7
|
7
|
+
data.tar.gz: 0176ff360246c779546fd83dd097c68a30c65bc58062ff591a15689015505685ba7e0542e6018238324dc2e4e884eed726ccb4a3e0d319a32cd5f5b0dd768eca
|
@@ -1,19 +1,8 @@
|
|
1
1
|
require 'stbaldricks/endpoints/lib/entity'
|
2
|
-
require 'ipaddr'
|
3
2
|
|
4
3
|
module SBF
|
5
4
|
module Client
|
6
5
|
class DonationEndpoint < SBF::Client::EntityEndpoint
|
7
|
-
def create(entity_or_hash, with = {})
|
8
|
-
unless SBF::Client::Configuration.forwarded_for
|
9
|
-
SBF::Client::LOG.warn {
|
10
|
-
"SBF::Client No forwarded_for configured for the client on the donation create route. \
|
11
|
-
This may cause your app to be blocked from creating donations if too many errors occur."
|
12
|
-
}
|
13
|
-
end
|
14
|
-
super
|
15
|
-
end
|
16
|
-
|
17
6
|
def external_sync(data)
|
18
7
|
response = SBF::Client::Api::Request.post_request("#{base_uri}/external_sync", data)
|
19
8
|
|
@@ -73,7 +73,7 @@ module SBF
|
|
73
73
|
end
|
74
74
|
SBF::Client::Configuration.user_token = nil
|
75
75
|
|
76
|
-
SBF::Client::LOG.info { "
|
76
|
+
SBF::Client::LOG.info { "SB::Client - Change Password for user with profile_id: #{profile_id}" }
|
77
77
|
SBF::Client::Api::Response.new(http_code: response.code, data: nil, error: error)
|
78
78
|
end
|
79
79
|
|
@@ -95,7 +95,7 @@ module SBF
|
|
95
95
|
error = SBF::Client::ErrorEntity.new(parsed_response)
|
96
96
|
end
|
97
97
|
|
98
|
-
SBF::Client::LOG.info { "
|
98
|
+
SBF::Client::LOG.info { "SB::Client - Disconnecting Facebook user with profile_id: #{profile_id}" }
|
99
99
|
SBF::Client::Api::Response.new(http_code: response.code, data: nil, error: error)
|
100
100
|
end
|
101
101
|
end
|
data/lib/stbaldricks/request.rb
CHANGED
@@ -68,15 +68,12 @@ module SBF
|
|
68
68
|
|
69
69
|
def self.options(auth: nil, type: :get, query: nil, body: nil)
|
70
70
|
{}.tap do |options|
|
71
|
-
options.merge!(
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
end,
|
78
|
-
verify: verify_ssl_peer?
|
79
|
-
)
|
71
|
+
options.merge!(base_uri: SBF::Client::Configuration.base_uri,
|
72
|
+
headers: {
|
73
|
+
'Accept' => 'application/json',
|
74
|
+
'X-Request-Id' => SBF::Client::Configuration.request_id
|
75
|
+
},
|
76
|
+
verify: verify_ssl_peer?)
|
80
77
|
options[:body] = body if body
|
81
78
|
options[:query] = query if query
|
82
79
|
options[:headers]['Content-Type'] = 'application/json' if type == :post
|
data/lib/stbaldricks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbaldricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 10.0.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -538,9 +538,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
538
538
|
version: '0'
|
539
539
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
540
540
|
requirements:
|
541
|
-
- - "
|
541
|
+
- - ">"
|
542
542
|
- !ruby/object:Gem::Version
|
543
|
-
version:
|
543
|
+
version: 1.3.1
|
544
544
|
requirements: []
|
545
545
|
rubygems_version: 3.0.3
|
546
546
|
signing_key:
|