compare_supermarkets 0.1.3 → 0.1.4
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
- data/lib/compare_supermarkets/version.rb +1 -1
- metadata +1 -7
- data/CHANGELOG.md +0 -5
- data/Gemfile +0 -8
- data/LICENSE.txt +0 -21
- data/README.md +0 -34
- data/Rakefile +0 -4
- data/config/environment.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0688044d1c56cc8c8164f34a42b903d9d9494190e39a67a63ac4787e56518f1f'
|
4
|
+
data.tar.gz: 804075bcdf870487edbd34b974d03a299bd6e6b5c71765a55342d20cdc25ad32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba6f9a90391a79bd4a97e4e17eb80430ca2f3e56f40a9e62471c5ad882a659949e99e6658e9a0447d259835015cfdb86a1a521b495f04603e4a1acf66fa5822f
|
7
|
+
data.tar.gz: 6469bc600caf893bd54da6db246b8585b28a87e0c41e8d88859e5edc80522d4fec74848aeff71f47375dc8f97bb5ec15c89da521cc6c945eff9cc9ab4589c3bb
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compare_supermarkets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Berger Howes
|
@@ -123,15 +123,9 @@ executables:
|
|
123
123
|
extensions: []
|
124
124
|
extra_rdoc_files: []
|
125
125
|
files:
|
126
|
-
- CHANGELOG.md
|
127
|
-
- Gemfile
|
128
|
-
- LICENSE.txt
|
129
|
-
- README.md
|
130
|
-
- Rakefile
|
131
126
|
- bin/compare_supermarkets
|
132
127
|
- bin/console
|
133
128
|
- bin/setup
|
134
|
-
- config/environment.rb
|
135
129
|
- lib/compare_supermarkets.rb
|
136
130
|
- lib/compare_supermarkets/cli.rb
|
137
131
|
- lib/compare_supermarkets/product.rb
|
data/CHANGELOG.md
DELETED
data/Gemfile
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2021 Justin Berger Howes
|
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/README.md
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# CompareSupermarkets
|
2
|
-
|
3
|
-
Ever wondered "I wonder if my shampoo is cheaper at Coles or Woolworths...?" ? But can't be bothered searching both websites and comparing? Well that's what this gem does for you. Simply install and follow the prompts.
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
gem 'compare_supermarkets'
|
11
|
-
```
|
12
|
-
|
13
|
-
And then execute:
|
14
|
-
|
15
|
-
$ bundle install
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install compare_supermarkets
|
20
|
-
|
21
|
-
## Usage
|
22
|
-
|
23
|
-
To use compare_supermarkets call $ gem 'compare_supermarkets'
|
24
|
-
and follow the prompts. The more specific you are the faster the search results appear
|
25
|
-
and there will be less items to compare.
|
26
|
-
|
27
|
-
|
28
|
-
## Contributing
|
29
|
-
|
30
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/compare_supermarkets.
|
31
|
-
|
32
|
-
## License
|
33
|
-
|
34
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
DELETED
data/config/environment.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'pry'
|
2
|
-
require 'nokogiri'
|
3
|
-
require 'watir'
|
4
|
-
|
5
|
-
#gem install selenium-webdriver - required for watir to work
|
6
|
-
#brew install --cask chromedriver - required for watir to work
|
7
|
-
|
8
|
-
require_relative '../lib/compare_supermarkets/scraper'
|
9
|
-
require_relative '../lib/compare_supermarkets/product'
|
10
|
-
require_relative '../lib/compare_supermarkets/cli'
|
11
|
-
require_relative '../lib/compare_supermarkets/version'
|
12
|
-
|
13
|
-
Watir.default_timeout = 0
|