usaidwat 1.6.0 → 1.6.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7ff7340965e5a501a28aa84a1bacc1d3079c374c
4
- data.tar.gz: 2dcd4a947aa5e5b09d74a2b6f059972eff73e393
2
+ SHA256:
3
+ metadata.gz: 3541ba2a0eb6ec2c6b86a94807c9ca30ea690d1d86d4ec59d0217dd33511b8b1
4
+ data.tar.gz: f70a0a21bdec9f1264de1b99a519f45560f8055a7bf460d1ca35feb90ec0356f
5
5
  SHA512:
6
- metadata.gz: 1cf3cfcc75e31c619418a5d30966dfb308ba96974feb002cffdd2ac09b33ee256b79f37f975fd598da7773430547c5084d7fec3c0b91fb3fa211c8b22212d27d
7
- data.tar.gz: 4290d21e50f7607e1d86e438f2cd869b9020478af1edafb3a43fa14acd69f5d2eb47064007ff4939e78eaeeb470bd8d845ef789c28f2db203b8b496533f7abd5
6
+ metadata.gz: 6032aed8fd43ae9dc63b1eb4445907fd7db171f137a460937665ba7f02fd9b941dbe4e521f57e6d7bb560ef33cbff42e883b6a85d91058786af0530b409c1ab6
7
+ data.tar.gz: a38db0b59a919539eb43f0bd03a5ff59337d6579cd6bf0cb3340ba5cfd700314defd761e99e06cf4ecb1ebeb8babeaeeca25f79816d3b0432c5e51929725a71d
@@ -644,11 +644,11 @@ Feature: Browse comments
644
644
 
645
645
  This article <http://devblog.avdi.org/2012/11/19/on-britruby/> has a provocative analysis. The key point (and obviously I agree with the blogger) is this:
646
646
 
647
- "I fully believe them when they say that they set out to create a diverse conference. However, I think some implicit bias crept into their selection process.
648
-
649
-
650
-
651
- I’m not accusing the BritRuby organizers of being racist, sexist, or misogynistic. And I don’t think anyone else involved in this conversation is accusing them of those things either, despite misguided claims to the contrary. But I don’t think it’s farfetched to suggest that in their process for coming up with names to invite, their brain VMs might have been over-optimized for the common case: white dudes."
647
+ | I fully believe them when they say that they set out to create a diverse conference. However, I think some implicit bias crept into their selection process.
648
+ |
649
+ |
650
+ |
651
+ | I’m not accusing the BritRuby organizers of being racist, sexist, or misogynistic. And I don’t think anyone else involved in this conversation is accusing them of those things either, despite misguided claims to the contrary. But I don’t think it’s farfetched to suggest that in their process for coming up with names to invite, their brain VMs might have been over-optimized for the common case: white dudes.
652
652
 
653
653
 
654
654
  battlefield3
@@ -696,7 +696,7 @@ Feature: Browse comments
696
696
  Why Brit Ruby 2013 was cancelled and why this is not ok — Gist
697
697
  over 4 years ago • +2
698
698
 
699
- "Turns out, a lot of the prominent Rubyists are white guys and all of the ones who said they'd like to come were, indeed, white guys."
699
+ | Turns out, a lot of the prominent Rubyists are white guys and all of the ones who said they'd like to come were, indeed, white guys.
700
700
 
701
701
  I do have to wonder if they even bothered to ask anyone who wasn't white and male.
702
702
 
@@ -36,6 +36,12 @@ module USaidWat
36
36
 
37
37
  protected
38
38
 
39
+ def dispatch_process(process, method, arg)
40
+ send(process, method, arg)
41
+ rescue ArgumentError => e
42
+ quit e.message, :usage
43
+ end
44
+
39
45
  def cucumber?
40
46
  ENV['USAIDWAT_ENV'] == 'cucumber'
41
47
  end
@@ -7,7 +7,7 @@ module USaidWat
7
7
  def initialize(prog)
8
8
  prog.command(:info) do |c|
9
9
  c.action do |args, options|
10
- process(options, args)
10
+ dispatch_process(:process, options, args)
11
11
  end
12
12
  end
13
13
  super
@@ -19,7 +19,7 @@ module USaidWat
19
19
  c.option 'raw', '--raw', 'Print raw comment bodies'
20
20
 
21
21
  c.action do |args, options|
22
- process(options, args)
22
+ dispatch_process(:process, options, args)
23
23
  end
24
24
  end
25
25
  super
@@ -13,14 +13,14 @@ module USaidWat
13
13
  def initialize(prog)
14
14
  prog.command(:posts) do |c|
15
15
  c.action do |args, options|
16
- process(options, args)
16
+ dispatch_process(:process, options, args)
17
17
  end
18
18
 
19
19
  c.command(:log) do |s|
20
20
  s.description "Show a user's submitted posts"
21
21
  s.option 'oneline', '--oneline', 'Output log in a more compact form'
22
22
  s.action do |args, options|
23
- process_log(options, args)
23
+ dispatch_process(:process_log, options, args)
24
24
  end
25
25
  end
26
26
 
@@ -28,7 +28,7 @@ module USaidWat
28
28
  s.description "Tally a user's posts by subreddit"
29
29
  s.option 'count', '-c', '--count', 'Sort output by number of comments'
30
30
  s.action do |args, options|
31
- process_tally(options, args)
31
+ dispatch_process(:process_tally, options, args)
32
32
  end
33
33
  end
34
34
  end
@@ -13,7 +13,7 @@ module USaidWat
13
13
  c.option 'count', '-c', '--count', 'Sort output by number of comments'
14
14
 
15
15
  c.action do |args, options|
16
- process(options, args)
16
+ dispatch_process(:process, options, args)
17
17
  end
18
18
  end
19
19
  super
@@ -4,7 +4,7 @@ module USaidWat
4
4
  def initialize(prog)
5
5
  prog.command(:timeline) do |c|
6
6
  c.action do |args, options|
7
- process(options, args)
7
+ dispatch_process(:process, options, args)
8
8
  end
9
9
  end
10
10
  super
@@ -1,5 +1,5 @@
1
1
  module USaidWat
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
 
4
4
  def self.commit_hash
5
5
  spec = Gem.loaded_specs['usaidwat']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usaidwat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dippery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: downterm
@@ -246,9 +246,9 @@ homepage: https://github.com/mdippery/usaidwat
246
246
  licenses:
247
247
  - MIT
248
248
  metadata:
249
- build_date: 2017-12-03 22:26:01 PST
250
- commit: v1.6.0
251
- commit_hash: 357860f76a11f969c5e24a74b050cb64053aee60
249
+ build_date: 2020-11-11 11:52:51 PST
250
+ commit: v1.6.1
251
+ commit_hash: 3b81980815450ea55e3c1414b3eee2ee0f1f755d
252
252
  post_install_message:
253
253
  rdoc_options: []
254
254
  require_paths:
@@ -264,8 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  requirements: []
267
- rubyforge_project:
268
- rubygems_version: 2.5.1
267
+ rubygems_version: 3.1.2
269
268
  signing_key:
270
269
  specification_version: 4
271
270
  summary: Answers the age-old question, "Where does a Redditor comment the most?"