compare_supermarkets 0.1.8 → 0.1.12
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/bin/setup +2 -1
- data/lib/compare_supermarkets/cli.rb +4 -1
- data/lib/compare_supermarkets/version.rb +1 -1
- metadata +35 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ce36d625832e4b04b019bf397e7df35849d1c7b12b4f05e78c72bc84145ca93
|
4
|
+
data.tar.gz: 347c7a8717ba07abbd693fe56cebef2c434068aaf33798c2a5043968c3f030e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b2f7314be77c146d49c380ece54ae943e5b84080b95043bbf3eaff49bb7a8614d93b764aa0966c9f3757e34d8fbbb921b3c9b1497ee804dd3d3d3bfce3b9fef
|
7
|
+
data.tar.gz: c263ed632b0be19dae6f50fb56835188faaa6e6760785a0037b7c0f47026db791d69109a8f2ea1894a1746b68a83abcb5308cdc30b4c68f7b8aa1509591aca67
|
data/bin/setup
CHANGED
@@ -113,6 +113,10 @@ class CompareSupermarkets::CLI
|
|
113
113
|
puts ""
|
114
114
|
input = gets.strip
|
115
115
|
puts ""
|
116
|
+
choice(input)
|
117
|
+
end
|
118
|
+
|
119
|
+
def choice(input)
|
116
120
|
if input == "1"
|
117
121
|
choice = CompareSupermarkets::Product.all_top_10_sorted_by_price
|
118
122
|
print_items(choice, "asc")
|
@@ -140,7 +144,6 @@ class CompareSupermarkets::CLI
|
|
140
144
|
invalid_input
|
141
145
|
how_to_display
|
142
146
|
end
|
143
|
-
|
144
147
|
end
|
145
148
|
|
146
149
|
def finished
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Berger Howes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,48 +80,38 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
## Contributing
|
115
|
-
|
116
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/happymelonbox/ruby_po
|
117
|
-
rtfolio_project_gem.
|
118
|
-
|
119
|
-
## License
|
120
|
-
|
121
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org
|
122
|
-
/licenses/MIT).
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: watir
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 6.19.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 6.19.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: selenium-webdriver
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.142.7
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.142.7
|
111
|
+
description: Will search Woolworths and Coles online stores for prices based on an
|
112
|
+
input search parameter **Google Chrome Required**
|
123
113
|
email:
|
124
|
-
-
|
114
|
+
- happymelonbox@gmail.com
|
125
115
|
executables:
|
126
116
|
- compare_supermarkets
|
127
117
|
extensions: []
|
@@ -141,8 +131,8 @@ licenses:
|
|
141
131
|
- MIT
|
142
132
|
metadata:
|
143
133
|
homepage_uri: http://rubygems.org/gems/compare_supermarkets
|
144
|
-
source_code_uri: https://github.com/happymelonbox/
|
145
|
-
changelog_uri: https://github.com/happymelonbox/
|
134
|
+
source_code_uri: https://github.com/happymelonbox/compare_supermarkets
|
135
|
+
changelog_uri: https://github.com/happymelonbox/compare_supermarkets/blob/main/CHANGELOG.md
|
146
136
|
post_install_message:
|
147
137
|
rdoc_options: []
|
148
138
|
require_paths:
|