braintree 2.61.0 → 2.61.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/braintree/version.rb +1 -1
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/transaction_spec.rb +8 -8
- metadata +2 -2
data/lib/braintree/version.rb
CHANGED
data/spec/httpsd.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
10203
|
@@ -2813,7 +2813,7 @@ describe Braintree::Transaction do
|
|
2813
2813
|
:phone => '3334445555',
|
2814
2814
|
:url => "ebay.com",
|
2815
2815
|
},
|
2816
|
-
:order_id => '456'
|
2816
|
+
:order_id => '456'
|
2817
2817
|
})
|
2818
2818
|
result.success?.should == true
|
2819
2819
|
result.transaction.amount.should == BigDecimal.new(Braintree::Test::TransactionAmounts::Authorize) - 1
|
@@ -2830,7 +2830,7 @@ describe Braintree::Transaction do
|
|
2830
2830
|
:phone => '3334445555',
|
2831
2831
|
:url => "ebay.com",
|
2832
2832
|
},
|
2833
|
-
:order_id => '456'
|
2833
|
+
:order_id => '456'
|
2834
2834
|
})
|
2835
2835
|
end.to raise_error(ArgumentError)
|
2836
2836
|
end
|
@@ -2844,7 +2844,7 @@ describe Braintree::Transaction do
|
|
2844
2844
|
:phone => '3334445555',
|
2845
2845
|
:url => "ebay.com",
|
2846
2846
|
},
|
2847
|
-
:order_id => '456'
|
2847
|
+
:order_id => '456'
|
2848
2848
|
})
|
2849
2849
|
result.success?.should == false
|
2850
2850
|
result.errors.for(:transaction).on(:amount)[0].code.should == Braintree::ErrorCodes::Transaction::SettlementAmountIsTooLarge
|
@@ -2858,7 +2858,7 @@ describe Braintree::Transaction do
|
|
2858
2858
|
:phone => 'invalid phone',
|
2859
2859
|
:url => '12345678901234'
|
2860
2860
|
},
|
2861
|
-
:order_id => '456'
|
2861
|
+
:order_id => '456'
|
2862
2862
|
})
|
2863
2863
|
result.success?.should == false
|
2864
2864
|
result.errors.for(:transaction).for(:descriptor).on(:name)[0].code.should == Braintree::ErrorCodes::Descriptor::NameFormatIsInvalid
|
@@ -2874,7 +2874,7 @@ describe Braintree::Transaction do
|
|
2874
2874
|
:phone => '3334445555',
|
2875
2875
|
:url => "ebay.com",
|
2876
2876
|
},
|
2877
|
-
:order_id => 'x' * 256
|
2877
|
+
:order_id => 'x' * 256
|
2878
2878
|
})
|
2879
2879
|
result.success?.should == false
|
2880
2880
|
result.errors.for(:transaction).on(:order_id)[0].code.should == Braintree::ErrorCodes::Transaction::OrderIdIsTooLong
|
@@ -2905,7 +2905,7 @@ describe Braintree::Transaction do
|
|
2905
2905
|
:phone => '3334445555',
|
2906
2906
|
:url => "ebay.com",
|
2907
2907
|
},
|
2908
|
-
:order_id => '456'
|
2908
|
+
:order_id => '456'
|
2909
2909
|
})
|
2910
2910
|
result.success?.should == false
|
2911
2911
|
result.errors.for(:transaction).on(:base)[0].code.should == Braintree::ErrorCodes::Transaction::ProcessorDoesNotSupportUpdatingTransactionDetails
|
@@ -2927,7 +2927,7 @@ describe Braintree::Transaction do
|
|
2927
2927
|
:credit_card => {
|
2928
2928
|
:number => Braintree::Test::CreditCardNumbers::Visa,
|
2929
2929
|
:expiration_date => "06/2009"
|
2930
|
-
}
|
2930
|
+
}
|
2931
2931
|
)
|
2932
2932
|
result = Braintree::Transaction.update_details(transaction.id, {
|
2933
2933
|
:amount => Braintree::Test::TransactionAmounts::Authorize.to_f - 1,
|
@@ -2936,7 +2936,7 @@ describe Braintree::Transaction do
|
|
2936
2936
|
:phone => '3334445555',
|
2937
2937
|
:url => "ebay.com",
|
2938
2938
|
},
|
2939
|
-
:order_id => '456'
|
2939
|
+
:order_id => '456'
|
2940
2940
|
})
|
2941
2941
|
result.success?.should == false
|
2942
2942
|
result.errors.for(:transaction).on(:base)[0].code.should == Braintree::ErrorCodes::Transaction::CannotUpdateTransactionDetailsNotSubmittedForSettlement
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.61.
|
4
|
+
version: 2.61.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|