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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf537861dc7184ca98ce356e76152d47064aa3cd
4
- data.tar.gz: 37acb00f4c564f6845ec5f2f6e8e3ab263e00cf3
3
+ metadata.gz: 690e312192f7e16a4a3007c66dc9536f8c13bb0f
4
+ data.tar.gz: 2724662c56add076787e8d7bbd2ce53735a14615
5
5
  SHA512:
6
- metadata.gz: 53981dcd96aa7711abac7c225873105c3c6c2888772e86a1f3ea2805935f448b03626bbc6cf3eddbb22ce093b716a8c03c138f70b71b1c825832d27b5f53df73
7
- data.tar.gz: 79ae09858f0d860ca346993bad33ecaa1392207f6e986a0a67e77f22be16ba4983e8adba9dbb2c0bdcf3da63d4fc3384ca0b8458e751461b6cd28fc6798376d7
6
+ metadata.gz: 1153342090ef7a984dd74cd737ed1bba735e1ca9589785f7df7577edd2248fb7ab83e0b43d70df6e5077a463bd4ac0b44d5e6f4bdf548475329ac3931e2c7ba5
7
+ data.tar.gz: 2afecc923a4da66265829570484e120f00b80015fcff302e6f7dba647df82cdbffefacb9e10f9ca991ae068a55fd257db173235ac4470dcc02742b22f7d33c56
@@ -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
@@ -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)
@@ -16,4 +16,9 @@ namespace :wwtd do
16
16
  task :local do
17
17
  run_wwtd.call(["--ignore", "rvm"])
18
18
  end
19
+
20
+ desc "bundle for all combinations"
21
+ task :bundle do
22
+ run_wwtd.call(["--only-bundle"])
23
+ end
19
24
  end
@@ -1,3 +1,3 @@
1
1
  module WWTD
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
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.0.0
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-08-23 00:00:00.000000000 Z
11
+ date: 2015-09-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it