whimsy-asf 0.0.67 → 0.0.68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/asf.version +1 -1
- data/lib/whimsy/asf.rb +9 -0
- data/lib/whimsy/asf/member.rb +6 -0
- 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: 68d7c933c137c13c4587266b429d5e54cf4f3286
|
4
|
+
data.tar.gz: 8c731b26ea7c9af07cbc034877b4235073efd668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f36ac41bbc033b4ea71a2211bb99a155d87b306b7072556b49146e744b39480b212475303cd5ef3c784a85de1c32c7cf33260b4400851ba1a0e504a2bc62b810
|
7
|
+
data.tar.gz: dbb31aa413b81582d3e800e305b5e58ae0ffe84ea78cbb39fd67bf9efafb76d18b3bef92f2076f42b6747554aa12450d5bfe7a3982f66a2aeea761cc327b6854
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.68
|
data/lib/whimsy/asf.rb
CHANGED
@@ -9,3 +9,12 @@ require File.expand_path('../asf/icla', __FILE__)
|
|
9
9
|
require File.expand_path('../asf/auth', __FILE__)
|
10
10
|
require File.expand_path('../asf/member', __FILE__)
|
11
11
|
require File.expand_path('../asf/site', __FILE__)
|
12
|
+
|
13
|
+
module ASF
|
14
|
+
def self.library_mtime
|
15
|
+
parent_dir = File.dirname(File.expand_path(__FILE__))
|
16
|
+
sources = Dir.glob("#{parent_dir}/**/*")
|
17
|
+
times = sources.map {|source| File.mtime(source)}
|
18
|
+
times.max.gmtime
|
19
|
+
end
|
20
|
+
end
|
data/lib/whimsy/asf/member.rb
CHANGED
@@ -69,6 +69,12 @@ module ASF
|
|
69
69
|
emails = text.to_s.scan(/Email: (.*(?:\n\s+\S+@.*)*)/).flatten.
|
70
70
|
join(' ').split(/\s+/).grep(/@/)
|
71
71
|
end
|
72
|
+
|
73
|
+
def self.svn_change
|
74
|
+
foundation = ASF::SVN['private/foundation']
|
75
|
+
file = "#{foundation}/members.txt"
|
76
|
+
return Time.parse(`svn info #{file}`[/Last Changed Date: (.*) \(/, 1]).gmtime
|
77
|
+
end
|
72
78
|
end
|
73
79
|
|
74
80
|
class Person
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whimsy-asf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.68
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|