jive-signed_request 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/README.md +1 -1
- data/lib/jive/signed_request.rb +3 -1
- data/lib/jive/signed_request/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b978f0046267418c305c7d1b0059281a61da8f3e
|
4
|
+
data.tar.gz: f75ddc12191bedb0a749f3839efaade33dff509e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61dd48828552b6f2d32acc6be2bbc3e3adbd31ed74a574f057449e7019aa4458bc27e0ed3c8cfedc858c4d37e57a20d3084edfff59e487397fc4b1ffd17c073
|
7
|
+
data.tar.gz: 33ee892c313311842eec8d57b953fc1488d8c2638314b59824a2575a476c29109a26ff6c908aad7eed9a79e23936547381aa2e0ac7454815a64d62b11ae5dbfd
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/jive-signed_request.svg)](http://badge.fury.io/rb/jive-signed_request)
|
2
2
|
[![Build Status](https://travis-ci.org/butchmarshall/ruby-jive-signed_request.svg?branch=master)](https://travis-ci.org/butchmarshall/ruby-jive-signed_request)
|
3
3
|
|
4
4
|
# Jive::SignedRequest
|
data/lib/jive/signed_request.rb
CHANGED
@@ -113,7 +113,9 @@ module Jive # :nodoc:
|
|
113
113
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl? && !options[:verify_ssl]
|
114
114
|
|
115
115
|
buffer = ''
|
116
|
-
validationBlock.sort
|
116
|
+
validationBlock = validationBlock.sort
|
117
|
+
|
118
|
+
(validationBlock.respond_to?(:to_h) ? validationBlock.to_h : Hash[validationBlock] ).each_pair { |k,v|
|
117
119
|
buffer = "#{buffer}#{k}:#{v}\n"
|
118
120
|
}
|
119
121
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jive-signed_request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Butch Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|