ledger_gen 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f2263377cff076808bee364ce1697965b64ddee
4
- data.tar.gz: 3699c3450cfb1523d5a04b38445156a125f5501f
3
+ metadata.gz: b4fba09632d0197e1908966b5bc853020862d019
4
+ data.tar.gz: 1645c7d8f10015c54875e6931cee1659723e4e20
5
5
  SHA512:
6
- metadata.gz: a7455def1f0ac2d21b1187188a494e3ff4071b627692839d3c6037aaf9ec809fe8ea7ea582ca083404a63a07b2cf131cf436773254c85da19a232822e63e8e42
7
- data.tar.gz: 45497408e9021ec454208e46fa27afa8cb433048ea4ddfae6e476ff02dfa3ef840278d1977eccfcbb77a2627e5df13b5aed4090f7b3c9efe5767ffd1161dd5a9
6
+ metadata.gz: b35a1a77e119b07dc182847b2dac3b270877110b6ca2d79c049265357379a19c233e4cbf56aea527bec46356b77ec99abd644d03dcd4895f1161cbbaa73514c8
7
+ data.tar.gz: d90c0935e1310b0143ba0f35b0b3ebbe0eeae7dd0f7aa15e2024927eee8e8dc8c8b8a983aef34ad4c23a57ae32d2c5ce07509256e1050bc76abde60b34fb44e8
@@ -26,8 +26,8 @@ module LedgerGen
26
26
  @transactions.map(&:to_s).join("\n\n") + "\n"
27
27
  end
28
28
 
29
- def pretty_print
30
- IO.popen("ledger -f - print", mode='r+') do |io|
29
+ def pretty_print(ledger_options='')
30
+ IO.popen("ledger #{ledger_options} -f - print", mode='r+') do |io|
31
31
  io.write to_s
32
32
  io.close_write
33
33
  io.read
@@ -1,3 +1,3 @@
1
1
  module LedgerGen
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Keen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-11 00:00:00.000000000 Z
11
+ date: 2018-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 2.6.8
98
+ rubygems_version: 2.6.13
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Generate ledger-cli files from Ruby