gull 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -0
- data/README.md +1 -0
- data/lib/gull.rb +0 -1
- data/lib/gull/alert.rb +2 -3
- data/lib/gull/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0147732c542c8620378e64843ffff1b444346772
|
4
|
+
data.tar.gz: 61235e4b2279fa75942a0727d63edcc4e8429110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd7eb7cb6e175c68a7d3f1c46ac518a76e77484714a2c62364f342f82a1ff1994ae40df2d0c4d3836e487e4aa01699964fe79a1ceec9343d1b63d77395e70f1
|
7
|
+
data.tar.gz: c0ff856a532d89033897d891068b22e4c4b9998ec3aa19b085db39f4727b814cad15a0202d2b0933a2a4b54ec05e7136963b3828cd2ddec53dd0ccc4c4566369
|
data/.travis.yml
ADDED
data/README.md
CHANGED
data/lib/gull.rb
CHANGED
data/lib/gull/alert.rb
CHANGED
@@ -9,9 +9,8 @@ module Gull
|
|
9
9
|
def self.fetch
|
10
10
|
client = HTTPClient.new
|
11
11
|
response = client.get_content "http://alerts.weather.gov/cap/us.php?x=0"
|
12
|
-
|
13
|
-
|
14
|
-
self.process entries
|
12
|
+
document = Nokogiri::XML response
|
13
|
+
self.process document.css('feed/entry')
|
15
14
|
end
|
16
15
|
|
17
16
|
private
|
data/lib/gull/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gull
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Deckard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -103,6 +103,7 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- .gitignore
|
105
105
|
- .rspec
|
106
|
+
- .travis.yml
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE.txt
|
108
109
|
- README.md
|