grape_api_signature 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +10 -0
- data/Gemfile +0 -1
- data/app/assets/javascripts/aws-signature.js.coffee +6 -1
- data/lib/grape_api_signature/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: c36c4f8a4596be8a9f1e3229b2d15aa9f73fc68d
|
4
|
+
data.tar.gz: 7e1b4344f851021db3aebef70fb0a0c13909b30e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ccf7a3498b9d695473348b81fc5d005c3ed928a9f5930638f78067f79a3ae5dfd70a539ba6cb5a437d55e0db3fd344fb9ab055be27ecd6b911c38d286043750
|
7
|
+
data.tar.gz: 0f00ebbdcf158db6adab368091c8d13a8582b59fdb14c3168293382abdb4bb496f291c1a6165d0469b6a200c1615544a3ac8bd3fc291a57f26b869915bf7830b
|
data/.rubocop_todo.yml
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
+
# on 2014-11-20 16:06:53 +0100 using RuboCop version 0.27.1.
|
3
|
+
# The point is for the user to remove these configuration records
|
4
|
+
# one by one as the offenses are removed from the code base.
|
5
|
+
# Note that changes in the inspected code, or installation of new
|
6
|
+
# versions of RuboCop, may require this file to be generated again.
|
7
|
+
|
8
|
+
# Offense count: 3
|
9
|
+
Metrics/AbcSize:
|
10
|
+
Max: 24
|
data/Gemfile
CHANGED
@@ -24,7 +24,12 @@ do ($=jQuery) ->
|
|
24
24
|
if @url && @url.searchParams
|
25
25
|
@search = @query_sorted(@url.searchParams.toString())
|
26
26
|
else
|
27
|
-
@
|
27
|
+
if @url && @url.search
|
28
|
+
tmp_query = @url.search.toString()
|
29
|
+
tmp_query.replace(/^?/,'')
|
30
|
+
@search = @query_sorted(tmp_query)
|
31
|
+
else
|
32
|
+
@search = ''
|
28
33
|
@method = obj.method.toUpperCase()
|
29
34
|
@req_headers = $.extend({}, obj.headers)
|
30
35
|
@body = obj.body ? ''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape_api_signature
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dieter Späth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|