forked from lowjoel/activerecord-userstamp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
activerecord-userstamp.gemspec
34 lines (29 loc) · 1.49 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 = ['Joel Low']
s.email = ['joel@joelsplace.sg']
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/lowjoel/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 'activesupport', '~> 5.0.0.rc1'
s.add_dependency 'activerecord', '~> 5.0.0.rc1'
s.add_development_dependency 'actionview', '~> 4.2'
s.add_development_dependency 'tzinfo-data'
s.add_development_dependency 'rake'
s.add_development_dependency 'rdoc'
s.add_development_dependency 'rspec-rails', '~> 3.3'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'coveralls'
s.add_development_dependency 'codeclimate-test-reporter'
s.add_development_dependency 'sqlite3'
end