hammer_cli_foreman 0.0.8 → 0.0.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.
@@ -32,7 +32,7 @@ module HammerCLIForeman
32
32
  end
33
33
 
34
34
  def self.apipie_options(options={})
35
- super(options.merge(:without => declared_identifiers.keys))
35
+ super({:without => declared_identifiers.keys}.merge(options))
36
36
  end
37
37
 
38
38
  end
@@ -110,8 +110,8 @@ module HammerCLIForeman
110
110
  end
111
111
 
112
112
  def initialize(*args)
113
- setup_associated_identifier_options
114
113
  super(*args)
114
+ setup_associated_identifier_options
115
115
  end
116
116
 
117
117
  def setup_associated_identifier_options
@@ -123,7 +123,7 @@ module HammerCLIForeman
123
123
 
124
124
 
125
125
  def associated_resource
126
- ResourceInstance.from_definition(self.class.associated_resource, resource_config)
126
+ HammerCLI::Apipie::ResourceInstance.from_definition(self.class.associated_resource, resource_config)
127
127
  end
128
128
 
129
129
  def self.associated_resource(resource_class=nil)
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForeman
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.0.8'
3
+ @version ||= Gem::Version.new '0.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Tomáš Strachota
@@ -9,95 +10,101 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-10-23 00:00:00.000000000 Z
13
+ date: 2013-10-29 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: hammer_cli
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
- - - '>='
20
+ - - ! '>='
19
21
  - !ruby/object:Gem::Version
20
22
  version: 0.0.6
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
- - - '>='
28
+ - - ! '>='
26
29
  - !ruby/object:Gem::Version
27
30
  version: 0.0.6
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: foreman_api
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
- - - '>='
36
+ - - ! '>='
33
37
  - !ruby/object:Gem::Version
34
38
  version: 0.1.7
35
39
  type: :runtime
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
- - - '>='
44
+ - - ! '>='
40
45
  - !ruby/object:Gem::Version
41
46
  version: 0.1.7
42
- description: |
43
- Foreman commands for Hammer CLI
47
+ description: ! 'Foreman commands for Hammer CLI
48
+
49
+ '
44
50
  email: tstracho@redhat.com
45
51
  executables: []
46
52
  extensions: []
47
53
  extra_rdoc_files: []
48
54
  files:
49
- - lib/hammer_cli_foreman/report.rb
50
- - lib/hammer_cli_foreman/media.rb
55
+ - lib/hammer_cli_foreman.rb
56
+ - lib/hammer_cli_foreman/common_parameter.rb
57
+ - lib/hammer_cli_foreman/model.rb
58
+ - lib/hammer_cli_foreman/output/fields.rb
59
+ - lib/hammer_cli_foreman/output/formatters.rb
60
+ - lib/hammer_cli_foreman/template.rb
61
+ - lib/hammer_cli_foreman/fact.rb
62
+ - lib/hammer_cli_foreman/user.rb
51
63
  - lib/hammer_cli_foreman/domain.rb
52
- - lib/hammer_cli_foreman/partition_table.rb
53
64
  - lib/hammer_cli_foreman/resource_supported_test.rb
54
- - lib/hammer_cli_foreman/host.rb
55
- - lib/hammer_cli_foreman/hostgroup.rb
56
- - lib/hammer_cli_foreman/organization.rb
57
- - lib/hammer_cli_foreman/parameter.rb
58
- - lib/hammer_cli_foreman/environment.rb
59
- - lib/hammer_cli_foreman/puppet_class.rb
60
- - lib/hammer_cli_foreman/user.rb
61
- - lib/hammer_cli_foreman/version.rb
62
- - lib/hammer_cli_foreman/associating_commands.rb
63
- - lib/hammer_cli_foreman/fact.rb
64
- - lib/hammer_cli_foreman/subnet.rb
65
- - lib/hammer_cli_foreman/exception_handler.rb
66
- - lib/hammer_cli_foreman/output.rb
65
+ - lib/hammer_cli_foreman/media.rb
67
66
  - lib/hammer_cli_foreman/compute_resource.rb
68
- - lib/hammer_cli_foreman/common_parameter.rb
67
+ - lib/hammer_cli_foreman/report.rb
68
+ - lib/hammer_cli_foreman/location.rb
69
69
  - lib/hammer_cli_foreman/commands.rb
70
+ - lib/hammer_cli_foreman/associating_commands.rb
71
+ - lib/hammer_cli_foreman/parameter.rb
70
72
  - lib/hammer_cli_foreman/architecture.rb
71
- - lib/hammer_cli_foreman/location.rb
72
- - lib/hammer_cli_foreman/output/formatters.rb
73
- - lib/hammer_cli_foreman/output/fields.rb
74
- - lib/hammer_cli_foreman/operating_system.rb
75
- - lib/hammer_cli_foreman/model.rb
76
- - lib/hammer_cli_foreman/template.rb
73
+ - lib/hammer_cli_foreman/version.rb
77
74
  - lib/hammer_cli_foreman/smart_proxy.rb
78
- - lib/hammer_cli_foreman.rb
75
+ - lib/hammer_cli_foreman/environment.rb
76
+ - lib/hammer_cli_foreman/organization.rb
77
+ - lib/hammer_cli_foreman/host.rb
78
+ - lib/hammer_cli_foreman/hostgroup.rb
79
+ - lib/hammer_cli_foreman/output.rb
80
+ - lib/hammer_cli_foreman/exception_handler.rb
81
+ - lib/hammer_cli_foreman/puppet_class.rb
82
+ - lib/hammer_cli_foreman/partition_table.rb
83
+ - lib/hammer_cli_foreman/operating_system.rb
84
+ - lib/hammer_cli_foreman/subnet.rb
79
85
  homepage: http://github.com/theforeman/hammer-cli-foreman
80
86
  licenses: []
81
- metadata: {}
82
87
  post_install_message:
83
88
  rdoc_options: []
84
89
  require_paths:
85
90
  - lib
86
91
  required_ruby_version: !ruby/object:Gem::Requirement
92
+ none: false
87
93
  requirements:
88
- - - '>='
94
+ - - ! '>='
89
95
  - !ruby/object:Gem::Version
90
96
  version: '0'
91
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
+ none: false
92
99
  requirements:
93
- - - '>='
100
+ - - ! '>='
94
101
  - !ruby/object:Gem::Version
95
102
  version: '0'
96
103
  requirements: []
97
104
  rubyforge_project:
98
- rubygems_version: 2.0.8
105
+ rubygems_version: 1.8.24
99
106
  signing_key:
100
- specification_version: 4
107
+ specification_version: 3
101
108
  summary: Foreman commands for Hammer
102
109
  test_files: []
103
110
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2b1eaa5576f64142805da5d6295ab4df83d63106
4
- data.tar.gz: 4891cceb2a303296179f8fe6db1e97aefe2569e6
5
- SHA512:
6
- metadata.gz: 5dc9c8d7f605874419ea127b85db3ec26b04be8960650ce17b1674a797e887eca229ed36b6c3625b689fd42f33c697042171585e53fecca0d2c541d508c2bd55
7
- data.tar.gz: 862436bda92f84c4e1d0a6a7bb9012939ba24d15055245a731072b23afaeb027ed303c353b1033c521686ef8f9bceb05fd7b5d4a4b2e3a683ab42e6892f82f7d