-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathrender_anywhere.gemspec
27 lines (22 loc) · 1.02 KB
/
render_anywhere.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "render_anywhere/version"
Gem::Specification.new do |s|
s.name = "render_anywhere"
s.version = RenderAnywhere::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Luke Melia"]
s.email = ["[email protected]"]
s.homepage = ""
s.summary = %q{Render Rails templates to a string from anywhere.}
s.description = %q{Out of the box, Rails will render templates in a controller context only. This gem allows for calling "render" from anywhere: models, background jobs, rake tasks, you name it.}
s.licenses = ['MIT']
s.rubyforge_project = "render_anywhere"
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"]
s.add_dependency('rails', '>= 3.0.7')
s.add_development_dependency 'rspec'
s.add_development_dependency 'appraisal'
end