whimsy-asf 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/asf.version +1 -1
  3. data/lib/whimsy/asf/icla.rb +6 -4
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ec2a4e0cb9da3fb3670298ae017bb429b923a79
4
- data.tar.gz: 9db06354582ff6848d032bdafa3f920bfd8e86e3
3
+ metadata.gz: c3a8906d01060615578b69bec11d4f3477afa5de
4
+ data.tar.gz: 7e6a121bfebc1a4b911f8820d7c207a5a87536e8
5
5
  SHA512:
6
- metadata.gz: fb49cb988add6f6f0b3517169462fc22c4dd6869429dc90776d2dbeeafc16788fd9eeeed9a78cf6fdcdd87e45ae92b151db42b673472cb74ccaf0573958baa71
7
- data.tar.gz: 362a43ca5d221c9ca289bae2e0ab11d4646bb45e51b3fba540c26e63ece9f8eb59b6f75ab6d156469439a3d95ccebc21bbcabba55192dece14056d85143a9915
6
+ metadata.gz: d0f0a7b47cab1138e7ae5a6d0205f71a3b1ce81246259a893900d71155cf8a2889f54c0dc03fe9847d06f74384c6453cbdf96137eef1b9bb981d9bd81274fd8c
7
+ data.tar.gz: a31dd5f6649829e9a08509ed748f56541868dba7dd5e2711f272873c780aa223c17c562d6cb4c857cb2934f464c066f19ff5112225f342e2b48392edfbed4a19
data/asf.version CHANGED
@@ -1 +1 @@
1
- 0.0.27
1
+ 0.0.28
@@ -7,7 +7,7 @@ module ASF
7
7
  return if value == 'notinavail'
8
8
  new.each do |id, name, email|
9
9
  if id == value
10
- return Struct.new(:id, :name, :email).new(id, name, email)
10
+ return Struct.new(:id, :name, :email).new(id, name, email)
11
11
  end
12
12
  end
13
13
  nil
@@ -17,7 +17,7 @@ module ASF
17
17
  value = value.downcase
18
18
  ICLA.new.each do |id, name, email|
19
19
  if email.downcase == value
20
- return Struct.new(:id, :name, :email).new(id, name, email)
20
+ return Struct.new(:id, :name, :email).new(id, name, email)
21
21
  end
22
22
  end
23
23
  nil
@@ -32,8 +32,10 @@ module ASF
32
32
 
33
33
  def each(&block)
34
34
  officers = ASF::SVN['private/foundation/officers']
35
- iclas = File.read("#{officers}/iclas.txt")
36
- iclas.scan(/^([-\w]+):.*?:(.*?):(.*?):/).each(&block)
35
+ if officers and File.exist?("#{officers}/iclas.txt")
36
+ iclas = File.read("#{officers}/iclas.txt")
37
+ iclas.scan(/^([-\w]+):.*?:(.*?):(.*?):/).each(&block)
38
+ end
37
39
  end
38
40
  end
39
41
 
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.27
4
+ version: 0.0.28
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-05-08 00:00:00.000000000 Z
11
+ date: 2015-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -104,6 +104,8 @@ extra_rdoc_files: []
104
104
  files:
105
105
  - asf.gemspec
106
106
  - asf.version
107
+ - lib/whimsy/asf.rb
108
+ - lib/whimsy/asf/agenda.rb
107
109
  - lib/whimsy/asf/agenda/attachments.rb
108
110
  - lib/whimsy/asf/agenda/back.rb
109
111
  - lib/whimsy/asf/agenda/committee.rb
@@ -111,7 +113,6 @@ files:
111
113
  - lib/whimsy/asf/agenda/front.rb
112
114
  - lib/whimsy/asf/agenda/minutes.rb
113
115
  - lib/whimsy/asf/agenda/special.rb
114
- - lib/whimsy/asf/agenda.rb
115
116
  - lib/whimsy/asf/auth.rb
116
117
  - lib/whimsy/asf/committee.rb
117
118
  - lib/whimsy/asf/config.rb
@@ -125,7 +126,6 @@ files:
125
126
  - lib/whimsy/asf/site.rb
126
127
  - lib/whimsy/asf/svn.rb
127
128
  - lib/whimsy/asf/watch.rb
128
- - lib/whimsy/asf.rb
129
129
  homepage: https://whimsy.apache.org/
130
130
  licenses:
131
131
  - Apache License, Version 2.0
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  requirements: []
148
148
  rubyforge_project:
149
- rubygems_version: 2.0.14
149
+ rubygems_version: 2.4.5
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Whimsy 'model' of the ASF