rock_books 0.1.3 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/RELEASE_NOTES.md +13 -0
- data/lib/rock_books/documents/book_set.rb +13 -3
- data/lib/rock_books/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80a8729354ab4814e6703e459d4a95ef1d2ce537cd71ab3d87c976ed45ec4b8c
|
4
|
+
data.tar.gz: aa7ac7d7ddbf5cc913631085c769e212460e5e317f884e4e847577a057c9ecc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1d621b011fc393ce025cdd0729674eb52dcb09b8e106407a35547115a44a8af21453e1159c921b9604785d27e174af84bbf6819e3b61896db0821d89e7fbe87
|
7
|
+
data.tar.gz: b73f51018ef14b8db92d2e96d72ee5d08419ec119d9da753cd91861b7df827acfd922b70930f02a2fa51e3287b1c025935dc5605c2997f65ae1b9c6ea812b7ac
|
data/RELEASE_NOTES.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## v0.1.6
|
2
|
+
|
3
|
+
* Fixed PDF output; PDF files were corrupt because cupsfilter starting sending
|
4
|
+
output to stderr at some point.
|
5
|
+
|
6
|
+
|
7
|
+
## v0.1.4, v0.1.5
|
8
|
+
|
9
|
+
* Intermediate unsatisfactory fixes, these versions were published but yanked.
|
10
|
+
|
11
|
+
|
1
12
|
## v0.1.3
|
2
13
|
|
3
14
|
* Report output now goes to separate txt, html, and pdf subdirectories.
|
@@ -12,10 +23,12 @@
|
|
12
23
|
* Add JournalEntryContext and TransactionNotBalancedError classes.
|
13
24
|
* Add 'from_string' methods to Journal and ChartOfAccounts.
|
14
25
|
|
26
|
+
|
15
27
|
## v0.1.2
|
16
28
|
|
17
29
|
* Improve error message when the needed directories do not exist.
|
18
30
|
|
31
|
+
|
19
32
|
## v0.1.1
|
20
33
|
|
21
34
|
* Fix startup error.
|
@@ -13,6 +13,8 @@ require_relative '../reports/transaction_report'
|
|
13
13
|
require_relative '../reports/tx_by_account'
|
14
14
|
require_relative '../reports/tx_one_account'
|
15
15
|
|
16
|
+
require 'open3'
|
17
|
+
|
16
18
|
module RockBooks
|
17
19
|
|
18
20
|
class BookSet < Struct.new(:run_options, :chart_of_accounts, :journals)
|
@@ -55,9 +57,17 @@ module RockBooks
|
|
55
57
|
|
56
58
|
|
57
59
|
def run_command(command)
|
58
|
-
|
59
|
-
|
60
|
-
|
60
|
+
puts "\n----\nRunning command: #{command}"
|
61
|
+
stdout, stderr, status = Open3.capture3(command)
|
62
|
+
puts "Status was #{status}."
|
63
|
+
unless stdout.size == 0
|
64
|
+
puts "\nStdout was:\n\n#{stdout}"
|
65
|
+
end
|
66
|
+
unless stderr.size == 0
|
67
|
+
puts "\nStderr was:\n\n#{stderr}"
|
68
|
+
end
|
69
|
+
puts
|
70
|
+
stdout
|
61
71
|
end
|
62
72
|
|
63
73
|
|
data/lib/rock_books/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_books
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Bennett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -299,8 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
299
|
- !ruby/object:Gem::Version
|
300
300
|
version: '0'
|
301
301
|
requirements: []
|
302
|
-
|
303
|
-
rubygems_version: 2.7.7
|
302
|
+
rubygems_version: 3.0.1
|
304
303
|
signing_key:
|
305
304
|
specification_version: 4
|
306
305
|
summary: Very basic accounting package.
|