masked-email 0.0.1 → 0.0.2

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/masked-email.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17797fd673f4ecabcefb191a9021022a2f1a8d84902692b2ba2a7db0ba189095
4
- data.tar.gz: 0f291eb60ffe522aee66dc8ff1b9fa435c27bafefc8ab68b724965517b7d3b3f
3
+ metadata.gz: aa6d6a7e3639e705efaaa8767e3ab5c583c856f19e9ef8aef96efea2c4184a90
4
+ data.tar.gz: a91becb28d1e9f95c884163ca3996f098875d73a120d497190c1cdccb133c7dd
5
5
  SHA512:
6
- metadata.gz: f311a4312c6fd4f0cfd1db24827d9814952fbda4ab2bd7caf58f95dede886f1dbd190a30f81c3d7e6030d8fd23164b415ec786475918dd763bbc7e4a1688c501
7
- data.tar.gz: a0c7c42ca3d4f0fc3ae4038e95d6d94d4575370e98f4b94781b2691ec49dc1a5a9262142e3ee466b6215d2692fb31ce98df03370921d838197fcceceb58aa24b
6
+ metadata.gz: 579946ed684bf04dde27f453e169414c3013b2243d518739562930f32fcb270f5e2dbb8ac04434a64adca064de2cfe76198afaa2dbc71ed9b25538cf04daa0d8
7
+ data.tar.gz: aafafbfe7e8c619c4351f638b857e9e2fc1180e8edc911e8e2b8a0f298ba47ae1cedbcac0d11d7ab698c7fe5e1edb1bf07593cdcf8948e260b62bbadbff353d5
data/lib/masked-email.rb CHANGED
@@ -34,7 +34,8 @@ class MaskedEmail
34
34
  response = create_masked_email(account_id, api_url, method_id)
35
35
  method_response = response['methodResponses'].find { _1[0] == SET_METHOD }
36
36
  email = method_response[1]['created'][method_id]['email']
37
- puts "Masked email created: #{email}"
37
+ puts 'Masked email created:' if @options[:verbose]
38
+ puts email
38
39
  end
39
40
 
40
41
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: masked-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Watts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-28 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple command-line script for generating masked email addresses via
14
14
  Fastmail