Skip to content

Commit 9658f50

Browse files
committed
Change config version from 0.2 to 0.3
1 parent f36464c commit 9658f50

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,18 @@ Run `matrixeval --help` for more details
5252
Here is the configuration file `matrixeval.yml` which will auto created by `matrixeval init`
5353

5454
```yaml
55-
version: 0.2
55+
version: 0.3
56+
project_name: REPLACE_ME
5657
target: ruby
5758
parallel_workers: number_of_processors
5859
# commands:
5960
# - ps
6061
# - top
6162
# - an_additional_command
63+
# mounts:
64+
# - /a/path/need/to/mount:/a/path/mount/to
6265
matrix:
6366
ruby:
64-
# mounts:
65-
# - /a/path/need/to/mount:/a/path/mount/to
6667
variants:
6768
- key: 2.7
6869
container:
@@ -77,8 +78,10 @@ matrix:
7778
# - key: jruby-9.3
7879
# container:
7980
# image: jruby:9.3
80-
# env:
81+
# env:
8182
# PATH: "/opt/jruby/bin:/app/bin:/bundle/bin:$PATH"
83+
# mounts:
84+
# - /a/path/need/to/mount:/a/path/mount/to
8285

8386
# rails:
8487
# variants:

test/matrixeval/ruby/command_line/parse_context_arguments_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Matrixeval::Ruby::CommandLine::ParseContextArgumentsTest < MatrixevalTest
66

77
def setup
88
Matrixeval::Ruby::Config::YAML.stubs(:yaml).returns({
9-
"version" => "0.2",
9+
"version" => "0.3",
1010
"target" => "ruby",
1111
"matrix" => {
1212
"ruby" => {

test/matrixeval/ruby/config/yaml_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_not_delete_exising_dot_matrixeval_yaml
2929

3030
def test_square_brackets
3131
yaml_content = {
32-
"version" => "0.2",
32+
"version" => "0.3",
3333
"target" => "ruby",
3434
"matrix" => {
3535
"ruby" => {
@@ -47,7 +47,7 @@ def test_square_brackets
4747
}
4848
}
4949
Matrixeval::Ruby::Config::YAML.stubs(:yaml).returns(yaml_content)
50-
assert_equal "0.2", Matrixeval::Ruby::Config::YAML["version"]
50+
assert_equal "0.3", Matrixeval::Ruby::Config::YAML["version"]
5151
assert_equal "ruby", Matrixeval::Ruby::Config::YAML["target"]
5252
assert_equal "3.0", Matrixeval::Ruby::Config::YAML["matrix"]["ruby"]["variants"][0]["key"]
5353
assert_equal "3.1", Matrixeval::Ruby::Config::YAML["matrix"]["ruby"]["variants"][1]["key"]

test/matrixeval/ruby/config_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Matrixeval::Ruby::ConfigTest < MatrixevalTest
66

77
def setup
88
Matrixeval::Ruby::Config::YAML.stubs(:yaml).returns({
9-
"version" => "0.2",
9+
"version" => "0.3",
1010
"target" => "ruby",
1111
"project_name" => "sample app",
1212
"mounts" => ["/a:/b"],
@@ -37,7 +37,7 @@ def setup
3737
end
3838

3939
def test_version
40-
assert_equal "0.2", Matrixeval::Ruby::Config.version
40+
assert_equal "0.3", Matrixeval::Ruby::Config.version
4141
end
4242

4343
def test_target

test/matrixeval/ruby/context/find_by_command_options_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Matrixeval::Ruby::Context::FindByCommandOptionsTest < MatrixevalTest
66

77
def setup
88
Matrixeval::Ruby::Config::YAML.stubs(:yaml).returns({
9-
"version" => "0.2",
9+
"version" => "0.3",
1010
"target" => "ruby",
1111
"matrix" => {
1212
"ruby" => {

0 commit comments

Comments
 (0)