diff --git a/Changelog.md b/Changelog.md index e92b526..35c18f9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,10 @@ Changelog = +Version 0.0.8 +- +* Bug Fix: _callback.js cannot find _local.js + Version 0.0.7 - * Fix A Major Bug that copies the _local.js template instead of _callbacks.js diff --git a/app/templates/_callbacks.js b/app/templates/_callbacks.js index d7b86da..fa4460f 100644 --- a/app/templates/_callbacks.js +++ b/app/templates/_callbacks.js @@ -1,2 +1,2 @@ -//= require ./controller/_local +//= require ./_local.js //= require_tree . diff --git a/paloma.gemspec b/paloma.gemspec index fdf3c79..d7c5f20 100644 --- a/paloma.gemspec +++ b/paloma.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'paloma' - s.version = '0.0.7' + s.version = '0.0.8' s.summary = "a sexy way to organize javascript files using Rails` asset pipeline" s.description = "a sexy way to organize javascript files using Rails` asset pipeline" s.authors = ["Karl Paragua", "Bia Esmero"] diff --git a/spec/generator_spec.rb b/spec/generator_spec.rb index d8d6ec9..84ddd30 100644 --- a/spec/generator_spec.rb +++ b/spec/generator_spec.rb @@ -82,7 +82,7 @@ feature Paloma::AddGenerator, 'creating action with existing controller folder' end file '_callbacks.js' do - contains "//= require ./existing_controller_folder/_local" + contains "//= require ./_local.js" contains "//= require_tree ." end end