pnthr 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04434ab1d26fcb4f2eea3082ec789e177c0248ac
4
- data.tar.gz: 6734599fd650304bec4d9879529b927456fbd1b2
3
+ metadata.gz: abd0491ec27e3ebf829cc680cfe5f4d0c13ccf88
4
+ data.tar.gz: 19802a36a7fbca05d599745fcecf8f734f8df3e8
5
5
  SHA512:
6
- metadata.gz: 7399672726c051f6b3310066612e4f71507ab029d12f3d09a8b1a4d3d97b878814100d5f06102111b750c09883cc382c528a9187bcf2b62f0680df0dfaef8917
7
- data.tar.gz: 61353c3355f10c40b4e74df3d283e2e92486d5f3b80d9b5ffb80cb56f725bcaf543ee369d4f55d119f3c862b4eea62ca250f3855bfada4df56c0eeb7a4e58c5e
6
+ metadata.gz: ad9c4512449abec29ccc910a7899cf77a482b0aedb08d271d9ef9058e46fe620e843532a6e56b15c53615e3181065947b4cd9d249a320b3f6d028bf778846e57
7
+ data.tar.gz: d73aa80bee1c40fe62dde3bf07ab3a261649bebf7931e03609afe80f1ca3bd2851eb9f54ee8b7e5b9d4461fbbc87ceface9eb1f05ce752b25551af66444ec995
data/lib/pnthr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pnthr
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -5,8 +5,9 @@ describe Pnthr do
5
5
 
6
6
  host_url = 'https://pnthr-api.herokuapp.com/'
7
7
  ssl_on = true
8
- app_id = '536d49b86336350002000000'
9
- app_secret = '15e0497a57c6340ccd81b74f0e5de1d7'
8
+ app_id = '538362a63832640002020000'
9
+ app_secret = '8d1067143a608920a56f4d4a7c6e3d4b'
10
+ app_password = '22e5ab5743ea52caf34abcc02c0f161d'
10
11
 
11
12
  pnthr = Pnthr::Security.new(app_id, app_secret, url: host_url, ssl: ssl_on, iv: app_id[0..15])
12
13
  response = pnthr.roar('this is a test')
@@ -52,13 +53,12 @@ describe Pnthr do
52
53
  end
53
54
 
54
55
  it "should respond with a predictable string" do
55
- response.body.should eq 'uUeZihDFPJ/Pm7k/HqA=-536d49b863363500'
56
+ response.body.should eq 'VlxVfECSfl9Gd+Coafs=-538362a638326400'
56
57
  end
57
58
 
58
59
  it "should encrypt with a predictable string" do
59
60
  test = Base64.encode64(pnthr.encrypt('this is a test')).strip! + "-#{app_id[0..15]}"
60
-
61
- test.should eq 'ynXLtC+JSE/ApHPT/PQ=-536d49b863363500'
61
+ test.should eq 'Xwt+WH8rcvyxw6t28LA=-538362a638326400'
62
62
  end
63
63
 
64
64
  it "should cage with a predictable string" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pnthr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay McIlrath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler