myweatherfeed 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/lib/myweatherfeed.rb +29 -0
- data.tar.gz.sig +1 -0
- metadata +107 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8e1e5579d1f27d44daf198a5a3e78b40d63a4a76
|
4
|
+
data.tar.gz: f5457ab6c8ba138565cc70252062e30ad56998d9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 48317cb3771c90936e35f36203df6c0d87d54ccff6b706721fb29d0c19f10625e6811565de63f728a2ffdffecbd186ed3573cb88fe11cb7fab67c52a0af57422
|
7
|
+
data.tar.gz: 973f3e476c82c7128a7c89c837891a4cb53847622531b5ab73eeae5c0ea0bdaab5ce7bc822b27a49d9560a59068469d188674942ab9af274d2d45137a6f3aec8
|
checksums.yaml.gz.sig
ADDED
Binary file
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# file: myweatherfeed.rb
|
4
|
+
|
5
|
+
require 'daily_notices'
|
6
|
+
require 'myweatherforecast'
|
7
|
+
|
8
|
+
|
9
|
+
class MyWeatherFeed < DailyNotices
|
10
|
+
|
11
|
+
def initialize(filepath='', location: nil, api_key: nil, \
|
12
|
+
url_base: '', dx_xslt: '', rss_xslt: '')
|
13
|
+
|
14
|
+
super(filepath, url_base: url_base, dx_xslt: dx_xslt, rss_xslt: rss_xslt)
|
15
|
+
|
16
|
+
@w = MyWeatherForecast.new location, api_key: api_key
|
17
|
+
self.title = 'My weather feed for ' + \
|
18
|
+
(location || @w.coordinates.join(', '))
|
19
|
+
self.description = 'Weather data fetched from forecast.io'
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
def update()
|
24
|
+
|
25
|
+
self.add @w.now.to_s
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
data.tar.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
���.��kC�u!�_Bl4��-�O��ê�]�삺~�?N7AO�X;"����q+���)n~9�晨��鯉��I�u�E˂W]��02�Z�j�X��:|ו��x�aG
|
metadata
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: myweatherfeed
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Robertson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
|
+
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
+
8ixkARkWAmV1MB4XDTE1MTAyNzE0MTMzM1oXDTE2MTAyNjE0MTMzM1owSDESMBAG
|
16
|
+
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
|
+
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
+
ggEBANpGssVNGYRltODqnxwpPzBGYLpvmz2Irp0PvclXWbXsjviiHNYe23LRJ4GE
|
19
|
+
CpR9/jotapySfsbOmIHxVJ+ZOQKjtUao+Ip2hUlaTXpRR9W+XGeKnqQgC5C+OcTe
|
20
|
+
Nf6foLn0eWEpiEHbSApBkGGGbQV2nM+MEqxl2rKduJ+TqGKu359NsVYqYC6QYd/I
|
21
|
+
2LIwq8Hrgb5HSINhUn0G5mO2ZII9YEbIii+gFwN0b4vKdknLm1LJ64Mti8QH0NCL
|
22
|
+
29pz5rxT0kcNHD6ZZhWlN3mRuyCtJz7FtNyy74luLpAEcJJVDeE982KUc+xZ4r+r
|
23
|
+
kdsaQaBJmBTOfVEvgrE9fFWvXdkCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUTOb6hJyRuonNEwPFQzMOr98q/WAwJgYDVR0RBB8w
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAha/QmFlV
|
27
|
+
shmQM2Zu8VDzjIRqSz6HnsVYUaOt06Q1nIBaTLHLstS8Aj5ZG5qrZ1KxIGCiyyYe
|
28
|
+
+taEIy5tKLCE6tAW7k8sFsnpYKbvukY9Tm2+VFpoUXZfV+oqsrlZGCcipWLLEVca
|
29
|
+
r+O9uOKAnGfLS2h0oj8bymtbP3DlpdhpYCQIykT9Azcqvwd8JASjHZD7ggq2XhTV
|
30
|
+
S2jAI3L4BT2hZsL1hQ+JDrzhQu9La7R1wA/D9GBlVmSxVoPhRrKKUOVe8q0PnOOP
|
31
|
+
OrEo7o+s5IAb1sjnszfTM9z0m8edr9PLFL6DELSDyUrAX82wtOczCfs+FmDFMVi1
|
32
|
+
n+hHOLycC+wnRA==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: myweatherforecast
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.5'
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.5.2
|
46
|
+
type: :runtime
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.5'
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.5.2
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: daily_notices
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.2'
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 0.2.1
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.2'
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.2.1
|
76
|
+
description:
|
77
|
+
email: james@r0bertson.co.uk
|
78
|
+
executables: []
|
79
|
+
extensions: []
|
80
|
+
extra_rdoc_files: []
|
81
|
+
files:
|
82
|
+
- lib/myweatherfeed.rb
|
83
|
+
homepage: https://github.com/jrobertson/myweatherfeed
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata: {}
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
requirements: []
|
102
|
+
rubyforge_project:
|
103
|
+
rubygems_version: 2.4.8
|
104
|
+
signing_key:
|
105
|
+
specification_version: 4
|
106
|
+
summary: Generates an RSS feed for the weather data using the myweatherforecast gem
|
107
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|