iron_worker 2.3.17 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -21
- data/lib/iron_worker/service.rb +3 -3
- data/lib/iron_worker/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc6a63e26def5d0fb3fbfc5482fffc0bce5277c9
|
4
|
+
data.tar.gz: 7524dbdde350d15a946c98ebdac33b83eab44a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b17e0ec48458c89cda8e1b8e5f6506c6e83e867f7a689373ef437619cfb9e83fe54c068690510cbe5ffc43b773dbfffcd0f3ef3dd2d9b20c9a48a4ca1ca90a
|
7
|
+
data.tar.gz: 9c19fa80dd7d75da1c450d40233b65872abc12d1c635f12bc5e748dbdf40e72d4e9e4163ff79952615bb4eadbb3daa2c4332181d694669685e66170e3f6af5d2
|
data/Rakefile
CHANGED
@@ -1,26 +1,5 @@
|
|
1
|
-
#require "rubygems"
|
2
|
-
#require "bundler/setup"
|
3
|
-
|
4
1
|
require 'rake/dsl_definition' # temporary I think?
|
5
2
|
require 'rake/testtask'
|
6
|
-
require 'jeweler2'
|
7
|
-
|
8
|
-
Jeweler::Tasks.new do |gemspec|
|
9
|
-
gemspec.name = "iron_worker"
|
10
|
-
gemspec.summary = "The official IronWorker gem for IronWorker by Iron.io. http://www.iron.io"
|
11
|
-
gemspec.description = "The official IronWorker gem for IronWorker by Iron.io. http://www.iron.io"
|
12
|
-
gemspec.email = "travis@iron.io"
|
13
|
-
gemspec.homepage = "http://www.iron.io"
|
14
|
-
gemspec.authors = ["Travis Reeder"]
|
15
|
-
gemspec.files = FileList['VERSION.yml','init.rb', 'lib/**/*.rb', 'rails/**/*.rb']
|
16
|
-
gemspec.add_dependency 'zip'
|
17
|
-
gemspec.add_dependency 'rest-client'
|
18
|
-
gemspec.add_dependency 'rest'
|
19
|
-
gemspec.add_dependency 'bundler'
|
20
|
-
#gemspec.add_dependency 'typhoeus'
|
21
|
-
gemspec.required_ruby_version = '>= 1.9'
|
22
|
-
end
|
23
|
-
Jeweler::GemcutterTasks.new
|
24
3
|
|
25
4
|
Rake::TestTask.new do |t|
|
26
5
|
t.libs << "test"
|
data/lib/iron_worker/service.rb
CHANGED
@@ -58,7 +58,7 @@ module IronWorker
|
|
58
58
|
zip_filename = build_merged_file(filename, options[:merge], options[:unmerge], options[:merged_gems], options[:unmerged_gems], options[:merged_mailers], options[:merged_folders], class_name)
|
59
59
|
|
60
60
|
# Check for code changes.
|
61
|
-
zipfile = Zip::
|
61
|
+
zipfile = Zip::File.open(zip_filename, Zip::File::CREATE)
|
62
62
|
crc = zipfile.entries.collect { |x| x.crc }.inject(:+)
|
63
63
|
new_code = false
|
64
64
|
if self.config.force_upload || crc.to_s != existing_md5
|
@@ -345,7 +345,7 @@ end
|
|
345
345
|
File.delete(fname2) if File.exist?(fname2)
|
346
346
|
#merging all gems and deps
|
347
347
|
merged_gems.merge!(gems_dependencies)
|
348
|
-
Zip::
|
348
|
+
Zip::File.open(fname2, 'w') do |f|
|
349
349
|
if merged_gems && merged_gems.size > 0
|
350
350
|
merged_gems.each_pair do |k, gem|
|
351
351
|
next unless gem[:merge]
|
@@ -424,7 +424,7 @@ end
|
|
424
424
|
def package_code(files)
|
425
425
|
fname2 = "package.zip"
|
426
426
|
File.delete(fname2) if File.exist?(fname2)
|
427
|
-
Zip::
|
427
|
+
Zip::File.open(fname2, 'w') do |f|
|
428
428
|
files.each do |file|
|
429
429
|
f.add(file, file)
|
430
430
|
end
|
data/lib/iron_worker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iron_core
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: 1.3.6
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
|
-
rubygems_version: 2.
|
185
|
+
rubygems_version: 2.2.2
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: DEPRECATED!! Use iron_worker_ng now. The official IronWorker gem for IronWorker
|