typingpool 0.8.14 → 0.8.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tp-assign +2 -2
- data/bin/tp-collect +2 -2
- data/bin/tp-finish +2 -2
- data/bin/tp-make +6 -4
- data/bin/tp-review +2 -2
- data/lib/typingpool/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 666b74cdcb9b788d0d1f63581b755d6fc2ec505f
|
4
|
+
data.tar.gz: 51ead2e3bb6ef11dce897e778f09c069931575e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa465fbd0970b1080678d2436198a41db888602ca0789db85e2232407622b6423bcd4339c47e0f9ca1dcc466bea10c00d71fd4d9b1feb037e49d3a30780c324
|
7
|
+
data.tar.gz: f6dbf72ad8cb91654c517e8e4edcebf811c27ac2a3cf5bf7e561918f664fce370ab930d5028355853ee87deb956deec8c45772ac5838fb5acbf2b76fe672215e
|
data/bin/tp-assign
CHANGED
@@ -2,11 +2,9 @@
|
|
2
2
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'typingpool'
|
5
|
-
require 'typingpool/utility/test'
|
6
5
|
require 'highline/import'
|
7
6
|
include Typingpool::App::FriendlyExceptions
|
8
7
|
include Typingpool::App::CLI::Formatter
|
9
|
-
include Typingpool::Utility::Test
|
10
8
|
|
11
9
|
options = {
|
12
10
|
:keyword => [],
|
@@ -215,6 +213,8 @@ STDERR.puts "#{needed_assignments.count} assignments to assign"
|
|
215
213
|
Typingpool::Amazon.setup(:sandbox => options[:sandbox], :config => config)
|
216
214
|
|
217
215
|
if options[:fixture]
|
216
|
+
require 'typingpool/utility/test'
|
217
|
+
include Typingpool::Utility::Test
|
218
218
|
vcr_load(options[:fixture], config, not(options[:fixturerecord]), {
|
219
219
|
:preserve_exact_body_bytes => true,
|
220
220
|
:match_requests_on => [:method, vcr_core_host_matcher]
|
data/bin/tp-collect
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'typingpool'
|
4
4
|
require 'optparse'
|
5
|
-
require 'typingpool/utility/test'
|
6
|
-
include Typingpool::Utility::Test
|
7
5
|
|
8
6
|
options = {}
|
9
7
|
OptionParser.new do |commands|
|
@@ -40,6 +38,8 @@ end.parse!
|
|
40
38
|
config = Typingpool::App::CLI.config_from_arg(options[:config]) or abort "No config file at '#{options[:config]}'"
|
41
39
|
|
42
40
|
if options[:fixture]
|
41
|
+
require 'typingpool/utility/test'
|
42
|
+
include Typingpool::Utility::Test
|
43
43
|
vcr_load(options[:fixture], config, not(options[:fixturerecord]), {
|
44
44
|
|
45
45
|
})
|
data/bin/tp-finish
CHANGED
@@ -3,11 +3,9 @@
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'typingpool'
|
5
5
|
require 'fileutils'
|
6
|
-
require 'typingpool/utility/test/script'
|
7
6
|
require 'typingpool/app/cli/formatter'
|
8
7
|
require 'highline/import'
|
9
8
|
|
10
|
-
include Typingpool::Utility::Test::Script
|
11
9
|
include Typingpool::App::CLI::Formatter
|
12
10
|
|
13
11
|
options = {}
|
@@ -78,6 +76,8 @@ end
|
|
78
76
|
|
79
77
|
Typingpool::Amazon.setup(:sandbox => options[:sandbox], :config => config)
|
80
78
|
if options[:fixture]
|
79
|
+
require 'typingpool/utility/test/script'
|
80
|
+
include Typingpool::Utility::Test::Script
|
81
81
|
vcr_load(options[:fixture], config, not(options[:fixturerecord]), {
|
82
82
|
:preserve_exact_body_bytes => true,
|
83
83
|
:match_requests_on => [:method, vcr_core_host_matcher]
|
data/bin/tp-make
CHANGED
@@ -2,12 +2,10 @@
|
|
2
2
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'typingpool'
|
5
|
-
require 'typingpool/utility/test'
|
6
5
|
require 'fileutils'
|
7
6
|
require 'tempfile'
|
8
7
|
require 'tmpdir'
|
9
8
|
include Typingpool::App::FriendlyExceptions
|
10
|
-
include Typingpool::Utility::Test
|
11
9
|
|
12
10
|
options = {
|
13
11
|
:files => [],
|
@@ -195,10 +193,14 @@ else
|
|
195
193
|
end #if project.local
|
196
194
|
|
197
195
|
unless options[:noupload]
|
198
|
-
|
196
|
+
if options[:fixture]
|
197
|
+
require 'typingpool/utility/test'
|
198
|
+
include Typingpool::Utility::Test
|
199
|
+
vcr_load(options[:fixture], config, not(options[:fixturerecord]), {
|
199
200
|
:preserve_exact_body_bytes => true,
|
200
201
|
:match_requests_on => [:method, vcr_core_host_matcher]
|
201
|
-
|
202
|
+
})
|
203
|
+
end
|
202
204
|
Typingpool::App.upload_audio_for_project(project) do |file, as|
|
203
205
|
STDERR.puts "Uploading #{File.basename(file)} to #{project.remote.host}/#{project.remote.path} as #{as}"
|
204
206
|
end
|
data/bin/tp-review
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'typingpool'
|
4
|
-
require 'typingpool/utility/test'
|
5
4
|
require 'highline/import'
|
6
5
|
require 'optparse'
|
7
6
|
include Typingpool::App::CLI::Formatter
|
8
|
-
include Typingpool::Utility::Test
|
9
7
|
|
10
8
|
options = {}
|
11
9
|
OptionParser.new do |commands|
|
@@ -64,6 +62,8 @@ if options[:project]
|
|
64
62
|
end
|
65
63
|
|
66
64
|
if options[:fixture]
|
65
|
+
require 'typingpool/utility/test'
|
66
|
+
include Typingpool::Utility::Test
|
67
67
|
vcr_load(options[:fixture], config, not(options[:fixturerecord]))
|
68
68
|
at_exit{ vcr_stop }
|
69
69
|
end
|
data/lib/typingpool/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typingpool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rturk
|