aptly_cli 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/aptly_cli/version.rb +1 -1
- data/lib/aptly_command.rb +6 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZjA1YjM2M2VhNTAwMGJjYjQwZDVlMWY3ZDg2ODdiMDAwN2NjMjdlYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NjE0YjljY2I2NWNkOGU2NmE4NDgwZTdlNTVmYzdlOWIwMjRiODM1Ng==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NGJmOTA3MGJiYTIwOGEwODM3NTkyNWNiYzI3ODI5ZDE4MjUxZGE1Mjg2MWU0
|
|
10
|
+
NTE5Mzk3ZDM5MzdkNzM3Mjc0YzIxYjRiZjI2OWYyNjM5M2Y2ZDczNGJhMTZi
|
|
11
|
+
YTczYjI2ZTA1NjhlYzczM2VmMDdkZWQwMDM0YzliNjkwMmUyYzY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OGM3ZGZkZTI3ZTRmMjYyY2I0OTcxZjNmZGNiZDZmOWZkMmEwYzA2NzA5ZjQx
|
|
14
|
+
ZWY5OGQyNzAxMzk1ODExNWJmZTQyNzE1ZGY3YmRjMjBhZGIzMDc3Mzc0Njg2
|
|
15
|
+
MGNjZDNiODEyZjYwZmFhYWE0ZDdjOTc3MDc5YjkwZmY0MTEwMWU=
|
data/lib/aptly_cli/version.rb
CHANGED
data/lib/aptly_command.rb
CHANGED
|
@@ -3,28 +3,27 @@ module AptlyCli
|
|
|
3
3
|
include HTTMultiParty
|
|
4
4
|
|
|
5
5
|
attr_accessor :config
|
|
6
|
-
|
|
7
6
|
def initialize(config, options = nil)
|
|
8
7
|
@config = config
|
|
9
8
|
options ||= Options.new
|
|
10
9
|
|
|
11
|
-
if options.
|
|
10
|
+
if options.server
|
|
12
11
|
@config[:server] = options.server
|
|
13
12
|
end
|
|
14
13
|
|
|
15
|
-
if options.
|
|
14
|
+
if options.port
|
|
16
15
|
@config[:port] = options.port
|
|
17
16
|
end
|
|
18
17
|
|
|
19
|
-
if options.
|
|
18
|
+
if options.username
|
|
20
19
|
@config[:username] = options.username
|
|
21
20
|
end
|
|
22
21
|
|
|
23
|
-
if options.
|
|
22
|
+
if options.password
|
|
24
23
|
@config[:password] = options.password
|
|
25
24
|
end
|
|
26
25
|
|
|
27
|
-
if options.
|
|
26
|
+
if options.debug
|
|
28
27
|
@config[:debug] = options.debug
|
|
29
28
|
end
|
|
30
29
|
|
|
@@ -63,9 +62,7 @@ module AptlyCli
|
|
|
63
62
|
end
|
|
64
63
|
end
|
|
65
64
|
|
|
66
|
-
if
|
|
67
|
-
debug_output $stdout if @config[:debug] == true
|
|
68
|
-
end
|
|
65
|
+
self.class.debug_output $stdout if @config[:debug] == true
|
|
69
66
|
end
|
|
70
67
|
end
|
|
71
68
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aptly_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zane
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-07-
|
|
11
|
+
date: 2016-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|