feedjira 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/CHANGELOG.md +1 -1
- data/lib/feedjira/parser/itunes_rss_category.rb +4 -4
- data/lib/feedjira/version.rb +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: 61f3d95b5c43923b3b97d3353017af589c0a7bb10c733907235ce50177b77419
|
4
|
+
data.tar.gz: d391298c7484876c396b3a308a473f8944ad979b9cb5f585a469ee1700ee3954
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d409e15aa33a19e52bbc8adecd4ca05afe153d5a8f53956eda760f532fb9ea3ce0ac2ecf6a06fb6a039ffb877364f2f5df078bc68d88c7f42d322df84bc0a5ec
|
7
|
+
data.tar.gz: 19d45fdbd89b4347e84b017da3df211a94d53bb22bbe2b490a8f0a74f13fdb273286d2a2c07101eabe07884230c6f111e5640171fe633cf5ba8aca5095e48d7d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -10,17 +10,17 @@ module Feedjira
|
|
10
10
|
elements :"itunes:category", as: :itunes_categories,
|
11
11
|
class: ITunesRSSCategory
|
12
12
|
|
13
|
-
def each_subcategory
|
13
|
+
def each_subcategory(&block)
|
14
14
|
return to_enum(__method__) unless block_given?
|
15
15
|
|
16
16
|
yield text
|
17
17
|
|
18
18
|
itunes_categories.each do |itunes_category|
|
19
|
-
itunes_category.each_subcategory(&
|
19
|
+
itunes_category.each_subcategory(&block)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
def each_path(ancestors = [])
|
23
|
+
def each_path(ancestors = [], &block)
|
24
24
|
return to_enum(__method__, ancestors) unless block_given?
|
25
25
|
|
26
26
|
category_hierarchy = ancestors + [text]
|
@@ -29,7 +29,7 @@ module Feedjira
|
|
29
29
|
yield category_hierarchy
|
30
30
|
else
|
31
31
|
itunes_categories.each do |itunes_category|
|
32
|
-
itunes_category.each_path(category_hierarchy, &
|
32
|
+
itunes_category.each_path(category_hierarchy, &block)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/lib/feedjira/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedjira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hess
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: loofah
|
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
277
|
requirements: []
|
278
|
-
rubygems_version: 3.
|
278
|
+
rubygems_version: 3.1.2
|
279
279
|
signing_key:
|
280
280
|
specification_version: 4
|
281
281
|
summary: A feed parsing library
|