complete_payment_systems 0.0.1 → 0.0.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: 5a30b99b8dc3c9b281274253a749868aff351cce
4
- data.tar.gz: f365572a3c26dbc912dc1b16743853e3cc78e7b0
3
+ metadata.gz: e0680ace634fcdedcddd6b041c268cee3da2ea9a
4
+ data.tar.gz: 72ec29b4daebb3438c3a0958aa80c7f4eefe9521
5
5
  SHA512:
6
- metadata.gz: afd6276737dda4f26fb571b4040997f5b17c1a50989572849af97a043c67e25614fd5366d79f44aa55e2b2093261d9c5b8b236fc1c679428b8f71f154571218e
7
- data.tar.gz: 670de0ec274fcba92b69a817638907c2639e4dd40bcdd399e18140b09c7ab8be8de434c627decb380004eb2e8ebc8ff73eaf1345eb150e28d992edc10638efe9
6
+ metadata.gz: 244c79f5155d613c49f1133a09126383d7f9e88dcdddb64aca4f359c775d7e7fa6e53740a11652935587333575ee3689dc1146ced9cb28cb78c396104048a4ec
7
+ data.tar.gz: b31400b94677fb351c84ca6f44ece74c5ea75a78774273fbff335d205cf868addcb5029781ca96d1aa74c20255f2e0b1fb45627d546766ca36795a5436b9e52e
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # v0.0.2
2
+
3
+ Added default values to named parameters for Ruby v2.0.0 compatability
4
+
5
+ # v0.0.1
6
+
7
+ First legitimate release
@@ -22,7 +22,7 @@ module CompletePaymentSystems
22
22
  end
23
23
 
24
24
  private
25
- def self.sign(type: CPS.config.cps_method, user: CPS.config.default_user, order_id: , value: , currency: , card_number: , product: CPS.config.default_product_name)
25
+ def self.sign(type: CPS.config.cps_method, user: CPS.config.default_user, order_id: "", value: "", currency: "", card_number: "", product: CPS.config.default_product_name)
26
26
  sign_string = [type, user, order_id, value, currency, card_number, product].join()
27
27
  rsa = OpenSSL::PKey::RSA.new(File.read(CPS.config.rsa_cert_path), CPS.config.cert_pass )
28
28
  signed_hash = rsa.sign(OpenSSL::Digest::SHA1.new, sign_string)
@@ -1,3 +1,3 @@
1
1
  module CompletePaymentSystems
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: complete_payment_systems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Epigene
@@ -103,6 +103,7 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
105
  - ".rspec"
106
+ - CHANGELOG.md
106
107
  - Gemfile
107
108
  - LICENSE.txt
108
109
  - README.md