hammer_cli 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes.md +3 -0
- data/lib/hammer_cli/apipie/resource.rb +5 -1
- data/lib/hammer_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e73236442681ea0de600a7331e2d07f94c672269
|
4
|
+
data.tar.gz: 212fc6f1528868af2162ddacaa47cf1a0e0d57a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6640289dfa481f0bd1061cf14be8a345277887b991476b07177ed8ebe7ebc59811edd45304ebe9e9def94c1c1ace7324bbb2e025ff07b11fc42d6095b00d591f
|
7
|
+
data.tar.gz: fcbb4cb0d83bdb7d77ef995843c5a83de6bb9f4da34424157ee94ddb5807d0c335832ad5fa2f36d04b522004b143d03a0aaf5e5a4f9497223e0bf1aa8ec77c05
|
data/doc/release_notes.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
Release notes
|
2
2
|
=============
|
3
|
+
### 0.13.1 (2018-08-15)
|
4
|
+
* restore help building ([PR #280](https://github.com/theforeman/hammer-cli/pull/280)) ([#24488](http://projects.theforeman.org/issues/24488))
|
5
|
+
|
3
6
|
### 0.13.0 (2018-05-09)
|
4
7
|
* Hammer CSV output saved as a file ([PR #254](https://github.com/theforeman/hammer-cli/pull/254)) ([#11586](http://projects.theforeman.org/issues/11586))
|
5
8
|
* correct parsing of enum types ([PR #272](https://github.com/theforeman/hammer-cli/pull/272)) ([#22752](http://projects.theforeman.org/issues/22752))
|
@@ -7,7 +7,7 @@ module HammerCLI::Apipie
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def resource
|
10
|
-
self.class.resource ||
|
10
|
+
self.class.resource || parent_command_resource
|
11
11
|
end
|
12
12
|
|
13
13
|
def action
|
@@ -22,6 +22,10 @@ module HammerCLI::Apipie
|
|
22
22
|
self.class.connection_options
|
23
23
|
end
|
24
24
|
|
25
|
+
def parent_command_resource
|
26
|
+
self.parent_command.class.respond_to?(:resource) && self.parent_command.class.resource
|
27
|
+
end
|
28
|
+
|
25
29
|
module ClassMethods
|
26
30
|
|
27
31
|
def resource_config
|
data/lib/hammer_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Bačovský
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|