mojibake 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9746772d98df9f326fdc4e1cef3ec94d94ad69c7
4
+ data.tar.gz: a89d6726cca9cc6ec5df235e72e76b78dabbfa7a
5
+ SHA512:
6
+ metadata.gz: cbe1faa1f7199057c412be9732d6774ba2600695460aa7a9c4e43eb8526ccdb6c40d557ec895e09a7fc74dfee171065015010d4b846523b24eaf192c2e33c663
7
+ data.tar.gz: ac412bea8ca7d61e7cb3e3eeb8a0715e4298ecfbc4259acf1031b197a9d3d52f2f9707537015e5239302ed79102a9293f21ee7615f697b1e651eb9f10c81fee7
@@ -1,3 +1,9 @@
1
+ === 1.1.2 (2013-12-6)
2
+ * Re-enable EncodingSupport for jruby 1.7.5 where all impacting 1.7.x
3
+ regressions (vs. 1.6.8) have finally been fixed.
4
+ * Update test findings in README.
5
+ * Update to minitest ~> 4.7.4 (dev)
6
+
1
7
  === 1.1.1 (2013-5-28)
2
8
  * Fix Ruby 2.0.0 compatibility (#3, Maciej Hitsu Kowalski)
3
9
  * Drop EncodingSupport for jruby 1.7.x, as 1.7.4 continues to exhibit
@@ -1,4 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
1
  = MojiBake
3
2
 
4
3
  * http://github.com/dekellum/mojibake
@@ -19,13 +18,14 @@ Windows-1252 is in the wild, should also benefit.
19
18
  Mojibake mappings generation requires the String encoding support in
20
19
  ruby 1.9 as provided by:
21
20
 
22
- * ruby >= 1.9.2 (tested 1.9.2p290, 1.9.3p392, 2.0.0p0 Linux)
23
- * jruby ~> 1.6.5 (tested 1.6.5, 1.6.8, Linux)
21
+ * ruby >= 1.9.2 (tested 1.9.2p290, 1.9.3p392, 2.0.0p247 Linux)
22
+ * jruby ~> 1.6.5 or ~> 1.7.5 (tested 1.6.8, 1.7.5 Linux)
24
23
  * rubinius >= 2.0.0 (tested via Travis CI)
25
24
 
26
- Recovery of text with default settings is supported by using the
27
- pre-generated table.json when in ruby 1.8 mode, or for jruby 1.7.x
28
- (with contains bugs vs MRI ruby 1.9.x, 2.0.x behavior).
25
+ Note: jruby versions 1.7.0-1.7.4 have various encoding support
26
+ regressions. Recovery of text with default settings is supported by
27
+ using the pre-generated table.json when in ruby 1.8 mode, or for other
28
+ jruby versions.
29
29
 
30
30
  == Synopsis
31
31
 
@@ -28,7 +28,8 @@ module MojiBake
28
28
  if ( ruby_version_a <=> [1,9] ) >= 0 &&
29
29
  ( !jruby_version_a ||
30
30
  ( ( ( jruby_version_a <=> [1,6,5] ) >= 0 ) &&
31
- ( ( jruby_version_a <=> [1,7] ) < 0 ) ) )
31
+ ( ( jruby_version_a <=> [1,7] ) < 0 ) ) ||
32
+ ( ( jruby_version_a <=> [1,7,4] ) > 0 ) )
32
33
  require 'mojibake/encoding'
33
34
  include EncodingSupport
34
35
  end
@@ -15,7 +15,7 @@
15
15
  #++
16
16
 
17
17
  module MojiBake
18
- VERSION = "1.1.1"
18
+ VERSION = "1.1.2"
19
19
 
20
20
  module VersionSupport
21
21
  def ruby_version_a
metadata CHANGED
@@ -1,36 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mojibake
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.1.1
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Kellum
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-28 00:00:00.000000000 Z
11
+ date: 2013-12-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: json
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ! '>='
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
19
  version: 1.7.5
21
20
  - - <
22
21
  - !ruby/object:Gem::Version
23
22
  version: '1.9'
24
- none: false
25
23
  requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 1.7.5
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
30
  version: '1.9'
33
- none: false
34
31
  prerelease: false
35
32
  type: :runtime
36
33
  - !ruby/object:Gem::Dependency
@@ -39,14 +36,12 @@ dependencies:
39
36
  requirements:
40
37
  - - ~>
41
38
  - !ruby/object:Gem::Version
42
- version: '3.2'
43
- none: false
39
+ version: 4.7.4
44
40
  requirement: !ruby/object:Gem::Requirement
45
41
  requirements:
46
42
  - - ~>
47
43
  - !ruby/object:Gem::Version
48
- version: '3.2'
49
- none: false
44
+ version: 4.7.4
50
45
  prerelease: false
51
46
  type: :development
52
47
  - !ruby/object:Gem::Dependency
@@ -55,14 +50,12 @@ dependencies:
55
50
  requirements:
56
51
  - - ~>
57
52
  - !ruby/object:Gem::Version
58
- version: '2.0'
59
- none: false
53
+ version: '2.1'
60
54
  requirement: !ruby/object:Gem::Requirement
61
55
  requirements:
62
56
  - - ~>
63
57
  - !ruby/object:Gem::Version
64
- version: '2.0'
65
- none: false
58
+ version: '2.1'
66
59
  prerelease: false
67
60
  type: :development
68
61
  description: Mojibake occurs in English most frequently due to misinterpreting and bad-transcoding between Windows-1252, ISO-8859-1, and UTF-8. This module provides a mojibake sequence to original character mapping table, and utility to recover mojibake’d text.
@@ -91,6 +84,7 @@ files:
91
84
  - test/test_mapper.rb
92
85
  homepage: http://github.com/dekellum/mojibake
93
86
  licenses: []
87
+ metadata: {}
94
88
  post_install_message:
95
89
  rdoc_options:
96
90
  - --main
@@ -99,27 +93,18 @@ require_paths:
99
93
  - lib
100
94
  required_ruby_version: !ruby/object:Gem::Requirement
101
95
  requirements:
102
- - - ! '>='
96
+ - - '>='
103
97
  - !ruby/object:Gem::Version
104
98
  version: '0'
105
- segments:
106
- - 0
107
- hash: 2
108
- none: false
109
99
  required_rubygems_version: !ruby/object:Gem::Requirement
110
100
  requirements:
111
- - - ! '>='
101
+ - - '>='
112
102
  - !ruby/object:Gem::Version
113
103
  version: '0'
114
- segments:
115
- - 0
116
- hash: 2
117
- none: false
118
104
  requirements: []
119
105
  rubyforge_project:
120
- rubygems_version: 1.8.24
106
+ rubygems_version: 2.1.9
121
107
  signing_key:
122
- specification_version: 3
108
+ specification_version: 4
123
109
  summary: Mojibake occurs in English most frequently due to misinterpreting and bad-transcoding between Windows-1252, ISO-8859-1, and UTF-8.
124
110
  test_files: []
125
- ...