fluent_command_builder 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,20 +9,20 @@ module FluentCommandBuilder
|
|
9
9
|
def initialize(builder)
|
10
10
|
super builder
|
11
11
|
end
|
12
|
-
def delete_certificate
|
13
|
-
DeleteCertificate.new @builder
|
12
|
+
def delete_certificate
|
13
|
+
DeleteCertificate.new @builder
|
14
14
|
end
|
15
15
|
def import(input_file)
|
16
16
|
Import.new @builder, input_file
|
17
17
|
end
|
18
|
-
def unlock_keychain
|
19
|
-
UnlockKeychain.new @builder
|
18
|
+
def unlock_keychain
|
19
|
+
UnlockKeychain.new @builder
|
20
20
|
end
|
21
21
|
end
|
22
22
|
class DeleteCertificate < CommandBase
|
23
|
-
def initialize(builder
|
23
|
+
def initialize(builder)
|
24
24
|
super builder
|
25
|
-
@builder.append
|
25
|
+
@builder.append ' delete-certificate'
|
26
26
|
end
|
27
27
|
def common_name(name)
|
28
28
|
@builder.append " -c #{@builder.format name}"
|
@@ -39,6 +39,11 @@ module FluentCommandBuilder
|
|
39
39
|
yield @builder if block_given?
|
40
40
|
self
|
41
41
|
end
|
42
|
+
def keychain(keychain)
|
43
|
+
@builder.append " #{@builder.format keychain}"
|
44
|
+
yield @builder if block_given?
|
45
|
+
self
|
46
|
+
end
|
42
47
|
end
|
43
48
|
class Import < CommandBase
|
44
49
|
def initialize(builder, input_file)
|
@@ -92,9 +97,9 @@ module FluentCommandBuilder
|
|
92
97
|
end
|
93
98
|
end
|
94
99
|
class UnlockKeychain < CommandBase
|
95
|
-
def initialize(builder
|
100
|
+
def initialize(builder)
|
96
101
|
super builder
|
97
|
-
@builder.append
|
102
|
+
@builder.append ' unlock-keychain'
|
98
103
|
end
|
99
104
|
def no_password
|
100
105
|
@builder.append ' -u'
|
@@ -106,6 +111,11 @@ module FluentCommandBuilder
|
|
106
111
|
yield @builder if block_given?
|
107
112
|
self
|
108
113
|
end
|
114
|
+
def keychain(keychain)
|
115
|
+
@builder.append " #{@builder.format keychain}"
|
116
|
+
yield @builder if block_given?
|
117
|
+
self
|
118
|
+
end
|
109
119
|
end
|
110
120
|
def security
|
111
121
|
builder = CommandBuilder.new COMMAND_NAME
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent_command_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70140801294680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70140801294680
|
25
25
|
description: A command line builder with a fluent interface written in Ruby.
|
26
26
|
email: matthew-github@matthewriley.name
|
27
27
|
executables: []
|