sageone_api_request_signer 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49def24270ae5971566c6d681d194660a4d8a628
4
- data.tar.gz: 12f56f7d7e42fb014ba5b45b6fe4b57547902a05
3
+ metadata.gz: 69a2ec40ba5192d0cd276c4ec83a6c35cc7ee2f5
4
+ data.tar.gz: 291f2453461640e1c1481ddc2dbfeac63e8d8c95
5
5
  SHA512:
6
- metadata.gz: ba4cde8c202c671dfa9bb25d0838375629f2db7bba4543f117194b840de21940588eb515f5df62afafe24733c08358383a36cbe374cc949d7570ed457a467f3c
7
- data.tar.gz: e3288badfc02de3a82e23e2c010522f9a063b80c4fe240462766095fe748367c8b70fc868cf179225b52ece1352146635c4a289f4bfcf269debe202b1bfd235e
6
+ metadata.gz: 5410a518e210eba7b4f6c2ec3660c3093c938f4db5f99a19d66de43c8df6c3269aaca944288ee52fb489f9a862bbab8cc5836f847a3cc0c22730beaacdd4c3ec
7
+ data.tar.gz: 4022561cba7fcae374b5756e4125439be53d2ca5093c669ab7bc895994b23c1e88fbec4e248339aea07a26413ac81e17903bf36527566746733f73bd4a99baac
@@ -1,3 +1,3 @@
1
1
  class SageoneApiRequestSigner
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -34,31 +34,15 @@ RSpec.describe 'testing complex body params' do
34
34
  check_signature!
35
35
  end
36
36
 
37
- it 'with arrays' do
37
+ it 'with something like "arrays"' do
38
38
  subject.body_params = {
39
39
  simple: 'param',
40
- complex: [
41
- {one:11, two:12, three:13},
42
- {one:21, two:22, three:23},
43
- ]
44
- }
45
- end
46
-
47
- it 'hardcore one' do
48
- subject.body_params = {
49
- hardcore: [
50
- {one:11, two:12, three:13},
51
- {four:4, two:22, three:23},
52
- {
53
- fuck_all: {
54
- i_am: 'really nested',
55
- no: {
56
- i_am: 'damm more'
57
- }
58
- }
59
- }
60
- ]
40
+ complex: {
41
+ 0 => {one:11, two:12, three:13},
42
+ 1 => {one:21, two:22, three:23},
43
+ }
61
44
  }
45
+ check_signature!
62
46
  end
63
47
 
64
48
  def check_signature!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sageone_api_request_signer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rudiney Altair Franceschi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2014-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport