Skip to content

Commit abd5b10

Browse files
committed
Removed unnecessary files
1 parent 002019e commit abd5b10

15 files changed

+7
-166
lines changed

.coveralls.yml

-2
This file was deleted.

.rubocop.yml

-19
This file was deleted.

.scrutinizer.yml

-6
This file was deleted.

.travis.yml

-35
This file was deleted.

Appraisals

-15
This file was deleted.

README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Authorize.Net Ruby SDK
22

33
[![Version ][rubygems_badge]][rubygems]
4-
[![Travis CI ][travis_badge]][travis]
5-
[![Coverage ][coverage_badge]][coverage]
6-
[![Scrutinizer ][scrutinizer_badge]][scrutinizer]
74

85
Starting Release 1.8.6 November 2015 the Authorize.Net API has been [reorganized to be more merchant focused](https://developer.authorize.net/api/upgrade_guide/).
96
AIM, ARB, CIM, Reporting and SIM have all been deprecated in favor of sdk-ruby/lib/authorize_net/api.
@@ -111,10 +108,6 @@ To run the integration tests in the sandbox:
111108
```
112109
rake spec
113110
```
114-
To run the unit tests:
115-
```
116-
rake spec:ci
117-
```
118111

119112
To run rspec tests, create a spec/credentials.yml with the following credentials and the values obtained as described below.
120113
```ruby
@@ -156,10 +149,4 @@ Authorize.Net is phasing out the MD5 based `transHash` element in favor of the S
156149
This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/LICENSE.txt) file.
157150

158151
[rubygems_badge]: https://badge.fury.io/rb/authorizenet.svg
159-
[rubygems]: https://rubygems.org/gems/authorizenet
160-
[travis_badge]: https://travis-ci.org/AuthorizeNet/sdk-ruby.svg?branch=master
161-
[travis]: https://travis-ci.org/AuthorizeNet/sdk-ruby
162-
[coverage_badge]: https://scrutinizer-ci.com/g/AuthorizeNet/sdk-ruby/badges/coverage.png?b=master
163-
[coverage]: https://scrutinizer-ci.com/g/AuthorizeNet/sdk-ruby/?branch=master
164-
[scrutinizer_badge]: https://scrutinizer-ci.com/g/AuthorizeNet/sdk-ruby/badges/quality-score.png?b=master
165-
[scrutinizer]: https://scrutinizer-ci.com/g/AuthorizeNet/sdk-ruby/?branch=master
152+
[rubygems]: https://rubygems.org/gems/authorizenet

Rakefile

-36
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,12 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
99
end
1010

1111
namespace "spec" do
12-
desc "Run the CIM spec"
13-
RSpec::Core::RakeTask.new('cim') do |spec|
14-
spec.pattern = FileList['spec/cim_spec.rb']
15-
spec.rspec_opts = ['--options', 'spec/spec.opts']
16-
end
17-
18-
desc "Run the ARB spec"
19-
RSpec::Core::RakeTask.new('arb') do |spec|
20-
spec.pattern = FileList['spec/arb_spec.rb']
21-
spec.rspec_opts = ['--options', 'spec/spec.opts']
22-
end
23-
24-
desc "Run the AIM spec"
25-
RSpec::Core::RakeTask.new('aim') do |spec|
26-
spec.pattern = FileList['spec/aim_spec.rb']
27-
spec.rspec_opts = ['--options', 'spec/spec.opts']
28-
end
29-
3012
desc "Run the API spec"
3113
RSpec::Core::RakeTask.new('api') do |spec|
3214
spec.pattern = FileList['spec/api_spec.rb']
3315
spec.rspec_opts = ['--options', 'spec/spec.opts']
3416
end
3517

36-
desc "Run the CI Unit Test spec"
37-
RSpec::Core::RakeTask.new('ci') do |spec|
38-
spec.pattern = FileList['spec/authorize_net_spec.rb']
39-
spec.rspec_opts = ['--options', 'spec/spec.opts']
40-
end
41-
42-
desc "Run the SIM spec"
43-
RSpec::Core::RakeTask.new('sim') do |spec|
44-
spec.pattern = FileList['spec/sim_spec.rb']
45-
spec.rspec_opts = ['--options', 'spec/spec.opts']
46-
end
47-
48-
desc "Run the Reporting spec"
49-
RSpec::Core::RakeTask.new('reporting') do |spec|
50-
spec.pattern = FileList['spec/reporting_spec.rb']
51-
spec.rspec_opts = ['--options', 'spec/spec.opts']
52-
end
53-
5418
desc "Run the Sample code Test Runner"
5519
RSpec::Core::RakeTask.new('testrunner') do |spec|
5620
spec.pattern = FileList['sample-code-ruby/spec/sample_code_spec.rb']

authorizenet.gemspec

-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ Gem::Specification.new do |s|
1919
s.add_runtime_dependency 'roxml', '>= 3.3.1'
2020
s.add_runtime_dependency 'rexml', '>= 3.2.0'
2121

22-
s.add_development_dependency('appraisal')
2322
s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
2423
s.add_development_dependency 'rspec', '~> 3.9.0'
25-
s.add_development_dependency 'simplecov'
26-
s.add_development_dependency 'scrutinizer-ocular'
2724
end

gemfiles/.bundle/config

-2
This file was deleted.

gemfiles/rails_42.gemfile

-7
This file was deleted.

gemfiles/rails_50.gemfile

-7
This file was deleted.

gemfiles/rails_51.gemfile

-7
This file was deleted.

gemfiles/rails_52.gemfile

-7
This file was deleted.

spec/api_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@
543543
@api_login, @api_key = '5KP3u95bQpv', '346HZ32z3fP4hTG2' # FIXME: this spec added in #72 depends on a hard coded test account.
544544
transaction = AuthorizeNet::API::Transaction.new(@api_login, @api_key, gateway: @gateway)
545545

546-
batchId = "4551107"
546+
batchId = "15181378"
547547

548548
@getTransactionListRequest = GetTransactionListRequest.new
549549
@getTransactionListRequest.batchId = batchId

spec/spec_helper.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
require 'simplecov'
2-
SimpleCov.start
1+
# require 'simplecov'
2+
# SimpleCov.start
33

4-
require 'scrutinizer/ocular'
5-
Scrutinizer::Ocular.watch!
4+
# require 'scrutinizer/ocular'
5+
# Scrutinizer::Ocular.watch!
66

77
require "authorizenet"
88
require "yaml"
99

1010
ActiveSupport::Deprecation.behavior = lambda do |msg, stack|
1111
# when running this test suite ignore our own deprecation warnings
1212
unless /use AuthorizeNet::API::Transaction/ =~ msg
13-
ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:stderr].call(msg,stack)
13+
ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:stderr].call(msg, stack, ActiveSupport::Deprecation.new)
1414
end
1515
end
1616

0 commit comments

Comments
 (0)