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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a07530fca2559a9ab75f4e287a46ede2a38d3cd
4
- data.tar.gz: '0088bd037fda97450755a19d7479e6994549dc96'
3
+ metadata.gz: e73236442681ea0de600a7331e2d07f94c672269
4
+ data.tar.gz: 212fc6f1528868af2162ddacaa47cf1a0e0d57a2
5
5
  SHA512:
6
- metadata.gz: 1b0853ed83f5ceb835fed41d833de7d2abbb789a31ed5b3fff8d35a96c82327bc5d3b2746088d3eb895a61f93ac7da22fc254cf4dfc934455fd3b533a60c62c1
7
- data.tar.gz: 5c87348a2eebc66ccd5207c0c5aeaa43dbb3c6277a0d977a5e3c8f043e798cee71f2a3a81f57a3af77c6a408fcbe75e63335121402c5de65dd610a76c188f03a
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 || self.parent_command.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
@@ -1,5 +1,5 @@
1
1
  module HammerCLI
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.13.0'
3
+ @version ||= Gem::Version.new '0.13.1'
4
4
  end
5
5
  end
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.0
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-05-09 00:00:00.000000000 Z
12
+ date: 2018-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp