wwtd 1.0.0 → 1.1.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 +4 -4
- data/lib/wwtd.rb +3 -0
- data/lib/wwtd/cli.rb +1 -0
- data/lib/wwtd/tasks.rb +5 -0
- data/lib/wwtd/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: 690e312192f7e16a4a3007c66dc9536f8c13bb0f
|
4
|
+
data.tar.gz: 2724662c56add076787e8d7bbd2ce53735a14615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1153342090ef7a984dd74cd737ed1bba735e1ca9589785f7df7577edd2248fb7ab83e0b43d70df6e5077a463bd4ac0b44d5e6f4bdf548475329ac3931e2c7ba5
|
7
|
+
data.tar.gz: 2afecc923a4da66265829570484e120f00b80015fcff302e6f7dba647df82cdbffefacb9e10f9ca991ae068a55fd257db173235ac4470dcc02742b22f7d33c56
|
data/lib/wwtd.rb
CHANGED
@@ -45,6 +45,9 @@ module WWTD
|
|
45
45
|
# set env as parallel_tests does to reuse existing infrastructure
|
46
46
|
env = {}
|
47
47
|
env["TEST_ENV_NUMBER"] = (i == 0 ? "" : (i + 1).to_s) if options[:parallel]
|
48
|
+
if options[:only_bundle]
|
49
|
+
config['script'] = '# only bundle'
|
50
|
+
end
|
48
51
|
Run.new(config, env, lock).execute(&block)
|
49
52
|
end
|
50
53
|
end
|
data/lib/wwtd/cli.rb
CHANGED
@@ -74,6 +74,7 @@ module WWTD
|
|
74
74
|
opts.on("-l", "--local", "Ignore rvm options / only run on current ruby") { options[:ignore] << "rvm" }
|
75
75
|
opts.on("-i", "--ignore FIELDS", String, "Ignore selected travis fields like rvm/gemfile/matrix/...") { |fields| options[:ignore] += fields.split(",") }
|
76
76
|
opts.on("-p", "--parallel [COUNT]", Integer, "Run in parallel") { |c| options[:parallel] = c || 4 }
|
77
|
+
opts.on("-o", "--only-bundle", "Only bundle, do not run anything") { options[:only_bundle] = true }
|
77
78
|
opts.on("-h", "--help", "Show this.") { puts opts; exit }
|
78
79
|
opts.on("-v", "--version", "Show Version"){ puts WWTD::VERSION; exit}
|
79
80
|
end.parse!(argv)
|
data/lib/wwtd/tasks.rb
CHANGED
data/lib/wwtd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwtd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|