Sha256: e2c396389acd56a9c60c3227289e2a59ac3cea9dd78b46c65567dfc26ee2dcd1
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'activemodel_object_info/version' Gem::Specification.new do |spec| spec.name = 'activemodel_object_info' spec.version = ActivemodelObjectInfo::Version::VERSION spec.authors = ['shiner'] spec.email = ['shiner527@hotmail.com'] spec.summary = 'Build a hash based on active record attributes.' spec.description = 'Build a hash based on active record attributes.' spec.homepage = 'https://github.com/shiner527/activemodel-object-info' spec.license = 'MIT' # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com/shiner527/activemodel-object-info.git' spec.metadata['changelog_uri'] = 'https://github.com/shiner527/activemodel-object-info/CHANGELOG' # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.bindir = 'bin' spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_dependency 'activerecord' spec.add_dependency 'activesupport' spec.add_development_dependency 'bundler' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'yard' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activemodel_object_info-0.1.6 | activemodel_object_info.gemspec |