Permalink
Browse files

Merge branch 'master' of github.com:wycats/handlebars.js

  • Loading branch information...
2 parents ac59d6d + 4bfb137 commit 3657457d8143b13f49a031df58d65e24c22456fc @kpdecker kpdecker committed Feb 27, 2013
Showing with 33 additions and 1 deletion.
  1. +1 −1 README.markdown
  2. +21 −0 handlebars-source.gemspec
  3. +11 −0 lib/handlebars/source.rb
View
@@ -1,4 +1,4 @@
-[![Build Status](https://secure.travis-ci.org/wycats/handlebars.js.png)](http://travis-ci.org/wycats/handlebars.js)
+[![Build Status](https://travis-ci.org/wycats/handlebars.js.png?branch=master)](https://travis-ci.org/wycats/handlebars.js)
Handlebars.js
=============
View
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+require 'json'
+
+package = JSON.parse(File.read('package.json'))
+
+Gem::Specification.new do |gem|
+ gem.name = "handlebars-source"
+ gem.authors = ["Yehuda Katz"]
+ gem.email = ["wycats@gmail.com"]
+ gem.date = Time.now.strftime("%Y-%m-%d")
+ gem.description = %q{Handlebars.js source code wrapper for (pre)compilation gems.}
+ gem.summary = %q{Handlebars.js source code wrapper}
+ gem.homepage = "https://github.com/wycats/handlebars.js/"
+ gem.version = package["version"]
+
+ gem.files = [
+ 'dist/handlebars.js',
+ 'dist/handlebars.runtime.js',
+ 'lib/handlebars/source.rb'
+ ]
+end
View
@@ -0,0 +1,11 @@
+module Handlebars
+ module Source
+ def self.bundled_path
+ File.expand_path("../../../dist/handlebars.js", __FILE__)
+ end
+
+ def self.runtime_bundled_path
+ File.expand_path("../../../dist/handlebars.runtime.js", __FILE__)
+ end
+ end
+end

0 comments on commit 3657457

Please sign in to comment.