matrixeval-ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/README.md +4 -7
- data/lib/matrixeval/ruby/runner.rb +6 -2
- data/lib/matrixeval/ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd932a09eb30fdf342cc0596af3e6cd82496deaa0af2746bdc79a06b1c85911
|
4
|
+
data.tar.gz: b13ef75ed283407d0d3e9ac50f0d0053a81a39dbcab737183e6886b9caf34a99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8593994584983cde95650942a8ca0479c58412ecdccaddb2ab4aa31f378544f46fead1f05d9e12f33f405b68aeb8d5fdf4017059e39f81c22a8d494d89619e6
|
7
|
+
data.tar.gz: b83de57cc53b6b3a35dd86e0fd4196218a900219af7868b3870feff925db05a0c6fe6c0820cbef94903dac4c186684ac13d897a31ce75a612149d945f5cf31eb
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,6 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/matrixeval/ruby`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
1
|
+
# matrixeval-ruby
|
6
2
|
|
3
|
+
Test your ruby code against multiple versions of dependencies like Ruby, Rails, Env ...
|
7
4
|
## Installation
|
8
5
|
|
9
6
|
Add this line to your application's Gemfile:
|
@@ -32,7 +29,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
29
|
|
33
30
|
## Contributing
|
34
31
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
32
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/matrixeval/matrixeval-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/matrixeval-ruby/blob/main/CODE_OF_CONDUCT.md).
|
36
33
|
|
37
34
|
## License
|
38
35
|
|
@@ -40,4 +37,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
37
|
|
41
38
|
## Code of Conduct
|
42
39
|
|
43
|
-
Everyone interacting in the Matrixeval::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
40
|
+
Everyone interacting in the Matrixeval::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/matrixeval/matrixeval-ruby/blob/main/CODE_OF_CONDUCT.md).
|
@@ -62,7 +62,7 @@ module Matrixeval
|
|
62
62
|
docker_compose = DockerCompose.new(context)
|
63
63
|
success = docker_compose.run(command.rest_arguments)
|
64
64
|
|
65
|
-
matrixeval_results << [context, !!success]
|
65
|
+
self.matrixeval_results << [context, !!success]
|
66
66
|
end
|
67
67
|
|
68
68
|
report
|
@@ -132,7 +132,7 @@ module Matrixeval
|
|
132
132
|
threads.each(&:join)
|
133
133
|
|
134
134
|
threads.each do |thread|
|
135
|
-
matrixeval_results += thread[:matrixeval_results]
|
135
|
+
self.matrixeval_results += thread[:matrixeval_results]
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
@@ -144,6 +144,10 @@ module Matrixeval
|
|
144
144
|
@matrixeval_results ||= []
|
145
145
|
end
|
146
146
|
|
147
|
+
def matrixeval_results=(results)
|
148
|
+
@matrixeval_results = results
|
149
|
+
end
|
150
|
+
|
147
151
|
def workers_count
|
148
152
|
count = if Config.parallel_workers == "number_of_processors"
|
149
153
|
Concurrent.physical_processor_count
|