solidus_braintree 1.1.0 → 1.3.0

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
- SHA1:
3
- metadata.gz: 2dc626000669163124de96bf97bf6a20aa28078c
4
- data.tar.gz: 7a81acc31f411af559dfbe0fb9a023d962d3491d
2
+ SHA256:
3
+ metadata.gz: e7b840adbe707ae71a8efa483373f9b7c565334c3a00df523d21f9588b04bfed
4
+ data.tar.gz: 468630e694e339e7fc6691ff1faa294e5b005e65855dc6d011c69d4d67356467
5
5
  SHA512:
6
- metadata.gz: 79b5a87a130c7389d9900af4a51840e87dab35a7026ac74a6f11a52a2164356e8fcb4457bba78fce3974c3ae879d00045b9b26c58fab8c6f756d783d7e33e898
7
- data.tar.gz: 794e78130c00e985767a2c4d136fbc2ef831d9808ff1d45aa13fd7ada5f977323673f065e5d0007d9c9ff1da869829de187aa54cfeb479850b4f981d19a3679e
6
+ metadata.gz: b311d8caeff246350118fc88d0ad7a5595f5dbdd547be0cc8efb56e6cb2bfba2bbcd0f339369af6a20014fb614605419cee72d1f1575453541b9435b112a8ded
7
+ data.tar.gz: caaabe07835af1dae23d94ea9b40f1bb3dd27d3f998c0882d342bfcca4db9042091282e331dbf058ec23f690d01885c8621cbbc5ab6d019d65babac9f96dc069
@@ -0,0 +1,35 @@
1
+ version: 2.1
2
+
3
+ orbs:
4
+ # Always take the latest version of the orb, this allows us to
5
+ # run specs against Solidus supported versions only without the need
6
+ # to change this configuration every time a Solidus version is released
7
+ # or goes EOL.
8
+ solidusio_extensions: solidusio/extensions@volatile
9
+
10
+ jobs:
11
+ run-specs-with-postgres:
12
+ executor: solidusio_extensions/postgres
13
+ steps:
14
+ - solidusio_extensions/run-tests
15
+ run-specs-with-mysql:
16
+ executor: solidusio_extensions/mysql
17
+ steps:
18
+ - solidusio_extensions/run-tests
19
+
20
+ workflows:
21
+ "Run specs on supported Solidus versions":
22
+ jobs:
23
+ - run-specs-with-postgres
24
+ - run-specs-with-mysql
25
+ "Weekly run specs against master":
26
+ triggers:
27
+ - schedule:
28
+ cron: "0 0 * * 4" # every Thursday
29
+ filters:
30
+ branches:
31
+ only:
32
+ - master
33
+ jobs:
34
+ - run-specs-with-postgres
35
+ - run-specs-with-mysql
data/.github/stale.yml ADDED
@@ -0,0 +1 @@
1
+ _extends: .github
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /spec/dummy
11
+ /spec/examples.txt
data/Gemfile CHANGED
@@ -1,16 +1,33 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
4
- gem "solidus", github: "solidusio/solidus", branch: branch
3
+ branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
4
+ solidus_git, solidus_frontend_git = if (branch == 'main') || (branch >= 'v3.2')
5
+ %w[solidusio/solidus solidusio/solidus_frontend]
6
+ else
7
+ %w[solidusio/solidus] * 2
8
+ end
9
+ gem 'solidus', github: solidus_git, branch: branch
10
+ gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
5
11
 
6
- if branch == 'master' || branch >= "v2.0"
7
- gem "rails-controller-testing", group: :test
12
+ # Needed to help Bundler figure out how to resolve dependencies,
13
+ # otherwise it takes forever to resolve them
14
+ if branch == 'main' || Gem::Version.new(branch[1..-1]) >= Gem::Version.new('2.10.0')
15
+ gem 'rails', '~> 6.0'
16
+ else
17
+ gem 'rails', '~> 5.0'
8
18
  end
9
19
 
10
- gem 'pg'
11
- gem 'mysql2'
20
+ case ENV['DB']
21
+ when 'mysql'
22
+ gem 'mysql2'
23
+ when 'postgres'
24
+ gem 'pg'
25
+ end
26
+
27
+ gem "rails-controller-testing", group: :test
12
28
 
13
29
  group :development, :test do
30
+ gem 'factory_bot', '> 4.10.0'
14
31
  gem "pry-rails"
15
32
  end
16
33
 
data/README.md CHANGED
@@ -1,11 +1,17 @@
1
- # solidus_braintree
1
+ # Solidus Braintree
2
2
 
3
- `solidus_braintree` is a gem that adds [Braintree v.zero](https://www.braintreepayments.com/v.zero) support to the [solidus](http://solidus.io/) E-commerce platform.
3
+ [![CircleCI](https://circleci.com/gh/solidusio/solidus_braintree.svg?style=svg)](https://circleci.com/gh/solidusio/solidus_braintree)
4
+
5
+ `solidus_braintree` is a gem that adds [Braintree v.zero](https://www.braintreepayments.com/v-zero) support to the [solidus](http://solidus.io/) E-commerce platform.
4
6
 
5
7
  It provides support for credit card and Paypal payment methods via the `Spree::CreditCard`
6
8
 
7
9
  It will add the braintree-drop-in form for payment methods in the payment form of spree/backend. Spree front-end is currently unsupported.
8
10
 
11
+ ## DEPRECATION NOTICE :warning: :construction:
12
+
13
+ This extension is deprecated in favor of [Solidus Paypal Braintree](https://github.com/solidusio/solidus_paypal_braintree).
14
+
9
15
  ## Installation
10
16
 
11
17
  Add this line to your solidus application's Gemfile:
@@ -30,7 +36,7 @@ Control Panel.
30
36
 
31
37
  This gem extends your solidus application by adding a `POST /api/payment_client_token` endpoint to you application to generate Braintree payment client token. This endpoint requires an authentication token in your request header.
32
38
 
33
- It creates a new `PaymentMethod` class called `Solidus::Gateway::BraintreeGateway`. You can configure this payment method in the admin and add your Braintree public/private keys and merchant id. The admin will render a Braintree dropin container when prompting you to create an order payment.
39
+ It creates a new `PaymentMethod` class called `Solidus::Gateway::BraintreeGateway`. You can configure this payment method in the admin and add your Braintree public/private keys, merchant id, and the proper environment. Please ensure that the environment value is included among the values listed [here](https://github.com/braintree/braintree_ruby/blob/7660ae6f6d228acee8eaedd1830afafbaf91820f/lib/braintree/configuration.rb#L235), otherwise you will encounter unexpected errors. The admin will render a Braintree dropin container when prompting you to create an order payment.
34
40
 
35
41
  It adds a json or text `data` field on `Spree::CreditCard` for storing additional information received from Braintree for addtional payment methods.
36
42
 
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PermittedAttributesDecorator
4
+ def self.prepended(base)
5
+ base.singleton_class.prepend SolidusBraintree::PermittedAttributesConcern
6
+ end
7
+
8
+ Spree::PermittedAttributes.singleton_class.prepend(self)
9
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CreditCardDecorator
4
+ def self.prepended(base)
5
+ base.include SolidusBraintree::SkipRequireCardNumbersConcern
6
+ base.include SolidusBraintree::AddNameValidationConcern
7
+ base.include SolidusBraintree::UseDataFieldConcern
8
+ end
9
+
10
+ Spree::CreditCard.prepend(self)
11
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PaymentDecorator
4
+ def self.prepended(base)
5
+ base.include SolidusBraintree::PaymentBraintreeNonceConcern
6
+ base.include SolidusBraintree::InjectDeviceDataConcern
7
+ end
8
+
9
+ Spree::Payment.prepend(self)
10
+ end
@@ -1,7 +1,14 @@
1
1
  require "braintree"
2
2
 
3
3
  module Solidus
4
- class Gateway::BraintreeGateway < ::Spree::Gateway
4
+ gateway_superclass =
5
+ if SolidusSupport.solidus_gem_version < Gem::Version.new('2.3.x')
6
+ ::Spree::Gateway
7
+ else
8
+ ::Spree::PaymentMethod::CreditCard
9
+ end
10
+
11
+ class Gateway::BraintreeGateway < gateway_superclass
5
12
  preference :environment, :string
6
13
  preference :merchant_id, :string
7
14
  preference :public_key, :string
@@ -22,8 +29,14 @@ module Solidus
22
29
  'Visa' => 'visa',
23
30
  }
24
31
 
25
- def method_type
26
- 'braintree'
32
+ if SolidusSupport.solidus_gem_version < Gem::Version.new('2.3.x')
33
+ def method_type
34
+ 'braintree'
35
+ end
36
+ else
37
+ def partial_name
38
+ 'braintree'
39
+ end
27
40
  end
28
41
 
29
42
  def gateway_options
@@ -5,7 +5,7 @@
5
5
  <label><%= radio_button_tag :card, card.id, card == previous_cards.first %> <%= card.display_number %><br /></label>
6
6
  <% end %>
7
7
  <% end %>
8
- <label><%= radio_button_tag :card, 'new', false, { id: "card_new#{payment_method.id}" } %> <%= Spree.t(:use_new_cc) %></label>
8
+ <label><%= radio_button_tag :card, 'new', false, { id: "card_new#{payment_method.id}" } %> <%= t('spree.use_new_cc') %></label>
9
9
  </div>
10
10
 
11
11
  <div id="card_form<%= payment_method.id %>" data-hook>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <div class="clear"></div>
29
29
 
30
- <%= label_tag "card_address#{payment_method.id}", Spree.t(:billing_address) %>
30
+ <%= label_tag "card_address#{payment_method.id}", t('spree.billing_address') %>
31
31
  <% address = @order.bill_address || @order.ship_address || Spree::Address.build_default %>
32
32
  <%= fields_for "#{param_prefix}[address_attributes]", address do |f| %>
33
33
  <%= render :partial => 'spree/admin/shared/address_form', :locals => { :f => f, :type => "billing" } %>
@@ -4,13 +4,13 @@
4
4
  <div class="row">
5
5
  <div class="alpha six columns">
6
6
  <dl>
7
- <dt><%= Spree.t(:identifier) %>:</dt>
7
+ <dt><%= t('spree.identifier') %>:</dt>
8
8
  <dd><%= payment.number %></dd>
9
9
 
10
- <dt><%= Spree.t(:response_code) %>:</dt>
10
+ <dt><%= t('spree.response_code') %>:</dt>
11
11
  <dd><%= braintree_transaction_link(payment.response_code) %></dd>
12
12
 
13
- <dt><%= Spree.t(:name_on_card) %>:</dt>
13
+ <dt><%= t('spree.name_on_card') %>:</dt>
14
14
  <dd><%= payment.source.name %></dd>
15
15
 
16
16
  <dt><%= Spree::CreditCard.human_attribute_name(:cc_type) %>:</dt>
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ json.call(payment_source, :id, :created_at)
@@ -7,7 +7,7 @@
7
7
  </div>
8
8
  <div id="#braintree_paypal_container"></div>
9
9
  </div>
10
-
10
+
11
11
  <div class="braintree-cc-input">
12
12
  <div class="braintree-cc-header">
13
13
  <%= t('solidus_braintree.creditcard_header_html') %>
@@ -16,31 +16,31 @@
16
16
  <% param_prefix = "payment_source[#{payment_method.id}]" %>
17
17
 
18
18
  <p class="field">
19
- <%= label_tag "name_on_card_#{payment_method.id}", Spree.t(:name_on_card) %><span class="required">*</span><br />
19
+ <%= label_tag "name_on_card_#{payment_method.id}", t('spree.name_on_card') %><span class="required">*</span><br />
20
20
  <%= text_field_tag "#{param_prefix}[name]", "#{@order.billing_firstname} #{@order.billing_lastname}", { id: "name_on_card_#{payment_method.id}", :autocomplete => "cc-name" } %>
21
21
  </p>
22
22
 
23
23
  <p class="field" data-hook="card_number">
24
- <%= label_tag "braintree_card_number", Spree.t(:card_number) %><span class="required">*</span><br />
24
+ <%= label_tag "braintree_card_number", t('spree.card_number') %><span class="required">*</span><br />
25
25
  <label for="braintree_card_number" id="braintree_card_number" class="braintree-hosted-field"></label>
26
26
  &nbsp;
27
27
  <span id="card_type" style="display:none;">
28
- ( <span id="looks_like" ><%= Spree.t(:card_type_is) %> <span id="type"></span></span>
29
- <span id="unrecognized"><%= Spree.t(:unrecognized_card_type) %></span>
28
+ ( <span id="looks_like" ><%= t('spree.card_type_is') %> <span id="type"></span></span>
29
+ <span id="unrecognized"><%= t('spree.unrecognized_card_type') %></span>
30
30
  )
31
31
  </span>
32
32
  </p>
33
33
 
34
34
  <p class="field" data-hook="card_expiration">
35
- <%= label_tag "braintree_card_expiry", Spree.t(:expiration) %><span class="required">*</span><br />
35
+ <%= label_tag "braintree_card_expiry", t('spree.expiration') %><span class="required">*</span><br />
36
36
  <label for="braintree_card_expiry" id="braintree_card_expiry" class="braintree-hosted-field"></label>
37
37
  </p>
38
38
 
39
39
  <p class="field" data-hook="card_code">
40
- <%= label_tag "braintree_card_code", Spree.t(:card_code) %><span class="required">*</span><br />
40
+ <%= label_tag "braintree_card_code", t('spree.card_code') %><span class="required">*</span><br />
41
41
 
42
42
  <label for="braintree_card_code" id="braintree_card_code" class="braintree-hosted-field card-code"></label>
43
- <%= link_to "(#{Spree.t(:what_is_this)})", spree.cvv_path, :target => '_blank', "data-hook" => "cvv_link", :id => "cvv_link" %>
43
+ <%= link_to "(#{t('spree.what_is_this')})", spree.cvv_path, :target => '_blank', "data-hook" => "cvv_link", :id => "cvv_link" %>
44
44
  </p>
45
45
  </div>
46
46
 
@@ -1,4 +1,4 @@
1
- class AddDataToCreditCard < ActiveRecord::Migration
1
+ class AddDataToCreditCard < SolidusSupport::Migration[4.2]
2
2
  def change
3
3
  add_column :spree_credit_cards, :data, :text
4
4
  end
@@ -1,4 +1,4 @@
1
- class AddBraintreeDeviceDataToOrder < ActiveRecord::Migration
1
+ class AddBraintreeDeviceDataToOrder < SolidusSupport::Migration[4.2]
2
2
  def change
3
3
  add_column :spree_orders, :braintree_device_data, :text
4
4
  end
@@ -1,6 +1,6 @@
1
1
  //= require "vendor/braintree"
2
2
 
3
- Spree.routes.payment_client_token_api = Spree.pathFor("api/payment_client_token")
3
+ Spree.pathFor.payment_client_token_api = Spree.pathFor("api/payment_client_token")
4
4
 
5
5
  var braintreeDropinIntegration;
6
6
  var paymentForm = "#new_payment";
@@ -8,7 +8,7 @@ var cardSelector = "#new_payment [name=card]";
8
8
 
9
9
  var getClientToken = function(onSuccess) {
10
10
  return Spree.ajax({
11
- url: Spree.routes.payment_client_token_api,
11
+ url: Spree.pathFor.payment_client_token_api,
12
12
  type: "POST",
13
13
  data: {
14
14
  payment_method_id: $('form input[type=radio]:checked').val()
@@ -1,3 +1,3 @@
1
1
  module SolidusBraintree
2
- VERSION = "1.1.0"
2
+ VERSION = "1.3.0"
3
3
  end
@@ -1,3 +1,4 @@
1
1
  require "solidus_core"
2
+ require 'solidus_support'
2
3
  require "solidus_braintree/version"
3
4
  require 'solidus_braintree/engine'
@@ -19,17 +19,18 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "solidus_api", [">= 1.0.0", "< 3"]
23
- spec.add_dependency "solidus_core", [">= 1.0.0", "< 3"]
22
+ spec.add_dependency "solidus_api", [">= 1.0.0", "< 4"]
23
+ spec.add_dependency "solidus_core", [">= 1.0.0", "< 4"]
24
+ spec.add_dependency "solidus_support"
24
25
  spec.add_dependency "braintree", "~> 2.46"
25
26
 
26
27
  spec.add_development_dependency "bundler", "~> 1.10"
27
28
  spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency 'factory_girl', '~> 4.4'
29
+ spec.add_development_dependency 'factory_bot', '~> 4.4'
29
30
  spec.add_development_dependency 'rspec-rails'
30
- spec.add_development_dependency 'capybara'
31
+ spec.add_development_dependency 'capybara', '~> 2.18'
31
32
  spec.add_development_dependency 'capybara-screenshot'
32
- spec.add_development_dependency 'poltergeist', '~> 1.9'
33
+ spec.add_development_dependency 'webdrivers'
33
34
  spec.add_development_dependency 'ffaker'
34
35
  spec.add_development_dependency "rspec"
35
36
  spec.add_development_dependency "pry"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-22 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 1.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '3'
22
+ version: '4'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 1.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '3'
32
+ version: '4'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: solidus_core
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 1.0.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '3'
42
+ version: '4'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,21 @@ dependencies:
49
49
  version: 1.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '3'
52
+ version: '4'
53
+ - !ruby/object:Gem::Dependency
54
+ name: solidus_support
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
53
67
  - !ruby/object:Gem::Dependency
54
68
  name: braintree
55
69
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +107,7 @@ dependencies:
93
107
  - !ruby/object:Gem::Version
94
108
  version: '10.0'
95
109
  - !ruby/object:Gem::Dependency
96
- name: factory_girl
110
+ name: factory_bot
97
111
  requirement: !ruby/object:Gem::Requirement
98
112
  requirements:
99
113
  - - "~>"
@@ -124,16 +138,16 @@ dependencies:
124
138
  name: capybara
125
139
  requirement: !ruby/object:Gem::Requirement
126
140
  requirements:
127
- - - ">="
141
+ - - "~>"
128
142
  - !ruby/object:Gem::Version
129
- version: '0'
143
+ version: '2.18'
130
144
  type: :development
131
145
  prerelease: false
132
146
  version_requirements: !ruby/object:Gem::Requirement
133
147
  requirements:
134
- - - ">="
148
+ - - "~>"
135
149
  - !ruby/object:Gem::Version
136
- version: '0'
150
+ version: '2.18'
137
151
  - !ruby/object:Gem::Dependency
138
152
  name: capybara-screenshot
139
153
  requirement: !ruby/object:Gem::Requirement
@@ -149,19 +163,19 @@ dependencies:
149
163
  - !ruby/object:Gem::Version
150
164
  version: '0'
151
165
  - !ruby/object:Gem::Dependency
152
- name: poltergeist
166
+ name: webdrivers
153
167
  requirement: !ruby/object:Gem::Requirement
154
168
  requirements:
155
- - - "~>"
169
+ - - ">="
156
170
  - !ruby/object:Gem::Version
157
- version: '1.9'
171
+ version: '0'
158
172
  type: :development
159
173
  prerelease: false
160
174
  version_requirements: !ruby/object:Gem::Requirement
161
175
  requirements:
162
- - - "~>"
176
+ - - ">="
163
177
  - !ruby/object:Gem::Version
164
- version: '1.9'
178
+ version: '0'
165
179
  - !ruby/object:Gem::Dependency
166
180
  name: ffaker
167
181
  requirement: !ruby/object:Gem::Requirement
@@ -295,15 +309,19 @@ executables: []
295
309
  extensions: []
296
310
  extra_rdoc_files: []
297
311
  files:
312
+ - ".circleci/config.yml"
313
+ - ".github/stale.yml"
298
314
  - ".gitignore"
299
315
  - ".rspec"
300
- - ".travis.yml"
301
316
  - CHANGELOG.md
302
317
  - Gemfile
303
318
  - LICENSE.txt
304
319
  - README.md
305
320
  - Rakefile
306
321
  - app/controllers/spree/api/braintree_client_token_controller.rb
322
+ - app/decorators/lib/solidus_braintree/spree/permitted_attributes_decorator.rb
323
+ - app/decorators/models/solidus_braintree/spree/credit_card_decorator.rb
324
+ - app/decorators/models/solidus_braintree/spree/payment_decorator.rb
307
325
  - app/helpers/braintree_view_helpers.rb
308
326
  - app/models/concerns/solidus_braintree/add_name_validation_concern.rb
309
327
  - app/models/concerns/solidus_braintree/inject_device_data_concern.rb
@@ -311,13 +329,11 @@ files:
311
329
  - app/models/concerns/solidus_braintree/permitted_attributes_concern.rb
312
330
  - app/models/concerns/solidus_braintree/skip_require_card_numbers_concern.rb
313
331
  - app/models/concerns/solidus_braintree/use_data_field_concern.rb
314
- - app/models/credit_card_decorator.rb
315
- - app/models/payment_decorator.rb
316
- - app/models/permitted_attributes_decorator.rb
317
332
  - app/models/solidus/gateway/braintree_gateway.rb
318
333
  - app/overrides/spree/checkout/_confirm/braintree_security.html.erb.deface
319
334
  - app/views/spree/admin/payments/source_forms/_braintree.html.erb
320
335
  - app/views/spree/admin/payments/source_views/_braintree.html.erb
336
+ - app/views/spree/api/payments/source_views/_braintree.json.jbuilder
321
337
  - app/views/spree/checkout/payment/_braintree.html.erb
322
338
  - app/views/spree/checkout/payment/_braintree_initialization.html.erb
323
339
  - bin/console
@@ -341,7 +357,7 @@ homepage: https://solidus.io
341
357
  licenses:
342
358
  - MIT
343
359
  metadata: {}
344
- post_install_message:
360
+ post_install_message:
345
361
  rdoc_options: []
346
362
  require_paths:
347
363
  - lib
@@ -356,9 +372,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
372
  - !ruby/object:Gem::Version
357
373
  version: '0'
358
374
  requirements: []
359
- rubyforge_project:
360
- rubygems_version: 2.5.1
361
- signing_key:
375
+ rubygems_version: 3.4.19
376
+ signing_key:
362
377
  specification_version: 4
363
378
  summary: Adds Solidus support for Braintree v.zero Gateway.
364
379
  test_files: []
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.1
5
- env:
6
- matrix:
7
- - SOLIDUS_BRANCH=v1.1 DB=postgres
8
- - SOLIDUS_BRANCH=v1.2 DB=postgres
9
- - SOLIDUS_BRANCH=v1.3 DB=postgres
10
- - SOLIDUS_BRANCH=v1.4 DB=postgres
11
- - SOLIDUS_BRANCH=v2.0 DB=postgres
12
- - SOLIDUS_BRANCH=master DB=postgres
13
- - SOLIDUS_BRANCH=v1.1 DB=mysql
14
- - SOLIDUS_BRANCH=v1.2 DB=mysql
15
- - SOLIDUS_BRANCH=v1.3 DB=mysql
16
- - SOLIDUS_BRANCH=v1.4 DB=mysql
17
- - SOLIDUS_BRANCH=v2.0 DB=mysql
18
- - SOLIDUS_BRANCH=master DB=mysql
@@ -1,3 +0,0 @@
1
- Spree::CreditCard.include SolidusBraintree::SkipRequireCardNumbersConcern
2
- Spree::CreditCard.include SolidusBraintree::AddNameValidationConcern
3
- Spree::CreditCard.include SolidusBraintree::UseDataFieldConcern
@@ -1,2 +0,0 @@
1
- Spree::Payment.include SolidusBraintree::PaymentBraintreeNonceConcern
2
- Spree::Payment.include SolidusBraintree::InjectDeviceDataConcern
@@ -1 +0,0 @@
1
- Spree::PermittedAttributes.singleton_class.prepend SolidusBraintree::PermittedAttributesConcern