lib/gh_preview/config.rb in gh-preview-1.0.1 vs lib/gh_preview/config.rb in gh-preview-1.0.2

- old
+ new

@@ -1,8 +1,8 @@ module GhPreview module Config - extend self + module_function NAME = 'GitHub Preview' GITHUB_URL = 'https://github.com/jbox-web/gh-preview' @@ -14,14 +14,11 @@ def public_folder File.join(gem_path, 'public') end - private - - - def gem_path - Gem::Specification.find_by_name('gh-preview').gem_dir - end + def gem_path + Gem::Specification.find_by_name('gh-preview').gem_dir + end end end