chart-candy 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/lib/chart-candy/authentication.rb +3 -2
- data/lib/chart-candy/engine.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f29141a56dea5836a08d1e0f37c77445fceea9e6
|
4
|
+
data.tar.gz: fe556191e78c2bfa8f7057f106642ff0c6f54e49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7da51222fd4d243c46b0158ba6d063b89e8a2c778ea1d410e7d983a7e5142fdfdf89a91ba42bd0751df9886db4f000979028af475a36ace253d6cdec00f6aa3
|
7
|
+
data.tar.gz: 2eaaac65dfc2636a1d8b6821b20b02e8bb16b35e4984012f5f7faad8b273635cd0cf3c04daf32f9a5f6b35a604ea48620b41f42c121a1132c55204caf45f9ad1
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'openssl'
|
2
|
+
|
1
3
|
module ChartCandy
|
2
4
|
class Authentication
|
3
5
|
def self.compact_params(original_params)
|
@@ -13,8 +15,7 @@ module ChartCandy
|
|
13
15
|
end
|
14
16
|
|
15
17
|
def self.tokenize(str)
|
16
|
-
|
17
|
-
#HMAC::SHA1.hexdigest(Rails.configuration.secret_token, str.chars.sort.join.gsub('/', ''))
|
18
|
+
OpenSSL::HMAC.hexdigest(OpenSSL::Digest::SHA1.new, Rails.configuration.secret_token, str.chars.sort.join.gsub('/', ''))
|
18
19
|
end
|
19
20
|
|
20
21
|
def initialize(request_url, params={})
|
data/lib/chart-candy/engine.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chart-candy
|
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
|
- Sebastien Rosa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spreadsheet
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
131
|
version: '0'
|
118
132
|
requirements: []
|
119
133
|
rubyforge_project: chart-candy
|
120
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.4.5
|
121
135
|
signing_key:
|
122
136
|
specification_version: 4
|
123
137
|
summary: Chart Candy use D3.js library to quickly render AJAX charts in your Rails
|