cirun 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c766c48cbfaec0b0a3dc4605c2beeebc7d3f4a8b9e69724d95cbdb7209e18789
4
- data.tar.gz: 7ac7892633f14c9e9e651b723ab606f85ae198f058798c993b2a54e8a7bf1680
3
+ metadata.gz: 24f4d3499a87637b7b04f45a97fd7c85f3449098bc3a386e9c15a110ecbc715b
4
+ data.tar.gz: 006d525425e8deaaf9041c3b95c6c6f66f6016bbfdb84b7d30ecb20dc8a8d4b1
5
5
  SHA512:
6
- metadata.gz: 9c37f389f59035635404ccd9223c9df97dd0bba082b911116b910dc0274b302731b3727a3f7b83e93ea40d9575f932b4ead17d51090430a1cdf34e1663103741
7
- data.tar.gz: 91080c12792f8cbf8062ad278ff69c88c57b6a5608488784cd793a5d28fa784a0aedad741633de04e2962bfab942c987abb5e113c78c1fd03a0238a9b945db49
6
+ metadata.gz: 0f55269cda1daf336bb64f7d0e9b0f708369b3e401d0014ac76a5616c0840f757317ca876bae06d7676338266c59e0dae0da44b51621dbe1d55209ea80de8eb5
7
+ data.tar.gz: 4fd7104df5e8cf66f1d865ccd9bc5cc76c0028b3c188c326e841bff3c9735a969f2857803e6d47c6ff61f47f5b981be49a98b17c458bebff085e2997b3af72e7
data/lib/cirun/runner.rb CHANGED
@@ -15,7 +15,7 @@ module Cirun
15
15
  def run
16
16
  update_image
17
17
  ruby_short = @opts.ruby.split('-').first
18
- cmd = "docker run -t --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --mount type=bind,source=#{`pwd`.chomp},target=/var/www/ruby-#{ruby_short}/#{@opts.database}/redmine-#{@opts.redmine}/plugins/#{@opts.plugin} redmineup/#{@opts.plugin} /root/run_local.sh"
18
+ cmd = "docker run -it --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --mount type=bind,source=#{`pwd`.chomp},target=/var/www/ruby-#{ruby_short}/#{@opts.database}/redmine-#{@opts.redmine}/plugins/#{@opts.plugin} redmineup/#{@opts.plugin} /root/run_local.sh"
19
19
  execute(cmd)
20
20
  end
21
21
 
data/lib/cirun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cirun
2
- VERSION = '0.1.15'.freeze
2
+ VERSION = '0.1.16'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Malyshev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-14 00:00:00.000000000 Z
11
+ date: 2018-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.7.3
81
+ rubygems_version: 2.7.6
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: This gem allows fast launch tests against specific redmine/ruby/db combo