lib/octopress-ink/plugins/ink.rb in octopress-ink-1.0.0.alpha.42 vs lib/octopress-ink/plugins/ink.rb in octopress-ink-1.0.0.alpha.43
- old
+ new
@@ -1,25 +1,28 @@
-class Ink < Octopress::Ink::Plugin
- def configuration
- {
- name: "Octopress Ink",
- slug: "ink",
- assets_path: Octopress::Ink.gem_dir('assets'),
- version: Octopress::Ink::VERSION,
- description: "Octopress Ink is a plugin framework for Jekyll",
- website: "http://octopress.org/docs/ink"
- }
- end
+module Octopress
+ module Ink
+ class InkPlugin < Octopress::Ink::Plugin
+ def configuration
+ {
+ name: "Octopress Ink",
+ slug: "ink",
+ assets_path: Octopress::Ink.gem_dir('assets'),
+ version: Octopress::Ink::VERSION,
+ description: "Octopress Ink is a plugin framework for Jekyll",
+ website: "http://octopress.org/docs/ink"
+ }
+ end
- def docs_base_path
- 'docs/ink'
- end
+ def docs_base_path
+ 'docs/ink'
+ end
- def info(options)
- if options['docs']
- super
- else
- ''
+ def info(options)
+ if options['docs']
+ super
+ else
+ ''
+ end
+ end
end
end
end
-