security 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/security.rb +1 -1
- data/lib/security/password.rb +2 -2
- metadata +7 -7
data/Gemfile.lock
CHANGED
data/lib/security.rb
CHANGED
data/lib/security/password.rb
CHANGED
@@ -48,7 +48,7 @@ module Security
|
|
48
48
|
|
49
49
|
class GenericPassword < Password
|
50
50
|
class << self
|
51
|
-
def add(
|
51
|
+
def add(service, account, password, options = {})
|
52
52
|
options[:a] = account
|
53
53
|
options[:s] = service
|
54
54
|
options[:w] = password
|
@@ -70,7 +70,7 @@ module Security
|
|
70
70
|
|
71
71
|
class InternetPassword < Password
|
72
72
|
class << self
|
73
|
-
def add(
|
73
|
+
def add(server, account, password, options = {})
|
74
74
|
options[:a] = account
|
75
75
|
options[:s] = server
|
76
76
|
options[:w] = password
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: security
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-21 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70146585209620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.6.1
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70146585209620
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70146585208880 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 0.9.2
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70146585208880
|
36
36
|
description: Library for interacting with the Mac OS X Keychain
|
37
37
|
email: m@mattt.me
|
38
38
|
executables: []
|
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: '0'
|
64
64
|
segments:
|
65
65
|
- 0
|
66
|
-
hash: -
|
66
|
+
hash: -2439538555440614710
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
72
|
version: '0'
|
73
73
|
segments:
|
74
74
|
- 0
|
75
|
-
hash: -
|
75
|
+
hash: -2439538555440614710
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
78
|
rubygems_version: 1.8.15
|