forked from janv/rest_in_place
-
Notifications
You must be signed in to change notification settings - Fork 570
/
best_in_place.gemspec
29 lines (25 loc) · 1.12 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
require_relative 'lib/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 = ["bernat@itnig.net"]
s.homepage = "https://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.required_ruby_version = '>= 3.1.0'
s.add_runtime_dependency 'actionpack', '>= 7.0'
s.add_runtime_dependency 'railties', '>= 7.0'
end