cirun 0.1.7 → 0.1.8

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: e13f9bfd96d3ad85dfe1b3abf7e068ab3b1fe89b
4
- data.tar.gz: 56db4aa370925087f19d40002e5ff2d9735879df
3
+ metadata.gz: 12700777ed9dad1f737f23e3a2a6963b0184f375
4
+ data.tar.gz: a1365b1dfbc6a33aa33c07bb057048c59eae0c01
5
5
  SHA512:
6
- metadata.gz: 5afb917ba5ad2205ed2248ec142db3ce24e6c30a925bb2a66b94a835210efc0e67ecb7c6bc50bebc82f8afe1f0a309ed551c82015195eb3d2f335e8835374e9c
7
- data.tar.gz: e3d39c21c11a1024425ededfaf89228d8a2f312a3bbf28d45e96c2780b7295f49fa554719153fd92f99fdf16c1b0ffe7b73de24c602a80df4f5f8fc46ec6e429
6
+ metadata.gz: 8e174e5a7a2b6b8c246d0d58256e6f21834a3d10cc9caea7d1f8983f024c6280184a35f9199333f3add6d7c459bd83f8f8ab3ac81025cbbd38d4526e7f12b47d
7
+ data.tar.gz: f318917026a2fb8810d9c6b3661f6bf60943a9de97a84adcc62fc28030fb9b43272d15e9d956f43a232c51f70911fdba5b320dd4901636880c368e5f8013aabf
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 --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"
9
+ cmd = "docker -t run --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.7'.freeze
2
+ VERSION = '0.1.8'.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.7
4
+ version: 0.1.8
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-02-20 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler