-
Notifications
You must be signed in to change notification settings - Fork 24
/
split_datetime.gemspec
22 lines (19 loc) · 980 Bytes
/
split_datetime.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$:.push File.expand_path("../lib", __FILE__)
require 'split_datetime/version'
Gem::Specification.new do |s|
s.name = "split_datetime"
s.version = SplitDatetime::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Michi Huber"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/michihuber/split_datetime"
s.summary = "Split datetime inputs into text and dropdowns in rails views"
s.description = <<-END
Adds accessors to a class so that the date can be set as a string while minutes and hours can be set as integers. This allows you to have an input textfield (with a javascript datepicker) for the date and dropdowns for the time.
END
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_development_dependency 'rspec', '~> 2.11'
end