roust 1.8.4 → 1.8.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/roust/ticket.rb +1 -1
- data/lib/roust/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2298e6d0f0bd3c9bd60f21dea7b7b666056aad7
|
|
4
|
+
data.tar.gz: ea7acab12c73cdf2ef50d20bd332a44e71ad0886
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a604c28a6a017e1261c642f766bb6feece34132b61bb85ab3e47956c196e427ecd513e463f85972ed4a1f6e362c37fc57faea5f9d8df579a2588a75e34732c31
|
|
7
|
+
data.tar.gz: d02080811bd8c6a02e5190e7885507cea8870c466b15c40acd7417590c3dfde8259d4f5d975831bbcd7770ccab112599fab286c811b3b5634b3a6086f79fd185
|
data/Gemfile.lock
CHANGED
data/lib/roust/ticket.rb
CHANGED
|
@@ -382,8 +382,8 @@ class Roust
|
|
|
382
382
|
list = []
|
|
383
383
|
items.each do |item|
|
|
384
384
|
# Yes, this messes with the "content:" field but that's the one that's upsetting Mail.new
|
|
385
|
+
item.gsub!(/\r/, "\n") # Mail doesn't handle \r at all. Convert them all to \n, then remove the extra lines in the next step
|
|
385
386
|
item.gsub!(/\n\s*\n/, "\n") # remove blank lines for Mail
|
|
386
|
-
item.gsub!(/\r\r\n/, "\n") # convert \r\r\n into \n so Mail parses it correctly
|
|
387
387
|
history = Mail.new(item)
|
|
388
388
|
next if not comments and history['type'].to_s =~ /Comment/ # skip comments
|
|
389
389
|
reply = {}
|
data/lib/roust/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roust
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lindsay Holmwood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mail
|