forked from michihuber/split_datetime
-
Notifications
You must be signed in to change notification settings - Fork 15
/
time_splitter.gemspec
22 lines (19 loc) · 1.02 KB
/
time_splitter.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 'time_splitter/version'
Gem::Specification.new do |s|
s.name = "time_splitter"
s.version = TimeSplitter::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Michi Huber", "Joshua Kovach"]
s.email = ["[email protected]", "[email protected]"]
s.homepage = "https://github.com/shekibobo/time_splitter"
s.description = %q{Add split accessors for Date/Time/DateTime objects to easily set the date, time, hour, or minute.}
s.summary = %q{Use `datetime_accessor :starts_at` to provide `starts_at_date`, `starts_at_time`, `starts_at_hour`, `starts_at_minute` accessors on the model.}
s.license = "MIT"
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 'activesupport'
s.add_development_dependency 'rspec', '~> 3.2'
end