lib/octopress-ink/assets/file.rb in octopress-ink-1.0.0.rc.11 vs lib/octopress-ink/assets/file.rb in octopress-ink-1.0.0.rc.13
- old
+ new
@@ -16,11 +16,11 @@
@exists = {}
file_check
end
def add
- if !exists?(local_plugin_path) && !Ink.config['docs_mode']
+ if !exists?(local_plugin_path) && !Octopress.config['docs_mode']
Plugins.static_files << StaticFile.new(File.join(source_dir, file), destination)
end
end
private
@@ -28,10 +28,10 @@
def filename
@filename
end
def user_dir
- File.join Ink.site.source, Plugins.custom_dir, plugin.slug, base
+ File.join Octopress.site.source, Plugins.custom_dir, plugin.slug, base
end
end
end
end
end