ballista 0.0.1 → 0.0.2

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: 98d859e7cd342d957cb3a859d1c0dbad9d0e9b3e
4
- data.tar.gz: ce880f15be9b6b97d1dfb2f0366bd72b941cd45d
3
+ metadata.gz: e28f5b4cd7a280a48db419b0cd1627b15f58f378
4
+ data.tar.gz: ff2653e81dd62e11b13445200a245b71d7ce2fa2
5
5
  SHA512:
6
- metadata.gz: c19d72ea5c1387012e4630c8410e076acb5cc7327a0e4121434dec4f42a9d78c1d903f21e67567560edb8fd9a115b2b8012894528bc7df02f278f3f410d9359d
7
- data.tar.gz: 0f34f5fc4284b40dd31c664787c7baaf773bd27129b4e3c93af9c4287089c7a39ee0f561cef466cba3ef4321711153c945962cc987ed057a858c280c52568079
6
+ metadata.gz: 1b772d292612ace47dadc918b8249865a315a0a4ad5f364a9db1b03ae55fa9a67935e83d73fc72a54009e8574c8a53effed372aa0f7534e98bf35b77eb2b7bcb
7
+ data.tar.gz: 63401db844403490ae269c271691fa9db8b6405c295546b9518277ebf820d356e6e51bba9d938e7b591536e47aff7e32d97b86cdb71f2f74beb6f0957e7abefc
data/bin/ballista CHANGED
@@ -21,7 +21,7 @@ Mercenary.program(:ballista) do |p|
21
21
  config_file = ARGV.shift
22
22
  puts p unless config_file
23
23
  config = parse_config(config_file)
24
- months = options[:months] || 12
24
+ months = options[:months].to_i || 12
25
25
  projection = Ballista.new(entries: config).project(months)
26
26
  if options[:output]
27
27
  File.open(options[:output], 'w') { |fh| fh << projection.to_s }
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Set the version (needed for Mercenary -v)
3
3
  module Ballista
4
- VERSION = '0.0.1'.freeze
4
+ VERSION = '0.0.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ballista
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker