autobuild 1.10.0.rc21 → 1.10.0.rc22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobuild/timestamps.rb +5 -6
- data/lib/autobuild/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: aabf4386c24d662b956a991ecfb6438c81ab93cc
|
4
|
+
data.tar.gz: 00dc4688a63ab182242fee2c311f3fbedf26c6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5defe2636898bc9aaa563b14e8b6889e218e83fa1359afa39108b2ab5d34d1a4f5e35260321bfcf9fcfe00d0a315c6672a82500c7b727da49df953f2f5989ccc
|
7
|
+
data.tar.gz: 6da7eef76e7d4e8a2fbe4d07a89c0e93be60c45a5ae2dd1a7be750b91c2933801154b2ec09963cb216e04b25197825045ebf91bc0f2e1e1467145f45bafc419a
|
data/lib/autobuild/timestamps.rb
CHANGED
@@ -24,7 +24,6 @@ def self.ignore(path)
|
|
24
24
|
|
25
25
|
def self.tree_timestamp(path, *exclude)
|
26
26
|
# Exclude autobuild timestamps
|
27
|
-
exclude.each { |rx| raise unless Regexp === rx }
|
28
27
|
exclude << (/#{Regexp.quote(STAMPFILE)}$/)
|
29
28
|
exclude << (/\.autobuild-patches$/)
|
30
29
|
|
@@ -32,14 +31,14 @@ def self.tree_timestamp(path, *exclude)
|
|
32
31
|
latest = Time.at(0)
|
33
32
|
latest_file = ""
|
34
33
|
|
35
|
-
Find.find(path)
|
34
|
+
Find.find(path) do |p|
|
36
35
|
Find.prune if File.basename(p) =~ /^\./
|
37
|
-
exclude.each
|
38
|
-
if
|
36
|
+
exclude.each do |pattern|
|
37
|
+
if pattern === p
|
39
38
|
Autobuild.message " excluding #{p}" if Autobuild.debug
|
40
39
|
Find.prune
|
41
40
|
end
|
42
|
-
|
41
|
+
end
|
43
42
|
next if !File.file?(p)
|
44
43
|
|
45
44
|
p_time = File.mtime(p)
|
@@ -47,7 +46,7 @@ def self.tree_timestamp(path, *exclude)
|
|
47
46
|
latest = p_time
|
48
47
|
latest_file = p
|
49
48
|
end
|
50
|
-
|
49
|
+
end
|
51
50
|
|
52
51
|
Autobuild.message " newest file: #{latest_file} at #{latest}" if Autobuild.debug
|
53
52
|
return latest_file, latest
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.0.
|
4
|
+
version: 1.10.0.rc22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|