plutus 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,7 +56,7 @@ Then simply run `rake db:seed`
56
56
 
57
57
  Each account can also be marked as a "Contra Account". A contra account will have its normal balance swapped. For example, to remove equity, a "Drawing" account may be created as a contra equity account as follows:
58
58
 
59
- Plutus::Equity.create(:name => "Drawing", contra => true)
59
+ Plutus::Equity.create(:name => "Drawing", :contra => true)
60
60
 
61
61
  At all times the balance of all accounts should conform to the [Accounting
62
62
  Equation](http://en.wikipedia.org/wiki/Accounting_equation)
@@ -73,7 +73,7 @@ Examples
73
73
  Recording a Transaction
74
74
  -----------------------
75
75
 
76
- Let's assume we're accounting on an [Accrual basis](http://en.wikipedia.org/wiki/Accounting_methods). We've just taken a customer's order for some widgets, which we've also billed him for. At this point we've actually added a liability to the company until we deliver the goods. To record this transaction we'd need two accounts:
76
+ Let's assume we're accounting on an [Accrual basis](http://en.wikipedia.org/wiki/Accounting_methods#Accrual_basis). We've just taken a customer's order for some widgets, which we've also billed him for. At this point we've actually added a liability to the company until we deliver the goods. To record this transaction we'd need two accounts:
77
77
 
78
78
  >> Plutus::Asset.create(:name => "Cash")
79
79
  >> Plutus::Liability.create(:name => "Unearned Revenue")
@@ -226,6 +226,11 @@ Testing
226
226
 
227
227
  [Rspec](http://rspec.info/) tests are provided. Run `bundle install` then `rake`.
228
228
 
229
+ Community and where to get help
230
+ ===============================
231
+
232
+ * Join the [mailing list](https://groups.google.com/d/forum/plutus-gem) (Google Group)
233
+
229
234
  ToDo
230
235
  ====
231
236
 
@@ -30,7 +30,7 @@ module Plutus
30
30
  #
31
31
  # @author Michael Bulat
32
32
  class Account < ActiveRecord::Base
33
- attr_accessible :name
33
+ attr_accessible :name, :contra
34
34
 
35
35
  has_many :credit_amounts
36
36
  has_many :debit_amounts
@@ -1,3 +1,3 @@
1
1
  module Plutus
2
- VERSION = "0.7.0"
3
- end
2
+ VERSION = "0.7.2"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-03-31 00:00:00.000000000 Z
12
+ date: 2012-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails