payhyper 0.4.0 → 0.4.1

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: da28bd603c96a3a9cb540d30fcd833811dfae20d
4
- data.tar.gz: 12e69092dda839f62ab3c00db2096e2821f31e08
3
+ metadata.gz: e1ac55a84709d172ef973b489f55b3177003bd96
4
+ data.tar.gz: 93f9fd2ba44ade6de09c8a4ae523f978260129d5
5
5
  SHA512:
6
- metadata.gz: 42a531eb123eb8637d56c0c1efdd5578a179bcdda5cd70255aac9eda1da3ef6e1459ea2dd4b57ffe7c53ef62d3cc1090d8f68006f2d28eec371471d2d02cf7ba
7
- data.tar.gz: 96079d6b3ffbe2b804bd6b850089a757e47c1952f02090ee194ebeed297a9261e22eb8e482170b1c15f4edd08ad9fbe254630ab728f45ff75ba793bc2e9472ff
6
+ metadata.gz: 4eb4f20157023d55319add05ae5ce0f5e38142f54a556899a57c30cb1a471094914d6062bace4f406d6d1c6c5a6a95d2d8d6cf3ca528040d98833fb20417d3b0
7
+ data.tar.gz: 2b1e0f0d66831d9d6411b1b3da04b92a690c4f9d2a0ed8a474555db1541c3b9872a4821f74ff5a39f5c804f910f293b89198c39b699581ee08735a8bf47f954c
@@ -2,7 +2,7 @@ module PayHyper
2
2
  module Security
3
3
 
4
4
  def self._sign(key, data)
5
- OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new('sha1'), key, data)
5
+ OpenSSL::HMAC.digest(OpenSSL::Digest.new('sha1'), key, data)
6
6
  end
7
7
 
8
8
  def self.sign(key, data)
@@ -1,3 +1,3 @@
1
1
  module PayHyper
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
data/lib/payhyper.rb CHANGED
@@ -12,13 +12,13 @@ module PayHyper
12
12
 
13
13
  unless defined?(DEBUG)
14
14
  BASE_URLS = {
15
- :live => "https://api.payhyper.com",
16
- :sandbox => "https://sandbox-api.payhyper.com",
15
+ :live => "https://api.payhyper.com",
16
+ :sandbox => "https://sandbox-api.payhyper.com",
17
17
  }
18
18
  else
19
19
  BASE_URLS = {
20
- :live => "http://api.local.local:3000",
21
- :sandbox => "http://sandbox-api.local.local:3001",
20
+ :live => "http://api.local.local:3000",
21
+ :sandbox => "http://sandbox-api.local.local:3001",
22
22
  }
23
23
  end
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payhyper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sinan Taifour