Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*very* basic cleanup #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ doc
# jeweler generated
pkg

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
# never ever commit the Gemfile.lock
Gemfile.lock

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
Expand Down
1 change: 0 additions & 1 deletion .rvmrc

This file was deleted.

15 changes: 7 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ source :rubygems

group :development do
gem 'awesome_print'
gem "rspec"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.5.2"
gem "ruby-debug", :platforms => :ruby_18
gem "ruby-debug19", :platforms => :ruby_19, :require => 'ruby_debug'
gem "simplecov", :platforms => :ruby_19
gem "rcov", :platforms => :ruby_18
gem "rdoc"
gem 'minitest'
gem 'rspec'
gem 'bundler', '~> 1.11.2'
gem 'jeweler', '~> 2.0.1'
gem 'ruby-debug19', platforms: :ruby_19, require: 'ruby_debug'
gem 'simplecov', platforms: :ruby_19
gem 'rdoc'
end
64 changes: 0 additions & 64 deletions Gemfile.lock

This file was deleted.

22 changes: 11 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
$stderr.puts 'Run `bundle install` to install missing gems'
exit e.status_code
end
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "mt940_parser"
gem.summary = %Q{MT940 parses account statements in the SWIFT MT940 format.}
gem.license = "MIT"
gem.email = "developers@betterplace.org"
gem.homepage = "http://github.com/betterplace/mt940_parser"
gem.authors = ["Thies C. Arntzen", "Phillip Oertel"]
gem.name = 'mt940_parser'
gem.summary = %(MT940 parses account statements in the SWIFT MT940 format.)
gem.license = 'MIT'
gem.email = 'developers@betterplace.org'
gem.homepage = 'http://github.com/betterplace/mt940_parser'
gem.authors = ['Thies C. Arntzen', 'Phillip Oertel']
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end

require 'rake/testtask'
Expand All @@ -38,18 +38,18 @@ RSpec::Core::RakeTask.new(:rspec) do |t|
t.rspec_opts = '--color --format documentation'
end

desc "Run all specs with rcov"
desc 'Run all specs with rcov'
RSpec::Core::RakeTask.new(:rcov) do |t|
t.rspec_opts = '--color --format documentation'
t.rcov = true
t.rcov_opts = '--exclude /gems/,spec'
end

task :default => :test
task default: :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
version = File.exist?('VERSION') ? File.read('VERSION') : ''

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "mt940 #{version}"
Expand Down
Loading