Module: BillTrap
- Defined in:
- lib/billtrap/models.rb,
lib/billtrap.rb,
lib/billtrap/cli.rb,
lib/billtrap/cmd/in.rb,
lib/billtrap/config.rb,
lib/billtrap/cmd/new.rb,
lib/billtrap/cmd/set.rb,
lib/billtrap/helpers.rb,
lib/billtrap/version.rb,
lib/billtrap/adapters.rb,
lib/billtrap/cmd/show.rb,
lib/billtrap/cmd/entry.rb,
lib/billtrap/cmd/usage.rb,
lib/billtrap/cmd/client.rb,
lib/billtrap/cmd/export.rb,
lib/billtrap/cmd/import.rb,
lib/billtrap/cmd/payment.rb,
lib/billtrap/cmd/configure.rb,
lib/billtrap/adapters/ooffice.rb
Overview
encoding: UTF-8
Defined Under Namespace
Modules: Adapters, CLI, Config, Helpers Classes: Client, Entry, Invoice, InvoiceEntry, Meta, Payment
Constant Summary collapse
- DB_NAME =
We need to inclue spec testing here, as RSpec doesn’t allow stubs in around blocks, but we need around blocks for Sequel transactions
defined?(SPEC_RUNNING) ? "sqlite://test.db" : BillTrap::Config['database']
- DB =
Sequel.connect(DB_NAME)
- TT_DB_NAME =
Open TT timetrap_databasee
defined?(SPEC_RUNNING) ? "sqlite://testTT.db" : BillTrap::Config['timetrap_database']
- TT_DB =
Sequel.connect(TT_DB_NAME)
- VERSION =
"0.0.2"