-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
20 lines (18 loc) · 779 Bytes
/
Copy pathRakefile
File metadata and controls
20 lines (18 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "preview"
gemspec.version = "0.0.1"
gemspec.summary = "Add preview functionality to rails resources"
gemspec.description = "Make an ActiveRecord object previewable, and display the preview using existing/custom templates"
gemspec.email = "bigbeliever@gmail.com"
gemspec.homepage = "http://github.com/zerothabhishek/preview"
gemspec.authors = ["sifar"]
end
Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }