transpotter 0.1.4

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: b0e9af441f608c47ca93a652fe45b09382e231c7
4
+ data.tar.gz: f1f5e7af6dc0b522b39d72763a131070316bd265
5
+ SHA512:
6
+ metadata.gz: 327e1f1101c81f53f8e22256af4934e8332b48f97a2bf90b4dd0c6794dd85a7848d235a102674db6cd25800547f7b4e868027b501587c8d934106f3e6993b5e2
7
+ data.tar.gz: 4ab1d9ddf081ad2aeee632e448ca2602f75a5ba36c8e4cf852a9ee96960f9b72b1cae6b2685e8c774b29ed3a6ca3bb79c2e6733d586f41695389fab0b8d4b4af
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1 @@
1
+ ruby-2.1.5
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+ gem 'charlock_holmes'
3
+ # Add dependencies required to use your gem here.
4
+ # Example:
5
+ # gem "activesupport", ">= 2.3.5"
6
+
7
+ # Add dependencies to develop your gem here.
8
+ # Include everything needed to run rake, tests, features, etc.
9
+ group :development do
10
+ gem "rspec"
11
+ gem "shoulda", ">= 0"
12
+ gem "rdoc", "~> 3.12"
13
+ gem "bundler", "~> 1.0"
14
+ gem "jeweler"
15
+ gem "pry"
16
+ end
@@ -0,0 +1,93 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activesupport (4.0.2)
5
+ i18n (~> 0.6, >= 0.6.4)
6
+ minitest (~> 4.2)
7
+ multi_json (~> 1.3)
8
+ thread_safe (~> 0.1)
9
+ tzinfo (~> 0.3.37)
10
+ addressable (2.3.6)
11
+ atomic (1.1.14)
12
+ builder (3.2.2)
13
+ charlock_holmes (0.6.9.4)
14
+ coderay (1.1.0)
15
+ descendants_tracker (0.0.3)
16
+ diff-lcs (1.2.5)
17
+ faraday (0.9.1)
18
+ multipart-post (>= 1.2, < 3)
19
+ git (1.2.8)
20
+ github_api (0.11.3)
21
+ addressable (~> 2.3)
22
+ descendants_tracker (~> 0.0.1)
23
+ faraday (~> 0.8, < 0.10)
24
+ hashie (>= 1.2)
25
+ multi_json (>= 1.7.5, < 2.0)
26
+ nokogiri (~> 1.6.0)
27
+ oauth2
28
+ hashie (3.3.2)
29
+ highline (1.6.21)
30
+ i18n (0.6.9)
31
+ jeweler (2.0.1)
32
+ builder
33
+ bundler (>= 1.0)
34
+ git (>= 1.2.5)
35
+ github_api
36
+ highline (>= 1.6.15)
37
+ nokogiri (>= 1.5.10)
38
+ rake
39
+ rdoc
40
+ json (1.8.1)
41
+ jwt (1.2.0)
42
+ method_source (0.8.2)
43
+ mini_portile (0.6.2)
44
+ minitest (4.7.5)
45
+ multi_json (1.10.1)
46
+ multi_xml (0.5.5)
47
+ multipart-post (2.0.0)
48
+ nokogiri (1.6.5)
49
+ mini_portile (~> 0.6.0)
50
+ oauth2 (1.0.0)
51
+ faraday (>= 0.8, < 0.10)
52
+ jwt (~> 1.0)
53
+ multi_json (~> 1.3)
54
+ multi_xml (~> 0.5)
55
+ rack (~> 1.2)
56
+ pry (0.10.1)
57
+ coderay (~> 1.1.0)
58
+ method_source (~> 0.8.1)
59
+ slop (~> 3.4)
60
+ rack (1.6.0)
61
+ rake (10.4.2)
62
+ rdoc (3.12.2)
63
+ json (~> 1.4)
64
+ rspec (2.14.1)
65
+ rspec-core (~> 2.14.0)
66
+ rspec-expectations (~> 2.14.0)
67
+ rspec-mocks (~> 2.14.0)
68
+ rspec-core (2.14.7)
69
+ rspec-expectations (2.14.4)
70
+ diff-lcs (>= 1.1.3, < 2.0)
71
+ rspec-mocks (2.14.4)
72
+ shoulda (3.5.0)
73
+ shoulda-context (~> 1.0, >= 1.0.1)
74
+ shoulda-matchers (>= 1.4.1, < 3.0)
75
+ shoulda-context (1.1.6)
76
+ shoulda-matchers (2.5.0)
77
+ activesupport (>= 3.0.0)
78
+ slop (3.6.0)
79
+ thread_safe (0.1.3)
80
+ atomic
81
+ tzinfo (0.3.38)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ bundler (~> 1.0)
88
+ charlock_holmes
89
+ jeweler
90
+ pry
91
+ rdoc (~> 3.12)
92
+ rspec
93
+ shoulda
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Kevin Bacha
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+ # Installation
2
+
3
+ ```bash
4
+ $ gem install transpotter
5
+ ```
6
+
7
+ # Usage
8
+
9
+ ```ruby
10
+ transpotter = Transpotter.new('path/to/file')
11
+
12
+ # Determine the encoding
13
+ encoding = transpotter.detect
14
+
15
+ # Transcode the file
16
+ transpotter.output_to('path/to/new_file')
17
+ ```
18
+
19
+ # Contributing to transpotter
20
+
21
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
22
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
23
+ * Fork the project.
24
+ * Start a feature/bugfix branch.
25
+ * Commit and push until you are happy with your contribution.
26
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
27
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
28
+
29
+ # Copyright
30
+
31
+ Copyright (c) 2013 Kevin Bacha. See LICENSE.txt for
32
+ further details.
33
+
@@ -0,0 +1,45 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "transpotter"
18
+ gem.homepage = "http://github.com/kbacha/transpotter"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{TODO: one-line summary of your gem}
21
+ gem.description = %Q{TODO: longer description of your gem}
22
+ gem.email = "bacha@nationbuilder.com"
23
+ gem.authors = ["Kevin Bacha"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ task :default => :test
36
+
37
+ require 'rdoc/task'
38
+ Rake::RDocTask.new do |rdoc|
39
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
+
41
+ rdoc.rdoc_dir = 'rdoc'
42
+ rdoc.title = "transpotter #{version}"
43
+ rdoc.rdoc_files.include('README*')
44
+ rdoc.rdoc_files.include('lib/**/*.rb')
45
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.4
@@ -0,0 +1,120 @@
1
+ require 'charlock_holmes/string'
2
+
3
+ class Transpotter
4
+ attr_reader :filename
5
+
6
+ DEFAULT_SAMPLE_SIZE = 1024 * 1024 # 1 MB
7
+
8
+ # Determined from here:
9
+ # http://w3techs.com/technologies/overview/character_encoding/all
10
+ MOST_COMMON_ENCODINGS = (%w{
11
+ UTF-8
12
+ ISO-8859-1
13
+ Windows-1251
14
+ GB2312
15
+ SJIS
16
+ Windows-1252
17
+ GBK
18
+ ISO-8859-2
19
+ EUC-JP
20
+ Windows-1256
21
+ ISO-8859-15
22
+ ISO-8859-9
23
+ EUC-KR
24
+ Windows-1250
25
+ Windows-1254
26
+ Big5
27
+ Windows-874
28
+ US-ASCII
29
+ TIS-620
30
+ } + Encoding.name_list).uniq.map { |name| Encoding.find(name) }
31
+
32
+ ENCODING_ERRORS = [
33
+ Encoding::InvalidByteSequenceError,
34
+ Encoding::UndefinedConversionError,
35
+ Encoding::ConverterNotFoundError
36
+ ]
37
+
38
+ def initialize(filename, data = nil, samplesize = nil)
39
+ @samplesize = samplesize || DEFAULT_SAMPLE_SIZE
40
+ @filename = filename
41
+ @data = data
42
+ end
43
+
44
+ def encoding
45
+ @encoding ||= (charlock || brute_force)
46
+ end
47
+
48
+ def read
49
+ return unless sample # don't do anything if we can't grab sample
50
+ if @filename
51
+ open_encoded_file do |io|
52
+ return convert(io.read)
53
+ end
54
+ elsif @data
55
+ convert(@data)
56
+ end
57
+ end
58
+
59
+ def each_line
60
+ return unless sample # don't do anything if we can't grab sample
61
+ if @filename
62
+ open_encoded_file do |io|
63
+ io.each(line_endings.encode(@encoding)) { |line| yield convert(line) }
64
+ end
65
+ elsif @data
66
+ convert(@data).split(line_endings).each { |line| yield line }
67
+ end
68
+ end
69
+
70
+ private
71
+
72
+ def open_encoded_file
73
+ File.open(@filename,
74
+ 'rb',
75
+ external_encoding: encoding,
76
+ internal_encoding: encoding) do |io|
77
+ yield io
78
+ end
79
+ end
80
+
81
+ def line_endings
82
+ @line_endings = case convert(sample)
83
+ when /\r\n/ then "\r\n"
84
+ when /\n/ then "\n"
85
+ when /\r/ then "\r"
86
+ else "\n"
87
+ end
88
+ end
89
+
90
+ def convert(string)
91
+ return string if encoding == 'UTF-8'
92
+ string.force_encoding(encoding).encode('UTF-8')
93
+ end
94
+
95
+ def sample
96
+ @sample ||= File.read(@filename, @samplesize) if File.file?(@filename.to_s)
97
+ @sample ||= @data
98
+ end
99
+
100
+ def charlock
101
+ if sample
102
+ encoding = sample.detect_encoding
103
+ encoding[:encoding] if encoding[:confidence] > 75
104
+ end
105
+ end
106
+
107
+ def brute_force
108
+ return nil if sample.nil?
109
+ MOST_COMMON_ENCODINGS.each do |encoding|
110
+ return encoding.name if valid_encoding?(encoding)
111
+ end
112
+ nil
113
+ end
114
+
115
+ def valid_encoding?(encoding)
116
+ sample.force_encoding(encoding.name).encode('UTF-8').valid_encoding?
117
+ rescue *ENCODING_ERRORS
118
+ return false
119
+ end
120
+ end
@@ -0,0 +1,21 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ RSpec.configure do |config|
8
+ config.treat_symbols_as_metadata_keys_with_true_values = true
9
+ config.run_all_when_everything_filtered = true
10
+ config.filter_run :focus
11
+
12
+ # Run specs in random order to surface order dependencies. If you find an
13
+ # order dependency and want to debug it, you can fix the order by providing
14
+ # the seed, which is printed after each run.
15
+ # --seed 1234
16
+ config.order = 'random'
17
+ config.color = true
18
+ end
19
+
20
+ require_relative '../lib/transpotter'
21
+ FIXTURE_ROOT = File.join(File.dirname(__FILE__), 'fixtures')
@@ -0,0 +1,87 @@
1
+ # encoding: utf-8
2
+ require 'spec_helper'
3
+ require 'tempfile'
4
+
5
+ describe Transpotter do
6
+ shared_examples 'a transpotter' do
7
+ let(:file) { Tempfile.new('transpotter') }
8
+ let(:encoded_data) do
9
+ data.encode(encoding, replace: '')
10
+ end
11
+
12
+ before do
13
+ File.open(file.path, 'w') do |io|
14
+ io.write encoded_data
15
+ end
16
+ end
17
+
18
+ context 'file' do
19
+ let(:spotter) { Transpotter.new(file.path) }
20
+
21
+ it 'can detect the encoding of a file' do
22
+ spotter.encoding.should eq encoding
23
+ end
24
+
25
+ it 'can see every line' do
26
+ spotter.each_line { |line| line.encoding.name.should eq 'UTF-8' }
27
+ end
28
+
29
+ it 'can read the whole document' do
30
+ expect(spotter.read.encoding.name).to eq 'UTF-8'
31
+ end
32
+ end
33
+
34
+ context 'data' do
35
+ let(:spotter) { Transpotter.new(nil, encoded_data) }
36
+
37
+ it 'can detect the encoding of a file' do
38
+ spotter.encoding.should eq encoding
39
+ end
40
+
41
+ it 'can see every line' do
42
+ spotter.each_line { |line| line.encoding.name.should eq 'UTF-8' }
43
+ end
44
+ end
45
+ end
46
+
47
+ %w{
48
+ UTF-8
49
+ ISO-8859-1
50
+ Big5
51
+ Shift_JIS
52
+ }.each do |encoding|
53
+ context encoding do
54
+ let(:data) do
55
+ "圖形碼hellow x y z白いÇ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ中文數位化技術推廣委員會" * 1025
56
+ end
57
+ let(:encoding) { encoding }
58
+
59
+ it_behaves_like 'a transpotter'
60
+ end
61
+ end
62
+
63
+ context 'nil input' do
64
+ it 'will not break if nil is given' do
65
+ spotter = Transpotter.new(nil, nil)
66
+ spotter.each_line { fail 'should not be called' }
67
+ end
68
+
69
+ it 'will return no encoding if no data is given' do
70
+ Transpotter.new(nil, nil).encoding.should be_nil
71
+ end
72
+ end
73
+
74
+ context 'bad file' do
75
+ it 'will return nothing if an invalid file is provided' do
76
+ Transpotter.new('path/to/no/where').each_line { fail }
77
+ end
78
+
79
+ it 'will return no encoding if an invalid file is provided' do
80
+ Transpotter.new('path/to/no/where').encoding.should be_nil
81
+ end
82
+
83
+ it 'will return nothing if an invalid file is provided' do
84
+ Transpotter.new('/dev/null').encoding.should be_nil
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,71 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: transpotter 0.1.4 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "transpotter"
9
+ s.version = "0.1.4"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Kevin Bacha"]
14
+ s.date = "2015-05-29"
15
+ s.description = "Gem to handle transcoding in ruby"
16
+ s.email = "bacha@nationbuilder.com"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ ".ruby-version",
25
+ "Gemfile",
26
+ "Gemfile.lock",
27
+ "LICENSE.txt",
28
+ "README.md",
29
+ "Rakefile",
30
+ "VERSION",
31
+ "lib/transpotter.rb",
32
+ "spec/spec_helper.rb",
33
+ "spec/transpotter_spec.rb",
34
+ "transpotter.gemspec"
35
+ ]
36
+ s.homepage = "http://github.com/kbacha/transpotter"
37
+ s.licenses = ["MIT"]
38
+ s.rubygems_version = "2.4.3"
39
+ s.summary = "Gem to handle transcoding in ruby"
40
+
41
+ if s.respond_to? :specification_version then
42
+ s.specification_version = 4
43
+
44
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
+ s.add_runtime_dependency(%q<charlock_holmes>, [">= 0"])
46
+ s.add_development_dependency(%q<rspec>, [">= 0"])
47
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
48
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
49
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
50
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
51
+ s.add_development_dependency(%q<pry>, [">= 0"])
52
+ else
53
+ s.add_dependency(%q<charlock_holmes>, [">= 0"])
54
+ s.add_dependency(%q<rspec>, [">= 0"])
55
+ s.add_dependency(%q<shoulda>, [">= 0"])
56
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
58
+ s.add_dependency(%q<jeweler>, [">= 0"])
59
+ s.add_dependency(%q<pry>, [">= 0"])
60
+ end
61
+ else
62
+ s.add_dependency(%q<charlock_holmes>, [">= 0"])
63
+ s.add_dependency(%q<rspec>, [">= 0"])
64
+ s.add_dependency(%q<shoulda>, [">= 0"])
65
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
67
+ s.add_dependency(%q<jeweler>, [">= 0"])
68
+ s.add_dependency(%q<pry>, [">= 0"])
69
+ end
70
+ end
71
+
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: transpotter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Bacha
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: charlock_holmes
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: shoulda
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jeweler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Gem to handle transcoding in ruby
112
+ email: bacha@nationbuilder.com
113
+ executables: []
114
+ extensions: []
115
+ extra_rdoc_files:
116
+ - LICENSE.txt
117
+ - README.md
118
+ files:
119
+ - ".document"
120
+ - ".rspec"
121
+ - ".ruby-version"
122
+ - Gemfile
123
+ - Gemfile.lock
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - VERSION
128
+ - lib/transpotter.rb
129
+ - spec/spec_helper.rb
130
+ - spec/transpotter_spec.rb
131
+ - transpotter.gemspec
132
+ homepage: http://github.com/kbacha/transpotter
133
+ licenses:
134
+ - MIT
135
+ metadata: {}
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.4.3
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Gem to handle transcoding in ruby
156
+ test_files: []