Skip to content

Commit 05dbbbc

Browse files
authored
Merge pull request #5 from amount/company-id-update
Company id update
2 parents 6380bd7 + 2f17d35 commit 05dbbbc

39 files changed

+628
-693
lines changed

.autotest

-46
This file was deleted.

.rspec

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--profile --colour --format progress --tag focus

.rubocop.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
AllCops:
2+
TargetRubyVersion: 2.6
3+
4+
Metrics/AbcSize:
5+
Exclude:
6+
- spec/**/*.rb
7+
8+
Metrics/BlockLength:
9+
Exclude:
10+
- spec/**/*.rb
11+
12+
Metrics/MethodLength:
13+
Exclude:
14+
- spec/**/*.rb

.ruby-version

-1
This file was deleted.

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### 0.4.7
2+
3+
* Remove company_identification_code_designator and extend to
4+
company_identification field to 10 digits.

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
source 'https://rubygems.org'
22

3+
gemspec
4+
5+
gem 'autotest'
36
gem 'micronaut'

Gemfile.lock

-13
This file was deleted.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ fh.immediate_origin_name = "BANK NAME"
3131
batch = ACH::Batch.new
3232
bh = batch.header
3333
bh.company_name = "Company Name"
34-
bh.company_identification_code_designator = "1"
35-
bh.company_identification = "123456789"
34+
bh.company_identification = "123456789" # Use 10 characters if you're not using an EIN
3635
bh.standard_entry_class_code = 'PPD'
3736
bh.company_entry_description = "DESCRIPTION"
3837
bh.company_descriptive_date = Date.today

Rakefile

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
$:.push File.expand_path('../lib', __FILE__)
1+
#!/usr/bin/env rake
2+
3+
require 'rubygems'
4+
require 'bundler/setup'
5+
Bundler.require
26
require 'ach/version'
37

4-
require 'micronaut/rake_task'
5-
Micronaut::RakeTask.new(:examples) do |examples|
6-
examples.pattern = './examples/**/*_example.rb'
7-
examples.ruby_opts << '-Ilib -Iexamples'
8-
end
8+
require 'rspec/core/rake_task'
99

10-
Micronaut::RakeTask.new(:rcov) do |examples|
11-
examples.pattern = 'examples/**/*_example.rb'
12-
examples.rcov_opts = '-Ilib -Iexamples'
13-
examples.rcov = true
14-
end
10+
RSpec::Core::RakeTask.new(:spec)
1511

16-
task :default => :examples
12+
task :default => :spec
1713

1814
require 'rdoc/task'
1915
Rake::RDocTask.new do |rdoc|

ach.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ Gem::Specification.new do |s|
1717
s.test_files = Dir.glob('examples/**/*')
1818
s.require_path = 'lib'
1919

20-
s.add_development_dependency('micronaut')
20+
s.add_development_dependency('rake')
21+
s.add_development_dependency('rspec', '~> 2.0')
2122
end

circle.yml

-3
This file was deleted.

examples/ach/batch_example.rb

-129
This file was deleted.

examples/ach/field_identifiers_example.rb

-47
This file was deleted.

0 commit comments

Comments
 (0)