rubykassa 0.2.0 → 0.2.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: 7d486bd7b81b3a811917528df73900cd97ab377f
4
- data.tar.gz: 5044ffb2c3dec297304207d6999004c231c7d9c8
3
+ metadata.gz: 170afa113f939199ab32c7111211114ca8130674
4
+ data.tar.gz: ee8ad3bfd886a50e31f54a6fc6ffc6a594a03c2c
5
5
  SHA512:
6
- metadata.gz: 2b11065ea8e3dd1b3bb6017b8ec82ccb8c30f6dd66e29693472afd1e147422edc7ca17afaccab68b7555eade3a0f748d8f8ec2fcb0bff879d434aee9f1978955
7
- data.tar.gz: 40ed36d5bf65d054362b61799ec153634d2088f578d075faba933c0cefa9ab0df9f535d8ad1f9038bafaebb8ad4b1564f98cbcd2d560f8c6368f428d85bcb0c6
6
+ metadata.gz: e95a4e14e596aee4e0f29c6f93508b4353640425c37b9e7559f41d1bbe3578a75f61405c6eaa290af64c70e01418f06af12526d87d329b891b1d6317a3fe7dcb
7
+ data.tar.gz: b63367849f7a505f9a8fc0f6d43733750ed0cce941ca9ea2ce35ab6b202cb7c34fac48c188540114d45c53fbb1c5a6de6e8a8baa85ef742edd4b991f41ce8913
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## Edge version
2
+
3
+ * Fix description param name from `'InvDesc'` to `'Desc'`. Closes [#2][]
4
+
5
+ [#2]: https://github.com/ZeroOneStudio/rubykassa/issues/2
@@ -12,7 +12,7 @@ module Rubykassa
12
12
  signature: "SignatureValue",
13
13
  email: "Email",
14
14
  currency: "IncCurrLabel",
15
- description: "InvDesc",
15
+ description: "Desc",
16
16
  culture: "Culture"
17
17
  }
18
18
 
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Rubykassa
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.2"
4
4
  end
@@ -22,7 +22,7 @@ describe Rubykassa::PaymentInterface do
22
22
  end
23
23
 
24
24
  it "should return correct pay_url when additional options passed" do
25
- @payment_interface.pay_url({description: "desc", culture: "ru", email: "foo@bar.com", currency: ""}).should == "http://test.robokassa.ru/Index.aspx?MrchLogin=your_login&OutSum=1200&InvId=12&SignatureValue=96c0bbd4fc8f365455e949b1fbf5e3f4&IncCurrLabel=&InvDesc=desc&Email=foo@bar.com&Culture=ru"
25
+ @payment_interface.pay_url({description: "desc", culture: "ru", email: "foo@bar.com", currency: ""}).should == "http://test.robokassa.ru/Index.aspx?MrchLogin=your_login&OutSum=1200&InvId=12&SignatureValue=96c0bbd4fc8f365455e949b1fbf5e3f4&IncCurrLabel=&Desc=desc&Email=foo@bar.com&Culture=ru"
26
26
  end
27
27
 
28
28
  it "should return correct initial_options" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubykassa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Kishenin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-02 00:00:00.000000000 Z
11
+ date: 2013-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -118,6 +118,7 @@ extra_rdoc_files: []
118
118
  files:
119
119
  - .gitignore
120
120
  - .travis.yml
121
+ - CHANGELOG.md
121
122
  - Gemfile
122
123
  - Guardfile
123
124
  - MIT-LICENSE