spree_mollie_gateway 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 3bced20c8b1e48ed8153139b13b1e79b30b965d4b69a2b54ac09fec9c001d7a7
4
- data.tar.gz: 7a89022b0baa164ca03c66db93ca430b9c5b5b6e553276ab99a52d10cefcf0ce
3
+ metadata.gz: a7ec7a9da6218a1e01323ed2be4af6328d69e0f9d9fc360a5ffff9cde77be964
4
+ data.tar.gz: 75a5fffd7718921df7b1775fd0e916574762cabbac80f017f1e35cd7f43b67eb
5
5
  SHA512:
6
- metadata.gz: b0d40943b913b03b47335ce11ea3668feb17dbe003bdcda9cf66f526d02d7a2b05010c5ef9332b4cd4d175717bc14ebe46c2edf0b6b2ff55ca75a79a67219909
7
- data.tar.gz: f377746df6e55e3fbea421ce7b57b3af6950bf51f81fc6367fc483c00052de9161171dc185b2986255e9a1e8d5b50bb96118141e6a0e42baf2b3a803eb54e0a0
6
+ metadata.gz: 151c68be8fcf3e6e411bd257086632b24dd89f7d0caf8f53ebb32cba50794432fd95984f108bc09f29d51e40f973e56e806f92304c71153b634bd8a5abbc1591
7
+ data.tar.gz: 58e7463e938ad8ab4f5beae880bdc6d7def23b38381b944be3be0e48ce21474088294b4a431e6e09065f82df4292c5c4b7f5fa1852edc1b77e0e24c9c5f48811
data/.gitignore CHANGED
@@ -11,4 +11,5 @@
11
11
  .rspec_status
12
12
  .idea/
13
13
  *.gem
14
- spec/dummy
14
+ spec/dummy
15
+ .bundle/
data/.travis.yml CHANGED
@@ -5,12 +5,12 @@ rvm:
5
5
  before_install: gem install bundler -v 1.16.1
6
6
  deploy:
7
7
  provider: rubygems
8
- api_key:
9
- secure: Yz+3DfSfTVK1a7teAc4Dc+n1FwXXEbwbolQA8uxKvBfzQ6qadDUUKkFc0rQgX6g+GIbAtEukwG3OpcY70hmE9SXE5iHlqPZr+4u1ibcHcYrZjcm+ITK7C/xI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1Lcyn7ANTpBp80bnMpHZrpJFkDUYne17r8kA+OUkW71OC1RrTTfa9mfSTd9g1wKSbfbKsQvZ1Q/mmwAAX7b1YyR0k83tJO23vr1Yx4GU7RNhuv+uTTNz0kuO4ezbv5WR1wjKQQsJwcc72WDsDyqZq5o9SVxA0fFe4666v1yheBZsX5gcWSugwtRQqD8fp1Era1T+11mJDk6S/4wZu/vRrOQCEkaFYdYtY3owVg8X3JVnAgtsiTDLt+s+tkZPTfTq56f3EqIEpbZQ6x906zQfGBosVBpWO1Bn+cKMGFrURWwr+19dOHU+jXYUfvV5EE12aJq6EV82IvveK2YhZ5+axP7JYkQDjwYJcuQd4ONQvagHf1YGeqLiGB5SuXEYBRv1521276inp2DOqUNjfquQwqWSy3Q2iQ/0yrAKcjYgYBk4yS8HkpaLsYd1EzgxW5IllJ+E040ViSddIQLHpDI9cmg9/uPFaVyHxWDMNOBMOAhq7znPAEtDfG6KnRmXswqkVfR7XM7ObIX8kdpGwc/cHGZwPD1595BHCcc0y5FkyRMY9KzTvj13yNdO61icIJa0PoQzfypaKuQQ=
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
- gem 'mollie-api-ruby', '~> 3.1.3'
5
+ gem 'mollie-api-ruby', '~> 3.1.4.pre.beta'
6
6
 
7
7
  # Specify your gem's dependencies in spree_mollie_gateway.gemspec
8
8
  gemspec
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_mollie_gateway (1.0.0)
5
- mollie-api-ruby (~> 3.1, >= 3.1.3)
4
+ spree_mollie_gateway (1.0.2)
5
+ mollie-api-ruby (~> 3.1, >= 3.1.4.pre.beta)
6
6
  spree_backend (>= 3.1.0, < 4.0)
7
7
  spree_core (>= 3.1.0, < 4.0)
8
8
  spree_extension
@@ -37,7 +37,7 @@ GEM
37
37
  activejob (5.1.5)
38
38
  activesupport (= 5.1.5)
39
39
  globalid (>= 0.3.6)
40
- activemerchant (1.77.0)
40
+ activemerchant (1.78.0)
41
41
  activesupport (>= 3.2.14, < 6.x)
42
42
  builder (>= 2.1.2, < 4.0.0)
43
43
  i18n (>= 0.6.9)
@@ -145,7 +145,7 @@ GEM
145
145
  mini_mime (1.0.0)
146
146
  mini_portile2 (2.3.0)
147
147
  minitest (5.11.3)
148
- mollie-api-ruby (3.1.3)
148
+ mollie-api-ruby (3.1.4.pre.beta)
149
149
  monetize (1.7.0)
150
150
  money (~> 6.9)
151
151
  money (6.10.1)
@@ -154,7 +154,7 @@ GEM
154
154
  nio4r (2.3.0)
155
155
  nokogiri (1.8.2)
156
156
  mini_portile2 (~> 2.3.0)
157
- paperclip (5.2.0)
157
+ paperclip (5.1.0)
158
158
  activemodel (>= 4.2.0)
159
159
  activesupport (>= 4.2.0)
160
160
  cocaine (~> 0.5.5)
@@ -343,7 +343,7 @@ DEPENDENCIES
343
343
  database_cleaner
344
344
  factory_bot
345
345
  ffaker
346
- mollie-api-ruby (~> 3.1.3)
346
+ mollie-api-ruby (~> 3.1.4.pre.beta)
347
347
  mysql2
348
348
  rake (~> 10.0)
349
349
  rspec (~> 3.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [<img src="https://www.mollie.com/assets/images/mollie/logo-black.svg" width="110">](https://www.mollie.com/)
2
2
 
3
- [![Build Status](https://travis-ci.com/mollie/spree-mollie-gateway.svg?token=vSsWARRCtaEKat97szyu&branch=master)](https://travis-ci.com/mollie/spree-mollie-gateway)
3
+ [![Build Status](https://travis-ci.org/mollie/spree-mollie-gateway.svg?branch=master)](https://travis-ci.org/mollie/spree-mollie-gateway) [![Gem Version](https://badge.fury.io/rb/spree_mollie_gateway.svg)](https://badge.fury.io/rb/spree_mollie_gateway)
4
4
 
5
5
  This is the official Mollie payment gateway for Spree Commerce. Implement this to easily accept all major payment methods, including iDEAL, Bancontact, Visa, Mastercard, AmEx, and many more, in your Spree Commerce storefront.
6
6
 
@@ -6,11 +6,9 @@ module Spree
6
6
  mollie = Spree::PaymentMethod.find_by_type 'Spree::Gateway::MollieGateway'
7
7
  payment_methods = mollie.available_payment_methods
8
8
 
9
- puts payment_methods
10
-
11
9
  render json: payment_methods
12
10
  end
13
11
  end
14
12
  end
15
13
  end
16
- end
14
+ end
@@ -75,7 +75,7 @@ module Spree
75
75
 
76
76
  order_params = {
77
77
  amount: amount,
78
- description: "Spree Order ID: #{order_number}",
78
+ description: "Spree Order: #{order_number}",
79
79
  redirectUrl: spree_routes.mollie_validate_payment_mollie_url(
80
80
  order_number: order_number,
81
81
  host: get_preference(:hostname)
@@ -5,5 +5,9 @@ module Spree
5
5
  @logger ||= Logger.new(File.join(Rails.root, 'log', 'mollie.log'))
6
6
  @logger.debug(message)
7
7
  end
8
+
9
+ def self.logger=(logger)
10
+ @logger = logger
11
+ end
8
12
  end
9
- end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module SpreeMollieGateway
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -50,5 +50,5 @@ Gem::Specification.new do |spec|
50
50
  spec.add_development_dependency 'coffee-rails'
51
51
  spec.add_development_dependency 'database_cleaner'
52
52
 
53
- spec.add_runtime_dependency 'mollie-api-ruby', '~> 3.1', '>= 3.1.3'
53
+ spec.add_runtime_dependency 'mollie-api-ruby', '~> 3.1', '>= 3.1.4.pre.beta'
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_mollie_gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vernon de Goede
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-22 00:00:00.000000000 Z
11
+ date: 2018-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -275,7 +275,7 @@ dependencies:
275
275
  version: '3.1'
276
276
  - - ">="
277
277
  - !ruby/object:Gem::Version
278
- version: 3.1.3
278
+ version: 3.1.4.pre.beta
279
279
  type: :runtime
280
280
  prerelease: false
281
281
  version_requirements: !ruby/object:Gem::Requirement
@@ -285,7 +285,7 @@ dependencies:
285
285
  version: '3.1'
286
286
  - - ">="
287
287
  - !ruby/object:Gem::Version
288
- version: 3.1.3
288
+ version: 3.1.4.pre.beta
289
289
  description: Mollie payment gateway for Spree Commerce.
290
290
  email:
291
291
  - vernon@mollie.com