-
Notifications
You must be signed in to change notification settings - Fork 4
/
external_fields.gemspec
32 lines (26 loc) · 1.32 KB
/
external_fields.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "external_fields/version"
Gem::Specification.new do |spec|
spec.name = "external_fields"
spec.version = ExternalFields::VERSION
spec.authors = ["Sagar Jauhari"]
spec.email = ["[email protected]"]
spec.summary = "Access attributes from an associated model."
spec.description = "This concern maintains the illusion that a given "\
"object has specified attributes, when those "\
"attributes are in fact attached to an associated "\
"object. This is particularly useful for different "\
"classes within a single-table inheritance table to "\
"have access to separate fields in class-specific "\
"associations."
spec.homepage = "https://github.com/panorama-ed/rails_external_fields"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "activerecord", ">= 4.0"
spec.add_dependency "activesupport", ">= 4.0"
spec.metadata["rubygems_mfa_required"] = "true"
end