Sha256: e975927594049ad4a82d893570d7d092211ad2357b6c24f4f2a85e44c5d8ec34

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "handlebars/version"

Gem::Specification.new do |s|
  s.name        = "handlebars"
  s.version     = Handlebars::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Charles Lowell"]
  s.email       = ["cowboyd@thefrontside.net"]
  s.homepage    = "http://github.com/cowboyd/handlebars.rb"
  s.summary     = %q{Ruby bindings for the handlebars.js templating library}
  s.description = %q{Uses the actual JavaScript implementation of Handlebars, but supports using Ruby objects as template contexts and Ruby procs as view functions and named helpers}

  s.rubyforge_project = "handlebars"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]
  Dir.chdir("vendor/handlebars") do
    s.files += `git ls-files`.split("\n").map {|f| "vendor/handlebars/#{f}"}
    s.files += ['vendor/handlebars/lib/handlebars/compiler/parser.js']
  end

  s.add_dependency "therubyracer", "~> 0.10.0"
  s.add_dependency "commonjs", "~> 0.2.3"
  s.add_development_dependency "rspec", "~> 2.0"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
handlebars-0.3.1 handlebars.gemspec
handlebars-0.3.0 handlebars.gemspec
handlebars-0.2.2 handlebars.gemspec