buildr-as3 0.2.6 → 0.2.7

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
data/buildr-as3.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{buildr-as3}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dominic Graefen"]
@@ -59,8 +59,9 @@ module Buildr
59
59
 
60
60
  def needed?(sources, target, dependencies)
61
61
  return true unless File.exist?(@project.get_as3_output(target, options))
62
- Dir.glob(FileList[sources,dependencies].to_a.map{ |file| file = "#{file}/**/*" } ).
63
- map{|file| File.stat(file).mtime}.max || Time.at(0) > File.stat(@project.get_as3_output(target, options)).mtime
62
+ maxtime = Dir.glob(FileList[sources,dependencies].to_a.map{ |file| file = "#{file}/**/*" } ).
63
+ map{|file| File.stat(file).mtime}.max || Time.at(0)
64
+ maxtime > File.stat(@project.get_as3_output(target, options)).mtime
64
65
  end
65
66
 
66
67
  private
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: buildr-as3
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.6
5
+ version: 0.2.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dominic Graefen
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- hash: 980403198726434982
132
+ hash: -40049877085960263
133
133
  segments:
134
134
  - 0
135
135
  version: "0"