yt_util 0.1.4 → 0.1.5
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 +5 -5
- data/.travis.yml +2 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +39 -5
- data/README.md +2 -0
- data/Rakefile +5 -0
- data/lib/yt_util/version.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- data/yt_util.gemspec +2 -1
- metadata +18 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 88ef617fd29e453071379fe7bef5dfbad76f2d325ec262de051512e37122e38a
|
|
4
|
+
data.tar.gz: 3ff229d4327c149755524dfca81225d8693854500d9a5f5b83ba7d8ba43ef6e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4abf3e1493f7903c529943652b10f82005b81da6c062646649b699c758150c00669edba7969c4626ec64d6737ad128f131ac17c8ee1d233e147f6884d3fd17a
|
|
7
|
+
data.tar.gz: 488ee7b8860c79bac4e15fb04d081328cb5ae4e0dadee43195ac8255385b8ec7c0ee55c383a6558c990234274610877690e51455bb14ab340bd1bb9452774f36
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
yt_util (0.
|
|
5
|
-
addressable (~> 2.3
|
|
6
|
-
mechanize (~> 2.7
|
|
7
|
-
nokogiri (~> 1.6
|
|
4
|
+
yt_util (0.1.4)
|
|
5
|
+
addressable (~> 2.3)
|
|
6
|
+
mechanize (~> 2.7)
|
|
7
|
+
nokogiri (~> 1.6)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
12
|
addressable (2.3.6)
|
|
13
|
-
|
|
13
|
+
coveralls (0.7.2)
|
|
14
|
+
multi_json (~> 1.3)
|
|
15
|
+
rest-client (= 1.6.7)
|
|
16
|
+
simplecov (>= 0.7)
|
|
17
|
+
term-ansicolor (= 1.2.2)
|
|
18
|
+
thor (= 0.18.1)
|
|
19
|
+
diff-lcs (1.2.5)
|
|
20
|
+
docile (1.1.5)
|
|
21
|
+
domain_name (0.5.22)
|
|
14
22
|
unf (>= 0.0.5, < 1.0.0)
|
|
15
23
|
http-cookie (1.0.2)
|
|
16
24
|
domain_name (~> 0.5)
|
|
@@ -25,12 +33,36 @@ GEM
|
|
|
25
33
|
webrobots (>= 0.0.9, < 0.2)
|
|
26
34
|
mime-types (2.4.3)
|
|
27
35
|
mini_portile (0.6.1)
|
|
36
|
+
multi_json (1.10.1)
|
|
28
37
|
net-http-digest_auth (1.4)
|
|
29
38
|
net-http-persistent (2.9.4)
|
|
30
39
|
nokogiri (1.6.5)
|
|
31
40
|
mini_portile (~> 0.6.0)
|
|
32
41
|
ntlm-http (0.1.1)
|
|
33
42
|
rake (10.4.2)
|
|
43
|
+
rest-client (1.6.7)
|
|
44
|
+
mime-types (>= 1.16)
|
|
45
|
+
rspec (3.1.0)
|
|
46
|
+
rspec-core (~> 3.1.0)
|
|
47
|
+
rspec-expectations (~> 3.1.0)
|
|
48
|
+
rspec-mocks (~> 3.1.0)
|
|
49
|
+
rspec-core (3.1.7)
|
|
50
|
+
rspec-support (~> 3.1.0)
|
|
51
|
+
rspec-expectations (3.1.2)
|
|
52
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
53
|
+
rspec-support (~> 3.1.0)
|
|
54
|
+
rspec-mocks (3.1.3)
|
|
55
|
+
rspec-support (~> 3.1.0)
|
|
56
|
+
rspec-support (3.1.2)
|
|
57
|
+
simplecov (0.9.1)
|
|
58
|
+
docile (~> 1.1.0)
|
|
59
|
+
multi_json (~> 1.0)
|
|
60
|
+
simplecov-html (~> 0.8.0)
|
|
61
|
+
simplecov-html (0.8.0)
|
|
62
|
+
term-ansicolor (1.2.2)
|
|
63
|
+
tins (~> 0.8)
|
|
64
|
+
thor (0.18.1)
|
|
65
|
+
tins (0.13.2)
|
|
34
66
|
unf (0.1.4)
|
|
35
67
|
unf_ext
|
|
36
68
|
unf_ext (0.0.6)
|
|
@@ -41,5 +73,7 @@ PLATFORMS
|
|
|
41
73
|
|
|
42
74
|
DEPENDENCIES
|
|
43
75
|
bundler (~> 1.6)
|
|
76
|
+
coveralls
|
|
44
77
|
rake (~> 10.0)
|
|
78
|
+
rspec (~> 3.1)
|
|
45
79
|
yt_util!
|
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Youtube Utility
|
|
2
2
|
[](http://badge.fury.io/rb/yt_util)
|
|
3
3
|
[](https://travis-ci.org/danielpclark/yt_util)
|
|
4
|
+
[](https://coveralls.io/r/danielpclark/yt_util?branch=master)
|
|
4
5
|
|
|
5
6
|
General purpose toolbox for working with Youtube.
|
|
6
7
|
|
|
@@ -27,6 +28,7 @@ YtUtil::Scrape.user_stats(username = nil, &qry)
|
|
|
27
28
|
YtUtil::URL.generate(video_code, options = {})
|
|
28
29
|
YtUtil::URL.request(web_request)
|
|
29
30
|
YtUtil::GooglePlus.get_username(youtube_username)
|
|
31
|
+
YtUtil::Channel::URL.play_all(username)
|
|
30
32
|
```
|
|
31
33
|
|
|
32
34
|
## NOTE
|
data/Rakefile
CHANGED
data/lib/yt_util/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/yt_util.gemspec
CHANGED
|
@@ -18,9 +18,10 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
spec.required_ruby_version = '
|
|
21
|
+
spec.required_ruby_version = '> 2.0'
|
|
22
22
|
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.1"
|
|
24
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
25
26
|
spec.add_runtime_dependency "nokogiri", "~> 1.6"
|
|
26
27
|
spec.add_runtime_dependency "mechanize", "~> 2.7"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yt_util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel P. Clark
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -24,6 +23,20 @@ dependencies:
|
|
|
24
23
|
- - "~>"
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '1.6'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: rspec
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3.1'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '3.1'
|
|
27
40
|
- !ruby/object:Gem::Dependency
|
|
28
41
|
name: rake
|
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -114,13 +127,12 @@ homepage: http://github.com/danielpclark/yt_util
|
|
|
114
127
|
licenses:
|
|
115
128
|
- MIT
|
|
116
129
|
metadata: {}
|
|
117
|
-
post_install_message:
|
|
118
130
|
rdoc_options: []
|
|
119
131
|
require_paths:
|
|
120
132
|
- lib
|
|
121
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
134
|
requirements:
|
|
123
|
-
- - "
|
|
135
|
+
- - ">"
|
|
124
136
|
- !ruby/object:Gem::Version
|
|
125
137
|
version: '2.0'
|
|
126
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -129,9 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
141
|
- !ruby/object:Gem::Version
|
|
130
142
|
version: '0'
|
|
131
143
|
requirements: []
|
|
132
|
-
|
|
133
|
-
rubygems_version: 2.4.1
|
|
134
|
-
signing_key:
|
|
144
|
+
rubygems_version: 3.6.2
|
|
135
145
|
specification_version: 4
|
|
136
146
|
summary: Youtube Utility.
|
|
137
147
|
test_files:
|