plutus 0.5.2 → 0.7.0
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.
- data/README.markdown +116 -69
- data/Rakefile +7 -20
- data/app/assets/javascripts/plutus/application.js +15 -0
- data/app/assets/stylesheets/plutus/application.css +13 -0
- data/app/assets/stylesheets/plutus/main.css.scss +86 -0
- data/app/controllers/plutus/accounts_controller.rb +45 -0
- data/app/controllers/plutus/transactions_controller.rb +44 -0
- data/app/models/plutus/account.rb +60 -0
- data/app/models/plutus/amount.rb +16 -0
- data/app/models/plutus/asset.rb +83 -0
- data/app/models/plutus/credit_amount.rb +10 -0
- data/app/models/plutus/debit_amount.rb +10 -0
- data/app/models/plutus/equity.rb +84 -0
- data/app/models/plutus/expense.rb +83 -0
- data/app/models/plutus/liability.rb +78 -0
- data/app/models/plutus/revenue.rb +83 -0
- data/app/models/plutus/transaction.rb +83 -0
- data/app/views/{accounts → plutus/accounts}/index.html.erb +4 -2
- data/app/views/{accounts → plutus/accounts}/show.html.erb +8 -18
- data/app/views/plutus/transactions/index.html.erb +48 -0
- data/app/views/plutus/transactions/show.html.erb +46 -0
- data/config/database.yml +5 -0
- data/config/routes.rb +6 -0
- data/lib/generators/plutus/templates/migration.rb +17 -13
- data/lib/plutus.rb +3 -2
- data/lib/plutus/version.rb +3 -0
- data/spec/controllers/accounts_controller_spec.rb +22 -19
- data/spec/controllers/transactions_controller_spec.rb +23 -20
- data/spec/factories/account_factory.rb +30 -24
- data/spec/factories/amount_factory.rb +19 -0
- data/spec/factories/transaction_factory.rb +11 -6
- data/spec/models/account_spec.rb +61 -40
- data/spec/models/amount_spec.rb +12 -0
- data/spec/models/asset_spec.rb +46 -39
- data/spec/models/credit_amount_spec.rb +22 -0
- data/spec/models/debit_amount_spec.rb +22 -0
- data/spec/models/equity_spec.rb +51 -43
- data/spec/models/expense_spec.rb +49 -41
- data/spec/models/liability_spec.rb +48 -40
- data/spec/models/revenue_spec.rb +48 -41
- data/spec/models/transaction_spec.rb +77 -42
- data/spec/routing/accounts_routing_spec.rb +23 -20
- data/spec/routing/transactions_routing_spec.rb +23 -20
- data/spec/spec_helper.rb +3 -1
- metadata +208 -139
- data/.yardopts +0 -2
- data/VERSION.yml +0 -5
- data/app/controllers/accounts_controller.rb +0 -43
- data/app/controllers/transactions_controller.rb +0 -42
- data/app/models/account.rb +0 -57
- data/app/models/asset.rb +0 -81
- data/app/models/equity.rb +0 -82
- data/app/models/expense.rb +0 -81
- data/app/models/liability.rb +0 -76
- data/app/models/revenue.rb +0 -81
- data/app/models/transaction.rb +0 -27
- data/app/views/layouts/accounts.html.erb +0 -68
- data/app/views/layouts/transactions.html.erb +0 -68
- data/app/views/transactions/index.html.erb +0 -27
- data/app/views/transactions/show.html.erb +0 -24
- data/doc/Account.html +0 -300
- data/doc/AccountsController.html +0 -317
- data/doc/Asset.html +0 -610
- data/doc/CreatePlutusTables.html +0 -265
- data/doc/Equity.html +0 -610
- data/doc/Expense.html +0 -610
- data/doc/Liability.html +0 -588
- data/doc/Plutus.html +0 -91
- data/doc/Plutus/Engine.html +0 -100
- data/doc/PlutusGenerator.html +0 -312
- data/doc/Revenue.html +0 -610
- data/doc/Transaction.html +0 -156
- data/doc/TransactionsController.html +0 -317
- data/doc/_index.html +0 -204
- data/doc/class_list.html +0 -36
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -53
- data/doc/css/style.css +0 -310
- data/doc/file.README.html +0 -250
- data/doc/file_list.html +0 -38
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -250
- data/doc/js/app.js +0 -202
- data/doc/js/full_list.js +0 -149
- data/doc/js/jquery.js +0 -154
- data/doc/method_list.html +0 -275
- data/doc/top-level-namespace.html +0 -90
- data/fixture_rails_root/.gitignore +0 -4
- data/fixture_rails_root/Gemfile +0 -38
- data/fixture_rails_root/Gemfile.lock +0 -98
- data/fixture_rails_root/README +0 -256
- data/fixture_rails_root/Rakefile +0 -7
- data/fixture_rails_root/app/controllers/application_controller.rb +0 -3
- data/fixture_rails_root/app/helpers/application_helper.rb +0 -2
- data/fixture_rails_root/app/views/layouts/application.html.erb +0 -14
- data/fixture_rails_root/config.ru +0 -4
- data/fixture_rails_root/config/application.rb +0 -42
- data/fixture_rails_root/config/boot.rb +0 -13
- data/fixture_rails_root/config/database.yml +0 -22
- data/fixture_rails_root/config/environment.rb +0 -5
- data/fixture_rails_root/config/environments/development.rb +0 -26
- data/fixture_rails_root/config/environments/production.rb +0 -49
- data/fixture_rails_root/config/environments/test.rb +0 -35
- data/fixture_rails_root/config/initializers/backtrace_silencers.rb +0 -7
- data/fixture_rails_root/config/initializers/inflections.rb +0 -10
- data/fixture_rails_root/config/initializers/mime_types.rb +0 -5
- data/fixture_rails_root/config/initializers/secret_token.rb +0 -7
- data/fixture_rails_root/config/initializers/session_store.rb +0 -8
- data/fixture_rails_root/config/locales/en.yml +0 -5
- data/fixture_rails_root/config/routes.rb +0 -58
- data/fixture_rails_root/db/migrate/20101203193439_create_plutus_tables.rb +0 -33
- data/fixture_rails_root/db/schema.rb +0 -40
- data/fixture_rails_root/db/seeds.rb +0 -7
- data/fixture_rails_root/doc/README_FOR_APP +0 -2
- data/fixture_rails_root/lib/tasks/.gitkeep +0 -0
- data/fixture_rails_root/public/404.html +0 -26
- data/fixture_rails_root/public/422.html +0 -26
- data/fixture_rails_root/public/500.html +0 -26
- data/fixture_rails_root/public/favicon.ico +0 -0
- data/fixture_rails_root/public/images/rails.png +0 -0
- data/fixture_rails_root/public/index.html +0 -239
- data/fixture_rails_root/public/javascripts/application.js +0 -2
- data/fixture_rails_root/public/javascripts/controls.js +0 -965
- data/fixture_rails_root/public/javascripts/dragdrop.js +0 -974
- data/fixture_rails_root/public/javascripts/effects.js +0 -1123
- data/fixture_rails_root/public/javascripts/prototype.js +0 -6001
- data/fixture_rails_root/public/javascripts/rails.js +0 -175
- data/fixture_rails_root/public/robots.txt +0 -5
- data/fixture_rails_root/public/stylesheets/.gitkeep +0 -0
- data/fixture_rails_root/script/rails +0 -6
- data/fixture_rails_root/test/performance/browsing_test.rb +0 -9
- data/fixture_rails_root/test/test_helper.rb +0 -13
- data/fixture_rails_root/vendor/plugins/.gitkeep +0 -0
- data/plutus.gemspec +0 -176
- data/tasks/plutus_tasks.rake +0 -4
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
// Technique from Juriy Zaytsev
|
|
3
|
-
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
|
4
|
-
function isEventSupported(eventName) {
|
|
5
|
-
var el = document.createElement('div');
|
|
6
|
-
eventName = 'on' + eventName;
|
|
7
|
-
var isSupported = (eventName in el);
|
|
8
|
-
if (!isSupported) {
|
|
9
|
-
el.setAttribute(eventName, 'return;');
|
|
10
|
-
isSupported = typeof el[eventName] == 'function';
|
|
11
|
-
}
|
|
12
|
-
el = null;
|
|
13
|
-
return isSupported;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function isForm(element) {
|
|
17
|
-
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function isInput(element) {
|
|
21
|
-
if (Object.isElement(element)) {
|
|
22
|
-
var name = element.nodeName.toUpperCase()
|
|
23
|
-
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
|
|
24
|
-
}
|
|
25
|
-
else return false
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
var submitBubbles = isEventSupported('submit'),
|
|
29
|
-
changeBubbles = isEventSupported('change')
|
|
30
|
-
|
|
31
|
-
if (!submitBubbles || !changeBubbles) {
|
|
32
|
-
// augment the Event.Handler class to observe custom events when needed
|
|
33
|
-
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
|
34
|
-
function(init, element, eventName, selector, callback) {
|
|
35
|
-
init(element, eventName, selector, callback)
|
|
36
|
-
// is the handler being attached to an element that doesn't support this event?
|
|
37
|
-
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
|
38
|
-
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
|
39
|
-
// "submit" => "emulated:submit"
|
|
40
|
-
this.eventName = 'emulated:' + this.eventName
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (!submitBubbles) {
|
|
47
|
-
// discover forms on the page by observing focus events which always bubble
|
|
48
|
-
document.on('focusin', 'form', function(focusEvent, form) {
|
|
49
|
-
// special handler for the real "submit" event (one-time operation)
|
|
50
|
-
if (!form.retrieve('emulated:submit')) {
|
|
51
|
-
form.on('submit', function(submitEvent) {
|
|
52
|
-
var emulated = form.fire('emulated:submit', submitEvent, true)
|
|
53
|
-
// if custom event received preventDefault, cancel the real one too
|
|
54
|
-
if (emulated.returnValue === false) submitEvent.preventDefault()
|
|
55
|
-
})
|
|
56
|
-
form.store('emulated:submit', true)
|
|
57
|
-
}
|
|
58
|
-
})
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (!changeBubbles) {
|
|
62
|
-
// discover form inputs on the page
|
|
63
|
-
document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
|
|
64
|
-
// special handler for real "change" events
|
|
65
|
-
if (!input.retrieve('emulated:change')) {
|
|
66
|
-
input.on('change', function(changeEvent) {
|
|
67
|
-
input.fire('emulated:change', changeEvent, true)
|
|
68
|
-
})
|
|
69
|
-
input.store('emulated:change', true)
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function handleRemote(element) {
|
|
75
|
-
var method, url, params;
|
|
76
|
-
|
|
77
|
-
var event = element.fire("ajax:before");
|
|
78
|
-
if (event.stopped) return false;
|
|
79
|
-
|
|
80
|
-
if (element.tagName.toLowerCase() === 'form') {
|
|
81
|
-
method = element.readAttribute('method') || 'post';
|
|
82
|
-
url = element.readAttribute('action');
|
|
83
|
-
params = element.serialize();
|
|
84
|
-
} else {
|
|
85
|
-
method = element.readAttribute('data-method') || 'get';
|
|
86
|
-
url = element.readAttribute('href');
|
|
87
|
-
params = {};
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
new Ajax.Request(url, {
|
|
91
|
-
method: method,
|
|
92
|
-
parameters: params,
|
|
93
|
-
evalScripts: true,
|
|
94
|
-
|
|
95
|
-
onComplete: function(request) { element.fire("ajax:complete", request); },
|
|
96
|
-
onSuccess: function(request) { element.fire("ajax:success", request); },
|
|
97
|
-
onFailure: function(request) { element.fire("ajax:failure", request); }
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
element.fire("ajax:after");
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function handleMethod(element) {
|
|
104
|
-
var method = element.readAttribute('data-method'),
|
|
105
|
-
url = element.readAttribute('href'),
|
|
106
|
-
csrf_param = $$('meta[name=csrf-param]')[0],
|
|
107
|
-
csrf_token = $$('meta[name=csrf-token]')[0];
|
|
108
|
-
|
|
109
|
-
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
|
110
|
-
element.parentNode.insert(form);
|
|
111
|
-
|
|
112
|
-
if (method !== 'post') {
|
|
113
|
-
var field = new Element('input', { type: 'hidden', name: '_method', value: method });
|
|
114
|
-
form.insert(field);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
if (csrf_param) {
|
|
118
|
-
var param = csrf_param.readAttribute('content'),
|
|
119
|
-
token = csrf_token.readAttribute('content'),
|
|
120
|
-
field = new Element('input', { type: 'hidden', name: param, value: token });
|
|
121
|
-
form.insert(field);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
form.submit();
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
document.on("click", "*[data-confirm]", function(event, element) {
|
|
129
|
-
var message = element.readAttribute('data-confirm');
|
|
130
|
-
if (!confirm(message)) event.stop();
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
document.on("click", "a[data-remote]", function(event, element) {
|
|
134
|
-
if (event.stopped) return;
|
|
135
|
-
handleRemote(element);
|
|
136
|
-
event.stop();
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
document.on("click", "a[data-method]", function(event, element) {
|
|
140
|
-
if (event.stopped) return;
|
|
141
|
-
handleMethod(element);
|
|
142
|
-
event.stop();
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
document.on("submit", function(event) {
|
|
146
|
-
var element = event.findElement(),
|
|
147
|
-
message = element.readAttribute('data-confirm');
|
|
148
|
-
if (message && !confirm(message)) {
|
|
149
|
-
event.stop();
|
|
150
|
-
return false;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
var inputs = element.select("input[type=submit][data-disable-with]");
|
|
154
|
-
inputs.each(function(input) {
|
|
155
|
-
input.disabled = true;
|
|
156
|
-
input.writeAttribute('data-original-value', input.value);
|
|
157
|
-
input.value = input.readAttribute('data-disable-with');
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
var element = event.findElement("form[data-remote]");
|
|
161
|
-
if (element) {
|
|
162
|
-
handleRemote(element);
|
|
163
|
-
event.stop();
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
document.on("ajax:after", "form", function(event, element) {
|
|
168
|
-
var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
|
|
169
|
-
inputs.each(function(input) {
|
|
170
|
-
input.value = input.readAttribute('data-original-value');
|
|
171
|
-
input.removeAttribute('data-original-value');
|
|
172
|
-
input.disabled = false;
|
|
173
|
-
});
|
|
174
|
-
});
|
|
175
|
-
})();
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
-
|
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
-
require 'rails/commands'
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
|
2
|
-
require File.expand_path('../../config/environment', __FILE__)
|
|
3
|
-
require 'rails/test_help'
|
|
4
|
-
|
|
5
|
-
class ActiveSupport::TestCase
|
|
6
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
|
7
|
-
#
|
|
8
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
|
9
|
-
# -- they do not yet inherit this setting
|
|
10
|
-
fixtures :all
|
|
11
|
-
|
|
12
|
-
# Add more helper methods to be used by all tests here...
|
|
13
|
-
end
|
|
File without changes
|
data/plutus.gemspec
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |s|
|
|
7
|
-
s.name = %q{plutus}
|
|
8
|
-
s.version = "0.5.1"
|
|
9
|
-
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = ["Michael Bulat"]
|
|
12
|
-
s.date = %q{2010-12-03}
|
|
13
|
-
s.description = %q{The plutus plugin provides a complete double entry accounting system for use in any Ruby on Rails application. The plugin follows general Double Entry Bookkeeping practices. All calculations are done using BigDecimal in order to prevent floating point rounding errors. The plugin requires a decimal type on your database as well.}
|
|
14
|
-
s.email = %q{mbulat@crazydogsoftware.com}
|
|
15
|
-
s.extra_rdoc_files = [
|
|
16
|
-
"LICENSE",
|
|
17
|
-
"README.markdown"
|
|
18
|
-
]
|
|
19
|
-
s.files = [
|
|
20
|
-
".yardopts",
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"README.markdown",
|
|
23
|
-
"Rakefile",
|
|
24
|
-
"VERSION.yml",
|
|
25
|
-
"app/controllers/accounts_controller.rb",
|
|
26
|
-
"app/controllers/transactions_controller.rb",
|
|
27
|
-
"app/models/account.rb",
|
|
28
|
-
"app/models/asset.rb",
|
|
29
|
-
"app/models/equity.rb",
|
|
30
|
-
"app/models/expense.rb",
|
|
31
|
-
"app/models/liability.rb",
|
|
32
|
-
"app/models/revenue.rb",
|
|
33
|
-
"app/models/transaction.rb",
|
|
34
|
-
"app/views/accounts/index.html.erb",
|
|
35
|
-
"app/views/accounts/show.html.erb",
|
|
36
|
-
"app/views/layouts/accounts.html.erb",
|
|
37
|
-
"app/views/layouts/transactions.html.erb",
|
|
38
|
-
"app/views/transactions/index.html.erb",
|
|
39
|
-
"app/views/transactions/show.html.erb",
|
|
40
|
-
"config/backtrace_silencers.rb",
|
|
41
|
-
"config/inflections.rb",
|
|
42
|
-
"config/mime_types.rb",
|
|
43
|
-
"config/secret_token.rb",
|
|
44
|
-
"config/session_store.rb",
|
|
45
|
-
"doc/Account.html",
|
|
46
|
-
"doc/AccountsController.html",
|
|
47
|
-
"doc/Asset.html",
|
|
48
|
-
"doc/CreatePlutusTables.html",
|
|
49
|
-
"doc/Equity.html",
|
|
50
|
-
"doc/Expense.html",
|
|
51
|
-
"doc/Liability.html",
|
|
52
|
-
"doc/Plutus.html",
|
|
53
|
-
"doc/Plutus/Engine.html",
|
|
54
|
-
"doc/PlutusGenerator.html",
|
|
55
|
-
"doc/Revenue.html",
|
|
56
|
-
"doc/Transaction.html",
|
|
57
|
-
"doc/TransactionsController.html",
|
|
58
|
-
"doc/_index.html",
|
|
59
|
-
"doc/class_list.html",
|
|
60
|
-
"doc/css/common.css",
|
|
61
|
-
"doc/css/full_list.css",
|
|
62
|
-
"doc/css/style.css",
|
|
63
|
-
"doc/file.README.html",
|
|
64
|
-
"doc/file_list.html",
|
|
65
|
-
"doc/frames.html",
|
|
66
|
-
"doc/index.html",
|
|
67
|
-
"doc/js/app.js",
|
|
68
|
-
"doc/js/full_list.js",
|
|
69
|
-
"doc/js/jquery.js",
|
|
70
|
-
"doc/method_list.html",
|
|
71
|
-
"doc/top-level-namespace.html",
|
|
72
|
-
"fixture_rails_root/.gitignore",
|
|
73
|
-
"fixture_rails_root/Gemfile",
|
|
74
|
-
"fixture_rails_root/Gemfile.lock",
|
|
75
|
-
"fixture_rails_root/README",
|
|
76
|
-
"fixture_rails_root/Rakefile",
|
|
77
|
-
"fixture_rails_root/app/controllers/application_controller.rb",
|
|
78
|
-
"fixture_rails_root/app/helpers/application_helper.rb",
|
|
79
|
-
"fixture_rails_root/app/views/layouts/application.html.erb",
|
|
80
|
-
"fixture_rails_root/config.ru",
|
|
81
|
-
"fixture_rails_root/config/application.rb",
|
|
82
|
-
"fixture_rails_root/config/boot.rb",
|
|
83
|
-
"fixture_rails_root/config/database.yml",
|
|
84
|
-
"fixture_rails_root/config/environment.rb",
|
|
85
|
-
"fixture_rails_root/config/environments/development.rb",
|
|
86
|
-
"fixture_rails_root/config/environments/production.rb",
|
|
87
|
-
"fixture_rails_root/config/environments/test.rb",
|
|
88
|
-
"fixture_rails_root/config/initializers/backtrace_silencers.rb",
|
|
89
|
-
"fixture_rails_root/config/initializers/inflections.rb",
|
|
90
|
-
"fixture_rails_root/config/initializers/mime_types.rb",
|
|
91
|
-
"fixture_rails_root/config/initializers/secret_token.rb",
|
|
92
|
-
"fixture_rails_root/config/initializers/session_store.rb",
|
|
93
|
-
"fixture_rails_root/config/locales/en.yml",
|
|
94
|
-
"fixture_rails_root/config/routes.rb",
|
|
95
|
-
"fixture_rails_root/db/migrate/20101203193439_create_plutus_tables.rb",
|
|
96
|
-
"fixture_rails_root/db/schema.rb",
|
|
97
|
-
"fixture_rails_root/db/seeds.rb",
|
|
98
|
-
"fixture_rails_root/doc/README_FOR_APP",
|
|
99
|
-
"fixture_rails_root/lib/tasks/.gitkeep",
|
|
100
|
-
"fixture_rails_root/public/404.html",
|
|
101
|
-
"fixture_rails_root/public/422.html",
|
|
102
|
-
"fixture_rails_root/public/500.html",
|
|
103
|
-
"fixture_rails_root/public/favicon.ico",
|
|
104
|
-
"fixture_rails_root/public/images/rails.png",
|
|
105
|
-
"fixture_rails_root/public/index.html",
|
|
106
|
-
"fixture_rails_root/public/javascripts/application.js",
|
|
107
|
-
"fixture_rails_root/public/javascripts/controls.js",
|
|
108
|
-
"fixture_rails_root/public/javascripts/dragdrop.js",
|
|
109
|
-
"fixture_rails_root/public/javascripts/effects.js",
|
|
110
|
-
"fixture_rails_root/public/javascripts/prototype.js",
|
|
111
|
-
"fixture_rails_root/public/javascripts/rails.js",
|
|
112
|
-
"fixture_rails_root/public/robots.txt",
|
|
113
|
-
"fixture_rails_root/public/stylesheets/.gitkeep",
|
|
114
|
-
"fixture_rails_root/script/rails",
|
|
115
|
-
"fixture_rails_root/test/performance/browsing_test.rb",
|
|
116
|
-
"fixture_rails_root/test/test_helper.rb",
|
|
117
|
-
"fixture_rails_root/vendor/plugins/.gitkeep",
|
|
118
|
-
"lib/generators/plutus/USAGE",
|
|
119
|
-
"lib/generators/plutus/plutus_generator.rb",
|
|
120
|
-
"lib/generators/plutus/templates/migration.rb",
|
|
121
|
-
"lib/plutus.rb",
|
|
122
|
-
"plutus.gemspec",
|
|
123
|
-
"spec/controllers/accounts_controller_spec.rb",
|
|
124
|
-
"spec/controllers/transactions_controller_spec.rb",
|
|
125
|
-
"spec/factories/account_factory.rb",
|
|
126
|
-
"spec/factories/transaction_factory.rb",
|
|
127
|
-
"spec/lib/plutus_spec.rb",
|
|
128
|
-
"spec/models/account_spec.rb",
|
|
129
|
-
"spec/models/asset_spec.rb",
|
|
130
|
-
"spec/models/equity_spec.rb",
|
|
131
|
-
"spec/models/expense_spec.rb",
|
|
132
|
-
"spec/models/liability_spec.rb",
|
|
133
|
-
"spec/models/revenue_spec.rb",
|
|
134
|
-
"spec/models/transaction_spec.rb",
|
|
135
|
-
"spec/rcov.opts",
|
|
136
|
-
"spec/routing/accounts_routing_spec.rb",
|
|
137
|
-
"spec/routing/transactions_routing_spec.rb",
|
|
138
|
-
"spec/schema.rb",
|
|
139
|
-
"spec/spec.opts",
|
|
140
|
-
"spec/spec_helper.rb",
|
|
141
|
-
"tasks/plutus_tasks.rake"
|
|
142
|
-
]
|
|
143
|
-
s.homepage = %q{http://github.com/mbulat/Plutus}
|
|
144
|
-
s.require_paths = ["lib"]
|
|
145
|
-
s.rubygems_version = %q{1.3.7}
|
|
146
|
-
s.summary = %q{A Plugin providing a Double Entry Accounting Engine for Rails}
|
|
147
|
-
s.test_files = [
|
|
148
|
-
"spec/controllers/accounts_controller_spec.rb",
|
|
149
|
-
"spec/controllers/transactions_controller_spec.rb",
|
|
150
|
-
"spec/factories/account_factory.rb",
|
|
151
|
-
"spec/factories/transaction_factory.rb",
|
|
152
|
-
"spec/lib/plutus_spec.rb",
|
|
153
|
-
"spec/models/account_spec.rb",
|
|
154
|
-
"spec/models/asset_spec.rb",
|
|
155
|
-
"spec/models/equity_spec.rb",
|
|
156
|
-
"spec/models/expense_spec.rb",
|
|
157
|
-
"spec/models/liability_spec.rb",
|
|
158
|
-
"spec/models/revenue_spec.rb",
|
|
159
|
-
"spec/models/transaction_spec.rb",
|
|
160
|
-
"spec/routing/accounts_routing_spec.rb",
|
|
161
|
-
"spec/routing/transactions_routing_spec.rb",
|
|
162
|
-
"spec/schema.rb",
|
|
163
|
-
"spec/spec_helper.rb"
|
|
164
|
-
]
|
|
165
|
-
|
|
166
|
-
if s.respond_to? :specification_version then
|
|
167
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
168
|
-
s.specification_version = 3
|
|
169
|
-
|
|
170
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
171
|
-
else
|
|
172
|
-
end
|
|
173
|
-
else
|
|
174
|
-
end
|
|
175
|
-
end
|
|
176
|
-
|
data/tasks/plutus_tasks.rake
DELETED