forked from raymondtangsc/activerecord-userstamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactiverecord-userstamp.gemspec
34 lines (28 loc) · 1.48 KB
/
activerecord-userstamp.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_record/userstamp/version'
Gem::Specification.new do |s|
s.name = 'activerecord-userstamp'
s.version = ActiveRecord::Userstamp::VERSION
s.authors = ['Bivan Alzacky Harmanto']
s.email = ['[email protected]']
s.summary = 'Adds magic creator and updater attributes to your ActiveRecord models.'
s.description = 'This gem extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates created_(at/on) and updated_(at/on) attributes.'
s.homepage = 'https://github.com/Coursemology/activerecord-userstamp'
s.license = 'MIT'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']
s.add_dependency 'rails', '>= 6'
s.required_ruby_version = ">= 3.0"
s.add_development_dependency 'tzinfo-data' if RUBY_PLATFORM =~ /mswin|mingw/
s.add_development_dependency 'rake'
s.add_development_dependency 'rdoc'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'coveralls'
s.add_development_dependency 'codeclimate-test-reporter'
s.add_development_dependency 'sqlite3', "~> 1.7"
s.add_development_dependency "appraisal", "~> 2.1"
end