ww_finder 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4443c0f1ad6145384116bd536494dc3ef88ff0ffe52bbf356742ea55e433716c
4
+ data.tar.gz: 1a54de150d675175cfc6f7d1284ecc7e5fedd9a5ab175373dec2075e51cd185b
5
+ SHA512:
6
+ metadata.gz: 598ba3618a9f12d9a6fbf6998714742aca62f52cc416d756b5f19845d68c3b761121031efb740baac3af806b98edee4f1c5f88b55d1fa50b830160dc8dcadff0
7
+ data.tar.gz: dc7216abaa2b84c640b095d166ed15370f26e9917d18bd24a8c1b77bed9d5bee293004bd4b1a4c8541df5d1aef7961051723ad8bad8e96a2b2f71267e1b02d82
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at bethmschofield@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in ww_finder.gemspec
4
+ gemspec
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ww_finder (0.1.0)
5
+ colorize
6
+ nokogiri
7
+ tty-table
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ coderay (1.1.3)
13
+ colorize (0.8.1)
14
+ equatable (0.6.1)
15
+ method_source (1.0.0)
16
+ mini_portile2 (2.4.0)
17
+ necromancer (0.6.0)
18
+ nokogiri (1.10.9)
19
+ mini_portile2 (~> 2.4.0)
20
+ pastel (0.7.4)
21
+ equatable (~> 0.6)
22
+ tty-color (~> 0.5)
23
+ pry (0.13.1)
24
+ coderay (~> 1.1)
25
+ method_source (~> 1.0)
26
+ rake (12.3.3)
27
+ strings (0.1.8)
28
+ strings-ansi (~> 0.1)
29
+ unicode-display_width (~> 1.5)
30
+ unicode_utils (~> 1.4)
31
+ strings-ansi (0.2.0)
32
+ tty-color (0.5.1)
33
+ tty-screen (0.8.0)
34
+ tty-table (0.11.0)
35
+ equatable (~> 0.6)
36
+ necromancer (~> 0.5)
37
+ pastel (~> 0.7.2)
38
+ strings (~> 0.1.5)
39
+ tty-screen (~> 0.7)
40
+ unicode-display_width (1.7.0)
41
+ unicode_utils (1.4.0)
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ bundler (~> 2.0)
48
+ pry
49
+ rake (~> 12.3, >= 12.3.3)
50
+ ww_finder!
51
+
52
+ BUNDLED WITH
53
+ 2.1.4
@@ -0,0 +1,37 @@
1
+ # WeWork Finder
2
+
3
+ Find a WeWork!
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'ww_finder'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install ww_finder
20
+
21
+ ## Usage
22
+
23
+ Run with 'find-a-ww'
24
+
25
+ ## Development
26
+
27
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
28
+
29
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/<github username>/ww_finder. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+
35
+ ## Code of Conduct
36
+
37
+ Everyone interacting in the WWFinder project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/<github username>/ww_finder/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "ww_finder"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../config/environment'
4
+
5
+ WWFinder::CLI.new.run
@@ -0,0 +1,18 @@
1
+ require 'pry'
2
+ require 'nokogiri'
3
+ require 'open-uri'
4
+ require 'colorize'
5
+ require 'tty-table'
6
+
7
+ require_relative "../lib/ww_finder/version"
8
+ require_relative "../lib/ww_finder/cli"
9
+ require_relative "../lib/ww_finder/scraper"
10
+ require_relative "../lib/ww_finder/building"
11
+ require_relative "../lib/ww_finder/city"
12
+ require_relative "../lib/ww_finder/country"
13
+ require_relative "../lib/ww_finder/continent"
14
+
15
+ module WWFinder
16
+ class Error < StandardError; end
17
+ # Your code goes here...
18
+ end
@@ -0,0 +1,39 @@
1
+ class WWFinder::Building
2
+ attr_reader :name, :address, :url, :id
3
+ attr_accessor :info
4
+
5
+ @@all = []
6
+
7
+ def initialize(name, address, url, city)
8
+ @name = name
9
+ @address = address
10
+ @url = url
11
+ set_city(city)
12
+ set_id
13
+ save
14
+ end
15
+
16
+ def prepare_details
17
+ WWFinder::Scraper.scrape_building_details(self) if !info
18
+ end
19
+
20
+ def self.all
21
+ WWFinder::Scraper.scrape_buildings if @@all.empty?
22
+ @@all
23
+ end
24
+
25
+ private
26
+ def save
27
+ @@all << self
28
+ end
29
+
30
+ def set_city(city)
31
+ @city = city
32
+ city.buildings << self
33
+ end
34
+
35
+ def set_id
36
+ @id = @@all.count + 1
37
+ end
38
+
39
+ end
@@ -0,0 +1,37 @@
1
+ class WWFinder::City
2
+ attr_accessor :name, :url, :country
3
+ attr_reader :buildings
4
+
5
+ @@all = []
6
+
7
+ def initialize(name, url, country)
8
+ @name = name
9
+ @url = url
10
+ @buildings = []
11
+ set_country(country)
12
+ save
13
+ end
14
+
15
+ def get_buildings
16
+ WWFinder::Scraper.scrape_buildings_for(self) if buildings.empty?
17
+ end
18
+
19
+ def self.all
20
+ WWFinder::Scraper.scrape_cities if @@all.empty?
21
+ @@all
22
+ end
23
+
24
+ def self.find(input)
25
+ all[input]
26
+ end
27
+
28
+ private
29
+ def save
30
+ @@all << self
31
+ end
32
+
33
+ def set_country(country)
34
+ @country = country
35
+ country.cities << self
36
+ end
37
+ end
@@ -0,0 +1,146 @@
1
+ class WWFinder::CLI
2
+ attr_accessor :input, :selected_continent, :selected_country, :selected_city
3
+
4
+ def run
5
+ welcome
6
+ app_loop
7
+ start
8
+ end
9
+
10
+ def app_loop
11
+ while @input != "exit"
12
+ print_countries_list
13
+ end
14
+ end
15
+
16
+ def resize_screen
17
+ print "\e[8;50;150t"
18
+ end
19
+
20
+ def welcome
21
+ puts "\nHai there! Are you looking for a place to work today?".light_white.on_magenta.bold
22
+ puts "Hit enter to continue".green
23
+ get_user_selection
24
+ end
25
+
26
+ def print_countries_list
27
+ resize_screen
28
+ table_data = []
29
+ WWFinder::Continent.all.each.with_index(1) do | cont, i |
30
+ table_data << {"#{i.to_s.light_white.bold}. #{cont.name.light_white.on_magenta}": WWFinder::Continent.all.map{| cont | cont.countries[i - 1] ? "#{i.to_s.magenta}: #{cont.countries[i - 1].name}" : nil }}
31
+ end
32
+ table = TTY::Table.new(table_data)
33
+ puts table.render(:ascii)
34
+ get_country_selection
35
+ end
36
+
37
+ def get_country_selection
38
+ puts "Enter a continent number and country number eg '3, 2'".light_white.on_green
39
+ get_user_selection
40
+ cc_input = input.split(',')
41
+ @input = cc_input[0]
42
+ valid_input(WWFinder::Continent.all) ? set_continent : error("continent")
43
+ @input = cc_input[1]
44
+ valid_input(selected_continent.countries) ? set_country : error("country")
45
+ end
46
+
47
+ def set_continent
48
+ @selected_continent = WWFinder::Continent.find(user_num_input)
49
+ end
50
+
51
+ def set_country
52
+ @selected_country = selected_continent.find_country(user_num_input)
53
+ print_cities_list
54
+ end
55
+
56
+ def print_cities_list
57
+ selected_country.cities.each.with_index(1) do | city, idx |
58
+ puts "#{idx}: #{city.name}"
59
+ end
60
+ get_city_selection
61
+ end
62
+
63
+ def get_city_selection
64
+ instructions
65
+ get_user_selection
66
+ valid_input(selected_country.cities) ? set_city : error("city")
67
+ end
68
+
69
+ def set_city
70
+ @selected_city = selected_country.find_city(user_num_input)
71
+ print_buildings_list
72
+ end
73
+
74
+ def print_buildings_list
75
+ @selected_city.get_buildings
76
+ @selected_city.buildings.each.with_index(1) do | building, idx |
77
+ puts "#{idx}: #{building.address}"
78
+ end
79
+ get_building_selection
80
+ end
81
+
82
+ def instructions
83
+ puts "\nEnter the option number to see more details".green
84
+ end
85
+
86
+ def get_building_selection
87
+ instructions
88
+ get_user_selection
89
+ valid_input(selected_city.buildings) ? show_building : error("building")
90
+ end
91
+
92
+ def show_building
93
+ building = @selected_city.buildings[user_num_input]
94
+ building.prepare_details
95
+ puts "\n#{building.name}".light_white.on_magenta.bold
96
+ puts building.info
97
+ puts building.address.light_white.on_light_magenta
98
+ what_next
99
+ end
100
+
101
+ def valid_input(data)
102
+ user_num_input >= 0 && user_num_input <= data.length - 1
103
+ end
104
+
105
+ def error(entry_point)
106
+ exit if input == "exit"
107
+ puts "\nOops, that's not a valid #{entry_point} option".light_white.on_red.bold
108
+ case entry_point
109
+ when "continent"
110
+ get_country_selection
111
+ when "country"
112
+ get_country_selection
113
+ when "city"
114
+ get_city_selection
115
+ when "building"
116
+ get_building_selection
117
+ end
118
+ end
119
+
120
+ def what_next
121
+ puts "\nIf you are done, type 'exit', otherwise type 'back' to see other buildings in this city, 'cities' to see other cities in this country, or hit enter to see more countries".green
122
+ get_user_selection
123
+ end
124
+
125
+ def get_user_selection
126
+ @input = gets.strip
127
+ case @input
128
+ when "cities"
129
+ print_cities_list
130
+ when "back"
131
+ print_buildings_list
132
+ when "exit"
133
+ goodbye
134
+ exit
135
+ end
136
+ end
137
+
138
+ def user_num_input
139
+ input.to_i - 1
140
+ end
141
+
142
+ def goodbye
143
+ puts "\nHappy working! Don't forget to take a break!\n".light_white.on_magenta.bold
144
+ exit
145
+ end
146
+ end
@@ -0,0 +1,31 @@
1
+ class WWFinder::Continent
2
+ attr_accessor :name
3
+ attr_reader :countries
4
+
5
+ @@all = []
6
+
7
+ def initialize(name)
8
+ @name = name
9
+ @countries = []
10
+ save
11
+ end
12
+
13
+ def self.all
14
+ WWFinder::Scraper.scrape_continents_and_countries if @@all.empty?
15
+ @@all
16
+ end
17
+
18
+ def self.find(input)
19
+ all[input]
20
+ end
21
+
22
+ def find_country(input)
23
+ countries[input]
24
+ end
25
+
26
+ private
27
+ def save
28
+ @@all << self
29
+ end
30
+
31
+ end
@@ -0,0 +1,37 @@
1
+ class WWFinder::Country
2
+ attr_accessor :name, :continent
3
+ attr_reader :cities
4
+
5
+ @@all = []
6
+
7
+ def initialize(name, continent)
8
+ @name = name
9
+ @cities = []
10
+ set_continent(continent)
11
+ save
12
+ end
13
+
14
+ def self.all
15
+ WWFinder::Scraper.scrape_countries if @@all.empty?
16
+ @@all
17
+ end
18
+
19
+ def self.find(input)
20
+ all[input]
21
+ end
22
+
23
+ def find_city(input)
24
+ cities[input]
25
+ end
26
+
27
+ private
28
+ def save
29
+ @@all << self
30
+ end
31
+
32
+ def set_continent(cont)
33
+ @continent = cont
34
+ continent.countries << self
35
+ end
36
+
37
+ end
@@ -0,0 +1,46 @@
1
+ class WWFinder::Scraper
2
+ def self.scrape_continents_and_countries
3
+ doc = Nokogiri::HTML(open("https://www.wework.com/en-GB/locations"))
4
+ continent_divs = doc.css("div.markets-list__continent")
5
+ continent_divs.each do | cont_div |
6
+ name = cont_div.css(".continent__label h2").text
7
+ continent = WWFinder::Continent.new(name)
8
+ extract_countries(continent, cont_div)
9
+ end
10
+ end
11
+
12
+ def self.extract_countries(continent, cont_data)
13
+ country_divs = cont_data.css("div.markets-list__country")
14
+ country_divs.each do | country_div |
15
+ name = country_div.css("h3").text
16
+ country = WWFinder::Country.new(name, continent)
17
+ extract_cities(country, country_div)
18
+ end
19
+ end
20
+
21
+ def self.extract_cities(country, country_data)
22
+ city_lis = country_data.css("ul.markets-lists__list li")
23
+ city_lis.each do | city |
24
+ name = city.css("a").text
25
+ url = city.css("a").attr("href")
26
+ WWFinder::City.new(name, url, country)
27
+ end
28
+ end
29
+
30
+ def self.scrape_buildings_for(city)
31
+ doc = Nokogiri::HTML(open("https://www.wework.com#{city.url}"))
32
+ building_cards = doc.css(".available-buildings-container .ray-card")
33
+ building_cards.each do | building_card |
34
+ name = building_card.css(".building-card__name").text
35
+ location = building_card.css(".building-card__address").text
36
+ url = building_card.attr("href")
37
+ WWFinder::Building.new(name, location, url, city)
38
+ end
39
+ end
40
+
41
+ def self.scrape_building_details(building)
42
+ doc = Nokogiri::HTML(open("https://www.wework.com#{building.url}"))
43
+ building.info = doc.css("div.building-info p.ray-text--body").text
44
+ end
45
+
46
+ end
@@ -0,0 +1,3 @@
1
+ module WWFinder
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,37 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "ww_finder/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "ww_finder"
7
+ spec.version = WWFinder::VERSION
8
+ spec.authors = ["Gingertonic"]
9
+ spec.email = ["bethmschofield@gmail.com"]
10
+ spec.license = 'MIT'
11
+
12
+ spec.summary = %q{Find a Wework}
13
+ spec.description = %q{Find a Wework anywhere in the world! Search by continent, country and city.}
14
+ spec.homepage = "https://github.com/Gingertonic/ww-finder"
15
+
16
+ # spec.metadata["allowed_push_host"] = "https://rubygems.org/gem/ww_finder"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/Gingertonic/ww-finder"
20
+ spec.metadata["changelog_uri"] = "https://github.com/Gingertonic/ww-finder/commits/master"
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+ spec.bindir = "bin"
28
+ spec.executables << 'ww-finder'
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_development_dependency "bundler", "~> 2.0"
32
+ spec.add_development_dependency "rake", '~> 12.3', '>= 12.3.3'
33
+ spec.add_development_dependency "pry"
34
+ spec.add_dependency "nokogiri"
35
+ spec.add_dependency "colorize"
36
+ spec.add_dependency "tty-table"
37
+ end
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ww_finder
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gingertonic
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '12.3'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 12.3.3
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '12.3'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 12.3.3
47
+ - !ruby/object:Gem::Dependency
48
+ name: pry
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: nokogiri
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: colorize
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: tty-table
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: Find a Wework anywhere in the world! Search by continent, country and
104
+ city.
105
+ email:
106
+ - bethmschofield@gmail.com
107
+ executables:
108
+ - ww-finder
109
+ extensions: []
110
+ extra_rdoc_files: []
111
+ files:
112
+ - ".gitignore"
113
+ - CODE_OF_CONDUCT.md
114
+ - Gemfile
115
+ - Gemfile.lock
116
+ - README.md
117
+ - Rakefile
118
+ - bin/console
119
+ - bin/setup
120
+ - bin/ww-finder
121
+ - config/environment.rb
122
+ - lib/ww_finder/building.rb
123
+ - lib/ww_finder/city.rb
124
+ - lib/ww_finder/cli.rb
125
+ - lib/ww_finder/continent.rb
126
+ - lib/ww_finder/country.rb
127
+ - lib/ww_finder/scraper.rb
128
+ - lib/ww_finder/version.rb
129
+ - ww_finder.gemspec
130
+ homepage: https://github.com/Gingertonic/ww-finder
131
+ licenses:
132
+ - MIT
133
+ metadata:
134
+ homepage_uri: https://github.com/Gingertonic/ww-finder
135
+ source_code_uri: https://github.com/Gingertonic/ww-finder
136
+ changelog_uri: https://github.com/Gingertonic/ww-finder/commits/master
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubygems_version: 3.1.4
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Find a Wework
156
+ test_files: []