cirun 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: fd8ecdd93dccb30d8df814513f9da3b23c62db88
4
- data.tar.gz: 19979a5dd18aa117a038549c1e6e5e0a3841372a
3
+ metadata.gz: 624454c37320fadbdb238430add09765ac7666cd
4
+ data.tar.gz: 61fb648b064d93be9ef0930d14f7556d930f4461
5
5
  SHA512:
6
- metadata.gz: 0bc0b6bb5b0e72e96a65dda249a571042bbddc86840b9ede4287ae3d1334be5299eee0f62a5a9a20576891b228bd9646267fa99b6d52314e9b13c57051d95096
7
- data.tar.gz: 99d01c30adcbde2af3484504607a7f85221e9debab0e8f10b0564fd745548f2151effb9c6b9fbd4e5c231b0c6094211331d3f9ae055d42f522b68a6cdd597695
6
+ metadata.gz: 4d70f38b743e11943a5c3ecd11ba056b77f04ca0d1c16835672177b5f24630d8184cf2d169d02084f7022a768f7d096984fbbe5a35f3879d70bf78c53904e69d
7
+ data.tar.gz: 21b334498ea55bae3aefbf5797813cff7105f3944a4db3accae6b33cac4fd209fe1b319874ae82c4d656ae77933c87a5e9170da1db4a01869dbc72a9313cf7f0
data/lib/cirun/runner.rb CHANGED
@@ -6,7 +6,7 @@ module Cirun
6
6
 
7
7
  def run
8
8
  ruby_short = @opts.ruby.split('-').first
9
- cmd = "docker run -t -i --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --env CODEPATH=/plugin --mount type=bind,source=#{`pwd`.chomp},target=/var/www/ruby-#{ruby_short}/redmine-#{@opts.redmine}/plugins/#{@opts.plugin} redmineup/#{@opts.plugin} /root/run_local.sh"
9
+ cmd = "docker run -t -i --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --env CODEPATH=/plugin --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"
10
10
  puts "Running:\n#{cmd}"
11
11
  %x[ #{cmd} ]
12
12
  end
data/lib/cirun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cirun
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Malyshev