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 +4 -4
- data/bin/ballista +1 -1
- data/lib/ballista/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e28f5b4cd7a280a48db419b0cd1627b15f58f378
|
4
|
+
data.tar.gz: ff2653e81dd62e11b13445200a245b71d7ce2fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 }
|
data/lib/ballista/version.rb
CHANGED