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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57dc1262bf53be65fda95ab15262c98616ca8c4b
4
- data.tar.gz: 7aea455fcbc0f3645a6b6eed2743e041b7003666
3
+ metadata.gz: 68d7c933c137c13c4587266b429d5e54cf4f3286
4
+ data.tar.gz: 8c731b26ea7c9af07cbc034877b4235073efd668
5
5
  SHA512:
6
- metadata.gz: 8e822f49de94b3ef2be866f77e9f029061f1bcf100fa9ad1a2810beb5857f8e1ac733734a081752b7e10b438dd50ffb783664d76af7c60879bcacf60f9a7f1a3
7
- data.tar.gz: e2d534c3e13151d6f1eae25f4432103a0282f9595cd0e6e20490e4da9f8eeaea2c2214c0834937a398ea4d8c63b3902c304f850884bbb2481e5f6d528fc1bada
6
+ metadata.gz: f36ac41bbc033b4ea71a2211bb99a155d87b306b7072556b49146e744b39480b212475303cd5ef3c784a85de1c32c7cf33260b4400851ba1a0e504a2bc62b810
7
+ data.tar.gz: dbb31aa413b81582d3e800e305b5e58ae0ffe84ea78cbb39fd67bf9efafb76d18b3bef92f2076f42b6747554aa12450d5bfe7a3982f66a2aeea761cc327b6854
@@ -1 +1 @@
1
- 0.0.67
1
+ 0.0.68
@@ -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
@@ -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.67
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-10-28 00:00:00.000000000 Z
11
+ date: 2015-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri