lib/chef/knife/github_compare.rb in knife-github-0.0.9 vs lib/chef/knife/github_compare.rb in knife-github-0.1.0
- old
+ new
@@ -16,13 +16,13 @@
# limitations under the License.
#
require 'chef/knife'
-class Chef
- class Knife
- class GithubCompare < Knife
+module KnifeGithubCompare
+ # Compare cookbooks in chef with those in the repository
+ class GithubCompare < Chef::Knife
deps do
require 'chef/knife/github_base'
include Chef::Knife::GithubBase
require 'chef/knife/github_baselist'
@@ -90,8 +90,7 @@
else
display_info(repos, columns, match)
end
end
- end
- end
+ end
end