mastercard_oauth1_signer 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oauth.rb +2 -2
- data/oauth1_signer_ruby.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e52e7a13c81a01dea40d2fa0319d56621a4c1d5966bc96b386b1b09c766cfbb
|
4
|
+
data.tar.gz: f5073154eda820ace6641ca7362b3e1db91a62c0bb478751c4850ecc3f179c65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c077259309f75298276fd57538de40126b20be38514e1de00ce34e8c86e8b833133b17c7c08c1edb96f174f68d3431c8fc3079b73570d7ad4a7525664f8be5
|
7
|
+
data.tar.gz: ffbdb6961f7b8b08e7a639c3e57cac9d64c9732498298e94350e7bd2417c5c143b30a4205a6467dd10528b61a9411ac69bb43e1215acbdf61a9fb454460750b3
|
data/lib/oauth.rb
CHANGED
@@ -98,7 +98,7 @@ class OAuth
|
|
98
98
|
oauth_params.each {|entry|
|
99
99
|
entry_key = entry[0]
|
100
100
|
entry_val = entry[1]
|
101
|
-
header = "#{header}#{entry_key}
|
101
|
+
header = "#{header}#{entry_key}=\"#{entry_val}\","
|
102
102
|
}
|
103
103
|
# Remove trailing ,
|
104
104
|
header.slice(0, header.length - 1)
|
@@ -115,7 +115,7 @@ class OAuth
|
|
115
115
|
url = URI.parse(uri)
|
116
116
|
# Lowercase scheme and authority
|
117
117
|
# Remove query and fragment
|
118
|
-
"#{url.scheme.downcase}://#{url.host.downcase}#{url.path
|
118
|
+
"#{url.scheme.downcase}://#{url.host.downcase}#{url.path}"
|
119
119
|
end
|
120
120
|
|
121
121
|
#
|
data/oauth1_signer_ruby.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |gem|
|
|
3
3
|
gem.authors = ["Mastercard"]
|
4
4
|
gem.summary = %q{OAuth signature SDK}
|
5
5
|
gem.description = %q{Zero dependency library for generating a Mastercard API compliant OAuth signature}
|
6
|
-
gem.version = "1.0
|
6
|
+
gem.version = "1.1.0"
|
7
7
|
gem.license = "MIT"
|
8
8
|
gem.homepage = "https://github.com/Mastercard/oauth1-signer-ruby"
|
9
9
|
gem.files = Dir["{bin,spec,lib}/**/*"]+ Dir["data/*"] + ["oauth1_signer_ruby.gemspec"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_oauth1_signer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mastercard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|