knife-softlayer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.test_files = spec.files.grep(%r{^(spec|spec|features)/})
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_dependency "softlayer_api", "~> 1.0"
28
+ spec.add_dependency "softlayer_api", "~> 1.0.8"
29
29
  spec.add_dependency "knife-windows", "~> 0.5.12"
30
30
  spec.add_dependency "net-ssh", "~> 2.8.0"
31
31
 
@@ -11,6 +11,8 @@ class Chef
11
11
  class Knife
12
12
  module SoftlayerBase
13
13
 
14
+ USER_AGENT = "Chef Knife Softlayer Plugin #{::Knife::Softlayer::VERSION}"
15
+
14
16
  # :nodoc:
15
17
  def self.included(includer)
16
18
  includer.class_eval do
@@ -50,7 +52,8 @@ class Chef
50
52
  SoftLayer::Service.new(
51
53
  SoftlayerBase.send(service),
52
54
  :username => Chef::Config[:knife][:softlayer_username],
53
- :api_key => Chef::Config[:knife][:softlayer_api_key]
55
+ :api_key => Chef::Config[:knife][:softlayer_api_key],
56
+ :user_agent => USER_AGENT
54
57
  )
55
58
  end
56
59
 
@@ -110,7 +113,8 @@ class Chef
110
113
  SoftLayer::Service.new(
111
114
  SoftlayerBase.send(:package),
112
115
  :username => Chef::Config[:knife][:softlayer_username],
113
- :api_key => Chef::Config[:knife][:softlayer_api_key]
116
+ :api_key => Chef::Config[:knife][:softlayer_api_key],
117
+ :user_agent => USER_AGENT
114
118
  ).object_with_id(non_server_package_id).object_mask('isRequired', 'itemCategory').getConfiguration.map do |item|
115
119
  item['itemCategory']['id'] if item['itemCategory']['categoryCode'] == 'global_ipv4'
116
120
  end.compact.first
@@ -123,7 +127,8 @@ class Chef
123
127
  SoftLayer::Service.new(
124
128
  SoftlayerBase.send(:package),
125
129
  :username => Chef::Config[:knife][:softlayer_username],
126
- :api_key => Chef::Config[:knife][:softlayer_api_key]
130
+ :api_key => Chef::Config[:knife][:softlayer_api_key],
131
+ :user_agent => USER_AGENT
127
132
  ).object_with_id(non_server_package_id).object_mask('id', 'item.description', 'categories.id').getItemPrices.map do |item|
128
133
  item['id'] if item['categories'][0]['id'] == SoftlayerBase.global_ipv4_cat_code
129
134
  end.compact.first
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Knife
9
9
  module Softlayer
10
- VERSION = "0.0.2"
10
+ VERSION = "0.0.3"
11
11
  end
12
12
  end
@@ -0,0 +1,25 @@
1
+ #
2
+ # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
3
+ # © Copyright IBM Corporation 2014.
4
+ #
5
+ # LICENSE: Apache 2.0 (http://www.apache.org/licenses/)
6
+ #
7
+
8
+ require File.expand_path('../../spec_helper', __FILE__)
9
+ require 'chef/knife/bootstrap'
10
+ require 'softlayer_api'
11
+
12
+
13
+ describe Chef::Knife::SoftlayerBase do
14
+
15
+ describe "connection" do
16
+ it "should set the user agent string that the softlayer_api gem uses" do
17
+ Chef::Config[:knife][:softlayer_username] = 'username'
18
+ Chef::Config[:knife][:softlayer_api_key] = 'key'
19
+ sl = Chef::Knife::SoftlayerServerCreate.new
20
+ sl.connection.user_agent['User-Agent'].should match /Knife Softlayer Plugin/
21
+ end
22
+ end
23
+
24
+
25
+ end
@@ -95,7 +95,7 @@ describe Chef::Knife::SoftlayerServerCreate do
95
95
  @knife_softlayer_create.cci.should_not == nil
96
96
  end
97
97
 
98
- it "set ssh_user value by using -x option" do
98
+ it "sets ssh_user value by using -x option" do
99
99
  # default value of config[:ssh_user] is root
100
100
  @knife_softlayer_create.config[:ssh_user] = "tim-eah!"
101
101
 
@@ -104,7 +104,7 @@ describe Chef::Knife::SoftlayerServerCreate do
104
104
  @knife_softlayer_create.cci.should_not == nil
105
105
  end
106
106
 
107
- it "set ssh_password value by using -P option" do
107
+ it "sets ssh_password value by using -P option" do
108
108
  # default value of config[:ssh_password] is nil
109
109
  @knife_softlayer_create.config[:ssh_password] = "passw0rd"
110
110
 
@@ -113,7 +113,7 @@ describe Chef::Knife::SoftlayerServerCreate do
113
113
  @knife_softlayer_create.cci.should_not == nil
114
114
  end
115
115
 
116
- it "set ssh_port value by using -p option" do
116
+ it "sets ssh_port value by using -p option" do
117
117
  # default value of config[:ssh_port] is 22
118
118
  @knife_softlayer_create.config[:ssh_port] = "86"
119
119
 
@@ -122,7 +122,7 @@ describe Chef::Knife::SoftlayerServerCreate do
122
122
  @knife_softlayer_create.cci.should_not == nil
123
123
  end
124
124
 
125
- it "set identity_file value by using -i option for ssh bootstrap protocol or linux image" do
125
+ it "sets identity_file value by using -i option for ssh bootstrap protocol or linux image" do
126
126
  # default value of config[:identity_file] is nil
127
127
  @knife_softlayer_create.config[:identity_file] = "~/.ssh/mah_key_file.pem"
128
128
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-softlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-08 00:00:00.000000000 Z
12
+ date: 2014-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: softlayer_api
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '1.0'
21
+ version: 1.0.8
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '1.0'
29
+ version: 1.0.8
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: knife-windows
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -188,7 +188,6 @@ files:
188
188
  - docs/cla-corporate.md
189
189
  - docs/cla-individual.md
190
190
  - knife-softlayer.gemspec
191
- - knife-softlayer.html
192
191
  - lib/chef/knife/flavor/base.rb
193
192
  - lib/chef/knife/softlayer.rb
194
193
  - lib/chef/knife/softlayer_base.rb
@@ -199,6 +198,7 @@ files:
199
198
  - lib/chef/knife/softlayer_server_destroy.rb
200
199
  - lib/knife-softlayer/version.rb
201
200
  - spec/spec_helper.rb
201
+ - spec/unit/softlayer_base_spec.rb
202
202
  - spec/unit/softlayer_server_create_spec.rb
203
203
  - spec/unit/softlayer_server_destroy_spec.rb
204
204
  homepage: https://github.com/SoftLayer/knife-softlayer
@@ -228,5 +228,7 @@ specification_version: 3
228
228
  summary: SoftLayer CCI support for Chef's knife utility.
229
229
  test_files:
230
230
  - spec/spec_helper.rb
231
+ - spec/unit/softlayer_base_spec.rb
231
232
  - spec/unit/softlayer_server_create_spec.rb
232
233
  - spec/unit/softlayer_server_destroy_spec.rb
234
+ has_rdoc:
data/knife-softlayer.html DELETED
@@ -1,464 +0,0 @@
1
- <html>
2
- <head>
3
- <!-- (C) COPYRIGHT International Business Machines Corp. 2008-2014-->
4
- <title>knife-softlayer Report</title>
5
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6
- <style>
7
- .file {
8
- font-family: Tahoma;
9
- font-size: 12.0pt;
10
- }
11
- .annotation {
12
- background: Yellow;
13
- border: solid windowtext 1.0pt;
14
- padding: 1.0pt 4.0pt 1.0pt 4.0pt;
15
- }
16
- </style>
17
- </head>
18
- <body>
19
- <font face="Tahoma">
20
- <b></b>
21
- <table>
22
- <tr><td><b>Scanner - Command line invocation</b></td><td>-p /Users/cphrmky/ibm/knife-softlayer -s disabled -b -o /Users/cphrmky/ibm/knife-softlayer /Users/cphrmky/ibm/knife-softlayer</td></tr>
23
- <tr><td><b>Scanner - CSAR version</b></td><td>3.0.2 rev 1403202006 abbreviated</td></tr>
24
- <tr><td><b>Scanner - Invoked on</b></td><td>April 7, 2014 3:00 PM</td></tr>
25
- <tr><td><b>Scanner - User name</b></td><td>cphrmky</td></tr>
26
- <tr><td><b>Scanner - Total files</b></td><td>35</td></tr>
27
- <tr><td><b>Scanner - Scanned files</b></td><td>31</td></tr>
28
- <tr><td><b>Analyzer - CSAR version</b></td><td>3.0.2 rev 1403202006 abbreviated</td></tr>
29
- <tr><td><b>Analyzer - User name</b></td><td>cphrmky</td></tr>
30
- <tr><td><b>Analyzer - Scanned files</b></td><td>31</td></tr>
31
- <tr><td><b>Analyzer - Included files</b></td><td>30</td></tr>
32
- <tr><td><b>Analyzer - Legal files</b></td><td>1</td></tr>
33
- <tr><td><b>Analyzer - Excluded files</b></td><td>0</td></tr>
34
- <tr><td><b>Analyzer - Binary files</b></td><td>0</td></tr>
35
- <tr><td><b>Analyzer - Last saved</b></td><td>April 7, 2014 3:02 PM</td></tr>
36
- </table>
37
-
38
- <h2>IBM Internal Use Only</h2>
39
-
40
- <div style="background-color: Yellow">Initial Code Scan Analysis Steps: (see Quick Start in the Users Guide for more details.)
41
- <ol>
42
-
43
- <li><b>Check for zip files.</b> Navigate to the File Tree View Panel by selecting the Panel-&gt;File Tree View from the menu. Use the RegExp <code>\.(zip|tar|gz)$</code> to find them.
44
- These files should be uncompressed, and the scan redone to include these files.
45
- <li><b>Verify Legal Files.</b> Ensure there are no false positives in identifying legal files.
46
- Scroll down in your report until reaching the File Details section, and review the listed legal files.
47
- You may view a file's contents by selecting its filename; you may change a file's state from this File View Panel by selecting either the Include or Exclude button.
48
- </ol>
49
- </div>
50
-
51
- <a href="#InterestingUniqueContexts" alt="xyzzy" title="Jump to the Interesting Unique Contexts section of the report.">Interesting Unique Contexts</a>
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
- <h2 id="statistics">Statistics</h2>
60
-
61
-
62
- 31 files scanned, after exclusions.
63
-
64
- <br>
65
-
66
-
67
- <h3>Distribution of Unique Contexts (UCs) by Analysis State:</h3>
68
- <table border="1"><tr><th>Analysis State</th><th>Number</th><th>Percent</th></tr>
69
- <tr style="background-color: Lime ">
70
- <td><b>nI</b> - <b>n</b>ot<b>I</b>nteresting</td>
71
- <td align="right">7</td>
72
- <td align="right">100%</td>
73
- </tr>
74
- <tr>
75
- <td><b>Total</b></td>
76
- <td align="right">7</td>
77
- <td align="right">100%</td>
78
- </tr>
79
- </table>
80
-
81
- <br>
82
-
83
- <b>The OSSC-approved keywords were used in this scan.</b>
84
-
85
- <br><br>
86
-
87
-
88
- 7 scan keywords,
89
- 1 with UCs,
90
- 14%
91
-
92
- <br><br>
93
-
94
-
95
-
96
-
97
- <h2 id="KeywordAnalysisStateStatistics">Keyword Analysis State Statistics</h2>
98
- <table border="1">
99
- <tr>
100
- <th rowspan="2" align="left">IBM Internal Use Only<br/><br/>Keyword Name</th><th colspan="2">All</th>
101
- <th colspan="2" style="background-color: Silver">
102
- <b>nA</b> - <b>n</b>ot<b>A</b>nalyzed</th>
103
- <th colspan="2" style="background-color: Lime">
104
- <b>nI</b> - <b>n</b>ot<b>I</b>nteresting</th>
105
- <th colspan="2" style="background-color: Red">
106
- <b>I</b> - <b>I</b>nteresting</th>
107
- </tr>
108
- <tr>
109
- <th>Number</th><th>Percent</th> <th style="background-color: Silver">Number</th>
110
- <th style="background-color: Silver">Percent</th>
111
- <th style="background-color: Lime">Number</th>
112
- <th style="background-color: Lime">Percent</th>
113
- <th style="background-color: Red">Number</th>
114
- <th style="background-color: Red">Percent</th>
115
- </tr>
116
-
117
- <tr>
118
- <td>*licen[cs]* - non-IBM</td><td align="right">7</td><td align="right">100%</td>
119
- <td align="right">0</td>
120
- <td align="right">0%</td>
121
- <td align="right" style="background-color: Lime">7</td>
122
- <td align="right" style="background-color: Lime">100%</td>
123
- <td align="right">0</td>
124
- <td align="right">0%</td>
125
- </tr>
126
-
127
- <tr><td><b>Total UCs<sup>&dagger;</sup></td><td align="right">7</td><td align="right">100%</td>
128
- <td align="right">0</td>
129
- <td align="right">0%</td>
130
- <td align="right" style="background-color: Lime">7</td>
131
- <td align="right" style="background-color: Lime">100%</td>
132
- <td align="right">0</td>
133
- <td align="right">0%</td>
134
- </tr>
135
- </table>
136
- &dagger; Note: A UC can contain more than one keyword hit.
137
- <h3>Keywords without hits</h3>
138
- IBM Internal Use Only
139
- <ol compact>
140
- <li>Numerical Recipes</li>
141
- <li>public domain</li>
142
- <li>Affero</li>
143
- <li>*commercial*</li>
144
- <li>*GPL</li>
145
- <li>patent*</li>
146
- </ol>
147
-
148
- <br>
149
-
150
-
151
- <h2 id="fileDetails">File Details</h2>
152
-
153
- 31 files scanned.<br>
154
-
155
- <table border="1">
156
- <tr><th>File State</th><th>All</th><th>Text</th><th>Binary</th></tr>
157
- <tr><td>Included</td>
158
- <td align="right">30</td>
159
- <td align="right">30</td>
160
- <td align="right">0</td>
161
- </tr>
162
- <tr><td><font color="red">Legal</font></td>
163
- <td align="right">1</td>
164
- <td align="right">1</td>
165
- <td align="right">0</td>
166
- </tr>
167
- <tr><td><font color="gray">Excluded</font></td>
168
- <td align="right">0</td>
169
- <td align="right">0</td>
170
- <td align="right">0</td>
171
- </tr>
172
- <tr><td>Total</td>
173
- <td align="right">31</td>
174
- <td align="right">31</td>
175
- <td align="right">0</td>
176
- </tr>
177
- </table>
178
-
179
- <br>Warning: <font color="red">Legal</font> and <font color="gray">Excluded</font>
180
- files are not included in the code scan analysis! &nbsp;
181
- See the Users Guide
182
- for details.<br>
183
-
184
-
185
-
186
- <br>1 Legal file <br>
187
- <br>&nbsp;&nbsp;&nbsp; <br>
188
- <ol>
189
- <li><span class="file"><font color="red"><b>/Users/cphrmky/ibm/knife-softlayer/LICENSE.txt</b></font></span></li>
190
- </ol>
191
- <table border="1">
192
- <tr><th>Legal File Key</th></tr>
193
- <tr><td><font color="red"><b>file has hits</b></font></td></tr>
194
- <tr><td><font color="red">file has <b>no</b> hits</font></td></tr>
195
- </table>
196
-
197
- <br>
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
- <br><a href='#LegalReport' title='Go to the Legal Report section of the report.'>Go to the Legal Report section</a>
206
- <br><br>
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
- <br><a href='#BinaryFiles' title='Go to the Binary Files section of the report.'>Go to the Binary Files section</a>
215
- <br><br>
216
-
217
- 4 Excluded files<br>
218
-
219
-
220
-
221
-
222
-
223
-
224
- <br><br>
225
- No custom filters used in the scan.<br>
226
- <br>
227
-
228
-
229
-
230
- <br>&nbsp;&nbsp;&nbsp;2 files/directories excluded byScanExcludeFilter: File/Directory is excluded because of scanner configuration. Refer to exclude filter patterns for details. <br>
231
-
232
- The default exclude filter was used in this scan.<br>
233
-
234
-
235
-
236
- <ol>
237
- <li><span class="file"><font color="black">/Users/cphrmky/ibm/knife-softlayer/.git</font></span></li>
238
- <li><span class="file"><font color="black">/Users/cphrmky/ibm/knife-softlayer/.gitignore</font></span></li>
239
- </ol>
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
- <a href='#BinaryFilesXScan' title='Go to the Binary Files Excluded from Scan section of the report.'>Go to 2 files excluded byScanBinaryFile:</a> File is excluded because of scanner configuration. File is binary and all binary files are excluded.
254
-
255
-
256
-
257
-
258
-
259
-
260
- <br><br>
261
-
262
-
263
-
264
-
265
- <br><br>0 Interesting Unique Contexts
266
-
267
- <h2 id="InterestingUniqueContexts">0 <span style="background-color: Red">Interesting</span> Unique Contexts</h2>
268
-
269
- The initial code scan report follows for the
270
- <b>0</b> interesting unique contexts
271
- found in the <b>knife-softlayer</b> package code scan.
272
-
273
- <br><br>Each interesting unique context is shown with:
274
- <ol>
275
- <li>Its Unique Context id (UCid).</li>
276
- <li>The name of a single file containing this UCid.</li>
277
- <li>The range of line numbers from #2 containing the interesting unique context together with
278
- <b>3</b> lines
279
- of surrounding context before and after.</li>
280
- <li>The source lines from #3. The interesting unique context text itself is colored in
281
- <font color="Fuchsia">Fuchsia</font>.</li>
282
- <li>A <span style="background-color: Yellow">yellow-highlighted</span> analysis box.</li>
283
- </ol>
284
-
285
- Multiple interesting unique contexts in close proximity within a source file may be grouped together.<br>
286
-
287
-
288
-
289
- <br>See the Users Guide for an example and more detailed explanation.<br>
290
-
291
-
292
-
293
-
294
- <br><br>
295
-
296
- <br><br>
297
- <h2 id="notInterestingUniqueContexts">All 7 <span style="background-color: Lime">notInteresting</span> Unique Contexts</h2>
298
- <table border="1"><tr><th>n</th><th>Analysis</th><th>Hits</th><th>UCid</th><th>Unique Context (UC)</th></tr>
299
- <tr><td align="right">1</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">32</td>
300
- <td><font color="Green"> = 'direct' # lighter template<br> rdoc.rdoc_files.include("README.rdoc", "<font color="Red">LICENSE</font>", "spec/tiny_server.rb", "lib/**/*.rb")<br> rdoc.rdoc_dir = "rdoc"<br></font></td></tr>
301
- <tr><td align="right">2</td><td><font color="Lime">notInteresting</font></td><td align="right">7</td><td align="right">5</td>
302
- <td><font color="Green">#<br># <font color="Red">LICENSE</font>: Apache 2.0 (http://www.apache.org/<font color="Red">licenses</font>/)<br>#<br></font></td></tr>
303
- <tr><td align="right">3</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">3</td>
304
- <td><font color="Green"> &lt;/entry><br> &lt;entry file="file://$PROJECT_DIR$/<font color="Red">LICENSE</font>.txt"><br> &lt;provider selected="true" editor-type-id="text-editor"><br></font></td></tr>
305
- <tr><td align="right">4</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">4</td>
306
- <td><font color="Green">spec.homepage = "https://github.com/SoftLayer/knife-softlayer"<br> spec.<font color="Red">license</font> = "Apache 2.0"<br><br></font></td></tr>
307
- <tr><td align="right">5</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">2</td>
308
- <td><font color="Green">on value="$PROJECT_DIR$/README.md" /><br> &lt;option value="$PROJECT_DIR$/<font color="Red">LICENSE</font>.txt" /><br> &lt;option value="$PROJECT_DIR$/knife-softlayer.gemspec" /><br></font></td></tr>
309
- <tr><td align="right">6</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">1</td>
310
- <td><font color="Green"> &lt;/file><br> &lt;file leaf-file-name="<font color="Red">LICENSE</font>.txt" pinned="false" current="true" current-in-tab="true"><br> &lt;entry file="file://$PROJECT_DIR$/<font color="Red">LICENSE</font>.txt"><br> &lt;provider selected="true" editor-type-id="text-editor"><br></font></td></tr>
311
- <tr><td align="right">7</td><td><font color="Lime">notInteresting</font></td><td align="right">1</td><td align="right">0</td>
312
- <td><font color="Green">3e2-a9eb9f9e6761" time="1396896776812" ignored="false" /><br> &lt;file path="/<font color="Red">LICENSE</font>.txt" changelist="ce6692c9-57a0-4ad5-83e2-a9eb9f9e6761" time="1395081399849</font></td></tr>
313
- </table>
314
-
315
- <br>&nbsp;
316
-
317
-
318
- <h2 id="LegalReport">Legal Report Section</h2>
319
-
320
-
321
-
322
-
323
- Legal Report<br>
324
-
325
-
326
-
327
- <br>1 unique <font color="red">Legal</font> file found
328
- :<br><br>
329
- <table border="1">
330
- <tr><th>n</th><th>occurs</th><th align="left">File Name</th></tr>
331
- <tr>
332
- <td align="right">1</td>
333
- <td align="right">1</td>
334
- <td><span class="file"><font color="red"><b>/Users/cphrmky/ibm/knife-softlayer/LICENSE.txt</b></font></span></td></tr>
335
- </table> <br>
336
- <table border="1">
337
- <tr><th>Legal File Key</th></tr>
338
- <tr><td><font color="red"><b>file has hits</b></font></td></tr>
339
- <tr><td><font color="red">file has <b>no</b> hits</font></td></tr>
340
- </table>
341
-
342
- <br> <br>
343
-
344
-
345
-
346
- <h3>1. /Users/cphrmky/ibm/knife-softlayer/LICENSE.txt</h3>
347
-
348
- 1 file
349
- :
350
- <ol>
351
- <li><span class="file"><font color="red"><b>/Users/cphrmky/ibm/knife-softlayer/LICENSE.txt</b></font></span></li>
352
- </ol>
353
-
354
-
355
- <pre>� Copyright IBM Corporation 2014.
356
-
357
- LICENSE:
358
-
359
- Apache License, Version 2.0
360
- Apache License
361
- Version 2.0, January 2004
362
- http://www.apache.org/licenses/
363
-
364
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
365
-
366
- 1. Definitions.
367
-
368
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
369
-
370
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
371
-
372
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
373
-
374
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
375
-
376
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
377
-
378
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
379
-
380
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
381
-
382
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
383
-
384
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
385
-
386
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
387
-
388
- 2. Grant of Copyright License.
389
-
390
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
391
-
392
- 3. Grant of Patent License.
393
-
394
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
395
-
396
- 4. Redistribution.
397
-
398
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
399
-
400
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
401
- You must cause any modified files to carry prominent notices stating that You changed the files; and
402
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
403
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
404
- You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
405
-
406
- 5. Submission of Contributions.
407
-
408
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
409
-
410
- 6. Trademarks.
411
-
412
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
413
-
414
- 7. Disclaimer of Warranty.
415
-
416
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
417
-
418
- 8. Limitation of Liability.
419
-
420
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
421
-
422
- 9. Accepting Warranty or Additional Liability.
423
-
424
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
425
-
426
- END OF TERMS AND CONDITIONS
427
- </pre>
428
-
429
- <br>&nbsp;
430
-
431
-
432
- <h2 id="BinaryFiles">Binary Files Section</h2>
433
-
434
-
435
-
436
- <br>
437
- <h2 id="BinaryFilesXScan">
438
- 2 files excluded byScanBinaryFile:
439
- </h2>
440
- File is excluded because of scanner configuration. File is binary and all binary files are excluded.<br>
441
-
442
-
443
-
444
- <br>&nbsp;&nbsp;&nbsp;
445
- <br>&nbsp;&nbsp;&nbsp;
446
- <br>&nbsp;&nbsp;&nbsp;<b>Currently sorted by Filename Extension, then File Name</b>
447
- <br>&nbsp;&nbsp;&nbsp;
448
- <ol>
449
- <li><span class="file"><font color="black"><i>/Users/cphrmky/ibm/knife-softlayer/knife-softlayer-0.0.1.gem</i></font></span></li>
450
- <li><span class="file"><font color="black"><i>/Users/cphrmky/ibm/knife-softlayer/knife-softlayer-0.0.2.gem</i></font></span></li>
451
- </ol>
452
-
453
-
454
-
455
- <br>0 Binary files included in the scan.<br>
456
-
457
-
458
-
459
- <br>0 Expanded Archives in the scan.<br>
460
-
461
- <br><br>End of Report.
462
- </font>
463
- </body>
464
- </html>