blogbot 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/blogbot.gemspec +1 -1
- data/lib/blogbot.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89e4fdb5e3c981f8fc1eba19c63b2643870ff903
|
4
|
+
data.tar.gz: 637a092abf302128fc5bdd3bfddb04f599b44978
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfcfc8c1207fc3946302f67d3445668f2ef418dc8c3619a63cd1ae70fcec96c836cab2123d17949bc28c60f1ee2240f2a1f1a269c3ea9db85c0bba60423fa535
|
7
|
+
data.tar.gz: b4b6f70582599014fa00cad198e15493573350d3db99d3842e657898ac72e19df54e30b7e36ee465230ad93a3632578337ffc36e304b5acbbd6091ee10124ade
|
data/README.md
CHANGED
@@ -4,11 +4,7 @@ Bot that extracts the most popular articles from websites.
|
|
4
4
|
|
5
5
|
## DESCRIPTION
|
6
6
|
|
7
|
-
The internet is full of noise.
|
8
|
-
|
9
|
-
## DISCLAIMER
|
10
|
-
|
11
|
-
This is a working project and may have issues.
|
7
|
+
The internet is full of noise. This is a project to filter information in order for you to only read the best.
|
12
8
|
|
13
9
|
## INSTALLATION
|
14
10
|
|
data/blogbot.gemspec
CHANGED
data/lib/blogbot.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'mechanize'
|
4
|
-
require '
|
5
|
-
require '
|
6
|
-
require '
|
7
|
-
require '
|
4
|
+
require 'blogbot/extraction'
|
5
|
+
require 'blogbot/memorization'
|
6
|
+
require 'blogbot/navigation'
|
7
|
+
require 'blogbot/reflection'
|
8
8
|
|
9
9
|
# MASTER GAME PLAN:
|
10
10
|
#
|
@@ -62,7 +62,7 @@ class Blogbot
|
|
62
62
|
@popular_links = {}
|
63
63
|
@indicator = nil
|
64
64
|
end
|
65
|
-
|
65
|
+
|
66
66
|
def ignorance_error
|
67
67
|
raise "Sorry, either there are no popular links present
|
68
68
|
or this bot isn't smart enough to extract this site yet/n"
|