simple_weather 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/simple_weather.rb +5 -3
  2. metadata +1 -1
@@ -76,15 +76,17 @@ module SimpleWeather
76
76
  @@conditions['weather']['current_conditions']['wind_condition']['attributes']['data']
77
77
  end
78
78
 
79
+ def getLocation
80
+
79
81
  def getData
80
82
  data = {}
81
- data['icon_url'] = getImageUrl
82
83
  data['conditon'] = getCondition
83
- data['temp_f'] = getTemp_f
84
84
  data['temp_c'] = getTemp_c
85
+ data['temp_f'] = getTemp_f
86
+ data['icon_url'] = getImageUrl
87
+ data['location'] = 'College Park'
85
88
  data
86
89
  end
87
90
  end
88
91
  end
89
-
90
92
  # ActionView::Base.send(:include, SimpleWeather) if defined?(ActionView::Base)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_weather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: