cli_credentials 0.0.3 → 0.0.4

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: c7da424a6df1a35439ba3d340d953ffbd35d4689
4
- data.tar.gz: e803592cc2b7c3ad2bcea2488a27a186fde19ae2
3
+ metadata.gz: b5498356a1575558490b73d9ee5d0fd56ea90179
4
+ data.tar.gz: 459546eeba8d52f0eb56e9ad00782e21fe6676c6
5
5
  SHA512:
6
- metadata.gz: b31308b8f1747b2d270cf0b6d72fd34c0d807da9fd776ab5f91919b7592d4b95ce28851b67a7cd81f3d7e439f944ad85112df52aa185cff5263c0603dfe95c75
7
- data.tar.gz: 5ebf781a049be2afd2e489ec7f0bdb3b78f50bd7bedee29d335809eb67610d7efe0a09206700970dd445aef03ec59f482fca6ea0f2763ee50583330a6546fb7f
6
+ metadata.gz: c65bdea888d170e41c1726f3b46765dacaf6c8b5dc310414f812e40c2ad42538ab28c2da9d795b8d3a27aa908d66c04446a4b3f0425a4b88586876da6fca9faa
7
+ data.tar.gz: 42e8b881602a3d562fc71fcdc3495273546778ab100f3dad7cba08a0c09dc44748787d3f0a31391bf1d51e4b5c52380a256b260bcf2787e55884822350859ef6
@@ -16,6 +16,13 @@ class CLICredentials
16
16
  instance = self.new(username)
17
17
  end
18
18
 
19
+ # Make sure we have all of the credentials
20
+ def get
21
+ username
22
+ password
23
+ self
24
+ end
25
+
19
26
  def prompt_for_username
20
27
  print "#{title.to_s + ' ' if title}Username: "
21
28
  gets.chomp
@@ -1,3 +1,3 @@
1
1
  class CLICredentials
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cli_credentials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bodah