foreman_api 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/doc/ForemanApi.html +3 -3
  3. data/doc/ForemanApi/Resources.html +4 -4
  4. data/doc/ForemanApi/Resources/Architecture.html +7 -7
  5. data/doc/ForemanApi/Resources/Audit.html +5 -5
  6. data/doc/ForemanApi/Resources/AuthSourceLdap.html +15 -15
  7. data/doc/ForemanApi/Resources/Bookmark.html +3 -3
  8. data/doc/ForemanApi/Resources/CommonParameter.html +5 -5
  9. data/doc/ForemanApi/Resources/ComputeResource.html +167 -24
  10. data/doc/ForemanApi/Resources/ConfigTemplate.html +14 -14
  11. data/doc/ForemanApi/Resources/Dashboard.html +2 -2
  12. data/doc/ForemanApi/Resources/Domain.html +14 -14
  13. data/doc/ForemanApi/Resources/Environment.html +199 -25
  14. data/doc/ForemanApi/Resources/FactValue.html +5 -5
  15. data/doc/ForemanApi/Resources/Home.html +1 -1
  16. data/doc/ForemanApi/Resources/Host.html +509 -10
  17. data/doc/ForemanApi/Resources/HostClass.html +5 -5
  18. data/doc/ForemanApi/Resources/Hostgroup.html +5 -5
  19. data/doc/ForemanApi/Resources/HostgroupClass.html +5 -5
  20. data/doc/ForemanApi/Resources/Image.html +5 -5
  21. data/doc/ForemanApi/Resources/Interface.html +1045 -0
  22. data/doc/ForemanApi/Resources/Location.html +5 -5
  23. data/doc/ForemanApi/Resources/LookupKey.html +62 -811
  24. data/doc/ForemanApi/Resources/Medium.html +13 -13
  25. data/doc/ForemanApi/Resources/Model.html +5 -5
  26. data/doc/ForemanApi/Resources/OperatingSystem.html +5 -5
  27. data/doc/ForemanApi/Resources/Organization.html +5 -5
  28. data/doc/ForemanApi/Resources/OverrideValue.html +1060 -0
  29. data/doc/ForemanApi/Resources/Parameter.html +26 -26
  30. data/doc/ForemanApi/Resources/Ptable.html +5 -5
  31. data/doc/ForemanApi/Resources/Puppetclass.html +80 -28
  32. data/doc/ForemanApi/Resources/Report.html +164 -6
  33. data/doc/ForemanApi/Resources/Role.html +3 -3
  34. data/doc/ForemanApi/Resources/Setting.html +5 -5
  35. data/doc/ForemanApi/Resources/SmartClassParameter.html +747 -0
  36. data/doc/ForemanApi/Resources/SmartProxy.html +341 -24
  37. data/doc/ForemanApi/Resources/SmartVariable.html +1043 -0
  38. data/doc/ForemanApi/Resources/Statistic.html +330 -0
  39. data/doc/ForemanApi/Resources/Subnet.html +33 -33
  40. data/doc/ForemanApi/Resources/TemplateCombination.html +3 -3
  41. data/doc/ForemanApi/Resources/TemplateKind.html +3 -3
  42. data/doc/ForemanApi/Resources/User.html +7 -7
  43. data/doc/ForemanApi/Resources/Usergroup.html +5 -5
  44. data/doc/_index.html +36 -1
  45. data/doc/class_list.html +1 -1
  46. data/doc/file.MIT-LICENSE.html +1 -1
  47. data/doc/file.README.html +1 -1
  48. data/doc/index.html +1 -1
  49. data/doc/method_list.html +515 -347
  50. data/doc/top-level-namespace.html +1 -1
  51. data/lib/foreman_api/base.rb +2 -1
  52. data/lib/foreman_api/documentation.json +1 -1
  53. data/lib/foreman_api/resources/architecture.rb +6 -6
  54. data/lib/foreman_api/resources/audit.rb +4 -4
  55. data/lib/foreman_api/resources/auth_source_ldap.rb +14 -14
  56. data/lib/foreman_api/resources/bookmark.rb +2 -2
  57. data/lib/foreman_api/resources/common_parameter.rb +4 -4
  58. data/lib/foreman_api/resources/compute_resource.rb +29 -20
  59. data/lib/foreman_api/resources/config_template.rb +13 -13
  60. data/lib/foreman_api/resources/dashboard.rb +1 -1
  61. data/lib/foreman_api/resources/domain.rb +13 -13
  62. data/lib/foreman_api/resources/environment.rb +16 -4
  63. data/lib/foreman_api/resources/fact_value.rb +4 -4
  64. data/lib/foreman_api/resources/host.rb +40 -8
  65. data/lib/foreman_api/resources/host_class.rb +4 -4
  66. data/lib/foreman_api/resources/hostgroup.rb +4 -4
  67. data/lib/foreman_api/resources/hostgroup_class.rb +4 -4
  68. data/lib/foreman_api/resources/image.rb +4 -4
  69. data/lib/foreman_api/resources/interface.rb +80 -0
  70. data/lib/foreman_api/resources/location.rb +4 -4
  71. data/lib/foreman_api/resources/lookup_key.rb +6 -65
  72. data/lib/foreman_api/resources/medium.rb +10 -10
  73. data/lib/foreman_api/resources/model.rb +4 -4
  74. data/lib/foreman_api/resources/operating_system.rb +4 -4
  75. data/lib/foreman_api/resources/organization.rb +4 -4
  76. data/lib/foreman_api/resources/override_value.rb +73 -0
  77. data/lib/foreman_api/resources/parameter.rb +25 -25
  78. data/lib/foreman_api/resources/ptable.rb +4 -4
  79. data/lib/foreman_api/resources/puppetclass.rb +11 -7
  80. data/lib/foreman_api/resources/report.rb +19 -4
  81. data/lib/foreman_api/resources/role.rb +2 -2
  82. data/lib/foreman_api/resources/setting.rb +4 -4
  83. data/lib/foreman_api/resources/smart_class_parameter.rb +55 -0
  84. data/lib/foreman_api/resources/smart_proxy.rb +24 -3
  85. data/lib/foreman_api/resources/smart_variable.rb +80 -0
  86. data/lib/foreman_api/resources/statistic.rb +18 -0
  87. data/lib/foreman_api/resources/subnet.rb +32 -32
  88. data/lib/foreman_api/resources/template_combination.rb +2 -2
  89. data/lib/foreman_api/resources/template_kind.rb +2 -2
  90. data/lib/foreman_api/resources/user.rb +6 -6
  91. data/lib/foreman_api/resources/usergroup.rb +4 -4
  92. data/lib/foreman_api/version.rb +1 -1
  93. metadata +13 -3
@@ -6,10 +6,10 @@ module ForemanApi
6
6
  end
7
7
 
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
- # @option params [String] order Sort results
10
- # @option params [String] page Paginate results
11
- # @option params [String] per_page Number of entries per request
12
- # @option params [String] search Filter results
9
+ # @option params [String] order sort results
10
+ # @option params [String] page paginate results
11
+ # @option params [String] per_page number of entries per request
12
+ # @option params [String] search filter results
13
13
  #
14
14
  # @param [Hash] headers additional http headers
15
15
  # @return [Array] First item: parsed data; second item: raw body
@@ -1,3 +1,3 @@
1
1
  module ForemanApi
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-27 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -84,19 +84,24 @@ files:
84
84
  - doc/ForemanApi/Resources/Hostgroup.html
85
85
  - doc/ForemanApi/Resources/HostgroupClass.html
86
86
  - doc/ForemanApi/Resources/Image.html
87
+ - doc/ForemanApi/Resources/Interface.html
87
88
  - doc/ForemanApi/Resources/Location.html
88
89
  - doc/ForemanApi/Resources/LookupKey.html
89
90
  - doc/ForemanApi/Resources/Medium.html
90
91
  - doc/ForemanApi/Resources/Model.html
91
92
  - doc/ForemanApi/Resources/OperatingSystem.html
92
93
  - doc/ForemanApi/Resources/Organization.html
94
+ - doc/ForemanApi/Resources/OverrideValue.html
93
95
  - doc/ForemanApi/Resources/Parameter.html
94
96
  - doc/ForemanApi/Resources/Ptable.html
95
97
  - doc/ForemanApi/Resources/Puppetclass.html
96
98
  - doc/ForemanApi/Resources/Report.html
97
99
  - doc/ForemanApi/Resources/Role.html
98
100
  - doc/ForemanApi/Resources/Setting.html
101
+ - doc/ForemanApi/Resources/SmartClassParameter.html
99
102
  - doc/ForemanApi/Resources/SmartProxy.html
103
+ - doc/ForemanApi/Resources/SmartVariable.html
104
+ - doc/ForemanApi/Resources/Statistic.html
100
105
  - doc/ForemanApi/Resources/Subnet.html
101
106
  - doc/ForemanApi/Resources/TemplateCombination.html
102
107
  - doc/ForemanApi/Resources/TemplateKind.html
@@ -139,19 +144,24 @@ files:
139
144
  - lib/foreman_api/resources/hostgroup.rb
140
145
  - lib/foreman_api/resources/hostgroup_class.rb
141
146
  - lib/foreman_api/resources/image.rb
147
+ - lib/foreman_api/resources/interface.rb
142
148
  - lib/foreman_api/resources/location.rb
143
149
  - lib/foreman_api/resources/lookup_key.rb
144
150
  - lib/foreman_api/resources/medium.rb
145
151
  - lib/foreman_api/resources/model.rb
146
152
  - lib/foreman_api/resources/operating_system.rb
147
153
  - lib/foreman_api/resources/organization.rb
154
+ - lib/foreman_api/resources/override_value.rb
148
155
  - lib/foreman_api/resources/parameter.rb
149
156
  - lib/foreman_api/resources/ptable.rb
150
157
  - lib/foreman_api/resources/puppetclass.rb
151
158
  - lib/foreman_api/resources/report.rb
152
159
  - lib/foreman_api/resources/role.rb
153
160
  - lib/foreman_api/resources/setting.rb
161
+ - lib/foreman_api/resources/smart_class_parameter.rb
154
162
  - lib/foreman_api/resources/smart_proxy.rb
163
+ - lib/foreman_api/resources/smart_variable.rb
164
+ - lib/foreman_api/resources/statistic.rb
155
165
  - lib/foreman_api/resources/subnet.rb
156
166
  - lib/foreman_api/resources/template_combination.rb
157
167
  - lib/foreman_api/resources/template_kind.rb
@@ -178,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
188
  version: '0'
179
189
  requirements: []
180
190
  rubyforge_project:
181
- rubygems_version: 2.0.5
191
+ rubygems_version: 2.0.8
182
192
  signing_key:
183
193
  specification_version: 4
184
194
  summary: Ruby bindings for Forman's rest API