forked from mailboxer/mailboxer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mailboxer.gemspec
58 lines (53 loc) · 2.27 KB
/
mailboxer.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
48
49
50
51
52
53
54
55
56
57
58
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mailboxer/version'
Gem::Specification.new do |s|
s.name = "mailboxer"
s.version = Mailboxer::VERSION
s.authors = ["Eduardo Casanova Cuesta"]
s.summary = "Messaging system for rails apps."
s.description = "A Rails engine that allows any model to act as messageable, adding the ability to exchange messages " +
"with any other messageable model, even different ones. It supports the use of conversations with " +
"two or more recipients to organize the messages. You have a complete use of a mailbox object for " +
"each messageable model that manages an inbox, sentbox and trash for conversations. It also supports " +
"sending notifications to messageable models, intended to be used as system notifications."
s.email = "[email protected]"
s.homepage = "https://github.com/ging/mailboxer"
s.files = `git ls-files`.split("\n")
s.license = 'MIT'
# Gem dependencies
#
# SQL foreign keys
# removed because of conflict with schema_plus
# s.add_runtime_dependency('foreigner', '>= 0.9.1')
# Development Gem dependencies
s.add_runtime_dependency('rails', '>= 3.2.0')
s.add_runtime_dependency('carrierwave', '>= 0.5.8')
if RUBY_ENGINE == "rbx" && RUBY_VERSION >= "2.1.0"
# Rubinius has it's own dependencies
s.add_runtime_dependency 'rubysl'
s.add_development_dependency 'racc'
end
# Specs
s.add_development_dependency 'rspec-rails', '~> 2.99'
s.add_development_dependency('appraisal', '~> 1.0.0')
s.add_development_dependency('shoulda-matchers')
# Fixtures
#if RUBY_VERSION >= '1.9.2'
# s.add_development_dependency('factory_girl', '>= 3.0.0')
#else
#s.add_development_dependency('factory_girl', '~> 2.6.0')
#end
s.add_development_dependency('factory_girl', '~> 2.6.0')
# Population
s.add_development_dependency('forgery', '>= 0.3.6')
# Integration testing
s.add_development_dependency('capybara', '>= 0.3.9')
# Testing database
if RUBY_PLATFORM == 'java'
s.add_development_dependency('jdbc-sqlite3')
s.add_development_dependency('activerecord-jdbcsqlite3-adapter', '1.3.0.rc1')
else
s.add_development_dependency('sqlite3')
end
end