Sha256: f2f5ac9f35887d14cc506019033ae07cb03ba1a32b3c3f4c9396fa117e8ce946
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
# vim: set filetype=ruby et sw=2 ts=2: require 'gem_hadar' GemHadar do name 'acts_as_account' author [ "Thies C. Arntzen, Norman Timmler, Matthias Frick, Phillip Oertel" ] email 'developers@betterplace.org' homepage "https://github.com/betterplace/acts_as_account" summary 'acts_as_account implements double entry accounting for Rails models' description 'acts_as_account implements double entry accounting for Rails models. Your models get accounts and you can do consistent transactions between them. Since the documentation is sparse, see the transfer.feature for usage examples.' test_dir 'tests' ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc', '.AppleDouble', 'tags', '.byebug_history', '.DS_Store' readme 'README.md' title "#{name.camelize} -- More Math in Ruby" licenses << 'Apache-2.0' dependency 'activerecord', '>= 5.1', '<8' dependency 'actionpack' , '>= 4.1', '<8' development_dependency 'cucumber' development_dependency 'sqlite3' development_dependency 'rspec' development_dependency 'simplecov' development_dependency 'database_cleaner' development_dependency 'rubocop' end def connect_database require 'active_record' require 'yaml' db_config = YAML.load_file('features/db/database.yml') ActiveRecord::Base.establish_connection(db_config).lease_connection end namespace :features do desc "create test database out of db/schema.rb" task :create_database do connect_database load("#{__dir__}/features/db/schema.rb") end end desc "Run features" task :features => :'features:create_database' do ruby '-S', 'cucumber' end task :test => :features
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_account-3.4.1 | Rakefile |
acts_as_account-3.4.0 | Rakefile |
acts_as_account-3.3.0 | Rakefile |