dorian-pw 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dorian/pw.rb +1 -1
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f854329e395df57e86edc503c033b50a63e6064fab60d150defcccd0e034e8a
4
- data.tar.gz: 697a0c84eca9e5a7b347252c1857c6f85c090a1b49f44e1ddb8ee635ce04cadd
3
+ metadata.gz: 981b049147222c050e1d2c50d967fcc012ec165ad0d93f4f6a44f2fe787113df
4
+ data.tar.gz: 63165f390c9508a0be5256fa14d3f04ffd05e06b314e9f67a18ac5931acb49fa
5
5
  SHA512:
6
- metadata.gz: 1345bd3fbf491fac19fbd271834349317be4ef1748e493f1a0a647f22662e36afa0159480dc4e02fb39c8661a517714be1aa29dd0014edee5b9a96e8eb4d4c22
7
- data.tar.gz: b35de5dbd89ff957d10041143226f8d0223ed504812b697b5805d7fd452b6abb92ddef7f5e9cc262492c8095ffa3e14fc57671765d73136a33d5e029c4322a48
6
+ metadata.gz: 5327e7257550004080c3189e2158868823f8d8db5023bf41224dec88d4bf4b8b956e7cdc228954eb3abad62e3a5cef000437c0c845a152d62aab9d16cbccd1dc
7
+ data.tar.gz: 07e78955726688384f0a2656df7f1b944d08ff4371d7dff89b40d91f0e9455b06cb78d168db6cf1e006968b5760af79b94c62747bde0638444d5238f8f04f86a
data/lib/dorian/pw.rb CHANGED
@@ -3,7 +3,7 @@ require "shellwords"
3
3
  module Dorian
4
4
  class Pw
5
5
  def self.run
6
- if ARGV.size < 1
6
+ if ARGV.size < 1 || ARGV[0] == "--help" || ARGV[0] == "-h"
7
7
  puts "USAGE: pw [FILES...]"
8
8
  exit
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-pw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
@@ -25,7 +25,8 @@ files:
25
25
  homepage: https://github.com/dorianmariefr/pw
26
26
  licenses:
27
27
  - MIT
28
- metadata: {}
28
+ metadata:
29
+ rubygems_mfa_required: 'true'
29
30
  post_install_message:
30
31
  rdoc_options: []
31
32
  require_paths: