paynl 1.0.0 → 1.0.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: cefd0030debec27da0ed3b2b88b0f3c9ae94a4b9
4
- data.tar.gz: 9a2fd0ccbe739aabeb9cf80c45e704c72911312b
3
+ metadata.gz: 833da971b241714b658bc74937476ebfc9c4204c
4
+ data.tar.gz: 92b96bf3c1a35a93d5c63ba75d21e8a07670a1d6
5
5
  SHA512:
6
- metadata.gz: 47aad5fa655a8e502c277149a81a42b6521976a73596a9b468ff94420a81eac1a169bda4f52654921ea88a38677f4d98b12dd13cfde1da9630166bfb3b4a260d
7
- data.tar.gz: cd32b835f675913318ddbb24e8542708751466629e1ead24994d13bf2b4b3c2a00e74caf3ff16207a1a56b4b8c9a496c41ae2c07910b9fadbaa231d410db79f6
6
+ metadata.gz: c5a1df32c3293157365a0d005ab591a7657c990f067fc573eb6697feaab175fbd4c3cb06515c15788b6dada30dcbce5e6a9f4832c6d1d3c4a69b40411109946f
7
+ data.tar.gz: 5401327a5474ea89a7dde1dc4837a50df3120b5999c623656fb6460f2b799f4a1dc0108c3a8ef6497e2b610901fdac3285aca4b534c127326879bd15b01f612b
data/.travis.yml CHANGED
@@ -1,4 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
3
+ - "1.9.2"
4
+ - "1.9.3"
5
+ - "2.2.1"
6
+ - "2.3.0"
4
7
  before_install: gem install bundler -v 1.11.2
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'coveralls', require: false
4
+
3
5
  # Specify your gem's dependencies in paynl.gemspec
4
6
  gemspec
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Build Status](https://travis-ci.org/paynl/ruby-sdk.svg?branch=master)](https://travis-ci.org/paynl/ruby-sdk) [![Coverage Status](https://coveralls.io/repos/github/paynl/ruby-sdk/badge.svg?branch=master)](https://coveralls.io/github/paynl/ruby-sdk?branch=master)
1
2
  # Pay.nl SDK in Ruby
2
3
 
3
4
  ---
@@ -184,4 +185,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/paynl/
184
185
 
185
186
  ## License
186
187
 
187
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
188
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/lib/paynl/helper.rb CHANGED
@@ -62,6 +62,9 @@ module Paynl
62
62
  if transaction['paymentDetails']['stateName'] == 'PENDING'
63
63
  return true
64
64
  end
65
+ if transaction['paymentDetails']['stateName'] == 'VERIFY'
66
+ return true
67
+ end
65
68
 
66
69
  return false
67
70
  end
data/lib/paynl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Paynl
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paynl
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
  - Sebastian Berm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler