forked from public-activity/public_activity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
public_activity.gemspec
47 lines (40 loc) · 1.67 KB
/
public_activity.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
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'public_activity/version'
Gem::Specification.new do |s|
s.name = 'public_activity'
s.version = PublicActivity::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Piotrek Okoński", "Kuba Okoński"]
s.email = "[email protected]"
s.homepage = 'https://github.com/pokonski/public_activity'
s.summary = "Easy activity tracking for ActiveRecord models"
s.description = "Easy activity tracking for your ActiveRecord models. Provides Activity model with details about actions performed by your users, like adding comments, responding etc."
s.files = `git ls-files lib`.split("\n") + ['Gemfile','Rakefile','README.md', 'MIT-LICENSE']
s.test_files = `git ls-files test`.split("\n")
s.require_paths = ['lib']
s.required_ruby_version = '>= 1.9.2'
if File.exists?('UPGRADING')
s.post_install_message = File.read("UPGRADING")
end
s.add_dependency 'actionpack', '>= 3.0.0'
s.add_dependency 'railties', '>= 3.0.0'
s.add_dependency 'i18n', '>= 0.5.0'
ENV['PA_ORM'] ||= 'active_record'
case ENV['PA_ORM']
when 'active_record'
s.add_dependency 'activerecord', '>= 3.0'
when 'mongoid'
s.add_dependency 'mongoid', '~> 3.0'
when 'mongo_mapper'
s.add_dependency 'bson_ext'
s.add_dependency 'mongo_mapper', '>= 0.12.0'
end
s.add_development_dependency 'sqlite3', '~> 1.3.7'
s.add_development_dependency 'mocha', '~> 0.13.0'
s.add_development_dependency 'simplecov', '~> 0.7.0'
s.add_development_dependency 'minitest', '< 5.0.0'
s.add_development_dependency 'redcarpet'
s.add_development_dependency 'yard', '~> 0.8'
s.add_development_dependency 'pry'
end