forked from lwe/simple_enum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple_enum.gemspec
38 lines (30 loc) · 1.25 KB
/
simple_enum.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
32
33
34
35
36
37
38
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "simple_enum/version"
Gem::Specification.new do |s|
s.name = "simple_enum"
s.version = SimpleEnum::VERSION
s.platform = Gem::Platform::RUBY
s.summary = "Simple enum-like field support for models."
s.description = "Provides enum-like fields for ActiveRecord, ActiveModel and Mongoid models."
s.required_ruby_version = ">= 1.8.7"
s.required_rubygems_version = ">= 1.3.6"
s.authors = ["Lukas Westermann"]
s.email = ["[email protected]"]
s.homepage = "http://github.com/lwe/simple_enum"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_path = 'lib'
s.license = 'MIT'
s.add_dependency "activesupport", '>= 3.0.0'
s.add_development_dependency 'rake', '>= 0.9.2'
s.add_development_dependency 'appraisal', '>= 0.4'
s.add_development_dependency 'minitest', '>= 2.3.0'
s.add_development_dependency 'activerecord', '>= 3.0.0'
s.add_development_dependency 'mongoid', '~> 2.0'
unless RUBY_PLATFORM =~ /java/
s.add_development_dependency 'sqlite3'
else
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
end
end