aptly_cli 0.3.2 → 0.3.3

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWIxOGNhOTk0OTM4NzhjMDcxNjJmMDc1YjExNmFhMTdjMmZlYjUzYw==
4
+ NDdjMWRhNTU5YjMwOGZmNzMxYmE4ZGQ2ODUyMWJlY2U1NmQxN2RlNA==
5
5
  data.tar.gz: !binary |-
6
- MjM4OGUyNjMzYmM3NDU2YWFiMThkMTg0NjJiNzExYzYxYzcwZTI4Nw==
6
+ ZTE2YTJiMzJhMjQzMTQ1Zjg1MGIyYThjOTg4ODhiN2FlNWU0ODBjNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWFmNTg4ZjQ3NmUyNDRkNjI3YjI0OWMwYTcwN2NiNDY3YmUzZTgwNjIzOGNj
10
- NGQ5OGRkNDc2ZjU4NDgyYzg0NmQ2OTJmNmY4YThjMmQ5MjEzMDc2ZGI2ZGI3
11
- M2MzYjU5YjFlMDk4ODg5NjkwODFhN2FkNjJjNTg0NzEyMjEzYTA=
9
+ YmU4M2ExNmY4ODI0NmVmYjNjMTc2MzYxNWFmYmM3ZmQ3MzI0MzUyZWY5OWFk
10
+ YWYyZjg2NDgwMDQxODlhYWUwMWNlODkwNzIxYzA2Y2Q2N2Y0ZjliZDcyYmJi
11
+ YzhjMGM3OGE0NzY4NWNjNTZmZDkzYmY0YzJjMjQ5NTlmYWQyNDg=
12
12
  data.tar.gz: !binary |-
13
- MjFmNDVlMWVmZmVjYzQ1MDEyOTk2ZjlhODA3ZjVkYmYyZmQ2OTE1NGNkYzNk
14
- NTQ5MDJiZjExMDI0NTgyMmU4ZGMzN2M0Y2JhZDczNDcwYTY2ZWM0MmQwYzkw
15
- ZWU0OTc0MjBhNjMxMDQzODM4MTY5MmY0YTQ5ZmZkNjBkYTQxODg=
13
+ YjE3YWE0YWMzNTJhYjk2MzI1ZDU3M2M4ZjdhZmMwN2E0ZjBiMTAwNGU1ZDEz
14
+ MzUwNzZmZDI2MjlkMWU0YjRlMzc2OGZkMWY3NWExMTI3ODY1YmIxZTBlNGM2
15
+ YmQ5YzM5OGQyNjc5ZTQ5NTM2MGM2YTcwZGRmNzliZmQ2MWMzODE=
data/README.md CHANGED
@@ -104,10 +104,10 @@ The `--config` (`-c`) option allows specifying an alternative config file, e.g.:
104
104
 
105
105
  $ aptly-cli -c ~/.config/aptly-cli/aptly-cli.conf repo_list
106
106
 
107
- The `--server`, `--username`, and `--password` options allow specifying
107
+ The `--server`, `--port`, `--username`, and `--password` options allow specifying
108
108
  those things on the command-line and not even requiring a config file.
109
109
 
110
- $ aptly-cli --server 10.3.0.46 --username marca --password '${PROMPT_PASSWORD}' repo_list
110
+ $ aptly-cli --server 10.3.0.46 --port 9000 --username marca --password '${PROMPT_PASSWORD}' repo_list
111
111
 
112
112
  Note that you can use `${PROMPT}`, `${PROMPT_PASSWORD}`, and `${KEYRING}` in
113
113
  the values of these options, just as you can in a config file. Note that you
data/Rakefile CHANGED
@@ -45,7 +45,7 @@ end
45
45
 
46
46
  desc "Start Aptly Docker container on port 8082"
47
47
  task :docker_run do
48
- sh %{docker run -d -p 8082:8080 sepulworld/aptly_api_test /bin/sh -c "aptly api serve"}
48
+ sh %{docker run -d -p 8082:8080 --restart=always sepulworld/aptly_api_test /bin/sh -c "aptly api serve"}
49
49
  end
50
50
 
51
51
  desc "Show running Aptly process Docker stdout logs"
@@ -1,3 +1,3 @@
1
1
  module AptlyCli
2
- VERSION = '0.3.2'.freeze
2
+ VERSION = '0.3.3'.freeze
3
3
  end
@@ -85,7 +85,7 @@ module AptlyCli
85
85
  begin
86
86
  self.class.put(uri, query: @query_json, headers:
87
87
  { 'Content-Type' => 'application/json' })
88
- rescue HTTPary::Error => e
88
+ rescue HTTParty::Error => e
89
89
  puts e
90
90
  end
91
91
  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.2
4
+ version: 0.3.3
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-22 00:00:00.000000000 Z
11
+ date: 2016-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler