diff --git a/components/handlebars-source.gemspec b/components/handlebars-source.gemspec index 01ca1d1ed..4313e9581 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 000000000..4f3f8bfce --- /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 ec4caac91..000000000 --- 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