mollie-api-ruby 1.4.1 → 1.4.2

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: 4bde82c98c498c8ca61537728123db07cff7cee9
4
- data.tar.gz: 963decb7487ea4b12495cdc05e9daaf61977929b
3
+ metadata.gz: 2408d6e8c1b9aef184a32b5d571998f3177e1d99
4
+ data.tar.gz: d41e032d7d1542b37866a50b6d38ac23ec5f2342
5
5
  SHA512:
6
- metadata.gz: bbef7872c78e1b383d4401d16436dae4ee2cbfe32e56407c7847384c6e9f1213362b3e911f2f3e138dfb6a98fd5627be5eb53b01c0dfa3ebffebbb4a4b75a4ed
7
- data.tar.gz: 48d2c6ad1eb1450ab673be445ccc85e519527f17a91bf839d487382a6b060746f318d1b4566e761ac7943511e7ca970df32f6e2351393653d2095ee3ec0c7947
6
+ metadata.gz: aaef654274f774dfeedc710e05c394c24815565b5286683aa503d68150d63710be71175cf08700bfcf4e186055444c133467a9ed2c98d775958a69087def1129
7
+ data.tar.gz: 03bac53f11dd5804f0117b72e373cb42a7bec3ee2433091762a859e95462387b19701e62d45a170a6e8de19ae63bfaa675cc17a6eb9dc2787808991cdddf391e
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
 
7
7
 
8
+ #### v1.4.2 - 2016-10-19
9
+ - Added payment method KBC/CBC Payment Button
10
+ - Fixed an issue where the required `mime-types` dependency did not work correctly ([#32](https://github.com/mollie/mollie-api-ruby/pull/32)).
11
+ - Fixed an issue with customer subscriptions ([#35](https://github.com/mollie/mollie-api-ruby/pull/35)).
12
+
8
13
  #### v1.4.1 - 2016-06-20
9
14
  - Added `refunded?` method.
10
15
 
data/README.mdown CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Mollie API client for Ruby #
4
4
 
5
- Accepting [iDEAL](https://www.mollie.com/ideal/), [Bancontact/Mister Cash](https://www.mollie.com/mistercash/), [SOFORT Banking](https://www.mollie.com/sofort/), [Creditcard](https://www.mollie.com/creditcard/), [SEPA Bank transfer](https://www.mollie.com/overboeking/), [SEPA Direct debit](https://www.mollie.com/directdebit/), [Bitcoin](https://www.mollie.com/bitcoin/), [PayPal](https://www.mollie.com/paypal/), [Belfius Direct Net](https://www.mollie.com/belfiusdirectnet/) and [paysafecard](https://www.mollie.com/paysafecard/) online payments without fixed monthly costs or any punishing registration procedures. Just use the Mollie API to receive payments directly on your website or easily refund transactions to your customers.
5
+ Accepting [iDEAL](https://www.mollie.com/ideal/), [Bancontact/Mister Cash](https://www.mollie.com/mistercash/), [SOFORT Banking](https://www.mollie.com/sofort/), [Creditcard](https://www.mollie.com/creditcard/), [SEPA Bank transfer](https://www.mollie.com/overboeking/), [SEPA Direct debit](https://www.mollie.com/directdebit/), [Bitcoin](https://www.mollie.com/bitcoin/), [PayPal](https://www.mollie.com/paypal/), [KBC/CBC Payment Button](https://www.mollie.com/kbccbc/), [Belfius Direct Net](https://www.mollie.com/belfiusdirectnet/) and [paysafecard](https://www.mollie.com/paysafecard/) online payments without fixed monthly costs or any punishing registration procedures. Just use the Mollie API to receive payments directly on your website or easily refund transactions to your customers.
6
6
 
7
7
  ## Requirements ##
8
8
  To use the Mollie API client, the following things are required:
@@ -11,7 +11,7 @@ To use the Mollie API client, the following things are required:
11
11
  + Create a new [Website profile](https://www.mollie.nl/beheer/account/profielen/) to generate API keys (live and test mode) and setup your webhook.
12
12
  + Now you're ready to use the Mollie API client in test mode.
13
13
  + In order to accept payments in live mode, payment methods must be activated in your account. Follow [a few of steps](https://www.mollie.nl/beheer/diensten), and let us handle the rest.
14
- + This API client requires the [REST Client](https://github.com/rest-client/rest-client) and [JSON](https://rubygems.org/gems/json) gems.
14
+ + This API client requires the [REST Client](https://github.com/rest-client/rest-client) (with [mime-types](https://github.com/mime-types/ruby-mime-types/) version <3) and [JSON](https://rubygems.org/gems/json) gems.
15
15
 
16
16
  ## Installation ##
17
17
 
@@ -106,6 +106,7 @@ Contact: [www.mollie.com](https://www.mollie.com) — info@mollie.com — +31 20
106
106
  + [More information about SEPA Direct debit via Mollie](https://www.mollie.com/directdebit/)
107
107
  + [More information about Bitcoin via Mollie](https://www.mollie.com/bitcoin/)
108
108
  + [More information about PayPal via Mollie](https://www.mollie.com/paypal/)
109
+ + [More information about KBC/CBC Payment Button via Mollie](https://www.mollie.com/kbccbc/)
109
110
  + [More information about Belfius Direct Net via Mollie](https://www.mollie.com/belfiusdirectnet/)
110
111
  + [More information about paysafecard via Mollie](https://www.mollie.com/paysafecard/)
111
112
 
@@ -1,7 +1,7 @@
1
1
  module Mollie
2
2
  module API
3
3
  class Client
4
- CLIENT_VERSION = "1.4.1"
4
+ CLIENT_VERSION = "1.4.2"
5
5
  end
6
6
  end
7
7
  end
@@ -10,6 +10,7 @@ module Mollie
10
10
  DIRECTDEBIT = "directdebit"
11
11
  BITCOIN = "bitcoin"
12
12
  PAYPAL = "paypal"
13
+ KBC = "kbc"
13
14
  BELFIUS = "belfius"
14
15
  PAYSAFECARD = "paysafecard"
15
16
  PODIUMCADEAUKAART = "podiumcadeaukaart"
@@ -13,7 +13,7 @@ module Mollie
13
13
 
14
14
  def getResourceName
15
15
  customer_id = URI::encode(@parent_id)
16
- "customers/#{parent_id}/subscriptions"
16
+ "customers/#{customer_id}/subscriptions"
17
17
  end
18
18
 
19
19
  def with(customer)
data/mollie.gemspec CHANGED
@@ -6,7 +6,7 @@ spec = Gem::Specification.new do |s|
6
6
  s.name = 'mollie-api-ruby'
7
7
  s.version = Mollie::API::Client::CLIENT_VERSION
8
8
  s.summary = 'Official Mollie API Client for Ruby'
9
- s.description = 'Accepting iDEAL, Bancontact/Mister Cash, SOFORT Banking, Creditcard, SEPA Bank transfer, SEPA Direct debit, Bitcoin, PayPal, Belfius Direct Net, paysafecard and PODIUM Cadeaukaart online payments without fixed monthly costs or any punishing registration procedures.'
9
+ s.description = 'Accepting iDEAL, Bancontact/Mister Cash, SOFORT Banking, Creditcard, SEPA Bank transfer, SEPA Direct debit, Bitcoin, PayPal, KBC Payment Button, CBC Payment Button, Belfius Direct Net, paysafecard and PODIUM Cadeaukaart online payments without fixed monthly costs or any punishing registration procedures.'
10
10
  s.authors = ['Rick Wong']
11
11
  s.email = ['info@mollie.nl']
12
12
  s.homepage = 'https://github.com/mollie/mollie-api-ruby'
@@ -15,6 +15,7 @@ spec = Gem::Specification.new do |s|
15
15
 
16
16
  s.add_dependency('rest-client', '~> 1.8')
17
17
  s.add_dependency('json', '~> 1.8')
18
+ s.add_dependency('mime-types', '< 3')
18
19
 
19
20
  s.files = `git ls-files`.split("\n")
20
21
  s.test_files = `git ls-files -- test/*`.split("\n")
metadata CHANGED
@@ -1,54 +1,68 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mollie-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Wong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-20 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mime-types
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
41
55
  description: Accepting iDEAL, Bancontact/Mister Cash, SOFORT Banking, Creditcard,
42
- SEPA Bank transfer, SEPA Direct debit, Bitcoin, PayPal, Belfius Direct Net, paysafecard
43
- and PODIUM Cadeaukaart online payments without fixed monthly costs or any punishing
44
- registration procedures.
56
+ SEPA Bank transfer, SEPA Direct debit, Bitcoin, PayPal, KBC Payment Button, CBC
57
+ Payment Button, Belfius Direct Net, paysafecard and PODIUM Cadeaukaart online payments
58
+ without fixed monthly costs or any punishing registration procedures.
45
59
  email:
46
60
  - info@mollie.nl
47
61
  executables: []
48
62
  extensions: []
49
63
  extra_rdoc_files: []
50
64
  files:
51
- - .gitignore
65
+ - ".gitignore"
52
66
  - CHANGELOG.md
53
67
  - Gemfile
54
68
  - LICENSE
@@ -95,17 +109,17 @@ require_paths:
95
109
  - lib
96
110
  required_ruby_version: !ruby/object:Gem::Requirement
97
111
  requirements:
98
- - - '>='
112
+ - - ">="
99
113
  - !ruby/object:Gem::Version
100
114
  version: 1.9.3
101
115
  required_rubygems_version: !ruby/object:Gem::Requirement
102
116
  requirements:
103
- - - '>='
117
+ - - ">="
104
118
  - !ruby/object:Gem::Version
105
119
  version: '0'
106
120
  requirements: []
107
121
  rubyforge_project:
108
- rubygems_version: 2.0.14.1
122
+ rubygems_version: 2.4.8
109
123
  signing_key:
110
124
  specification_version: 4
111
125
  summary: Official Mollie API Client for Ruby