forked from bernat/best_in_place
-
Notifications
You must be signed in to change notification settings - Fork 1
/
best_in_place.gemspec
30 lines (26 loc) · 1.14 KB
/
best_in_place.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
28
29
30
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'best_in_place/version'
Gem::Specification.new do |s|
s.name = "best_in_place"
s.version = BestInPlace::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Bernat Farrero"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/bernat/best_in_place"
s.summary = <<SUM
It makes any field in place editable by clicking on it, it works for inputs,
textareas, select dropdowns and checkboxes
SUM
s.description = <<DESC
BestInPlace is a jQuery script and a Rails helper that provide the method best_in_place to display
any object field easily editable for the user by just clicking on it. It supports input data,
text data, boolean data and custom dropdown data. It works with RESTful controllers.
DESC
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {spec}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_runtime_dependency 'actionpack', '>= 3.2'
s.add_runtime_dependency 'railties', '>= 3.2'
end