This repository was archived by the owner on Feb 11, 2025. It is now read-only.
forked from grosser/active_hash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactive_hash.gemspec
More file actions
101 lines (94 loc) · 2.97 KB
/
active_hash.gemspec
File metadata and controls
101 lines (94 loc) · 2.97 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "active_hash/version"
require "util/ruby_engine"
require "util/ruby_version"
Gem::Specification.new do |s|
s.name = %q{active_hash}
s.version = ActiveHash::Gem::VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = [
"Jeff Dean",
"Mike Dalessio",
"Corey Innis",
"Peter Jaros",
"Brandon Keene",
"Brian Takita",
"Pat Nakajima",
"John Pignata",
"Michael Schubert",
"Jeremy Weiskotten",
"Ryan Garver",
"Tom Stuart",
"Joel Chippindale",
"Kevin Olsen",
"Vladimir Andrijevik",
"Adam Anderson",
"Keenan Brock",
"Desmond Bowe",
"Matthew O'Riordan",
"Brett Richardson"
]
s.date = %q{2012-01-18}
s.email = %q{jeff@zilkey.com}
s.extra_rdoc_files = [
"LICENSE",
"README.md"
]
s.files = [
"CHANGELOG",
"LICENSE",
"README.md",
"active_hash.gemspec",
Dir.glob("lib/**/*")
].flatten
s.homepage = %q{http://github.com/zilkey/active_hash}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{An ActiveRecord-like model that uses a hash or file as a datasource}
s.test_files = [
"Gemfile",
"spec/active_file/base_spec.rb",
"spec/active_hash/base_spec.rb",
"spec/active_yaml/base_spec.rb",
"spec/associations/associations_spec.rb",
"spec/enum/enum_spec.rb",
"spec/lint_spec.rb",
"spec/spec_helper.rb"
]
supported_rails_versions = [">= 2.2.2"]
sqlite_gem = if RubyEngine.jruby?
if RubyVersion >= '1.9.3'
# Until 1.3.0 is released, we need to depend on a Beta version for JRuby and Rails 4
# https://github.com/jruby/activerecord-jdbc-adapter/issues/419#issuecomment-20567142
['activerecord-jdbcsqlite3-adapter', ['>= 1.3.0.beta2']]
else
['activerecord-jdbcsqlite3-adapter']
end
else
['sqlite3']
end
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
s.add_runtime_dependency(%q<activesupport>, supported_rails_versions)
s.add_development_dependency(%q<rspec>, ["~> 2.2.0"])
s.add_development_dependency(*sqlite_gem)
s.add_development_dependency(%q<activerecord>, supported_rails_versions)
s.add_development_dependency(%q<appraisal>)
else
s.add_dependency(%q<activesupport>, supported_rails_versions)
s.add_dependency(%q<rspec>, ["~> 2.2.0"])
s.add_dependency(*sqlite_gem)
s.add_dependency(%q<activerecord>, supported_rails_versions)
s.add_dependency(%q<appraisal>)
end
else
s.add_dependency(%q<activesupport>, supported_rails_versions)
s.add_dependency(%q<rspec>, ["~> 2.2.0"])
s.add_dependency(*sqlite_gem)
s.add_dependency(%q<activerecord>, supported_rails_versions)
s.add_dependency(%q<appraisal>)
end
end