feed2imap 1.3.0 → 1.3.1

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: 3a8cca85ea26695d4b8af99207e5c47ecca608d39f11aff3343a747bc1502491
4
- data.tar.gz: 14ba146f763b444858d976661942c7e0681927d6f4d4488914dab67816e1b185
3
+ metadata.gz: 9fb49a362fe928d9110966a05eb10818817251e4e162845d2760c6318b8de0e2
4
+ data.tar.gz: 3790225dff5442b61e3099221c58cfb9d73b3b72dfa3c2213ceebb8c9b42dbac
5
5
  SHA512:
6
- metadata.gz: 4344152302dfaa64fb1aa425953b55a7246e23afdfba5b1fdfea336ee62a16f4171daeccc46a49bc982b648a31e09ef5e7d36beb244a85d26977012a29e36623
7
- data.tar.gz: 5af3575ea5bdfc3ad435fb2d963fb0989774ab8c5b0ea83174bf36cc7c95cd62df74952df8a0d0cef83ba9ef3a658f17eeea039320da85f0300a4604eb1dfcbd
6
+ metadata.gz: '09010a59e0f460df3b6ebab675a6d2d09f82368043b999bdc95570f2c899f1d1ef02303f128e0c1419ae8a73a0b3e6b79b79527f8c1a99e4b5f9046fc7aecf9b'
7
+ data.tar.gz: 38cb3888369396fac6e0656a0eb53bab2ff2add0e383c4fe4b97653603e8deae716831fa30793dfffef35e0b5d6106643c0d3cd42c068045e05e96e241b84f41
data/Rakefile CHANGED
@@ -68,6 +68,7 @@ rescue LoadError
68
68
  puts "Will not generate gem."
69
69
  end
70
70
 
71
+ desc 'Makes a new release'
71
72
  task :release => :repackage do
72
73
  sh 'git', 'tag', '--sign', 'v' + PKG_VERSION
73
74
  sh 'git', 'push'
@@ -26,6 +26,7 @@ require 'feed2imap/httpfetcher'
26
26
  require 'logger'
27
27
  require 'thread'
28
28
  require 'feedparser'
29
+ require 'feed2imap/rexml_settings'
29
30
  require 'feed2imap/itemtomail'
30
31
  require 'open3'
31
32
 
@@ -0,0 +1 @@
1
+ REXML::Security.entity_expansion_text_limit *= 10
@@ -1,3 +1,3 @@
1
1
  class Feed2Imap
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feed2imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Nussbaum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-28 00:00:00.000000000 Z
11
+ date: 2022-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-feedparser
@@ -71,7 +71,7 @@ files:
71
71
  - lib/feed2imap/imap.rb
72
72
  - lib/feed2imap/itemtomail.rb
73
73
  - lib/feed2imap/maildir.rb
74
- - lib/feed2imap/rexml_patch.rb
74
+ - lib/feed2imap/rexml_settings.rb
75
75
  - lib/feed2imap/sgml-parser.rb
76
76
  - lib/feed2imap/version.rb
77
77
  - setup.rb
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.2.27
105
+ rubygems_version: 3.3.5
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: RSS/Atom feed aggregator
@@ -1,47 +0,0 @@
1
- =begin
2
- Feed2Imap - RSS/Atom Aggregator uploading to an IMAP Server
3
- Copyright (c) 2005 Lucas Nussbaum <lucas@lucas-nussbaum.net>
4
-
5
- This program is free software; you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation; either version 2 of the License, or
8
- (at your option) any later version.
9
-
10
- This program is distributed in the hope that it will be useful,
11
- but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
14
-
15
- You should have received a copy of the GNU General Public License
16
- along with this program; if not, write to the Free Software
17
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
- =end
19
-
20
- require 'feedparser'
21
-
22
- # Patch for REXML
23
- # Very ugly patch to make REXML error-proof.
24
- # The problem is REXML uses IConv, which isn't error-proof at all.
25
- # With those changes, it uses unpack/pack with some error handling
26
- module REXML
27
- module Encoding
28
- def decode(str)
29
- return str.encode(@encoding)
30
- end
31
-
32
- def encode(str)
33
- return str
34
- end
35
-
36
- def encoding=(enc)
37
- return if defined? @encoding and enc == @encoding
38
- @encoding = enc || 'utf-8'
39
- end
40
- end
41
-
42
- class Element
43
- def children
44
- @children
45
- end
46
- end
47
- end