veg_out 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- metadata +10 -26
- data/veg_out/.gitignore +0 -11
- data/veg_out/.rspec +0 -3
- data/veg_out/.travis.yml +0 -5
- data/veg_out/CODE_OF_CONDUCT.md +0 -74
- data/veg_out/Gemfile +0 -6
- data/veg_out/LICENSE.txt +0 -21
- data/veg_out/README.md +0 -55
- data/veg_out/Rakefile +0 -6
- data/veg_out/bin/console +0 -14
- data/veg_out/bin/setup +0 -8
- data/veg_out/lib/veg_out/version.rb +0 -3
- data/veg_out/spec/spec_helper.rb +0 -14
- data/veg_out/spec/veg_out_spec.rb +0 -9
- data/veg_out/spec.md +0 -6
- data/veg_out/veg_out.gemspec +0 -29
- data/veg_out-0.1.0.gem +0 -0
- data/veg_out-0.2.0.gem +0 -0
- /data/{veg_out/bin → bin}/veg-out +0 -0
- /data/{veg_out/lib → lib}/enviro.rb +0 -0
- /data/{veg_out/lib → lib}/veg_out/cli.rb +0 -0
- /data/{veg_out/lib → lib}/veg_out/restaurant.rb +0 -0
- /data/{veg_out/lib → lib}/veg_out/scraper.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6cccd838c31945dbf473e5a2283a8595f02593c288cfe4d747c651f0d9a6d07
|
|
4
|
+
data.tar.gz: 1301790d99d72c70914e60572659debbdd3fa6a395927df1563fe1d53cb351be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 013c9c2fc8f207345cda2bec0fb966e424098f89d3aac59d6f5433859a50888894045cfabe39cdd070017e8a87ac4586e284667d97bffccb7ff07f6a87c38d3e
|
|
7
|
+
data.tar.gz: ad6c9fe96d0a5b58fcc4df0cc4d96463959c442e7e8483f50dab4cf437b3d5f72dd3f040aea521062df62f8c2949e5de8d009c791069352e748c6ba7bd0f7d20
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: veg_out
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bartek Swistak
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -84,32 +84,16 @@ description: Takes user input and displays nearby restaurants with vegan/vegetar
|
|
|
84
84
|
options and provides more details on specific restaurants.
|
|
85
85
|
email:
|
|
86
86
|
- bartekswistak24@gmail.com
|
|
87
|
-
executables:
|
|
87
|
+
executables:
|
|
88
|
+
- veg-out
|
|
88
89
|
extensions: []
|
|
89
90
|
extra_rdoc_files: []
|
|
90
91
|
files:
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
- veg_out
|
|
94
|
-
- veg_out
|
|
95
|
-
- veg_out
|
|
96
|
-
- veg_out/CODE_OF_CONDUCT.md
|
|
97
|
-
- veg_out/Gemfile
|
|
98
|
-
- veg_out/LICENSE.txt
|
|
99
|
-
- veg_out/README.md
|
|
100
|
-
- veg_out/Rakefile
|
|
101
|
-
- veg_out/bin/console
|
|
102
|
-
- veg_out/bin/setup
|
|
103
|
-
- veg_out/bin/veg-out
|
|
104
|
-
- veg_out/lib/enviro.rb
|
|
105
|
-
- veg_out/lib/veg_out/cli.rb
|
|
106
|
-
- veg_out/lib/veg_out/restaurant.rb
|
|
107
|
-
- veg_out/lib/veg_out/scraper.rb
|
|
108
|
-
- veg_out/lib/veg_out/version.rb
|
|
109
|
-
- veg_out/spec.md
|
|
110
|
-
- veg_out/spec/spec_helper.rb
|
|
111
|
-
- veg_out/spec/veg_out_spec.rb
|
|
112
|
-
- veg_out/veg_out.gemspec
|
|
92
|
+
- bin/veg-out
|
|
93
|
+
- lib/enviro.rb
|
|
94
|
+
- lib/veg_out/cli.rb
|
|
95
|
+
- lib/veg_out/restaurant.rb
|
|
96
|
+
- lib/veg_out/scraper.rb
|
|
113
97
|
homepage: https://github.com/Bartekswistak/veg-out-cli-app
|
|
114
98
|
licenses:
|
|
115
99
|
- MIT
|
data/veg_out/.gitignore
DELETED
data/veg_out/.rspec
DELETED
data/veg_out/.travis.yml
DELETED
data/veg_out/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
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 <github email address>. 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/veg_out/Gemfile
DELETED
data/veg_out/LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 <github username>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
data/veg_out/README.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# VegOut
|
|
2
|
-
|
|
3
|
-
Command Line Interface application to find nearby vegan and vegetarian restaurants.
|
|
4
|
-
|
|
5
|
-
This is my first application I will be building from scratch.
|
|
6
|
-
|
|
7
|
-
How it should work:
|
|
8
|
-
|
|
9
|
-
Welcome the user to Veg Out
|
|
10
|
-
Takes user input "zip code or city/state" and return a list of nearby restaurants that offer vegan/vegetarian options.
|
|
11
|
-
Asks user if they will like more info on a listed restaurant and will list details such as description, address, phone number, etc..
|
|
12
|
-
Source website I will be scraping from is HappyCow.com
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
Add this line to your application's Gemfile:
|
|
18
|
-
|
|
19
|
-
```ruby
|
|
20
|
-
gem 'veg_out'
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
And then execute:
|
|
24
|
-
|
|
25
|
-
$ bundle
|
|
26
|
-
|
|
27
|
-
Or install it yourself as:
|
|
28
|
-
|
|
29
|
-
$ gem install veg_out
|
|
30
|
-
|
|
31
|
-
## Usage
|
|
32
|
-
|
|
33
|
-
After being greeted, user can input either city/state location or 5 digit zip code. If there are no
|
|
34
|
-
restaurants in the area, user will be notified and asked for another area. Once an area has restaurants
|
|
35
|
-
to show, a numbered list will be displayed with the distance from the location inputted. Next user can select the number of the restaurant the user would like more information on.
|
|
36
|
-
User can then type 'back' to search a new area, 'list' to show the list again of nearby restaurants or
|
|
37
|
-
'quit' to exit the application. These options are available the moment of showing the details of a specific restaurant.
|
|
38
|
-
|
|
39
|
-
## Development
|
|
40
|
-
|
|
41
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
42
|
-
|
|
43
|
-
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).
|
|
44
|
-
|
|
45
|
-
## Contributing
|
|
46
|
-
|
|
47
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/Bartekswistak/veg-out-cli-app 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.
|
|
48
|
-
|
|
49
|
-
## License
|
|
50
|
-
|
|
51
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
52
|
-
|
|
53
|
-
## Code of Conduct
|
|
54
|
-
|
|
55
|
-
Everyone interacting in the VegOut project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/<github username>/veg_out/blob/master/CODE_OF_CONDUCT.md).
|
data/veg_out/Rakefile
DELETED
data/veg_out/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require "bundler/setup"
|
|
4
|
-
require "veg_out"
|
|
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__)
|
data/veg_out/bin/setup
DELETED
data/veg_out/spec/spec_helper.rb
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
require "bundler/setup"
|
|
2
|
-
require "veg_out"
|
|
3
|
-
|
|
4
|
-
RSpec.configure do |config|
|
|
5
|
-
# Enable flags like --only-failures and --next-failure
|
|
6
|
-
config.example_status_persistence_file_path = ".rspec_status"
|
|
7
|
-
|
|
8
|
-
# Disable RSpec exposing methods globally on `Module` and `main`
|
|
9
|
-
config.disable_monkey_patching!
|
|
10
|
-
|
|
11
|
-
config.expect_with :rspec do |c|
|
|
12
|
-
c.syntax = :expect
|
|
13
|
-
end
|
|
14
|
-
end
|
data/veg_out/spec.md
DELETED
data/veg_out/veg_out.gemspec
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require "veg_out/version"
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = "veg_out"
|
|
8
|
-
spec.version = VegOut::VERSION
|
|
9
|
-
spec.authors = ["Bartek Swistak"]
|
|
10
|
-
spec.email = ["bartekswistak24@gmail.com"]
|
|
11
|
-
|
|
12
|
-
spec.summary = "Shows nearby vegan and vegetarian restaurants"
|
|
13
|
-
spec.description = "Takes user input and displays nearby restaurants with vegan/vegetarian options and provides more details on specific restaurants."
|
|
14
|
-
spec.homepage = "https://github.com/Bartekswistak/veg-out-cli-app"
|
|
15
|
-
spec.license = "MIT"
|
|
16
|
-
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
18
|
-
f.match(%r{^(test|spec|features)/})
|
|
19
|
-
end
|
|
20
|
-
spec.bindir = "exe"
|
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
|
-
spec.require_paths = ["lib"]
|
|
23
|
-
|
|
24
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
|
25
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
|
26
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
|
27
|
-
spec.add_development_dependency "nokogiri", ">= 0"
|
|
28
|
-
spec.add_development_dependency "pry", ">= 0"
|
|
29
|
-
end
|
data/veg_out-0.1.0.gem
DELETED
|
Binary file
|
data/veg_out-0.2.0.gem
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|