slickdeals_cli 0.1.0 → 0.1.1
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/README.md +2 -6
- data/lib/slickdeals_cli/version.rb +1 -1
- data/slickdeals_cli-0.1.0.gem +0 -0
- data/slickdeals_cli.gemspec +2 -2
- metadata +7 -7
- data/NOTES.md +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a126c4d0471c4464a39b0fe115efcaf168f5ed8a
|
|
4
|
+
data.tar.gz: 996eed3309eab9425bb618ad51ff0c735f737216
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a1db8e3fb814448e700d8dea8166e9978760c85efd3df2d6d2fea4f3a9c3dc5c63285e9d02dd2d55251a4e6d95f0ee0b78dfd2308c899b8346ef713ddc456e0
|
|
7
|
+
data.tar.gz: cfe34322d8bf72e098e1eb340d2ca03d3444bca6befa3aac06d5d2ef6e9ec5adf506e4ef1d95610a4d9a6d50eef41089e0e8ca6786a0dfbe4da857cd90933068
|
data/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# SlickdealsCli
|
|
2
2
|
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/slickdeals_cli`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
3
|
## Installation
|
|
8
4
|
|
|
9
5
|
Add this line to your application's Gemfile:
|
|
@@ -22,7 +18,7 @@ Or install it yourself as:
|
|
|
22
18
|
|
|
23
19
|
## Usage
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
Use this gem to view the Popular Deals on Slickdeals Popular Deal webpage or to view what the current Deal of the Day is on Woot.com!
|
|
26
22
|
|
|
27
23
|
## Development
|
|
28
24
|
|
|
@@ -32,7 +28,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
32
28
|
|
|
33
29
|
## Contributing
|
|
34
30
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
31
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/digitalh2o2/slickdeals_cli. 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.
|
|
36
32
|
|
|
37
33
|
|
|
38
34
|
## License
|
|
Binary file
|
data/slickdeals_cli.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = "Scrapes the Popular Deals page on Slickdeals and Deal of the Day on Woot.com"
|
|
13
13
|
spec.description = "Provides the url and price for Woot and Slickdeal Popular Deals."
|
|
14
|
-
spec.homepage = "
|
|
14
|
+
spec.homepage = "https://rubygems.org/gems/slickdeals_cli"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
25
25
|
spec.add_development_dependency "pry"
|
|
26
|
-
spec.add_development_dependency "colorize"
|
|
26
|
+
spec.add_development_dependency "colorize", "~>0.7.7"
|
|
27
27
|
|
|
28
28
|
spec.add_dependency "nokogiri"
|
|
29
29
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: slickdeals_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Saul Ocampo
|
|
@@ -70,16 +70,16 @@ dependencies:
|
|
|
70
70
|
name: colorize
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version:
|
|
75
|
+
version: 0.7.7
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version:
|
|
82
|
+
version: 0.7.7
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: nokogiri
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -107,7 +107,6 @@ files:
|
|
|
107
107
|
- CODE_OF_CONDUCT.md
|
|
108
108
|
- Gemfile
|
|
109
109
|
- LICENSE.txt
|
|
110
|
-
- NOTES.md
|
|
111
110
|
- README.md
|
|
112
111
|
- Rakefile
|
|
113
112
|
- bin/console
|
|
@@ -118,8 +117,9 @@ files:
|
|
|
118
117
|
- lib/slickdeals_cli/deal.rb
|
|
119
118
|
- lib/slickdeals_cli/popular.rb
|
|
120
119
|
- lib/slickdeals_cli/version.rb
|
|
120
|
+
- slickdeals_cli-0.1.0.gem
|
|
121
121
|
- slickdeals_cli.gemspec
|
|
122
|
-
homepage:
|
|
122
|
+
homepage: https://rubygems.org/gems/slickdeals_cli
|
|
123
123
|
licenses:
|
|
124
124
|
- MIT
|
|
125
125
|
metadata: {}
|
data/NOTES.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
****Things to do for this Gem****
|
|
2
|
-
**Commit Changes Often**
|
|
3
|
-
|
|
4
|
-
1) Decide on gem - Complete*
|
|
5
|
-
2) Check what the structure is needed to build a gem(ie: research online) - Complete*
|
|
6
|
-
3) Create that basic gem cli infrastructure - Complete*
|
|
7
|
-
4) Start with entry point -- main file run(from daily-gem video) - Complete*
|
|
8
|
-
5) Force and figure out how to build the basics of CLI - Complete*
|
|
9
|
-
6) Start scraping the website to extract data - Complete*
|
|
10
|
-
7) Create classes that speak to each other to bring that scraping data onto our CLI - Complete*
|
|
11
|
-
8) Fine tune CLI and make sure inputs are all working correctly - Complete*
|
|
12
|
-
9) Bundle gem
|
|
13
|
-
10) Push gem
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- A command line interface to present both featured deals and frontpage deals of Slickdeals -
|
|
19
|
-
|
|
20
|
-
user will type 'slickdeals_cli' to load the gem
|
|
21
|
-
|
|
22
|
-
When loaded it will welcome the user and allow them to choose either 'Featured Deals' or 'Frontpage Deals'
|
|
23
|
-
|
|
24
|
-
Inputting 'Featured' will present the featured while inputting 'frontpage' will present the frontpage deals.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
What should come from the deals?
|
|
28
|
-
|
|
29
|
-
The deal should have a name
|
|
30
|
-
The deal should have the seller
|
|
31
|
-
The deal should have a price
|
|
32
|
-
The deal should have a url
|