rubyForecast 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +36 -0
- data/Rakefile +6 -0
- data/bin/rubyForecast +156 -0
- data/icons/0.png +0 -0
- data/icons/1.png +0 -0
- data/icons/10.png +0 -0
- data/icons/11.png +0 -0
- data/icons/12.png +0 -0
- data/icons/13.png +0 -0
- data/icons/14.png +0 -0
- data/icons/15.png +0 -0
- data/icons/16.png +0 -0
- data/icons/17.png +0 -0
- data/icons/18.png +0 -0
- data/icons/19.png +0 -0
- data/icons/2.png +0 -0
- data/icons/20.png +0 -0
- data/icons/21.png +0 -0
- data/icons/22.png +0 -0
- data/icons/23.png +0 -0
- data/icons/24.png +0 -0
- data/icons/25.png +0 -0
- data/icons/26.png +0 -0
- data/icons/27.png +0 -0
- data/icons/28.png +0 -0
- data/icons/29.png +0 -0
- data/icons/3.png +0 -0
- data/icons/30.png +0 -0
- data/icons/31.png +0 -0
- data/icons/32.png +0 -0
- data/icons/3200.png +0 -0
- data/icons/33.png +0 -0
- data/icons/34.png +0 -0
- data/icons/35.png +0 -0
- data/icons/36.png +0 -0
- data/icons/37.png +0 -0
- data/icons/38.png +0 -0
- data/icons/39.png +0 -0
- data/icons/4.png +0 -0
- data/icons/40.png +0 -0
- data/icons/41.png +0 -0
- data/icons/42.png +0 -0
- data/icons/43.png +0 -0
- data/icons/44.png +0 -0
- data/icons/45.png +0 -0
- data/icons/46.png +0 -0
- data/icons/47.png +0 -0
- data/icons/5.png +0 -0
- data/icons/6.png +0 -0
- data/icons/7.png +0 -0
- data/icons/8.png +0 -0
- data/icons/9.png +0 -0
- data/lib/rubyForecast.rb +11 -0
- data/lib/rubyForecast/version.rb +3 -0
- data/rubyForecast.gemspec +30 -0
- data/spec/rubyForecast_spec.rb +11 -0
- data/spec/spec_helper.rb +2 -0
- metadata +224 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e64ec5f1d6e4bb98fc74ec6579796b7f05915d5b
|
4
|
+
data.tar.gz: 566a14881c323f85f19f7c3bc06c9adcfb35daeb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a239c32a2422be84430b946db1b78e2c6366a97541cc21b9c5d5e65631a0508acc3224a3f947306b4ad5e8bc580dd81792e8c6b0a5b7d499682403a41f8ad4e8
|
7
|
+
data.tar.gz: 699d62476e84972389db6faa28058e754edbb8b405e0e316fd9d732968901d5cf1d5ed0ee948f9bae8c652f430a2cdb239cb239e6b26c4f367edcd663cf95db4
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rubyForecast
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.0.0-p0
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Ryan Lovelett
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# RubyForecast
|
2
|
+
|
3
|
+
An attempt to faithfully reproduce the entire conkyForecast command-line
|
4
|
+
utility for Ruby. Using the Yahoo Weather API (or another API if
|
5
|
+
needed).
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
gem 'rubyForecast'
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install rubyForecast
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO: Write usage instructions here
|
24
|
+
|
25
|
+
## Weather Icons
|
26
|
+
|
27
|
+
[Google Now Weather
|
28
|
+
Icons](http://www.screenlicious.com/portfolio-item/google-now-weather/)
|
29
|
+
|
30
|
+
## Contributing
|
31
|
+
|
32
|
+
1. Fork it
|
33
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
34
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
35
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
36
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/bin/rubyForecast
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
# Load the RubyForecast core library
|
5
|
+
require File.expand_path('../../lib/rubyForecast', __FILE__)
|
6
|
+
|
7
|
+
config_desc = 'The path to the configuration file, allow multiple config files to be used.'
|
8
|
+
location_desc = 'Location code for weather data [default set in config]. Use the following url to determine your location code by city name: http://weather.yahoo.com'
|
9
|
+
datatype_desc = 'The data type options are: DW (Day of Week), WF (Weather Font output), WI (Weather Icon Path), LT (Forecast:Low Temp,Current:Feels Like Temp), HT (Forecast:High Temp,Current:Current Temp), CC (Current Conditions), CT (Conditions Text), PC (Precipitation Chance), HM (Humidity), VI (Visibility), WD (Wind Direction), WA (Wind Angle - in degrees), WS (Wind Speed), WG (Wind Gusts), BF (Bearing Font), BI (Bearing Icon Path), BS (Bearing font with Speed), CN (City Name), CO (Country), OB (Observatory), SR (SunRise), SS (SunSet), DL (DayLight), MP (Moon Phase), MF (Moon Font), MI (Moon Icon Path), BR (Barometer Reading), BD (Barometer Description), UI (UV Index), UT (UV Text), DP (Dew Point), WM (weather map fetch and image path returned), LU (Last Update at weather.com), LF (Last Fetch from weather.com). Not applicable at command line when using templates.'
|
10
|
+
startday_desc = 'Define the starting day number, if omitted current conditions are output. Not applicable at command line when using templates.'
|
11
|
+
endday_desc = 'Define the ending day number, if omitted only starting day data is output. Not applicable at command line when using templates.'
|
12
|
+
spaces_desc = 'Define the number of spaces between ranged output. Not applicable at command line when using templates.'
|
13
|
+
template_desc = 'Define a template file to generate output in one call. A displayable item in the file is in the form [--datatype=HT --startday=1]. The following are possible options within each item: --location,--datatype,--startday,--endday,--night,--shortweekday,--imperial,--beaufort,--metrespersecond,--hideunits,--hidedegreesymbol,--spaces,--minuteshide. Note that the short forms of the options are not supported! If any of these options is set from the commandline, it sets the default value of the option for all template items.'
|
14
|
+
imperial_desc = 'Request imperial units, if ommitted output is in metric.'
|
15
|
+
|
16
|
+
opts = Trollop::options do
|
17
|
+
version "rubyForecast #{RubyForecast::VERSION} (c) Ryan Lovelett"
|
18
|
+
banner <<-EOS
|
19
|
+
Usage: rubyForecast [options]
|
20
|
+
|
21
|
+
Options:
|
22
|
+
EOS
|
23
|
+
|
24
|
+
opt :config, config_desc, type: String, default: '~/.rubyForecast.config'
|
25
|
+
opt :location, location_desc, type: Integer
|
26
|
+
opt :datatype, datatype_desc, type: String, default: 'HT'
|
27
|
+
opt :startday, startday_desc, type: Integer
|
28
|
+
opt :endday, endday_desc, type: Integer
|
29
|
+
opt :spaces, spaces_desc, type: Integer, default: 1
|
30
|
+
opt :template, template_desc, type: String
|
31
|
+
opt :imperial, imperial_desc
|
32
|
+
end
|
33
|
+
|
34
|
+
client = if opts[:imperial]
|
35
|
+
Weatherman::Client.new :unit => 'F'
|
36
|
+
else
|
37
|
+
Weatherman::Client.new
|
38
|
+
end
|
39
|
+
response = client.lookup_by_woeid opts[:location]
|
40
|
+
|
41
|
+
temperature_units = response.units['temperature']
|
42
|
+
distance_units = response.units['distance']
|
43
|
+
pressure_units = response.units['pressure']
|
44
|
+
speed_units = response.units['speed']
|
45
|
+
|
46
|
+
case opts[:datatype]
|
47
|
+
# DW (Day of Week)
|
48
|
+
when 'DW'
|
49
|
+
date = response.condition['date']
|
50
|
+
puts date.strftime('%a')
|
51
|
+
# WF (Weather Font output)
|
52
|
+
when 'WF'
|
53
|
+
# WI (Weather Icon Path)
|
54
|
+
when 'WI'
|
55
|
+
code = response.condition['code']
|
56
|
+
puts File.expand_path(File.join(RubyForecast::ICONS_PATH, "#{code}.png"))
|
57
|
+
# LT (Forecast:Low Temp,Current:Feels Like Temp)
|
58
|
+
when 'LT'
|
59
|
+
puts "#{response.condition['temp']}°#{temperature_units}"
|
60
|
+
# HT (Forecast:High Temp,Current:Current Temp)
|
61
|
+
when 'HT'
|
62
|
+
puts "#{response.condition['temp']}°#{temperature_units}"
|
63
|
+
# CC (Current Conditions)
|
64
|
+
when 'CC'
|
65
|
+
puts "#{response.condition['temp']}°#{temperature_units}"
|
66
|
+
# CT (Conditions Text)
|
67
|
+
when 'CT'
|
68
|
+
puts response.condition['text']
|
69
|
+
# TODO PC (Precipitation Chance)
|
70
|
+
when 'PC'
|
71
|
+
puts 'Not implemented'
|
72
|
+
# HM (Humidity)
|
73
|
+
when 'HM'
|
74
|
+
puts "#{response.atmosphere['humidity']}%"
|
75
|
+
# VI (Visibility)
|
76
|
+
when 'VI'
|
77
|
+
puts "#{response.atmosphere['visibility']}#{distance_units}"
|
78
|
+
# WD (Wind Direction)
|
79
|
+
# TODO conkyWeather outputs something like N, NW, W, NE, E, SW, S, SE
|
80
|
+
when 'WD'
|
81
|
+
puts "#{response.wind['direction']}"
|
82
|
+
# WA (Wind Angle - in degrees)
|
83
|
+
when 'WA'
|
84
|
+
puts "#{response.wind['direction']}"
|
85
|
+
# WS (Wind Speed)
|
86
|
+
when 'WS'
|
87
|
+
puts "#{response.wind['speed']}#{speed_units}"
|
88
|
+
# TODO WG (Wind Gusts)
|
89
|
+
# TODO BF (Bearing Font)
|
90
|
+
# TODO BI (Bearing Icon Path)
|
91
|
+
# TODO BS (Bearing font with Speed)
|
92
|
+
# CN (City Name)
|
93
|
+
when 'CN'
|
94
|
+
puts "#{response.location['city']}, #{response.location['region']}"
|
95
|
+
# CO (Country)
|
96
|
+
when 'CO'
|
97
|
+
puts response.location['country']
|
98
|
+
# TODO OB (Observatory)
|
99
|
+
# SR (SunRise)
|
100
|
+
# SS (SunSet)
|
101
|
+
# DL (DayLight)
|
102
|
+
# MP (Moon Phase)
|
103
|
+
# MF (Moon Font)
|
104
|
+
# MI (Moon Icon Path)
|
105
|
+
# BR (Barometer Reading)
|
106
|
+
# BD (Barometer Description)
|
107
|
+
# UI (UV Index)
|
108
|
+
# UT (UV Text)
|
109
|
+
# DP (Dew Point)
|
110
|
+
# WM (weather map fetch and image path returned)
|
111
|
+
# LU (Last Update at weather.com)
|
112
|
+
# LF (Last Fetch from weather.com)
|
113
|
+
end
|
114
|
+
|
115
|
+
# -L LOCALE, --locale=LOCALE
|
116
|
+
# override the system locale for language output
|
117
|
+
# (bg=bulgarian, cs=czech, de=german, es=spanish,
|
118
|
+
# en=english, es=spanish, fj=fijian, fr=french,
|
119
|
+
# it=italian, nl=dutch, pl=polish, ro=romanian,
|
120
|
+
# sk=slovak, more to come)
|
121
|
+
# -i, --imperial request imperial units, if omitted output is in
|
122
|
+
# metric.
|
123
|
+
# -b, --beaufort request beaufort scale for wind speeds, if omitted
|
124
|
+
# output is either metric/imperial.
|
125
|
+
# -M, --metrespersecond
|
126
|
+
# request metres per second for wind speeds, if omitted
|
127
|
+
# output is either metric/imperial.
|
128
|
+
# -n, --night switch output to night data, if omitted day output
|
129
|
+
# will be output.
|
130
|
+
# -w, --shortweekday Shorten the day of week data type to 3 characters.
|
131
|
+
# -u, --hideunits Hide units such as mph or C, degree symbols (°) are
|
132
|
+
# still shown.
|
133
|
+
# -x, --hidedegreesymbol
|
134
|
+
# Hide the degree symbol used with temperature output,
|
135
|
+
# this is only valid if used in conjunction with
|
136
|
+
# --hideunits.
|
137
|
+
# -m NUMBER, --minuteshide=NUMBER
|
138
|
+
# Works only with LU and LF. If present, hides the date
|
139
|
+
# part of the LU or LF timestamp if the day of the
|
140
|
+
# timestamp is today. The time part is also hidden, if
|
141
|
+
# the timestamp is older than minutes specified in this
|
142
|
+
# argument. If set to 0, the time part is always shown.
|
143
|
+
# If set to -1, the value EXPIRY_MINUTES from the config
|
144
|
+
# file is used.
|
145
|
+
# -c WIDTH, --centeredwidth=WIDTH
|
146
|
+
# If used the output will be centered in a string of the
|
147
|
+
# set width, padded out with spaces, if the output width
|
148
|
+
# is greater than the setting it will be truncated
|
149
|
+
# -r, --refetch Fetch data regardless of data expiry.
|
150
|
+
# -v, --verbose Request verbose output, not a good idea when running
|
151
|
+
# through conky!
|
152
|
+
# -V, --version Displays the version of the script.
|
153
|
+
# --errorlogfile=FILE If a filepath is set, the script appends errors to the
|
154
|
+
# filepath.
|
155
|
+
# --infologfile=FILE If a filepath is set, the script appends info to the
|
156
|
+
# filepath.
|
data/icons/0.png
ADDED
Binary file
|
data/icons/1.png
ADDED
Binary file
|
data/icons/10.png
ADDED
Binary file
|
data/icons/11.png
ADDED
Binary file
|
data/icons/12.png
ADDED
Binary file
|
data/icons/13.png
ADDED
Binary file
|
data/icons/14.png
ADDED
Binary file
|
data/icons/15.png
ADDED
Binary file
|
data/icons/16.png
ADDED
Binary file
|
data/icons/17.png
ADDED
Binary file
|
data/icons/18.png
ADDED
Binary file
|
data/icons/19.png
ADDED
Binary file
|
data/icons/2.png
ADDED
Binary file
|
data/icons/20.png
ADDED
Binary file
|
data/icons/21.png
ADDED
Binary file
|
data/icons/22.png
ADDED
Binary file
|
data/icons/23.png
ADDED
Binary file
|
data/icons/24.png
ADDED
Binary file
|
data/icons/25.png
ADDED
Binary file
|
data/icons/26.png
ADDED
Binary file
|
data/icons/27.png
ADDED
Binary file
|
data/icons/28.png
ADDED
Binary file
|
data/icons/29.png
ADDED
Binary file
|
data/icons/3.png
ADDED
Binary file
|
data/icons/30.png
ADDED
Binary file
|
data/icons/31.png
ADDED
Binary file
|
data/icons/32.png
ADDED
Binary file
|
data/icons/3200.png
ADDED
Binary file
|
data/icons/33.png
ADDED
Binary file
|
data/icons/34.png
ADDED
Binary file
|
data/icons/35.png
ADDED
Binary file
|
data/icons/36.png
ADDED
Binary file
|
data/icons/37.png
ADDED
Binary file
|
data/icons/38.png
ADDED
Binary file
|
data/icons/39.png
ADDED
Binary file
|
data/icons/4.png
ADDED
Binary file
|
data/icons/40.png
ADDED
Binary file
|
data/icons/41.png
ADDED
Binary file
|
data/icons/42.png
ADDED
Binary file
|
data/icons/43.png
ADDED
Binary file
|
data/icons/44.png
ADDED
Binary file
|
data/icons/45.png
ADDED
Binary file
|
data/icons/46.png
ADDED
Binary file
|
data/icons/47.png
ADDED
Binary file
|
data/icons/5.png
ADDED
Binary file
|
data/icons/6.png
ADDED
Binary file
|
data/icons/7.png
ADDED
Binary file
|
data/icons/8.png
ADDED
Binary file
|
data/icons/9.png
ADDED
Binary file
|
data/lib/rubyForecast.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'trollop'
|
2
|
+
require 'yahoo_weatherman'
|
3
|
+
require 'rubyForecast/version'
|
4
|
+
|
5
|
+
module RubyForecast
|
6
|
+
##
|
7
|
+
# RubyForecast's internal paths
|
8
|
+
#
|
9
|
+
LIBRARY_PATH = File.join(File.dirname(__FILE__), 'rubyForecast')
|
10
|
+
ICONS_PATH = File.join(File.dirname(__FILE__), '..', 'icons')
|
11
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rubyForecast/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'rubyForecast'
|
8
|
+
spec.version = RubyForecast::VERSION
|
9
|
+
spec.authors = ['Ryan Lovelett']
|
10
|
+
spec.email = ['ryan@lovelett.me']
|
11
|
+
spec.description = %q{Attempt to provide similar interface as conkyWeather. Find the link to the conkyWeather source?}
|
12
|
+
spec.summary = %q{Attempt to provide similar interface as conkyWeather from Ruby API.}
|
13
|
+
spec.homepage = 'https://github.com/RLovelett/rubyWeather'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_dependency 'trollop'
|
22
|
+
spec.add_dependency 'yahoo_weatherman'
|
23
|
+
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
25
|
+
spec.add_development_dependency 'rake'
|
26
|
+
spec.add_development_dependency 'rspec'
|
27
|
+
spec.add_development_dependency 'guard'
|
28
|
+
spec.add_development_dependency 'guard-rspec'
|
29
|
+
spec.add_development_dependency 'vcr'
|
30
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,224 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubyForecast
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryan Lovelett
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-04-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: trollop
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: yahoo_weatherman
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vcr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Attempt to provide similar interface as conkyWeather. Find the link to
|
126
|
+
the conkyWeather source?
|
127
|
+
email:
|
128
|
+
- ryan@lovelett.me
|
129
|
+
executables:
|
130
|
+
- rubyForecast
|
131
|
+
extensions: []
|
132
|
+
extra_rdoc_files: []
|
133
|
+
files:
|
134
|
+
- .gitignore
|
135
|
+
- .rspec
|
136
|
+
- .ruby-gemset
|
137
|
+
- .ruby-version
|
138
|
+
- .travis.yml
|
139
|
+
- Gemfile
|
140
|
+
- LICENSE.txt
|
141
|
+
- README.md
|
142
|
+
- Rakefile
|
143
|
+
- bin/rubyForecast
|
144
|
+
- icons/0.png
|
145
|
+
- icons/1.png
|
146
|
+
- icons/10.png
|
147
|
+
- icons/11.png
|
148
|
+
- icons/12.png
|
149
|
+
- icons/13.png
|
150
|
+
- icons/14.png
|
151
|
+
- icons/15.png
|
152
|
+
- icons/16.png
|
153
|
+
- icons/17.png
|
154
|
+
- icons/18.png
|
155
|
+
- icons/19.png
|
156
|
+
- icons/2.png
|
157
|
+
- icons/20.png
|
158
|
+
- icons/21.png
|
159
|
+
- icons/22.png
|
160
|
+
- icons/23.png
|
161
|
+
- icons/24.png
|
162
|
+
- icons/25.png
|
163
|
+
- icons/26.png
|
164
|
+
- icons/27.png
|
165
|
+
- icons/28.png
|
166
|
+
- icons/29.png
|
167
|
+
- icons/3.png
|
168
|
+
- icons/30.png
|
169
|
+
- icons/31.png
|
170
|
+
- icons/32.png
|
171
|
+
- icons/3200.png
|
172
|
+
- icons/33.png
|
173
|
+
- icons/34.png
|
174
|
+
- icons/35.png
|
175
|
+
- icons/36.png
|
176
|
+
- icons/37.png
|
177
|
+
- icons/38.png
|
178
|
+
- icons/39.png
|
179
|
+
- icons/4.png
|
180
|
+
- icons/40.png
|
181
|
+
- icons/41.png
|
182
|
+
- icons/42.png
|
183
|
+
- icons/43.png
|
184
|
+
- icons/44.png
|
185
|
+
- icons/45.png
|
186
|
+
- icons/46.png
|
187
|
+
- icons/47.png
|
188
|
+
- icons/5.png
|
189
|
+
- icons/6.png
|
190
|
+
- icons/7.png
|
191
|
+
- icons/8.png
|
192
|
+
- icons/9.png
|
193
|
+
- lib/rubyForecast.rb
|
194
|
+
- lib/rubyForecast/version.rb
|
195
|
+
- rubyForecast.gemspec
|
196
|
+
- spec/rubyForecast_spec.rb
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
homepage: https://github.com/RLovelett/rubyWeather
|
199
|
+
licenses:
|
200
|
+
- MIT
|
201
|
+
metadata: {}
|
202
|
+
post_install_message:
|
203
|
+
rdoc_options: []
|
204
|
+
require_paths:
|
205
|
+
- lib
|
206
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - '>='
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
requirements: []
|
217
|
+
rubyforge_project:
|
218
|
+
rubygems_version: 2.0.3
|
219
|
+
signing_key:
|
220
|
+
specification_version: 4
|
221
|
+
summary: Attempt to provide similar interface as conkyWeather from Ruby API.
|
222
|
+
test_files:
|
223
|
+
- spec/rubyForecast_spec.rb
|
224
|
+
- spec/spec_helper.rb
|