borutus 0.2.4 → 1.0.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/models/borutus/account.rb +1 -1
- data/db/migrate/20201116065934_remove_precision_scale.rb +9 -0
- data/lib/borutus/version.rb +1 -1
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af3db80329943979aaeefda9d410838ed28f24a945790fbd8aa755b55590321b
|
4
|
+
data.tar.gz: 8672bec07d31bfae0da78a570b03ede355290ea223ba00e559033f289122aef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d96a7d5e661b61d786a3ee898a4ae0c68460b1418b2b3daf916e50693ba4ad81df65d36c11a1f95c31c7f9e21ba91b5e7d655017a118aefe0e764b7cbf46214
|
7
|
+
data.tar.gz: d12ea7cd1b21820ecf6d36e731f212643ca30d2a2f4eaa34163fd46e1fa228f1404b577fb8f57ba11a715eddc44fa89af52d0a2466684bd3f63e24689d246c62
|
data/README.md
CHANGED
@@ -265,7 +265,7 @@ entry = Borutus::Entry.build(
|
|
265
265
|
Multitenancy Support
|
266
266
|
=====================
|
267
267
|
|
268
|
-
Borutus supports multitenant applications. Multitenancy is
|
268
|
+
Borutus supports multitenant applications. Multitenancy is achieved by associating all Accounts under `Borutus::Account` with a "Tenant" object (typically some model in your Rails application). To add multi-tenancy support to Borutus, you must do the following:
|
269
269
|
|
270
270
|
- Generate the migration which will add `tenant_id` to the borutus accounts table
|
271
271
|
|
data/lib/borutus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: borutus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-rails
|
@@ -171,6 +171,7 @@ files:
|
|
171
171
|
- db/migrate/20160422010135_create_borutus_tables.rb
|
172
172
|
- db/migrate/20191025095830_add_borutus_amount_counter_cache.rb
|
173
173
|
- db/migrate/20191025154652_change_borutus_amount_count_column.rb
|
174
|
+
- db/migrate/20201116065934_remove_precision_scale.rb
|
174
175
|
- lib/borutus.rb
|
175
176
|
- lib/borutus/engine.rb
|
176
177
|
- lib/borutus/version.rb
|
@@ -226,36 +227,35 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
227
|
- !ruby/object:Gem::Version
|
227
228
|
version: '0'
|
228
229
|
requirements: []
|
229
|
-
|
230
|
-
rubygems_version: 2.7.6
|
230
|
+
rubygems_version: 3.0.8
|
231
231
|
signing_key:
|
232
232
|
specification_version: 3
|
233
233
|
summary: A Plugin providing a Double Entry Accounting Engine for Rails
|
234
234
|
test_files:
|
235
|
+
- spec/routing/entries_routing_spec.rb
|
236
|
+
- spec/routing/accounts_routing_spec.rb
|
237
|
+
- spec/controllers/reports_controller_spec.rb
|
235
238
|
- spec/controllers/accounts_controller_spec.rb
|
236
239
|
- spec/controllers/entries_controller_spec.rb
|
237
|
-
- spec/
|
238
|
-
- spec/
|
239
|
-
- spec/
|
240
|
-
- spec/
|
240
|
+
- spec/rcov.opts
|
241
|
+
- spec/support/active_support_helpers.rb
|
242
|
+
- spec/support/shoulda_matchers.rb
|
243
|
+
- spec/support/factory_bot_helpers.rb
|
244
|
+
- spec/support/amount_shared_examples.rb
|
245
|
+
- spec/support/account_shared_examples.rb
|
246
|
+
- spec/spec_helper.rb
|
241
247
|
- spec/lib/borutus_spec.rb
|
242
|
-
- spec/models/
|
243
|
-
- spec/models/amount_spec.rb
|
244
|
-
- spec/models/asset_spec.rb
|
245
|
-
- spec/models/credit_amount_spec.rb
|
246
|
-
- spec/models/debit_amount_spec.rb
|
247
|
-
- spec/models/entry_spec.rb
|
248
|
-
- spec/models/equity_spec.rb
|
248
|
+
- spec/models/tenancy_spec.rb
|
249
249
|
- spec/models/expense_spec.rb
|
250
250
|
- spec/models/liability_spec.rb
|
251
|
+
- spec/models/equity_spec.rb
|
252
|
+
- spec/models/credit_amount_spec.rb
|
251
253
|
- spec/models/revenue_spec.rb
|
252
|
-
- spec/models/
|
253
|
-
- spec/
|
254
|
-
- spec/
|
255
|
-
- spec/
|
256
|
-
- spec/
|
257
|
-
- spec/
|
258
|
-
- spec/
|
259
|
-
- spec/
|
260
|
-
- spec/support/factory_bot_helpers.rb
|
261
|
-
- spec/support/shoulda_matchers.rb
|
254
|
+
- spec/models/debit_amount_spec.rb
|
255
|
+
- spec/models/asset_spec.rb
|
256
|
+
- spec/models/entry_spec.rb
|
257
|
+
- spec/models/account_spec.rb
|
258
|
+
- spec/models/amount_spec.rb
|
259
|
+
- spec/factories/account_factory.rb
|
260
|
+
- spec/factories/amount_factory.rb
|
261
|
+
- spec/factories/entry_factory.rb
|