forked from tizoc/bureaucrat
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbureaucrat-sc.gemspec
31 lines (25 loc) · 1.05 KB
/
bureaucrat-sc.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
31
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'bureaucrat/version'
prerelease = ENV['SC_PRERELEASE'] == 'true'
Gem::Specification.new do |s|
s.name = 'bureaucrat-sc'
s.version = if prerelease
"#{Bureaucrat::VERSION}.pre#{Time.now.to_i}"
else
Bureaucrat::VERSION
end
s.summary = "Form handling for Ruby inspired by Django forms."
s.description = "Bureaucrat is a form handling library for Ruby."
s.author = "Bruno Deferrari"
s.email = "[email protected]"
s.homepage = "http://github.com/tizoc/bureaucrat"
s.files = Dir[File.join('lib', '**', '*.rb')]
s.files += Dir[File.join('locales', '**', '*.yml')]
s.metadata = { "github_repo" => "ssh://github.com/sittercity/bureaucrat" }
s.add_runtime_dependency 'i18n'
s.add_runtime_dependency 'activesupport', '>= 6.0.4', '< 7.0'
s.add_development_dependency 'rake', '12.0.0'
s.add_development_dependency 'rspec', '3.6.0'
s.require_paths = ['lib']
end