mail-iso-2022-jp 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mail-iso-2022-jp/patches.rb +1 -1
  2. metadata +3 -3
@@ -59,7 +59,7 @@ module Mail
59
59
 
60
60
  def b_value_encode(string)
61
61
  string.split(' ').map do |s|
62
- if s =~ /^\e/
62
+ if s =~ /\e/
63
63
  "=?ISO-2022-JP?B?#{Base64.encode64(s).gsub("\n", "")}?="
64
64
  else
65
65
  s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-iso-2022-jp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-11-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mail
17
- requirement: &8477100 !ruby/object:Gem::Requirement
17
+ requirement: &18047620 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 2.2.5
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *8477100
25
+ version_requirements: *18047620
26
26
  description: A patch that provides 'mail' gem with iso-2022-jp conversion capability.
27
27
  email: hermes@oiax.jp
28
28
  executables: []