gigo 2.1.0 → 2.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 712fefdcd90415f02b05a5c1d71b59c7650aeed7
4
- data.tar.gz: 8645a95acd55340917bad0d9fc080f8325c26fef
3
+ metadata.gz: a039e0cbd788d3901ca51f8078e9f10e4cc14241
4
+ data.tar.gz: a455a8f6a2d4449767052b0da45fbb9e50aeb235
5
5
  SHA512:
6
- metadata.gz: 47388733658210b84307e259798c395ae97d07524a19097853605da9071306e0ae0eacb5f8db91b693e22fa16126615af10a3a88923df80c7a17d7ee6fffc5ae
7
- data.tar.gz: 2c1b9b8ef11693facef2e5a4ddd0f42705a4cb8629b182949ccce9325f95582e45a7c8b1c18843477935841319816df2c4711b8a1556dbbef97edc0956b9c369
6
+ metadata.gz: 5a48f4b9bc06851944e8ef729b44406d9094ff7b76433a1df20c6e7600eb870c67f86477e68e503f2b58300913a69bbaa055ff41c5a41670c3d845c490080b51
7
+ data.tar.gz: db00c9a99d6e4aadc4e18354a3251a4b007591c176e4d18e5222ba5420caa23e2f996be98d7cd43209e27c9880723454ca2a6a8633862d1af7e9ee098e37742b
data/README.md CHANGED
@@ -38,10 +38,11 @@ GIGO attempts to use each in that order. Upon successful transcoding, we use the
38
38
 
39
39
  #### Rails/ActiveSupport v2.3.x
40
40
 
41
- When using GIGO with Rails/ActiveSupport 2.3., the `GIGO::Transcoders::CharlockHolmes` transcoder will be inserted before the `GIGO::Transcoders::ActiveSupport` one. This is needed because ActiveSupport's multibyte char support is weak in version 2.3.x. You will need to add this to your applications `Gemfile` since `CharlockHolmes` requires it.
41
+ When using GIGO with Rails/ActiveSupport 2.3., the `GIGO::Transcoders::CharlockHolmes` transcoder will be inserted before the `GIGO::Transcoders::ActiveSupport` one. This is needed because ActiveSupport's multibyte char support is weak in version 2.3.x. You will need to add this to your applications `Gemfile` since both `CharlockHolmes` and `Icon` are your responsibility to bundle it.
42
42
 
43
43
  ```ruby
44
44
  gem 'iconv'
45
+ gem 'charlock_holmes', '~> 0.7'
45
46
  ```
46
47
 
47
48
 
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
@@ -16,10 +15,10 @@ GEM
16
15
  thor (>= 0.14.0)
17
16
  charlock_holmes (0.7.3)
18
17
  ensure_valid_encoding (0.5.3)
19
- i18n (0.6.11)
18
+ i18n (0.7.0)
20
19
  iconv (1.0.4)
21
- minitest (5.4.2)
22
- rake (10.3.2)
20
+ minitest (5.5.1)
21
+ rake (10.4.2)
23
22
  thor (0.19.1)
24
23
 
25
24
  PLATFORMS
@@ -28,6 +27,7 @@ PLATFORMS
28
27
  DEPENDENCIES
29
28
  activesupport (~> 2.3.0)
30
29
  appraisal
30
+ charlock_holmes (~> 0.7)
31
31
  gigo!
32
32
  i18n
33
33
  iconv
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
@@ -16,9 +15,9 @@ GEM
16
15
  thor (>= 0.14.0)
17
16
  charlock_holmes (0.7.3)
18
17
  ensure_valid_encoding (0.5.3)
19
- i18n (0.6.11)
20
- minitest (5.4.2)
21
- rake (10.3.2)
18
+ i18n (0.7.0)
19
+ minitest (5.5.1)
20
+ rake (10.4.2)
22
21
  thor (0.19.1)
23
22
 
24
23
  PLATFORMS
@@ -27,6 +26,7 @@ PLATFORMS
27
26
  DEPENDENCIES
28
27
  activesupport (~> 3.0.0)
29
28
  appraisal
29
+ charlock_holmes (~> 0.7)
30
30
  gigo!
31
31
  i18n
32
32
  minitest
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
@@ -17,10 +16,10 @@ GEM
17
16
  thor (>= 0.14.0)
18
17
  charlock_holmes (0.7.3)
19
18
  ensure_valid_encoding (0.5.3)
20
- i18n (0.6.11)
21
- minitest (5.4.2)
19
+ i18n (0.7.0)
20
+ minitest (5.5.1)
22
21
  multi_json (1.10.1)
23
- rake (10.3.2)
22
+ rake (10.4.2)
24
23
  thor (0.19.1)
25
24
 
26
25
  PLATFORMS
@@ -29,6 +28,7 @@ PLATFORMS
29
28
  DEPENDENCIES
30
29
  activesupport (~> 3.1.0)
31
30
  appraisal
31
+ charlock_holmes (~> 0.7)
32
32
  gigo!
33
33
  i18n
34
34
  minitest
@@ -1,15 +1,14 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
- activesupport (3.2.19)
11
+ activesupport (3.2.21)
13
12
  i18n (~> 0.6, >= 0.6.4)
14
13
  multi_json (~> 1.0)
15
14
  appraisal (1.0.2)
@@ -18,10 +17,10 @@ GEM
18
17
  thor (>= 0.14.0)
19
18
  charlock_holmes (0.7.3)
20
19
  ensure_valid_encoding (0.5.3)
21
- i18n (0.6.11)
22
- minitest (5.4.2)
20
+ i18n (0.7.0)
21
+ minitest (5.5.1)
23
22
  multi_json (1.10.1)
24
- rake (10.3.2)
23
+ rake (10.4.2)
25
24
  thor (0.19.1)
26
25
 
27
26
  PLATFORMS
@@ -30,6 +29,7 @@ PLATFORMS
30
29
  DEPENDENCIES
31
30
  activesupport (~> 3.2.0)
32
31
  appraisal
32
+ charlock_holmes (~> 0.7)
33
33
  gigo!
34
34
  i18n
35
35
  minitest
@@ -1,15 +1,14 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
- activesupport (4.0.11)
11
+ activesupport (4.0.13)
13
12
  i18n (~> 0.6, >= 0.6.9)
14
13
  minitest (~> 4.2)
15
14
  multi_json (~> 1.3)
@@ -21,13 +20,13 @@ GEM
21
20
  thor (>= 0.14.0)
22
21
  charlock_holmes (0.7.3)
23
22
  ensure_valid_encoding (0.5.3)
24
- i18n (0.6.11)
23
+ i18n (0.7.0)
25
24
  minitest (4.7.5)
26
25
  multi_json (1.10.1)
27
- rake (10.3.2)
26
+ rake (10.4.2)
28
27
  thor (0.19.1)
29
28
  thread_safe (0.3.4)
30
- tzinfo (0.3.42)
29
+ tzinfo (0.3.43)
31
30
 
32
31
  PLATFORMS
33
32
  ruby
@@ -35,6 +34,7 @@ PLATFORMS
35
34
  DEPENDENCIES
36
35
  activesupport (~> 4.0.0)
37
36
  appraisal
37
+ charlock_holmes (~> 0.7)
38
38
  gigo!
39
39
  i18n
40
40
  minitest
@@ -1,15 +1,14 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- gigo (2.0.0)
4
+ gigo (2.2.0)
5
5
  activesupport (>= 2.3)
6
- charlock_holmes (~> 0.7)
7
6
  ensure_valid_encoding (~> 0.5.3)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
- activesupport (4.1.4)
11
+ activesupport (4.1.8)
13
12
  i18n (~> 0.6, >= 0.6.9)
14
13
  json (~> 1.7, >= 1.7.7)
15
14
  minitest (~> 5.1)
@@ -21,10 +20,10 @@ GEM
21
20
  thor (>= 0.14.0)
22
21
  charlock_holmes (0.7.3)
23
22
  ensure_valid_encoding (0.5.3)
24
- i18n (0.6.11)
25
- json (1.8.1)
26
- minitest (5.4.2)
27
- rake (10.3.2)
23
+ i18n (0.7.0)
24
+ json (1.8.2)
25
+ minitest (5.5.1)
26
+ rake (10.4.2)
28
27
  thor (0.19.1)
29
28
  thread_safe (0.3.4)
30
29
  tzinfo (1.2.2)
@@ -36,6 +35,7 @@ PLATFORMS
36
35
  DEPENDENCIES
37
36
  activesupport (~> 4.1.0)
38
37
  appraisal
38
+ charlock_holmes (~> 0.7)
39
39
  gigo!
40
40
  i18n
41
41
  minitest
@@ -17,8 +17,8 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ["lib"]
18
18
  gem.add_runtime_dependency 'activesupport', '>= 2.3'
19
19
  gem.add_runtime_dependency 'ensure_valid_encoding', '~> 0.5.3'
20
- gem.add_runtime_dependency 'charlock_holmes', '~> 0.7'
21
20
  gem.add_development_dependency 'appraisal'
21
+ gem.add_development_dependency 'charlock_holmes', '~> 0.7'
22
22
  gem.add_development_dependency 'i18n' # Older ActiveSupport does not have a proper dep.
23
23
  gem.add_development_dependency 'rake'
24
24
  gem.add_development_dependency 'minitest'
@@ -1,5 +1,8 @@
1
- require 'iconv'
2
- require 'charlock_holmes'
1
+ begin
2
+ require 'iconv'
3
+ require 'charlock_holmes'
4
+ rescue LoadError
5
+ end
3
6
 
4
7
  module GIGO
5
8
  module Transcoders
@@ -1,3 +1,3 @@
1
1
  module GIGO
2
- VERSION = "2.1.0"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gigo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-07 00:00:00.000000000 Z
11
+ date: 2015-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -39,33 +39,33 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.5.3
41
41
  - !ruby/object:Gem::Dependency
42
- name: charlock_holmes
42
+ name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.7'
48
- type: :runtime
47
+ version: '0'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.7'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: appraisal
56
+ name: charlock_holmes
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '0.7'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '0.7'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: i18n
71
71
  requirement: !ruby/object:Gem::Requirement