cupertino 1.0.1 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32f7d124c3b489a1f344e7b9f55a3ebb402c9f52
|
4
|
+
data.tar.gz: a3301adfc2687b34c8b7e986a95482f4dc3cfe9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 188a348aff0d568890d6d653e08e1b129224af2e20e1c014f0feea1d2f288776bb9b170f9e9ab20e71b148bebf7da7923df6772f3d63ab6c7a9de399f4ee9429
|
7
|
+
data.tar.gz: 725a0d9913edd6ccc26e5ce7c08077292dac89be09de5dd28bd5b9fe8ed53ffff814ba1bf749b120a58fd0f06d86e60e945fbff9def0e703dafbfe8ab7772560
|
data/Gemfile.lock
CHANGED
data/cupertino-1.0.1.gem
ADDED
Binary file
|
@@ -9,8 +9,10 @@ command :login do |c|
|
|
9
9
|
user = ask "Username:"
|
10
10
|
pass = password "Password:"
|
11
11
|
|
12
|
-
Security::InternetPassword.add(Cupertino::ProvisioningPortal::HOST, user, pass)
|
13
|
-
|
14
|
-
|
12
|
+
if Security::InternetPassword.add(Cupertino::ProvisioningPortal::HOST, user, pass)
|
13
|
+
say_ok "Account credentials saved"
|
14
|
+
else
|
15
|
+
say_error "Error saving credentials"
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
@@ -6,8 +6,10 @@ command :logout do |c|
|
|
6
6
|
c.action do |args, options|
|
7
7
|
say_error "You are not authenticated" and abort unless Security::InternetPassword.find(:server => Cupertino::ProvisioningPortal::HOST)
|
8
8
|
|
9
|
-
Security::InternetPassword.delete(:server => Cupertino::ProvisioningPortal::HOST)
|
10
|
-
|
11
|
-
|
9
|
+
if Security::InternetPassword.delete(:server => Cupertino::ProvisioningPortal::HOST)
|
10
|
+
say_ok "Account credentials removed"
|
11
|
+
else
|
12
|
+
say_error "Error removing credentials"
|
13
|
+
end
|
12
14
|
end
|
13
15
|
end
|
data/lib/cupertino/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cupertino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -159,6 +159,7 @@ extra_rdoc_files: []
|
|
159
159
|
files:
|
160
160
|
- ./cupertino-0.9.7.gem
|
161
161
|
- ./cupertino-1.0.0.gem
|
162
|
+
- ./cupertino-1.0.1.gem
|
162
163
|
- ./cupertino.gemspec
|
163
164
|
- ./Gemfile
|
164
165
|
- ./Gemfile.lock
|