webpay_rails 1.0.0 → 1.0.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: 0f99e80e015c4b491c9eeb739af651a34b0014b6
4
- data.tar.gz: 5eb044ebfea6491227fb5ed7d13bbc2e5e0cf2bf
3
+ metadata.gz: 5c5dd0af35b42f251d1a42ac62f6782cc81e1c62
4
+ data.tar.gz: e055ac2da4f8285ace56cfdc9e431fdcee59c5b8
5
5
  SHA512:
6
- metadata.gz: d5e02cfd6ec1c2679d56a24d669d2e10893dd2c23be84264d32d33b11c957c2c001b9715fcbca99f5a685c7282bd3090e2a226e0b43325bbc20b5845bc45195c
7
- data.tar.gz: 7876ac419e68e480a9b6df2b180f62d2ba02bde7af1fe85936e16625e2fda0601ed21f5a62f011c731c467a355eaa430f9c3e8fe8970602e92cd9c517206e3b7
6
+ metadata.gz: d1289617f1025538ab9aceac7872f373e2145c1c1cd83621688084b5f75c0f4392af0af6107abf70573e0e8ae2791f99b0cad36ca547c4727f4f587493ad4f59
7
+ data.tar.gz: 3fdf4acc44422aedbb74d9eea988c2858bde353f0596233f82b8e55a5efc220568a4b92cceed919a4110270de85a64da612fef87e40490022e3839640262dce9
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ ### 1.0.1 - 2016-08-26
2
+
3
+ #### bug fixes
4
+ * Fix bug transanction_result approved? (by @isseu)
5
+
6
+ ### 1.0.0 - 2016-08-06
7
+
8
+ * Add test for init_transaction.
9
+ * Rewrite official webpay sdk v1.1.0 for extend models on rails.
data/README.md CHANGED
@@ -2,9 +2,12 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/limcross/webpay_rails.svg?branch=master)](https://travis-ci.org/limcross/webpay_rails)
4
4
  [![Code Climate](https://codeclimate.com/github/limcross/webpay_rails/badges/gpa.svg)](https://codeclimate.com/github/limcross/webpay_rails)
5
+ [![Gem Version](https://badge.fury.io/rb/webpay_rails.svg)](https://badge.fury.io/rb/webpay_rails)
5
6
 
6
7
  WebpayRails is an easy solution for integrate Transbank Webpay in Rails applications.
7
8
 
9
+ _This gem (including certificates used in tests) was originally based on the SDK for Ruby (distributed under the **open source license**) available in www.transbankdevelopers.cl_
10
+
8
11
  ## Getting started
9
12
  You can add it to your `Gemfile`:
10
13
 
@@ -19,7 +19,7 @@ module WebpayRails
19
19
  end
20
20
 
21
21
  def approved?
22
- @response_code == 0
22
+ @response_code.to_i == 0
23
23
  end
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module WebpayRails
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpay_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastián Orellana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: signer
@@ -139,6 +139,7 @@ files:
139
139
  - ".gitignore"
140
140
  - ".rspec"
141
141
  - ".travis.yml"
142
+ - CHANGELOG.md
142
143
  - Gemfile
143
144
  - MIT-LICENSE
144
145
  - README.md