diff options
author | kpdecker <kpdecker@gmail.com> | 2013-11-03 17:20:47 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-11-03 17:20:47 -0600 |
commit | 7cef79288a4d11c1975524367f240fc72ae8c0d3 (patch) | |
tree | d265d7f7c69a0afbc67cbadbe559b7c269db3cdd /components | |
parent | 6ab579bb2acd20df5191c5ae585d1c8ea91cb125 (diff) | |
download | handlebars.js-7cef79288a4d11c1975524367f240fc72ae8c0d3.zip handlebars.js-7cef79288a4d11c1975524367f240fc72ae8c0d3.tar.gz handlebars.js-7cef79288a4d11c1975524367f240fc72ae8c0d3.tar.bz2 |
Fix the handlebars-source gem definition
Diffstat (limited to 'components')
-rw-r--r-- | components/handlebars-source.gemspec | 2 | ||||
-rw-r--r-- | components/lib/handlebars/source.rb | 11 | ||||
-rw-r--r-- | components/source.rb | 11 |
3 files changed, 12 insertions, 12 deletions
diff --git a/components/handlebars-source.gemspec b/components/handlebars-source.gemspec index 01ca1d1..4313e95 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 0000000..4f3f8bf --- /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 ec4caac..0000000 --- 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 |