wavefront-cli 1.0.3 → 2.0.0

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: f1aeafac23fddaa8dfb5cdc4a6440db3b5a4a10d
4
- data.tar.gz: f5d3e3788ed34453db7fd408e54f5afd7914ef02
3
+ metadata.gz: 5b112986d74f622619697f9cd5537f4e3bac47d6
4
+ data.tar.gz: 7e97cc4baa10c491bc94fbd49691fb86960be7de
5
5
  SHA512:
6
- metadata.gz: 1e1567a9d826482395e543db1cce76e1388fef90af69126b969d4d080c5ea4f9677420b42418beb825d7816b9fa4224dbd198f431482088b34bf53e7afdda993
7
- data.tar.gz: a425b699c9d6a14f0709714bbdc9bf0da6f0f039533f17b6c706ec2cfb79d5f42273109e3bd392675f4be0236db72dc4d7c2e95cdd57300f38bb251189120b47
6
+ metadata.gz: 661a8c4f5e5a2f38fc55eb8f7522c39e1603cfcd49ec104bc73864f6069c94bbe52fdf1102ddf9ea24bdac94841c0f3089b6d8b830543ae30b3ea136488daab1
7
+ data.tar.gz: ee2cc5216fad14be4be5ad962361c7d2d59458a8ffd53869dac5564a4a6bd4e2733f4f55275ae92a6c3410e9e51a430d8161b8b64297fb248a58ccd41c7d4979
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
  [![Build Status](https://travis-ci.org/snltd/wavefront-cli.svg?branch=master)](https://travis-ci.org/snltd/wavefront-cli) [![Code Climate](https://codeclimate.com/github/snltd/wavefront-cli/badges/gpa.svg)](https://codeclimate.com/github/snltd/wavefront-cli) [![Issue Count](https://codeclimate.com/github/snltd/wavefront-cli/badges/issue_count.svg)](https://codeclimate.com/github/snltd/wavefront-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/snltd/wavefront-cli.svg)](https://gemnasium.com/github.com/snltd/wavefront-cli) [![Gem Version](https://badge.fury.io/rb/wavefront-cli.svg)](https://badge.fury.io/rb/wavefront-cli) ![](http://ruby-gem-downloads-badge.herokuapp.com/wavefront-cli?type=total)
3
3
 
4
4
 
5
- This package provides a command-line interface to Wavefront's API. Each API path
5
+ This package provides a command-line interface to
6
+ [Wavefront](https://www.wavefront.com/)'s API. Each API path
6
7
  is covered by a different command keyword.
7
8
 
8
9
  The gem is hosted [on
@@ -0,0 +1,34 @@
1
+ require_relative './base'
2
+
3
+ # Define the cloud integration command.
4
+ #
5
+ class WavefrontCommandCloudintegration < WavefrontCommandBase
6
+ def description
7
+ 'view and manage cloud integrations'
8
+ end
9
+
10
+ def sdk_file
11
+ 'cloudintegration'
12
+ end
13
+
14
+ def sdk_class
15
+ 'CloudIntegration'
16
+ end
17
+
18
+ def _commands
19
+ ["list #{CMN} [-l] [-f format] [-o offset] [-L limit]",
20
+ "describe #{CMN} [-f format] <id>",
21
+ "delete #{CMN} <id>",
22
+ "undelete #{CMN} <id>",
23
+ "import #{CMN} <file>",
24
+ "search #{CMN} [-f format] [-o offset] [-L limit] [-l] <condition>..."]
25
+ end
26
+
27
+ def _options
28
+ [common_options,
29
+ '-l, --long list cloud integrations in detail',
30
+ '-o, --offset=n start from nth cloud integration',
31
+ '-L, --limit=COUNT number of cloud integrations to list',
32
+ '-f, --format=STRING output format']
33
+ end
34
+ end
@@ -4,31 +4,25 @@ require_relative './base'
4
4
  #
5
5
  class WavefrontCommandIntegration < WavefrontCommandBase
6
6
  def description
7
- 'view and manage cloud integrations'
8
- end
9
-
10
- def sdk_file
11
- 'cloudintegration'
12
- end
13
-
14
- def sdk_class
15
- 'CloudIntegration'
7
+ 'view and manage Wavefront integrations'
16
8
  end
17
9
 
18
10
  def _commands
19
11
  ["list #{CMN} [-l] [-f format] [-o offset] [-L limit]",
20
12
  "describe #{CMN} [-f format] <id>",
21
- "delete #{CMN} <id>",
22
- "undelete #{CMN} <id>",
23
- "import #{CMN} <file>",
13
+ "install #{CMN} <id>",
14
+ "uninstall #{CMN} <id>",
15
+ "manifests #{CMN}",
16
+ "status #{CMN} <id>",
17
+ "statuses #{CMN}",
24
18
  "search #{CMN} [-f format] [-o offset] [-L limit] [-l] <condition>..."]
25
19
  end
26
20
 
27
21
  def _options
28
22
  [common_options,
29
- '-l, --long list integrations in detail',
30
- '-o, --offset=n start from nth integration',
31
- '-L, --limit=COUNT number of integrations to list',
32
- '-f, --format=STRING output format']
23
+ '-l, --long list cloud integrations in detail',
24
+ '-o, --offset=n start from nth cloud integration',
25
+ '-L, --limit=COUNT number of cloud integrations to list',
26
+ '-f, --format=STRING output format']
33
27
  end
34
28
  end
@@ -0,0 +1,27 @@
1
+ require_relative './base'
2
+
3
+ # Define the notificant command.
4
+ #
5
+ class WavefrontCommandNotificant < WavefrontCommandBase
6
+ def description
7
+ 'view and manage Wavefront notification targets'
8
+ end
9
+
10
+ def _commands
11
+ ["list #{CMN} [-l] [-f format] [-o offset] [-L limit]",
12
+ "describe #{CMN} [-f format] <id>",
13
+ "import #{CMN} <file>",
14
+ "delete #{CMN} <id>",
15
+ "test #{CMN} <id>",
16
+ "update #{CMN} <key=value> <id>",
17
+ "search #{CMN} [-f format] [-o offset] [-L limit] [-l] <condition>..."]
18
+ end
19
+
20
+ def _options
21
+ [common_options,
22
+ '-l, --long list proxies in detail',
23
+ '-o, --offset=n start from nth proxy',
24
+ '-f, --format=STRING output format',
25
+ '-L, --limit=COUNT number of proxies to list']
26
+ end
27
+ end
@@ -5,10 +5,10 @@ require_relative './version'
5
5
  require_relative './opt_handler'
6
6
  require_relative './exception'
7
7
 
8
- # $LOAD_PATH.<< Pathname.new(__FILE__).dirname.realpath.parent.parent
9
- # .parent + 'lib'
10
- # $LOAD_PATH.<< Pathname.new(__FILE__).dirname.realpath.parent.parent
11
- # .parent + 'wavefront-sdk' + 'lib'
8
+ $LOAD_PATH.<< Pathname.new(__FILE__).dirname.realpath.parent.parent
9
+ .parent + 'lib'
10
+ $LOAD_PATH.<< Pathname.new(__FILE__).dirname.realpath.parent.parent
11
+ .parent + 'wavefront-sdk' + 'lib'
12
12
 
13
13
  CMD_DIR = Pathname.new(__FILE__).dirname + 'commands'
14
14
 
@@ -35,7 +35,7 @@ class WavefrontCliController
35
35
  s = "Wavefront CLI\n\nUsage:\n #{CMD} command [options]\n" \
36
36
  " #{CMD} --version\n #{CMD} --help\n\nCommands:\n"
37
37
 
38
- cmds.sort.each { |k, v| s.<< format(" %-15s %s\n", k, v.description) }
38
+ cmds.sort.each { |k, v| s.<< format(" %-18s %s\n", k, v.description) }
39
39
  s.<< "\nUse '#{CMD} <command> --help' for further information.\n"
40
40
  end
41
41
 
@@ -0,0 +1,12 @@
1
+ require_relative './base'
2
+
3
+ module WavefrontDisplay
4
+ #
5
+ # Format human-readable output for cloud integrations.
6
+ #
7
+ class Integration < Base
8
+ def do_list_brief
9
+ multicolumn(:id, :name, :description)
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,21 @@
1
+ require_relative './base'
2
+
3
+ module WavefrontDisplay
4
+ #
5
+ # Format human-readable output for notification targets.
6
+ #
7
+ class Notificant < Base
8
+ def do_list_brief
9
+ multicolumn(:id, :method, :description)
10
+ end
11
+
12
+ def do_describe
13
+ readable_time(:createdEpochMillis, :updatedEpochMillis)
14
+ long_output
15
+ end
16
+
17
+ def do_test
18
+ puts 'Testing notification.'
19
+ end
20
+ end
21
+ end
@@ -12,7 +12,7 @@ module WavefrontDisplayPrinter
12
12
  # @param pad [Integer] the number of spaces you want between columns
13
13
  # @return [Integer] length of longest key + pad
14
14
  #
15
- def key_width(hash = {}, pad = 2)
15
+ def key_width(hash = {}, pad = 3)
16
16
  return 0 if hash.keys.empty?
17
17
  hash.keys.map(&:size).max + pad
18
18
  end
@@ -0,0 +1,29 @@
1
+ require_relative './base'
2
+
3
+ module WavefrontCli
4
+ #
5
+ # CLI coverage for the v2 'integration' API.
6
+ #
7
+ class Integration < WavefrontCli::Base
8
+
9
+ def do_status
10
+ wf.status(options[:'<id>'])
11
+ end
12
+
13
+ def do_manifests
14
+ wf.manifests
15
+ end
16
+
17
+ def do_install
18
+ wf.install(options[:'<id>'])
19
+ end
20
+
21
+ def do_uninstall
22
+ wf.uninstall(options[:'<id>'])
23
+ end
24
+
25
+ def do_statuses
26
+ wf.statuses
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,12 @@
1
+ require_relative './base'
2
+
3
+ module WavefrontCli
4
+ #
5
+ # CLI coverage for the v2 'notificant' API.
6
+ #
7
+ class Notificant < WavefrontCli::Base
8
+ def do_test
9
+ wf.test(options[:'<id>'])
10
+ end
11
+ end
12
+ end
@@ -14,11 +14,11 @@ module WavefrontCli
14
14
  end
15
15
 
16
16
  def do_description_set
17
- wf.update(options[:'<id>'], description: options[:'<description>'])
17
+ wf.description_set(options[:'<id>'], options[:'<description>'])
18
18
  end
19
19
 
20
20
  def do_description_clear
21
- wf.update(options[:'<id>'], { description: '' }, false)
21
+ wf.description_delete(options[:'<id>'])
22
22
  end
23
23
  end
24
24
  end
@@ -37,7 +37,7 @@ class String
37
37
  def fold(tw = TW, indent = 10, prefix = '')
38
38
  chunks = self.scan_line(tw - 8)
39
39
 
40
- line_1 = prefix + chunks.shift + "\n"
40
+ line_1 = format("%s%s\n", prefix, chunks.shift)
41
41
 
42
42
  return line_1 if chunks.empty?
43
43
 
@@ -1 +1 @@
1
- WF_CLI_VERSION = '1.0.3'.freeze
1
+ WF_CLI_VERSION = '2.0.0'.freeze
@@ -6,9 +6,9 @@ require_relative '../../lib/wavefront-cli/cloudintegration'
6
6
  id = '3b56f61d-1a79-46f6-905c-d75a0f613d10'
7
7
  bad_id = '__BAD__'
8
8
  k = WavefrontCli::CloudIntegration
9
- word = 'integration'
9
+ word = 'cloudintegration'
10
10
 
11
- describe 'integration command' do
11
+ describe 'cloudintegration command' do
12
12
  missing_creds(word, ['list', "describe #{id}", "delete #{id}",
13
13
  "undelete #{id}"])
14
14
  list_tests(word, 'cloudintegration', k)
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative('../../../lib/wavefront-cli/commands/cloudintegration')
4
+ require_relative './base_spec'
5
+
6
+ # Test Cloud Integration commands and options
7
+ #
8
+ class WavefrontCommmandCloudIntegrationTest < WavefrontCommmandBaseTest
9
+ def setup
10
+ @wf = WavefrontCommandCloudintegration.new
11
+ @col_width = 19
12
+ end
13
+
14
+ def word
15
+ 'CloudIntegration'
16
+ end
17
+
18
+ def test_word
19
+ assert_equal(wf.word, 'cloudintegration')
20
+ end
21
+ end
@@ -14,7 +14,7 @@ class WavefrontDisplayPrinterBase < MiniTest::Test
14
14
 
15
15
  def test_key_width
16
16
  assert_equal(wf.key_width, 0)
17
- assert_equal(wf.key_width(key1: 1, row2: 2, longrow: 3), 9)
17
+ assert_equal(wf.key_width(key1: 1, row2: 2, longrow: 3), 10)
18
18
  assert_equal(wf.key_width({ key1: 1, row2: 2, longrow: 3 }, 3), 10)
19
19
  end
20
20
  end
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ id = 'tester'
4
+ bad_id = '%%badid%%'
5
+ word = 'integration'
6
+
7
+ require_relative '../spec_helper'
8
+ require_relative "../../lib/wavefront-cli/#{word}"
9
+
10
+ describe "#{word} command" do
11
+ missing_creds(word, ['list', "describe #{id}", "install #{id}",
12
+ "uninstall #{id}", "status #{id}", 'statuses',
13
+ 'manifests'])
14
+ list_tests(word)
15
+ cmd_to_call(word, "describe #{id}", path: "/api/v2/#{word}/#{id}")
16
+ cmd_to_call(word, "install #{id}",
17
+ method: :post, path: "/api/v2/#{word}/#{id}/install")
18
+ cmd_to_call(word, "uninstall #{id}",
19
+ method: :post, path: "/api/v2/#{word}/#{id}/uninstall")
20
+ cmd_to_call(word, "status #{id}", path: "/api/v2/#{word}/#{id}/status")
21
+ invalid_ids(word, ["describe #{bad_id}", "install #{bad_id}",
22
+ "uninstall #{bad_id}", "status #{bad_id}"])
23
+ end
@@ -22,15 +22,15 @@ Gem::Specification.new do |gem|
22
22
  gem.test_files = gem.files.grep(/^spec/)
23
23
  gem.require_paths = %w(lib)
24
24
 
25
- gem.add_dependency 'docopt', '0.6.0'
26
- gem.add_dependency 'wavefront-sdk', '>= 1.0.2'
25
+ gem.add_dependency 'docopt', '~> 0.6.0'
26
+ gem.add_dependency 'wavefront-sdk', '>= 1.1.0'
27
27
 
28
28
  gem.add_development_dependency 'bundler', '~> 1.3'
29
29
  gem.add_development_dependency 'rake', '~> 12.0'
30
30
  gem.add_development_dependency 'yard', '~> 0.9.5'
31
- gem.add_development_dependency 'rubocop', '~> 0.49.1'
31
+ gem.add_development_dependency 'rubocop', '~> 0.50.0'
32
32
  gem.add_development_dependency 'webmock', '~> 3.0'
33
- gem.add_development_dependency 'minitest', '~> 5.8', '>= 5.8.0'
33
+ gem.add_development_dependency 'minitest', '~> 5.8.0'
34
34
  gem.add_development_dependency 'spy', '~> 0.4.0'
35
35
 
36
36
  gem.required_ruby_version = Gem::Requirement.new('>= 2.2.0')
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavefront-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Fisher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-25 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.6.0
27
27
  - !ruby/object:Gem::Dependency
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.2
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.2
40
+ version: 1.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.49.1
89
+ version: 0.50.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.49.1
96
+ version: 0.50.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: webmock
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -113,9 +113,6 @@ dependencies:
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '5.8'
118
- - - ">="
119
116
  - !ruby/object:Gem::Version
120
117
  version: 5.8.0
121
118
  type: :development
@@ -123,9 +120,6 @@ dependencies:
123
120
  version_requirements: !ruby/object:Gem::Requirement
124
121
  requirements:
125
122
  - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: '5.8'
128
- - - ">="
129
123
  - !ruby/object:Gem::Version
130
124
  version: 5.8.0
131
125
  - !ruby/object:Gem::Dependency
@@ -161,12 +155,14 @@ files:
161
155
  - lib/wavefront-cli/cloudintegration.rb
162
156
  - lib/wavefront-cli/commands/alert.rb
163
157
  - lib/wavefront-cli/commands/base.rb
158
+ - lib/wavefront-cli/commands/cloudintegration.rb
164
159
  - lib/wavefront-cli/commands/dashboard.rb
165
160
  - lib/wavefront-cli/commands/event.rb
166
161
  - lib/wavefront-cli/commands/integration.rb
167
162
  - lib/wavefront-cli/commands/link.rb
168
163
  - lib/wavefront-cli/commands/message.rb
169
164
  - lib/wavefront-cli/commands/metric.rb
165
+ - lib/wavefront-cli/commands/notificant.rb
170
166
  - lib/wavefront-cli/commands/proxy.rb
171
167
  - lib/wavefront-cli/commands/query.rb
172
168
  - lib/wavefront-cli/commands/savedsearch.rb
@@ -184,9 +180,11 @@ files:
184
180
  - lib/wavefront-cli/display/dashboard.rb
185
181
  - lib/wavefront-cli/display/event.rb
186
182
  - lib/wavefront-cli/display/externallink.rb
183
+ - lib/wavefront-cli/display/integration.rb
187
184
  - lib/wavefront-cli/display/maintenancewindow.rb
188
185
  - lib/wavefront-cli/display/message.rb
189
186
  - lib/wavefront-cli/display/metric.rb
187
+ - lib/wavefront-cli/display/notificant.rb
190
188
  - lib/wavefront-cli/display/printer/base.rb
191
189
  - lib/wavefront-cli/display/printer/long.rb
192
190
  - lib/wavefront-cli/display/printer/terse.rb
@@ -200,9 +198,11 @@ files:
200
198
  - lib/wavefront-cli/event.rb
201
199
  - lib/wavefront-cli/exception.rb
202
200
  - lib/wavefront-cli/externallink.rb
201
+ - lib/wavefront-cli/integration.rb
203
202
  - lib/wavefront-cli/maintenancewindow.rb
204
203
  - lib/wavefront-cli/message.rb
205
204
  - lib/wavefront-cli/metric.rb
205
+ - lib/wavefront-cli/notificant.rb
206
206
  - lib/wavefront-cli/opt_handler.rb
207
207
  - lib/wavefront-cli/proxy.rb
208
208
  - lib/wavefront-cli/query.rb
@@ -220,9 +220,9 @@ files:
220
220
  - spec/wavefront-cli/cloudintegration_spec.rb
221
221
  - spec/wavefront-cli/commands/alert_spec.rb
222
222
  - spec/wavefront-cli/commands/base_spec.rb
223
+ - spec/wavefront-cli/commands/cloudintegration_spec.rb
223
224
  - spec/wavefront-cli/commands/dashboard_spec.rb
224
225
  - spec/wavefront-cli/commands/event_spec.rb
225
- - spec/wavefront-cli/commands/integration_spec.rb
226
226
  - spec/wavefront-cli/commands/link_spec.rb
227
227
  - spec/wavefront-cli/commands/message_spec.rb
228
228
  - spec/wavefront-cli/commands/metric_spec.rb
@@ -240,6 +240,7 @@ files:
240
240
  - spec/wavefront-cli/display/spec_helper.rb
241
241
  - spec/wavefront-cli/event_spec.rb
242
242
  - spec/wavefront-cli/externallink_spec.rb
243
+ - spec/wavefront-cli/integration_spec.rb
243
244
  - spec/wavefront-cli/maintanancewindow_spec.rb
244
245
  - spec/wavefront-cli/message_spec.rb
245
246
  - spec/wavefront-cli/metric_spec.rb
@@ -272,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
273
  version: '0'
273
274
  requirements: []
274
275
  rubyforge_project:
275
- rubygems_version: 2.4.5
276
+ rubygems_version: 2.6.13
276
277
  signing_key:
277
278
  specification_version: 4
278
279
  summary: CLI for Wavefront API v2
@@ -284,9 +285,9 @@ test_files:
284
285
  - spec/wavefront-cli/cloudintegration_spec.rb
285
286
  - spec/wavefront-cli/commands/alert_spec.rb
286
287
  - spec/wavefront-cli/commands/base_spec.rb
288
+ - spec/wavefront-cli/commands/cloudintegration_spec.rb
287
289
  - spec/wavefront-cli/commands/dashboard_spec.rb
288
290
  - spec/wavefront-cli/commands/event_spec.rb
289
- - spec/wavefront-cli/commands/integration_spec.rb
290
291
  - spec/wavefront-cli/commands/link_spec.rb
291
292
  - spec/wavefront-cli/commands/message_spec.rb
292
293
  - spec/wavefront-cli/commands/metric_spec.rb
@@ -304,6 +305,7 @@ test_files:
304
305
  - spec/wavefront-cli/display/spec_helper.rb
305
306
  - spec/wavefront-cli/event_spec.rb
306
307
  - spec/wavefront-cli/externallink_spec.rb
308
+ - spec/wavefront-cli/integration_spec.rb
307
309
  - spec/wavefront-cli/maintanancewindow_spec.rb
308
310
  - spec/wavefront-cli/message_spec.rb
309
311
  - spec/wavefront-cli/metric_spec.rb
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require_relative('../../../lib/wavefront-cli/commands/integration')
4
- require_relative './base_spec'
5
-
6
- # Test Cloud Integration commands and options
7
- #
8
- class WavefrontCommmandIntegrationTest < WavefrontCommmandBaseTest
9
- def setup
10
- @wf = WavefrontCommandIntegration.new
11
- @col_width = 19
12
- end
13
-
14
- def word
15
- 'CloudIntegration'
16
- end
17
-
18
- def test_word
19
- assert_equal(wf.word, 'integration')
20
- end
21
- end