iron_worker_ng 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,9 +257,6 @@ RUNNER
257
257
  builder = IronWorkerNG::Code::Builder.new
258
258
  builder.builder_remote_build_command = @remote_build_command
259
259
 
260
- builder.gem('iron_worker_ng')
261
- builder.fixate
262
-
263
260
  builder.bundle(container, local)
264
261
 
265
262
  container.get_output_stream(@name + '.worker') do |wf|
@@ -38,12 +38,14 @@ BUILDER_SH
38
38
 
39
39
  require 'json'
40
40
 
41
- require 'iron_worker_ng'
42
-
43
41
  File.open('.gemrc', 'w') do |gemrc|
44
42
  gemrc.puts('gem: --no-ri --no-rdoc')
45
43
  end
46
44
 
45
+ puts `gem install iron_worker_ng -v #{IronWorkerNG::VERSION}`
46
+
47
+ require 'iron_worker_ng'
48
+
47
49
  IronWorkerNG::Feature::Ruby::MergeGem.merge_binary = true
48
50
 
49
51
  code = IronWorkerNG::Code::Base.new(params[:code_name])
@@ -23,8 +23,8 @@ module IronWorkerNG
23
23
  def get_output_stream(dest, &block)
24
24
  end
25
25
 
26
- def commit
27
- end
26
+ def commit
27
+ end
28
28
 
29
29
  def close
30
30
  end
@@ -17,9 +17,9 @@ module IronWorkerNG
17
17
  @zip.add(clear_dest(dest), src)
18
18
  end
19
19
 
20
- def commit
20
+ def commit
21
21
  @zip.commit
22
- end
22
+ end
23
23
 
24
24
  def get_output_stream(dest, &block)
25
25
  @zip.get_output_stream(clear_dest(dest), &block)
@@ -91,7 +91,7 @@ RUBY_RUNNER
91
91
 
92
92
  def runtime_run_code(local = false)
93
93
  <<RUN_CODE
94
- #{local ? 'GEM_PATH="" ' : ''}ruby __runner__.rb "$@"
94
+ ruby __runner__.rb "$@"
95
95
  RUN_CODE
96
96
  end
97
97
 
@@ -1,5 +1,5 @@
1
1
  module IronWorkerNG
2
- VERSION = '0.13.0'
2
+ VERSION = '0.13.1'
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_worker_ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-16 00:00:00.000000000 Z
13
+ date: 2012-11-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: iron_core