weneedfeed 0.19.0 → 0.19.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe9580666db05c9eaad1dcb58ce31047401f1e96b7c41ac0135cf98b9d094d3e
4
- data.tar.gz: 4598e31e6ec68e4c93f071582bb4b1547bfa96f00d0768f59bbaf6e66421c038
3
+ metadata.gz: 000a213e575858330b55a18d94739be1c2a541eb6066c498513d79d8ced83be1
4
+ data.tar.gz: 524ecd8eb36bfcfbae378cc4aa784c46b404d5c2a60c96c67d357d349e9a850b
5
5
  SHA512:
6
- metadata.gz: c944a1b21c82145b39c4d7f030e2954a61d63aa96b36666f2c896409b25484f15234bbd414420bafd463934d3bb5f9ab0957d126b434433cd0fc554890fe4c38
7
- data.tar.gz: ad51d3ed20a023afb8070092c4570ad48d7dbfdea1e61ff6b9ad5651ecade23b3d570fcbfcb636475be4dd99c555f6bb1d29e4109e5537f4f1948e578312055e
6
+ metadata.gz: b1d7dd8cbe3b566056848cdcaaee638b5d592255d62b7e71437bd0ca67ec07b4eafbfbf3ab1c23886a75ef263b1c42b3bb17f2c7bd0a0f160cc499cdd96993cf
7
+ data.tar.gz: 39edaa98fc6c8bf80c8177256e70163a6ea84ad0ff347d9531536334daa636dfce4daca0beda6498200bd4deb9531f40b343ef2ac2f2a0171c511b3a4f54aff2
data/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.19.3 - 2022-08-02
11
+
12
+ ### Fixed
13
+
14
+ - Change hibana version requirement.
15
+
16
+ ## 0.19.2 - 2022-08-01
17
+
18
+ ### Fixed
19
+
20
+ - Fix XML excape on OPML.
21
+
22
+ ## 0.19.1 - 2022-08-01
23
+
24
+ ### Fixed
25
+
26
+ - Fix bug when time item includes white spaces.
27
+
10
28
  ## 0.19.0 - 2022-08-01
11
29
 
12
30
  ### Added
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weneedfeed (0.19.0)
4
+ weneedfeed (0.19.3)
5
5
  activesupport
6
6
  addressable
7
7
  builder
8
8
  faraday
9
9
  faraday_middleware
10
- hibana (>= 0.2)
10
+ hibana (>= 0.2.1)
11
11
  marcel
12
12
  nokogiri
13
13
  psych (>= 4)
@@ -55,14 +55,14 @@ GEM
55
55
  faraday-retry (1.0.3)
56
56
  faraday_middleware (1.2.0)
57
57
  faraday (~> 1.0)
58
- hanami-router (2.0.0.beta1)
58
+ hanami-router (2.0.0.alpha3)
59
59
  mustermann (~> 1.0)
60
60
  mustermann-contrib (~> 1.0)
61
61
  rack (~> 2.0)
62
62
  hansi (0.2.1)
63
63
  hashdiff (1.0.1)
64
- hibana (0.2.0)
65
- hanami-router (>= 2.0.0.alpha3)
64
+ hibana (0.2.1)
65
+ hanami-router (= 2.0.0.alpha3)
66
66
  rack
67
67
  tilt
68
68
  i18n (1.12.0)
@@ -149,7 +149,7 @@ module Weneedfeed
149
149
  node = time_node
150
150
  return unless node
151
151
 
152
- node['datetime'] || node.inner_text
152
+ node['datetime'] || node.inner_text&.strip
153
153
  end
154
154
  end
155
155
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Weneedfeed
4
- VERSION = '0.19.0'
4
+ VERSION = '0.19.3'
5
5
  end
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <opml version="1.0">
3
3
  <head>
4
- <title><%= @schema.title %></title>
4
+ <title><%= @schema.title.encode(xml: :text) %></title>
5
5
  </head>
6
6
  <body>
7
- <outline text="<%= @schema.title %>" title="<%= @schema.title %>">
7
+ <outline text=<%= @schema.title.encode(xml: :attr) %> title=<%= @schema.title.encode(xml: :attr) %>>
8
8
  <% page_schemata.each do |page_schema| %>
9
- <outline type="rss" text="<%= page_schema.title %>" title="<%= page_schema.title %>" xmlUrl="<%= "#{request.base_url}#{feed_path(page_id: page_schema.id)}" %>" htmlUrl="<%= page_schema.url %>"/>
9
+ <outline type="rss" attr=<%= page_schema.title.encode(xml: :attr) %> title=<%= page_schema.title.encode(xml: :attr) %> xmlUrl="<%= "#{request.base_url}#{feed_path(page_id: page_schema.id)}" %>" htmlUrl="<%= page_schema.url %>"/>
10
10
  <% end %>
11
11
  </outline>
12
12
  </body>
data/weneedfeed.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_runtime_dependency 'builder'
33
33
  spec.add_runtime_dependency 'faraday'
34
34
  spec.add_runtime_dependency 'faraday_middleware'
35
- spec.add_runtime_dependency 'hibana', '>= 0.2'
35
+ spec.add_runtime_dependency 'hibana', '>= 0.2.1'
36
36
  spec.add_runtime_dependency 'marcel'
37
37
  spec.add_runtime_dependency 'nokogiri'
38
38
  spec.add_runtime_dependency 'psych', '>= 4'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weneedfeed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '0.2'
89
+ version: 0.2.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '0.2'
96
+ version: 0.2.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: marcel
99
99
  requirement: !ruby/object:Gem::Requirement