From 7cef79288a4d11c1975524367f240fc72ae8c0d3 Mon Sep 17 00:00:00 2001 From: kpdecker Date: Sun, 3 Nov 2013 17:20:47 -0600 Subject: [PATCH] Fix the handlebars-source gem definition --- components/handlebars-source.gemspec | 2 +- components/lib/handlebars/source.rb | 11 +++++++++++ components/source.rb | 11 ----------- 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 components/lib/handlebars/source.rb delete mode 100644 components/source.rb diff --git a/components/handlebars-source.gemspec b/components/handlebars-source.gemspec index 01ca1d1e..4313e958 100644 --- a/components/handlebars-source.gemspec +++ b/components/handlebars-source.gemspec @@ -16,6 +16,6 @@ Gem::Specification.new do |gem| gem.files = [ 'handlebars.js', 'handlebars.runtime.js', - 'source.rb' + 'lib/handlebars/source.rb' ] end diff --git a/components/lib/handlebars/source.rb b/components/lib/handlebars/source.rb new file mode 100644 index 00000000..4f3f8bfc --- /dev/null +++ b/components/lib/handlebars/source.rb @@ -0,0 +1,11 @@ +module Handlebars + module Source + def self.bundled_path + File.expand_path("../../../handlebars.js", __FILE__) + end + + def self.runtime_bundled_path + File.expand_path("../../../handlebars.runtime.js", __FILE__) + end + end +end diff --git a/components/source.rb b/components/source.rb deleted file mode 100644 index ec4caac9..00000000 --- a/components/source.rb +++ /dev/null @@ -1,11 +0,0 @@ -module Handlebars - module Source - def self.bundled_path - File.expand_path("handlebars.js", __FILE__) - end - - def self.runtime_bundled_path - File.expand_path("handlebars.runtime.js", __FILE__) - end - end -end