cli_credentials 0.0.1 → 0.0.2

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: e6a482b8bd0365fcf98f1d84685f315ebb8fa243
4
- data.tar.gz: 50abaee2255b7fa328d485380f9c7c07ba9ecd7f
3
+ metadata.gz: 61daa1ed1226d3f9d13c09ddf99a83dabf6be5fc
4
+ data.tar.gz: 68ac7661610345ae26d359536284dbb75733eec0
5
5
  SHA512:
6
- metadata.gz: 51b4aa5486e778063f6a98fec68cec2b85ffe88bfa5b9b960e0bf7a035c8607db00d2b5f04bc3d8df185272057f07a9f2c8dfb77af8673962989f90fcebe99ca
7
- data.tar.gz: dd7bc04f7324c8eb7de4eea557043c16f30733d1f63dbe61d0be40e84a123d262be3f0aae6066273bc5a58783c8ab19bc11a29e389792b39b3abfaae7df9de84
6
+ metadata.gz: 1639cb370293c476e206dd1af5a5eed2d69e18a7d438a1fbca35e663fbec7bec64b622bf8e8003f9a81b5fe335558e661360da4f66fead7e896698b17da30f4d
7
+ data.tar.gz: 7fad4d3f8d600252f93b5601171036ad56ab7404844ce7036db211e77a605104b2606c69959ff6bd21b1034fa857102b3407ce73afd5d16297c4eb742b8cb62e
@@ -6,9 +6,9 @@ require 'io/console'
6
6
  class CLICredentials
7
7
  attr_reader :title
8
8
 
9
- def initialize(username = nil, opts = {})
10
- @username = username
11
- @title = opts[:title] if opts[:title]
9
+ def initialize(opts = {})
10
+ @username = opts[:username] if opts[:username]
11
+ @title = opts[:title] if opts[:title]
12
12
  end
13
13
 
14
14
  # Semantically nicer equivalent to new
@@ -1,3 +1,3 @@
1
1
  module CLICredentials
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bodah