password 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,7 @@ username, password = option_parser.parse(ARGV)
33
33
  password ||= @generated
34
34
 
35
35
  def show_credentials_for(site)
36
+ abort "No password stored for #{site}" unless Password::SITES[site]
36
37
  puts site
37
38
  puts " username: #{Password::SITES[site][:username]}"
38
39
  puts " password: #{Password::SITES[site][:password]}"
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  SPEC = Gem::Specification.new do |s|
3
3
  s.name = "password"
4
- s.version = "1.0"
4
+ s.version = "1.1"
5
5
  s.author = "Giles Bowkett"
6
6
  s.email = "gilesb@gmail.com"
7
7
  s.homepage = "http://gilesbowkett.blogspot.com/2008/02/sudo-gem-install-password.html"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.0"
4
+ version: "1.1"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giles Bowkett
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-15 00:00:00 -08:00
12
+ date: 2008-02-21 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -34,7 +34,6 @@ files:
34
34
  - bin/password
35
35
  - lib
36
36
  - lib/password.rb
37
- - password-1.0.gem
38
37
  - password.gemspec
39
38
  - README.txt
40
39
  has_rdoc: false
File without changes