esb 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -13
  2. data/lib/esb.rb +2 -2
  3. data/lib/esb/version.rb +1 -1
  4. metadata +10 -10
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTc4OTI3OWNjZDI3NGU3YzcyZDE1NGRiMTdjOTRlMDhjNTA2ZDczNQ==
5
- data.tar.gz: !binary |-
6
- NjEyYjdiY2UwNmUxZWM4NzgzMjZiMDQzMTcyNWE4NjNmNzY3YzRhYw==
2
+ SHA1:
3
+ metadata.gz: 135756311907b8dc307e9d972964a63526017a77
4
+ data.tar.gz: 78f5d4667d9f85949f40368ded403757b44d9077
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjE1OGNkNjhlMjM0MDU4YWJkNTRhYjJjYzhjY2I3YzI1N2FjZjVhMTJkZDhi
10
- ZDQ0MzYzYzUwYzc4YTAxNjMyZjViOWZlOTFkMmY4NGU0ODQ1NjgyNTM5ODcy
11
- NDFiNzg0OGVkYzY1M2IzNmY5ZmRlZWM0ODI1NjgwMmI0NzFjYTk=
12
- data.tar.gz: !binary |-
13
- M2EzNzA3ZDIwNDZiYTI2NWZhYjM5NjI2ZDk5YWI4ZDE4ODU0ODEwOTdkOWRm
14
- M2Y4MzlmNDM2ZWI2OTI5NDMyZmE2MmYzOTkxZGQ1M2ExMzJhMzgwMzdjMzhk
15
- NjQyNWIzYjI1NjgxMDI3Y2EzMzJkNDg5N2M0M2Y2NWVmMzU5ZjE=
6
+ metadata.gz: 8f0ed144a0a72065537c4f1fe3d75761efd562ab8303a252ac1789cc8b9d76e6197ccbc4ab069e2db550e7315a9b38b6a2ea1aa8097a4e0818272de1038b23e2
7
+ data.tar.gz: 4451e1c55fa9b2daa3599f9d3f0d8e8eaedac52065081cde318e4ca59c94764ce44bc56322a37a041998828cd6dd150d4ad0b84bbb8c5f91bb9f4158897edd3e
data/lib/esb.rb CHANGED
@@ -3,9 +3,9 @@ require 'open-uri'
3
3
 
4
4
  class Esb
5
5
  def self.get_color
6
- doc = Nokogiri::HTML(open("http://www.esbnyc.com/current_events_tower_lights.asp"))
6
+ doc = Nokogiri::HTML(open("https://www.esbnyc.com/explore/tower-lights"))
7
7
  puts " "
8
- puts doc.css("#page-title").text.strip
8
+ puts doc.css(".view-tower-lighting #page-title").text.strip
9
9
  puts " "
10
10
  end
11
11
  end
data/lib/esb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Esb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - nodanaonlyzuul
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description:
@@ -46,7 +46,7 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - .gitignore
49
+ - ".gitignore"
50
50
  - Gemfile
51
51
  - LICENSE.txt
52
52
  - README.md
@@ -64,17 +64,17 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ! '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.2.2
77
+ rubygems_version: 2.5.1
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: A command line tool to tell you what color the empire state building is,