bin/barometer in barometer-0.2.2 vs bin/barometer in barometer-0.2.3
- old
+ new
@@ -63,11 +63,11 @@
# file where API keys are stored
KEY_FILE = File.expand_path(File.join('~', '.barometer'))
class App
- VERSION = '0.0.1'
+ VERSION = '0.2.3'
attr_reader :options
def initialize(arguments, stdin)
@arguments = arguments.dup
@@ -351,10 +351,11 @@
end
def pretty_info
title("INFO", 1)
value("GitHub", "http://github.com/attack/barometer")
+ value("Barometer Version", VERSION)
end
def pretty_output(barometer)
weather = barometer.weather
if weather
@@ -372,10 +373,12 @@
end
end
def run_web_mode(query=nil)
- raise "This is currently disabled"
+ puts
+ puts "This is currently disabled"
+ puts
#require File.expand_path(File.dirname(__FILE__) + '/../lib/webometer/webometer.rb')
#require 'vegas'
#Vegas::Runner.new(Webometer, 'webometer') do |opts, app|