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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe522253fc444a2aee1f6f474ec587d671c25e30
4
- data.tar.gz: 7e71a9926f99b579e03a776a6337aa9ec46b7335
3
+ metadata.gz: bc6a63e26def5d0fb3fbfc5482fffc0bce5277c9
4
+ data.tar.gz: 7524dbdde350d15a946c98ebdac33b83eab44a2a
5
5
  SHA512:
6
- metadata.gz: 75c288511be5d4ff6dc27a4f554435775004142da36980e01bc0c48d8a3a0000212a424b6a0726e20319e5e5d0fe02c06572348382fc5bb38e3bfd8682de27ef
7
- data.tar.gz: a522f0b44e0e050aed2a697c5498f9de884fd77a72831d00262f78a8d9d4ebd9ccc8d0c773ca5c083aee952223a8a4e96be4c1a77e2d5a2744f82c0cde22018c
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"
@@ -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::ZipFile.open(zip_filename, Zip::ZipFile::CREATE)
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::ZipFile.open(fname2, 'w') do |f|
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::ZipFile.open(fname2, 'w') do |f|
427
+ Zip::File.open(fname2, 'w') do |f|
428
428
  files.each do |file|
429
429
  f.add(file, file)
430
430
  end
@@ -1,4 +1,4 @@
1
1
  module IronWorker
2
- VERSION = "2.3.17"
2
+ VERSION = "2.4.0"
3
3
  end
4
4
 
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.3.17
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: 2013-04-23 00:00:00.000000000 Z
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.0.3
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