graphit 0.0.4 → 0.0.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/graphit +10 -2
  3. data/lib/graphit/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ff69449367e93d41472413a5e52f5d3d0bc1cb8
4
- data.tar.gz: 15b24c7f59686d894e1975d47a53d3b2f1afbb6c
3
+ metadata.gz: 408bdfa48282c36e44e87556dd1bb275e3135542
4
+ data.tar.gz: 15ce09cd169e26f9b5154568b869898305ac1633
5
5
  SHA512:
6
- metadata.gz: 21bd6238e6087b78393a251ffba1ef7a6c2f7d789eb0638ebb31ad8f5adba95bf230df94cb29d1eddcb226202aeb6a7c1548b0b2411acd293fb6e3762ebf6c8b
7
- data.tar.gz: 92e4194a6f7c613678568bd55c7d064b5d46d50d1fa317fa7f097c43786bab0cc4d995eb3f73611ce0c3f76c7736168eee2bdbad2a35a3ed694fb039704bce1d
6
+ metadata.gz: 598e94d4cf32556a8f1610557ed7211e19fb6bd8ba1a19390d6c860ebc74075bbc2b9942b4f96d6aef1c6915a8fb068ce8c4b0a2faeab7f184a0c653bec07b69
7
+ data.tar.gz: b94dec7e45933ded040340222efb45c26b23f84aa16ccabefad3aa035b99ae16d6650054dcf5d86fa263e36a232912ba917720a67471caae7fa1a0fd69e0e9ed
data/exe/graphit CHANGED
@@ -27,6 +27,14 @@ OptionParser.new do |opts|
27
27
  options[:width] = w
28
28
  end
29
29
 
30
+ opts.on("--yticsmod [yticsmod]", Integer) do |yticsmod|
31
+ options[:yticsmod] = yticsmod
32
+ end
33
+
34
+ opts.on("--xticsmod [xticsmod]", Integer) do |xticsmod|
35
+ options[:xticsmod] = xticsmod
36
+ end
37
+
30
38
  opts.on("-o", "--output-file [file]", "Filename") do |of|
31
39
  options[:outputfile] = of
32
40
  end
@@ -156,8 +164,8 @@ puts "ymin: #{@ymin}, ymax: #{@ymax}"
156
164
  @left_padding = 100
157
165
  @right_padding = 10
158
166
 
159
- @y_tics_mod = 10
160
- @x_tics_mod = 3600
167
+ @y_tics_mod = options[:yticsmod] || 10
168
+ @x_tics_mod = options[:xticsmod] || 3600
161
169
 
162
170
  @graph_width = @w - @left_padding - @right_padding
163
171
  @graph_height = @h - @bottom_padding - @top_padding
@@ -1,3 +1,3 @@
1
1
  module Graphit
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeffmcfadden