flotr 1.3.11 → 1.3.12

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 (3) hide show
  1. data/examples/sincos.rb +1 -1
  2. data/lib/flotr.rb +2 -0
  3. metadata +3 -3
@@ -19,7 +19,7 @@ end
19
19
  plot = Flotr::Plot.new("Test plot")
20
20
  plot.output_file = "SinCos1.html"
21
21
  plot.comment = "This is a test plot made with Flotr"
22
- plot.options = {:legend_position => "ne", :points => 'true'}
22
+ plot.options = {:legend_position => "ne", :points => 'false', :lines => 'true'}
23
23
  plot.height = 480
24
24
  plot.width = 640
25
25
  plot.label = {:X => "X"} # :Y label seems not working on Safari
@@ -145,6 +145,8 @@ module Flotr
145
145
  system "open \"#{@output_file}\""
146
146
  when /mswin/
147
147
  system "start #{@output_file}"
148
+ when /linux/
149
+ system "firefox #{@output_file}"
148
150
  else
149
151
  puts "open #{@output_file} in your preferred browser"
150
152
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 11
9
- version: 1.3.11
8
+ - 12
9
+ version: 1.3.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Paolo Bosetti
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-30 00:00:00 +02:00
17
+ date: 2011-01-05 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency