iron_worker_ng 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iron_worker_ng/api_client.rb +1 -1
- data/lib/iron_worker_ng/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e05fba94c244c330677ea73eb47f9bebb6a13fc
|
4
|
+
data.tar.gz: 2734d9461fbdf1d62590215151a0b4c25b6342b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf078e2385a5fa1bfb7f76eb7076bc57fec3363190479b6db05d5c81edfaa4dcc51db051d94835aa15276a2a2dd3d3e97e81d4c09fd218ba831850add9f87aa
|
7
|
+
data.tar.gz: 7c0fa93c0005ba9b8010ec3e9ae499a8bea32a76c18f62ffaa2d2c76ee39ddb232f29503c526440e95057dd3b50994c5f52cecc7f4f88655e2283c6cc65544c1
|
@@ -48,7 +48,7 @@ module IronWorkerNG
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def codes_create(name, file, runtime, runner, options)
|
51
|
-
file_instance = file.to_s.strip ==
|
51
|
+
file_instance = file.to_s.strip == '' ? '' : File.new(file, 'rb')
|
52
52
|
options = {:name => name, :runtime => runtime, :file_name => runner}.merge(options)
|
53
53
|
parse_response(post_file("projects/#{@project_id}/codes", :file, file_instance, :data, options))
|
54
54
|
end
|
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: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kirilenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: iron_core
|