lib/coconductor/projects/github_project.rb in coconductor-0.2.0 vs lib/coconductor/projects/github_project.rb in coconductor-0.3.0
- old
+ new
@@ -1,8 +1,17 @@
autoload :Octokit, 'octokit'
module Coconductor
module Projects
class GitHubProject < Licensee::Projects::GitHubProject
+ include Coconductor::Projects::Project
+
+ private
+
+ def files
+ @files ||= begin
+ Coconductor::Projects::Project::DIRS.map { |p| dir_files(p) }.flatten
+ end
+ end
end
end
end