solidus_mollie 0.9.0 → 0.9.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
  SHA256:
3
- metadata.gz: 9dc0df8101384051b947487223e3b8aac8092e7da9dcbc394cb4bcfc5cac77a2
4
- data.tar.gz: 32b058d3cdd52adac6b85b98e9eb2b267e688a111f29447879a654812951ea9f
3
+ metadata.gz: 7a01ced2aab26c9b92e9c5f18dc9ef7a517b052c0af1664ef43588bbbe37e61e
4
+ data.tar.gz: 78e41a0b16f2c55e80f5c87a057709925605e27667872437b86c71b93d506c72
5
5
  SHA512:
6
- metadata.gz: 1f3e7bdaf7b94a4235ca2cf91c4d61f056f0fd0f320300fe3c3f584227bbd9ca701bc903cefa08931fc8742959c9da1d1da318069b74af853a83af5a9111b483
7
- data.tar.gz: 4cc1d2a6542ee1b2fc401a676ee9275e6422fde82af2c510cff051b8504f89ca69e69138ddfa55b3c70384146630cba68df67b55aff0163fac86e25face74dbd
6
+ metadata.gz: 2ace3ba76d852b4d6fa356ec6d98480ad7d7bf0e2f7e60c5fcca16099b182b1efa633d4373e8d84b5d55d74b56c664984e1f1c0e66b0b171bd70d64b232ae104
7
+ data.tar.gz: ef8171198e8ecbe18cc41c07b635b1d5ca57a5badacc4fb79351668b5b7aaac03522a77e18994d6e5f8313de81a0749009c8f0b662a2fc5a3a14878fdf21aa5f
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  BSD 2-Clause License
2
2
 
3
- Copyright (c) 2026, Kalopa Robotics
3
+ Copyright (c) 2026, Kalopa Robotics Limited.
4
4
 
5
5
  Redistribution and use in source and binary forms, with or without
6
6
  modification, are permitted provided that the following conditions are met:
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # solidus_mollie
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/solidus_mollie.svg)](https://badge.fury.io/rb/solidus_mollie)
4
+
3
5
  Accept [Mollie](https://www.mollie.com) payments in your [Solidus](https://solidus.io)
4
6
  store using Mollie's **hosted checkout** (the buyer is redirected to Mollie to pay)
5
7
  and **webhooks** for settlement.
@@ -1,3 +1,5 @@
1
+ <%# Buyers enter no card data here – they choose Mollie and are redirected to
2
+ Mollie's hosted checkout when they place the order. %>
1
3
  <div class="mollie-payment-method" data-payment-method-type="mollie">
2
4
  <p><%= t('solidus_mollie.redirect_notice') %></p>
3
5
  </div>
@@ -10,14 +10,12 @@ module SolidusMollie
10
10
  # so helpers resolve as spree.mollie_webhook_url / spree.mollie_return_url.
11
11
 
12
12
  # Register the payment method so it appears in the admin "New Payment Method"
13
- # provider dropdown.
14
- initializer 'solidus_mollie.register_payment_method' do |app|
15
- app.reloader.to_prepare do
16
- methods = Rails.application.config.spree.payment_methods
17
- methods << SolidusMollie::PaymentMethod unless methods.include?(SolidusMollie::PaymentMethod)
18
- rescue StandardError => e
19
- Rails.logger.warn("[solidus_mollie] could not auto-register payment method: #{e.message}")
20
- end
13
+ # provider dropdown. Runs right after core populates its defaults; the string
14
+ # form avoids autoloading the model during boot and survives code reloads
15
+ # (config.spree.payment_methods is a ClassConstantizer::Set that constantizes
16
+ # on read and dedupes inserts).
17
+ initializer 'solidus_mollie.register_payment_method', after: 'spree.register.payment_methods' do |app|
18
+ app.config.spree.payment_methods << 'SolidusMollie::PaymentMethod'
21
19
  end
22
20
 
23
21
  # Prepend our checkout override so confirm-step orders paying with Mollie are
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMollie
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mollie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kalopa Robotics
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-20 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mollie-api-ruby
@@ -105,7 +105,7 @@ licenses:
105
105
  - BSD-2-Clause
106
106
  metadata:
107
107
  rubygems_mfa_required: 'true'
108
- post_install_message:
108
+ post_install_message:
109
109
  rdoc_options: []
110
110
  require_paths:
111
111
  - lib
@@ -120,8 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.4.19
124
- signing_key:
123
+ rubygems_version: 3.0.3.1
124
+ signing_key:
125
125
  specification_version: 4
126
126
  summary: Mollie payments for Solidus
127
127
  test_files: []