web_stat 0.1.1 → 0.1.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
- data/Gemfile.lock +3 -3
- data/README.md +7 -3
- data/lib/web_stat/version.rb +1 -1
- data/lib/web_stat.rb +8 -3
- data/web_stat.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49328514098ed2ca8b00da74d4c31cb2a115a3f4027f5cccbd9ecb41e51c2ae8
|
|
4
|
+
data.tar.gz: 79a9e72a753cbf3af5b80a1217b78dcb964f9270454dba305c1af978cf934e87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b73a0e1c4e68c073656bc1a0fe149630a2d4c4c71d8fa58e581c03285f65e90e38d0760d771dc2accf5eeedad5cb1bac6f8fb7f918eeb48b3abf195c7470572
|
|
7
|
+
data.tar.gz: 6888f275afc5b9d0067f1f6d188a48ce9c56dec10a7899ae36fcdcb0890be751358513aa0a15b828dc17e37c87bc8132f9fbf132fdcf47edcd43f07baf97cb89
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
web_stat (0.1.
|
|
4
|
+
web_stat (0.1.2)
|
|
5
5
|
bundler (~> 2.0)
|
|
6
6
|
final_redirect_url (~> 0.1.0)
|
|
7
7
|
mechanize (~> 2.7)
|
|
@@ -34,14 +34,14 @@ GEM
|
|
|
34
34
|
webrobots (>= 0.0.9, < 0.2)
|
|
35
35
|
mime-types (3.2.2)
|
|
36
36
|
mime-types-data (~> 3.2015)
|
|
37
|
-
mime-types-data (3.
|
|
37
|
+
mime-types-data (3.2019.0331)
|
|
38
38
|
mini_portile2 (2.4.0)
|
|
39
39
|
natto (1.1.2)
|
|
40
40
|
ffi (>= 1.9.0)
|
|
41
41
|
net-http-digest_auth (1.4.1)
|
|
42
42
|
net-http-persistent (3.0.0)
|
|
43
43
|
connection_pool (~> 2.2)
|
|
44
|
-
nokogiri (1.10.
|
|
44
|
+
nokogiri (1.10.2)
|
|
45
45
|
mini_portile2 (~> 2.4.0)
|
|
46
46
|
nokogumbo (2.0.1)
|
|
47
47
|
nokogiri (~> 1.8, >= 1.8.4)
|
data/README.md
CHANGED
|
@@ -15,8 +15,8 @@ Fetch the web pages and stat.
|
|
|
15
15
|
- add development dependency
|
|
16
16
|
- "rake", "~> 10.0"
|
|
17
17
|
- "rspec", "~> 3.0"
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
- "rake", "~> 10.0"
|
|
19
|
+
- "rspec", "~> 3.0"
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
@@ -40,4 +40,8 @@ you can customize web_stat config.
|
|
|
40
40
|
|
|
41
41
|
And then execute:
|
|
42
42
|
|
|
43
|
-
$ rake web_stat:install
|
|
43
|
+
$ rake web_stat:install
|
|
44
|
+
|
|
45
|
+
### spec
|
|
46
|
+
|
|
47
|
+
$ rake spec
|
data/lib/web_stat/version.rb
CHANGED
data/lib/web_stat.rb
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
require "bundler"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
require "web_stat/categorize"
|
|
3
|
+
require "web_stat/configure"
|
|
4
|
+
require "web_stat/errors"
|
|
5
|
+
require "web_stat/fetch"
|
|
6
|
+
require "web_stat/tag"
|
|
7
|
+
require "web_stat/version"
|
|
8
|
+
require "web_stat/fetch/fetch_as_html"
|
|
9
|
+
require "web_stat/fetch/fetch_as_web"
|
|
5
10
|
|
|
6
11
|
module WebStat
|
|
7
12
|
class << self
|
data/web_stat.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = <<-EOS.strip.gsub(/\s+/, ' ')
|
|
13
13
|
Fetch the web pages and stat.
|
|
14
14
|
EOS
|
|
15
|
-
spec.homepage =
|
|
15
|
+
spec.homepage = "https://github.com/newsdict/web_stat"
|
|
16
16
|
spec.license = "MIT"
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
|
18
18
|
spec.bindir = "bin"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web_stat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yusuke abe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -172,7 +172,7 @@ files:
|
|
|
172
172
|
- spec/web_stat/tag_spec.rb
|
|
173
173
|
- spec/web_stat_spec.rb
|
|
174
174
|
- web_stat.gemspec
|
|
175
|
-
homepage: https://
|
|
175
|
+
homepage: https://github.com/newsdict/web_stat
|
|
176
176
|
licenses:
|
|
177
177
|
- MIT
|
|
178
178
|
metadata: {}
|