textractor-cli 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b793d5e572fe214d8bca7f529d968a8eac1150cb
4
+ data.tar.gz: 7957d1348be2c6366b7ea93d247c1bdfe01f4023
5
+ SHA512:
6
+ metadata.gz: cef651fd17b0b3d4b4fde2df393ed573fa334a3787f35a30dc251b50b2fea58c483a3b74422a12cdff408612525adb4b7a8b4c2e3334dd73d298e017161ed4fc
7
+ data.tar.gz: 0c571030e8f296c6406b7322cbcf322205aa11b0b38609aa6581b8d7d67cb0591d755baaaf56a49d229f452600ffc7a8a3d9d457a8604a3148c2f0aa401f4dcf
data/.gitignore ADDED
@@ -0,0 +1,52 @@
1
+ *.gem
2
+ *.swp
3
+ *.rbc
4
+ *.html
5
+ /.config
6
+ /coverage/
7
+ /InstalledFiles
8
+ /pkg/
9
+ /spec/reports/
10
+ /spec/examples.txt
11
+ /test/tmp/
12
+ /test/version_tmp/
13
+ /tmp/
14
+
15
+ # Used by dotenv library to load environment variables.
16
+ # .env
17
+
18
+ ## Specific to RubyMotion:
19
+ .dat*
20
+ .repl_history
21
+ build/
22
+ *.bridgesupport
23
+ build-iPhoneOS/
24
+ build-iPhoneSimulator/
25
+
26
+ ## Specific to RubyMotion (use of CocoaPods):
27
+ #
28
+ # We recommend against adding the Pods directory to your .gitignore. However
29
+ # you should judge for yourself, the pros and cons are mentioned at:
30
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
31
+ #
32
+ # vendor/Pods/
33
+
34
+ ## Documentation cache and generated files:
35
+ /.yardoc/
36
+ /_yardoc/
37
+ /doc/
38
+ /rdoc/
39
+
40
+ ## Environment normalization:
41
+ /.bundle/
42
+ /vendor/bundle
43
+ /lib/bundler/man/
44
+
45
+ # for a library or gem, you might want to ignore these files since the code is
46
+ # intended to run in multiple environments; otherwise, check them in:
47
+ # Gemfile.lock
48
+ # .ruby-version
49
+ # .ruby-gemset
50
+
51
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
52
+ .rvmrc
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in textractor-cli.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,90 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ textractor-cli (0.1.0)
5
+ methadone (~> 1.9.5)
6
+ rest-client
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ aruba (0.14.2)
12
+ childprocess (~> 0.5.6)
13
+ contracts (~> 0.9)
14
+ cucumber (>= 1.3.19)
15
+ ffi (~> 1.9.10)
16
+ rspec-expectations (>= 2.99)
17
+ thor (~> 0.19)
18
+ builder (3.2.3)
19
+ childprocess (0.5.9)
20
+ ffi (~> 1.0, >= 1.0.11)
21
+ coderay (1.1.1)
22
+ contracts (0.16.0)
23
+ cucumber (2.4.0)
24
+ builder (>= 2.1.2)
25
+ cucumber-core (~> 1.5.0)
26
+ cucumber-wire (~> 0.0.1)
27
+ diff-lcs (>= 1.1.3)
28
+ gherkin (~> 4.0)
29
+ multi_json (>= 1.7.5, < 2.0)
30
+ multi_test (>= 0.1.2)
31
+ cucumber-core (1.5.0)
32
+ gherkin (~> 4.0)
33
+ cucumber-wire (0.0.1)
34
+ diff-lcs (1.3)
35
+ domain_name (0.5.20170404)
36
+ unf (>= 0.0.5, < 1.0.0)
37
+ ffi (1.9.18)
38
+ gherkin (4.1.3)
39
+ http-cookie (1.0.3)
40
+ domain_name (~> 0.5)
41
+ methadone (1.9.5)
42
+ bundler
43
+ method_source (0.8.2)
44
+ mime-types (3.1)
45
+ mime-types-data (~> 3.2015)
46
+ mime-types-data (3.2016.0521)
47
+ multi_json (1.12.1)
48
+ multi_test (0.1.2)
49
+ netrc (0.11.0)
50
+ power_assert (1.0.2)
51
+ pry (0.10.4)
52
+ coderay (~> 1.1.0)
53
+ method_source (~> 0.8.1)
54
+ slop (~> 3.4)
55
+ pry-remote (0.1.8)
56
+ pry (~> 0.9)
57
+ slop (~> 3.0)
58
+ rake (10.5.0)
59
+ rdoc (5.1.0)
60
+ rest-client (2.0.2)
61
+ http-cookie (>= 1.0.2, < 2.0)
62
+ mime-types (>= 1.16, < 4.0)
63
+ netrc (~> 0.8)
64
+ rspec-expectations (3.6.0)
65
+ diff-lcs (>= 1.2.0, < 2.0)
66
+ rspec-support (~> 3.6.0)
67
+ rspec-support (3.6.0)
68
+ slop (3.6.0)
69
+ test-unit (3.2.5)
70
+ power_assert
71
+ thor (0.19.4)
72
+ unf (0.1.4)
73
+ unf_ext
74
+ unf_ext (0.0.7.4)
75
+
76
+ PLATFORMS
77
+ ruby
78
+
79
+ DEPENDENCIES
80
+ aruba
81
+ bundler (~> 1.14)
82
+ pry
83
+ pry-remote
84
+ rake (~> 10.0)
85
+ rdoc
86
+ test-unit
87
+ textractor-cli!
88
+
89
+ BUNDLED WITH
90
+ 1.14.6
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 snootysoftware
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,71 @@
1
+ ## Textractor CLI
2
+
3
+ Command-line client for the Textractor service that automatically prepares ERB templates for internationalization. See https://textractor.snootysoftware.com for more information.
4
+
5
+ ### Step 1. Install our open source client
6
+
7
+ It's as simple as running:
8
+
9
+ `gem install textractor-cli`
10
+
11
+ ### Step 2. Configure your license key
12
+
13
+ Create a file `.textractor.rc` in your home directory, with the following content:
14
+
15
+ ```
16
+ ---
17
+ license-key: foo
18
+
19
+ ```
20
+
21
+ Replace "foo" with your license key.
22
+
23
+ ### Step 3. Extract string literals!
24
+
25
+ To extract literals, run the following in your Rails project root:
26
+
27
+ `textractor`
28
+
29
+ This will convert your files to their translation-ready versions and add the original strings to your locale/en.yml file. To be safe, make sure to commit them to version control first.
30
+
31
+ By default, textractor will create Rails-compatible `t('.foo')` calls and add the string literals using the Rails standard structure. You can override these settings using command-line arguments. Scroll down for more information.
32
+
33
+ ### Example
34
+
35
+
36
+ ```
37
+ $ cd myrailsproject
38
+ $ cat app/views/foo/index.html.erb
39
+ Hello World
40
+
41
+ $ cat config/locales/en.yml
42
+ ---
43
+ en:
44
+
45
+ $ textractor
46
+ Processing...
47
+
48
+ Processed 1 templates in total.
49
+ Total errors: 0
50
+ Total amount of string literals prepared for translation: 1
51
+
52
+ $ cat app/views/foo/index.html.erb
53
+ t('.hello_world')
54
+
55
+ $ cat config/locales/en.yml
56
+ ---
57
+ en:
58
+ foo:
59
+ index:
60
+ hello_world: Hello World
61
+ ```
62
+
63
+ ### More options
64
+
65
+ `textractor --dry-run` can be used to find out how many credits your project requires.
66
+
67
+ `textractor --template-pattern` can be used to set the Dir.glob which determines which ERB files will be processed. Our default pattern is made for Rails projects: `app/views/**/*.html.erb`
68
+
69
+ `textractor --locale-path` determines which locale file will be updated with the original strings. The default is the English language for Rails: `config/locales/en.yml`
70
+
71
+ `textractor --absolute-keys` forces the keys in `t()` calls to be absolute: `t('foo.index.hello_world')` instead of `t('.hello_world')`
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = textractor-cli - DESCRIBE YOUR GEM
2
+
3
+ Author:: YOUR NAME (YOUR EMAIL)
4
+ Copyright:: Copyright (c) 2017 YOUR NAME
5
+
6
+
7
+ DESCRIBE YOUR GEM HERE
8
+
9
+ == Links
10
+
11
+ * {Source on Github}[LINK TO GITHUB]
12
+ * RDoc[LINK TO RDOC.INFO]
13
+
14
+ == Install
15
+
16
+ == Examples
17
+
18
+ == Contributing
19
+
data/Rakefile ADDED
@@ -0,0 +1,61 @@
1
+ def dump_load_path
2
+ puts $LOAD_PATH.join("\n")
3
+ found = nil
4
+ $LOAD_PATH.each do |path|
5
+ if File.exists?(File.join(path,"rspec"))
6
+ puts "Found rspec in #{path}"
7
+ if File.exists?(File.join(path,"rspec","core"))
8
+ puts "Found core"
9
+ if File.exists?(File.join(path,"rspec","core","rake_task"))
10
+ puts "Found rake_task"
11
+ found = path
12
+ else
13
+ puts "!! no rake_task"
14
+ end
15
+ else
16
+ puts "!!! no core"
17
+ end
18
+ end
19
+ end
20
+ if found.nil?
21
+ puts "Didn't find rspec/core/rake_task anywhere"
22
+ else
23
+ puts "Found in #{path}"
24
+ end
25
+ end
26
+ require 'bundler'
27
+ require 'rake/clean'
28
+
29
+ require 'rake/testtask'
30
+
31
+ require 'cucumber'
32
+ require 'cucumber/rake/task'
33
+ gem 'rdoc' # we need the installed RDoc gem, not the system one
34
+ require 'rdoc/task'
35
+
36
+ include Rake::DSL
37
+
38
+ Bundler::GemHelper.install_tasks
39
+
40
+
41
+ Rake::TestTask.new do |t|
42
+ t.pattern = 'test/tc_*.rb'
43
+ end
44
+
45
+
46
+ CUKE_RESULTS = 'results.html'
47
+ CLEAN << CUKE_RESULTS
48
+ Cucumber::Rake::Task.new(:features) do |t|
49
+ t.cucumber_opts = "features --format pretty --no-source -x"
50
+ t.fork = false
51
+ end
52
+
53
+ Rake::RDocTask.new do |rd|
54
+
55
+ rd.main = "README.rdoc"
56
+
57
+ rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
58
+ end
59
+
60
+ task :default => [:test,:features]
61
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "textractor/cli"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bin/textractor ADDED
@@ -0,0 +1,113 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 'methadone'
5
+ require 'textractor/cli.rb'
6
+ require 'rest-client'
7
+ require 'json'
8
+
9
+ class App
10
+ include Methadone::Main
11
+ include Methadone::CLILogging
12
+
13
+ main do
14
+ locale_file = options['locale-path']
15
+ exit_now!(1, "Error: could not find a locale file at: #{locale_file}") unless File.exist?(locale_file)
16
+
17
+ url = ENV['API_BASE_URL'] || "https://textractor.snootysoftware.com"
18
+ url += options['dry-run'] ? "/quote" : '/textract'
19
+ payload = {}
20
+ glob = File.join(options['templates-path'], options['templates-pattern'])
21
+
22
+ key = options['license-key'] || ENV['TEXTRACTOR_API_KEY']
23
+ unless key
24
+ exit_now!(1,"No license key found. Use --licence-key flag, ~/.textractor.rc or TEXTRACTOR_API_KEY environment variable. Visit https://textractor.snootysoftware.com to order one.")
25
+ end
26
+
27
+ headers = {
28
+ 'X-Auth-Token' => key
29
+ }
30
+
31
+ result = {}
32
+ result["textract_calls"] = 0 if options['dry-run']
33
+ Dir[glob].each do |f|
34
+ puts "Processing #{f}..."
35
+ payload = {}
36
+ payload["name"] = f
37
+ payload["template"] = File.read(f)
38
+ payload[:absolute_keys] = true if options['absolute-keys']
39
+ response = RestClient.post(url, payload.to_json, headers)
40
+ response = JSON.parse(response)
41
+ if options['dry-run']
42
+ result["current_credits"] = response['current_credits']
43
+ result["textract_calls"] += response['textract_calls']
44
+ else
45
+ response.each do |k,v|
46
+ result[k] = v
47
+ end
48
+ end
49
+ end
50
+
51
+ if options['dry-run']
52
+ puts "Amount of templates to be processed: #{Dir[glob].size}"
53
+ puts "Amount of t() calls: #{result["textract_calls"]}"
54
+ puts "Current credits: #{result["current_credits"]}"
55
+ credits_after_textract = result["current_credits"] - result["textract_calls"]
56
+ puts "Credits after textract: #{credits_after_textract}"
57
+ else
58
+ locale = YAML.load_file(locale_file)
59
+ locale['en'] ||= {}
60
+
61
+ total_calls = 0
62
+ total_errors = 0
63
+ result.each do |k,v|
64
+ raise "unexpected path \"#{k}\" in result!" unless Dir[glob].include?(k)
65
+ File.write(k, v["result"]) unless v["error"]
66
+ key = k.sub(options['templates-path'],'')
67
+ .sub(/^\//,'')
68
+ .sub(/(\.html)?\.erb/,'').split('/')
69
+
70
+ tmp = locale['en']
71
+ key.each do |part|
72
+ tmp[part] ||= {}
73
+ tmp = tmp[part]
74
+ end
75
+ (v["locale"] || {}).each {|kk,vv| tmp[kk] = vv }
76
+ if v["error"]
77
+ puts "\n Error processing \"#{k}\": #{v["error"]}"
78
+ total_errors += 1
79
+ else
80
+ total_calls += v["textract_calls"]
81
+ end
82
+ end
83
+ File.write(locale_file, YAML.dump(locale))
84
+ puts "\n"
85
+ puts "Processed #{Dir[glob].size} templates in total."
86
+ puts "Total errors: #{total_errors}"
87
+ puts "Total amount of string literals prepared for translation: #{total_calls}"
88
+ end
89
+ end
90
+
91
+ options['templates-pattern'] = "**/*.html.erb"
92
+ on("--templates-pattern PATTERN", "Dir.glob() pattern used to match templates filenames")
93
+
94
+ options['templates-path'] = "app/views"
95
+ on("--templates-path PATH", "Template path")
96
+
97
+ options['locale-path'] = "config/locales/en.yml"
98
+ on("--locale-path PATH", "Path of target YAML locale file")
99
+
100
+ on("--absolute-keys", "Generate `t('posts.index.title')` rather than `t('.title')`)")
101
+
102
+ on("--dry-run", "Get statistics and cost estimate from server without processing")
103
+
104
+ on("--license-key KEY", "Get your key at https://textractor.snootysoftware.com")
105
+
106
+ defaults_from_config_file '.textractor.rc'
107
+
108
+ version Textractor::Cli::VERSION
109
+
110
+ use_log_level_option :toggle_debug_on_signal => 'USR1'
111
+
112
+ go!
113
+ end
@@ -0,0 +1,7 @@
1
+ require "textractor/cli/version"
2
+
3
+ module Textractor
4
+ module Cli
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Textractor
2
+ module Cli
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'textractor/cli/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "textractor-cli"
8
+ spec.license = ""
9
+ spec.version = Textractor::Cli::VERSION
10
+ spec.authors = ["Lucas & Joachim"]
11
+ spec.email = ["info@snootysoftware.com"]
12
+
13
+ spec.summary = %q{Command line tool for the Textractor service.}
14
+ spec.homepage = "https://github.com/snootysoftware/textractor-cli"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "bin"
29
+ spec.executables = ["textractor"]
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.14"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency('rdoc')
35
+ spec.add_development_dependency('aruba')
36
+ spec.add_development_dependency('pry')
37
+ spec.add_development_dependency('pry-remote')
38
+ spec.add_dependency('rest-client')
39
+ spec.add_dependency('methadone', '~> 1.9.5')
40
+ spec.add_development_dependency('test-unit')
41
+ end
metadata ADDED
@@ -0,0 +1,185 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: textractor-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Lucas & Joachim
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-09-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
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: aruba
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-remote
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: rest-client
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: methadone
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.9.5
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.9.5
125
+ - !ruby/object:Gem::Dependency
126
+ name: test-unit
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description:
140
+ email:
141
+ - info@snootysoftware.com
142
+ executables:
143
+ - textractor
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - Gemfile
149
+ - Gemfile.lock
150
+ - LICENSE
151
+ - README.md
152
+ - README.rdoc
153
+ - Rakefile
154
+ - bin/console
155
+ - bin/setup
156
+ - bin/textractor
157
+ - lib/textractor/cli.rb
158
+ - lib/textractor/cli/version.rb
159
+ - textractor-cli.gemspec
160
+ homepage: https://github.com/snootysoftware/textractor-cli
161
+ licenses:
162
+ - ''
163
+ metadata:
164
+ allowed_push_host: https://rubygems.org
165
+ post_install_message:
166
+ rdoc_options: []
167
+ require_paths:
168
+ - lib
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ requirements: []
180
+ rubyforge_project:
181
+ rubygems_version: 2.6.13
182
+ signing_key:
183
+ specification_version: 4
184
+ summary: Command line tool for the Textractor service.
185
+ test_files: []