feedjira-youtube 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/.travis.yml +12 -0
- data/Gemfile.lock +18 -25
- data/README.md +1 -0
- data/lib/feedjira/youtube/entry_parser.rb +3 -0
- data/lib/feedjira/youtube/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd2615d31810db47f83c978ada23fc5e9c4e0075e308778668af34a5fa46ec9
|
4
|
+
data.tar.gz: 330440db07582c1489ca872361eff4735d3c870297852ff4ca93f5d9e14f2c9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a835f79788774de3089cd1214f237ce1c6c9cf28d738e663e8577429464e052baf017b7884b889ce0864524e85ef7f422ec0fea315e31361708faf076e1d3dfd
|
7
|
+
data.tar.gz: 575bb6a287e6da4b706ed1c985cb8e363664ff77c8e4d96a6f42a5668a35519ed1c1c2ca2412fb32590b6788c70c55bf7586c8739bf57ad59b607b5886a29e39
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.5
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
feedjira-youtube (0.
|
4
|
+
feedjira-youtube (0.3.0)
|
5
5
|
feedjira
|
6
6
|
|
7
7
|
GEM
|
@@ -11,40 +11,33 @@ GEM
|
|
11
11
|
coderay (1.1.2)
|
12
12
|
crass (1.0.4)
|
13
13
|
diff-lcs (1.3)
|
14
|
-
|
15
|
-
|
16
|
-
faraday_middleware (0.13.1)
|
17
|
-
faraday (>= 0.7.4, < 1.0)
|
18
|
-
feedjira (2.2.0)
|
19
|
-
faraday (>= 0.9)
|
20
|
-
faraday_middleware (>= 0.9)
|
21
|
-
loofah (>= 2.0)
|
14
|
+
feedjira (3.0.0)
|
15
|
+
loofah (>= 2.2.1)
|
22
16
|
sax-machine (>= 1.0)
|
23
|
-
loofah (2.
|
17
|
+
loofah (2.3.0)
|
24
18
|
crass (~> 1.0.2)
|
25
19
|
nokogiri (>= 1.5.9)
|
26
20
|
method_source (0.9.2)
|
27
21
|
mini_portile2 (2.4.0)
|
28
|
-
|
29
|
-
nokogiri (1.10.1)
|
22
|
+
nokogiri (1.10.4)
|
30
23
|
mini_portile2 (~> 2.4.0)
|
31
24
|
pry (0.12.2)
|
32
25
|
coderay (~> 1.1.0)
|
33
26
|
method_source (~> 0.9.0)
|
34
|
-
rake (
|
35
|
-
rspec (3.
|
36
|
-
rspec-core (~> 3.
|
37
|
-
rspec-expectations (~> 3.
|
38
|
-
rspec-mocks (~> 3.
|
39
|
-
rspec-core (3.
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-expectations (3.
|
27
|
+
rake (13.0.0)
|
28
|
+
rspec (3.9.0)
|
29
|
+
rspec-core (~> 3.9.0)
|
30
|
+
rspec-expectations (~> 3.9.0)
|
31
|
+
rspec-mocks (~> 3.9.0)
|
32
|
+
rspec-core (3.9.0)
|
33
|
+
rspec-support (~> 3.9.0)
|
34
|
+
rspec-expectations (3.9.0)
|
42
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-mocks (3.
|
36
|
+
rspec-support (~> 3.9.0)
|
37
|
+
rspec-mocks (3.9.0)
|
45
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-support (3.
|
39
|
+
rspec-support (~> 3.9.0)
|
40
|
+
rspec-support (3.9.0)
|
48
41
|
sax-machine (1.3.2)
|
49
42
|
|
50
43
|
PLATFORMS
|
@@ -58,4 +51,4 @@ DEPENDENCIES
|
|
58
51
|
rspec
|
59
52
|
|
60
53
|
BUNDLED WITH
|
61
|
-
|
54
|
+
2.0.2
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
module Feedjira
|
2
2
|
module Youtube
|
3
3
|
class EntryParser < Parser::AtomYoutubeEntry
|
4
|
+
LINK_REGEXP = URI.regexp(%w(http https))
|
5
|
+
|
4
6
|
sax_config.top_level_elements.delete("media:description")
|
5
7
|
sax_config.top_level_elements.delete("summary")
|
6
8
|
|
@@ -12,6 +14,7 @@ module Feedjira
|
|
12
14
|
super
|
13
15
|
.delete("\r")
|
14
16
|
.gsub("\n", "<br/>\n")
|
17
|
+
.gsub(LINK_REGEXP) { %(<a href="#{$&}">#{$&}</a>) }
|
15
18
|
end
|
16
19
|
|
17
20
|
def content
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedjira-youtube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoit MARTIN-CHAVE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: feedjira
|
@@ -33,6 +33,8 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- ".gitignore"
|
35
35
|
- ".rspec"
|
36
|
+
- ".ruby-version"
|
37
|
+
- ".travis.yml"
|
36
38
|
- Gemfile
|
37
39
|
- Gemfile.lock
|
38
40
|
- LICENSE.txt
|
@@ -62,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
64
|
- !ruby/object:Gem::Version
|
63
65
|
version: '0'
|
64
66
|
requirements: []
|
65
|
-
rubygems_version: 3.0.
|
67
|
+
rubygems_version: 3.0.3
|
66
68
|
signing_key:
|
67
69
|
specification_version: 4
|
68
70
|
summary: Alternative Youtube parser for Feedjira.
|