aptly_cli 0.2.8 → 0.2.9
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/.travis.yml +1 -1
- data/README.md +1 -0
- data/Rakefile +10 -0
- data/lib/aptly_cli/version.rb +1 -1
- data/lib/aptly_file.rb +1 -1
- data/lib/aptly_load.rb +1 -0
- data/lib/aptly_misc.rb +1 -1
- data/lib/aptly_package.rb +1 -1
- data/lib/aptly_publish.rb +1 -1
- data/lib/aptly_repo.rb +1 -1
- data/lib/aptly_snapshot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGQ1MWI0M2I3NGRmZDU1NDZlOTIwZWI4N2JlN2VlZThlMjhiZDdlZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTdjODhiYTBjOGRjNjYyZmJhZjgyN2U4ZWEzYzJkYmUzMjVkOTA2Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmRiMjMzYTc1NTg2NjE3MjdmMjRkMjI2ZmMzOWE3YjU2ZTljZjAwZDI0MWM1
|
10
|
+
OWRiYjM4ZGY5YTQ4YzRjODRhNzdiNzQzYjJlOTg0ZWMwOWE2YTI0MDhhNjNk
|
11
|
+
ZDUxYWU4NDQ4ZTI2NDhjYmQ2MDA1MGEyNzI0ZmUwNjUwNzAyYzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTE1MTQwOTNhMjU3NmUwY2I5M2FkYzgzMDgyMzQ4MWU4YTNiOWRiZDA4NWVm
|
14
|
+
MWRlOGNjMTcxNmNkMTgzNjkyN2MxMTAwYzgwZWE2NjhkNDcxMzU4MGVlYzhm
|
15
|
+
ZTZmODE5MzlhYmVlMzQwNTRkM2M5ZjQ2OGIwZTY5ZDdhYjYxY2E=
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -16,6 +16,16 @@ task :docker_build do
|
|
16
16
|
sh %{docker build -t sepulworld/aptly_api .}
|
17
17
|
end
|
18
18
|
|
19
|
+
desc "Push Docker image to Docker Hub"
|
20
|
+
task :docker_push do
|
21
|
+
sh %{docker push sepulworld/aptly_api}
|
22
|
+
end
|
23
|
+
|
24
|
+
desc "Pull Docker image to Docker Hub"
|
25
|
+
task :docker_pull do
|
26
|
+
sh %{docker pull sepulworld/aptly_api}
|
27
|
+
end
|
28
|
+
|
19
29
|
desc "List Docker Aptly running containers"
|
20
30
|
task :docker_list_aptly do
|
21
31
|
sh %{docker ps --filter ancestor='sepulworld/aptly_api' --format="{{.ID}}"}
|
data/lib/aptly_cli/version.rb
CHANGED
data/lib/aptly_file.rb
CHANGED
@@ -10,7 +10,7 @@ module AptlyCli
|
|
10
10
|
|
11
11
|
# Load aptly-cli.conf and establish base_uri
|
12
12
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
13
|
-
base_uri "
|
13
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
14
14
|
|
15
15
|
if @config[:username]
|
16
16
|
if @config[:password]
|
data/lib/aptly_load.rb
CHANGED
data/lib/aptly_misc.rb
CHANGED
@@ -10,7 +10,7 @@ module AptlyCli
|
|
10
10
|
|
11
11
|
# Load aptly-cli.conf and establish base_uri
|
12
12
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
13
|
-
base_uri "
|
13
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
14
14
|
|
15
15
|
if @config[:username]
|
16
16
|
if @config[:password]
|
data/lib/aptly_package.rb
CHANGED
@@ -10,7 +10,7 @@ module AptlyCli
|
|
10
10
|
|
11
11
|
# Load aptly-cli.conf and establish base_uri
|
12
12
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
13
|
-
base_uri "
|
13
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
14
14
|
|
15
15
|
if @config[:username]
|
16
16
|
if @config[:password]
|
data/lib/aptly_publish.rb
CHANGED
@@ -10,7 +10,7 @@ module AptlyCli
|
|
10
10
|
|
11
11
|
# Load aptly-cli.conf and establish base_uri
|
12
12
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
13
|
-
base_uri "
|
13
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
14
14
|
|
15
15
|
if @config[:username]
|
16
16
|
if @config[:password]
|
data/lib/aptly_repo.rb
CHANGED
@@ -9,7 +9,7 @@ module AptlyCli
|
|
9
9
|
include HTTMultiParty
|
10
10
|
# Load aptly-cli.conf and establish base_uri
|
11
11
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
12
|
-
base_uri "
|
12
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
13
13
|
|
14
14
|
if @config[:username]
|
15
15
|
if @config[:password]
|
data/lib/aptly_snapshot.rb
CHANGED
@@ -10,7 +10,7 @@ module AptlyCli
|
|
10
10
|
|
11
11
|
# Load aptly-cli.conf and establish base_uri
|
12
12
|
@config = AptlyCli::AptlyLoad.new.configure_with('/etc/aptly-cli.conf')
|
13
|
-
base_uri "
|
13
|
+
base_uri "#{@config[:proto]}://#{@config[:server]}:#{@config[:port]}/api"
|
14
14
|
|
15
15
|
if @config[:username]
|
16
16
|
if @config[:password]
|
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.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|