workarea-braintree 1.1.0 → 1.1.1

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: bd2bed9a06df1bdb937b9a50fa10ced04b40a7cd0b6c32370a5779fe4b0180a9
4
- data.tar.gz: 1ce6c53786480f4aa122f2cccb9e3e9c3ba04165d5e8a0a6b2c09da30aa6f263
3
+ metadata.gz: c697aa884354473d47e10667b729fb443c41cea9135a9cfd6c3b2637787574f1
4
+ data.tar.gz: 22ccbd076be26631dfa1111303535f2f1e88e10cb80258fc7799e8ebf77a8cba
5
5
  SHA512:
6
- metadata.gz: a609d1b2b461598fafbcc78f2bfa6cb93b756cf55204011c318dc5ce7ccf1ea0b3d49f5b95397aae3edecb26b2bdfec836c7e442c1eabc1211f639eeb1ed6c5d
7
- data.tar.gz: dd1e86425cd3f71eb84e2541e4b82f1ac123e525770183307c8bcc4c2d539f373b69b6d90175510d3b56ae2cb24b82a517f5b0f046a8dd665ba6e75e9488677e
6
+ metadata.gz: 7e0f0060c16e584f04fd885dbf38eb82801ba943ae9458de3d977c1dabac919fceb527612082ad53f67be2cbcd29d14091b908380a9851fedbde3d5a03a82423
7
+ data.tar.gz: '094cbc9983291d79cacbb2a9620947e0582d6988c5f3577ab3d586a07c8352c0169d1e45114aae6646cca9a09861e20a6967799fbabb5fe23877bbc739025fe2'
@@ -1,3 +1,18 @@
1
+ Workarea Braintree 1.1.1 (2020-02-27)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Add PayPal BN Code to Braintree Gateways
5
+
6
+ The BN code for PayPal revenue attribution has now been added to all
7
+ Braintree gateway requests using the global `.application_id` parameter.
8
+ This maps the `:channel` in Braintree's API to the BN code set on the
9
+ class level.
10
+
11
+ BRAINTREE-2
12
+ Tom Scott
13
+
14
+
15
+
1
16
  Workarea Braintree 1.1.0 (2019-11-26)
2
17
  --------------------------------------------------------------------------------
3
18
 
data/Gemfile CHANGED
@@ -2,9 +2,8 @@ source 'https://rubygems.org'
2
2
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  gemspec
5
- gem 'workarea', github: 'workarea-commerce/workarea'
5
+ gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.5-stable'
6
6
 
7
7
  group :test do
8
8
  gem "workarea-testing"
9
- gem "simplecov-bamboo", require: false
10
9
  end
data/Rakefile CHANGED
@@ -38,10 +38,9 @@ task :release do
38
38
  Rake::Task['workarea:changelog'].execute
39
39
  system 'git add CHANGELOG.md'
40
40
  system 'git commit -m "Update CHANGELOG"'
41
- system 'git push origin HEAD'
42
41
 
43
42
  system "git tag -a v#{Workarea::Braintree::VERSION} -m 'Tagging #{Workarea::Braintree::VERSION}'"
44
- system "git push --tags"
43
+ system "git push origin HEAD --follow-tags"
45
44
 
46
45
  system "gem build workarea-braintree.gemspec"
47
46
  system "gem push workarea-braintree-#{Workarea::Braintree::VERSION}.gem"
@@ -3,6 +3,11 @@ require "workarea/braintree/version"
3
3
 
4
4
  require "active_merchant/billing/bogus_braintree_gateway"
5
5
 
6
+ # Don't change this value, it's needed for PayPal revenue attribution
7
+ ActiveMerchant::Billing::BraintreeBlueGateway.application_id = 'Workarea_SP_PCP'
8
+ ActiveMerchant::Billing::BraintreeOrangeGateway.application_id = 'Workarea_SP_PCP'
9
+ ActiveMerchant::Billing::BogusBraintreeGateway.application_id = 'Workarea_SP_PCP'
10
+
6
11
  module Workarea
7
12
  module Braintree
8
13
  def self.auto_configure_gateway
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Braintree
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
@@ -1,10 +1,3 @@
1
- require 'simplecov'
2
-
3
- SimpleCov.start "rails" do
4
- add_filter "version.rb"
5
- add_filter "lib/active_merchant/billing/bogus_braintree_gateway.rb"
6
- end
7
-
8
1
  ENV['RAILS_ENV'] = 'test'
9
2
 
10
3
  require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pigeon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2020-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea