forked from adhearsion/blather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blather.gemspec
51 lines (43 loc) · 1.68 KB
/
blather.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "blather/version"
module RubyVersion
def rbx?
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
end
def jruby?
RUBY_PLATFORM =~ /java/
end
end
include RubyVersion
Gem::Specification.extend RubyVersion
Gem::Specification.new do |s|
s.name = "blather"
s.version = Blather::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jeff Smick"]
s.email = %q{[email protected]}
s.homepage = "http://github.com/sprsquish/blather"
s.summary = %q{Simpler XMPP built for speed}
s.description = %q{An XMPP DSL for Ruby written on top of EventMachine and Nokogiri}
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.rdoc_options = %w{--charset=UTF-8}
s.extra_rdoc_files = %w{LICENSE README.md}
s.add_dependency "eventmachine", [">= 0.12.6"]
s.add_dependency "nokogiri", ["~> 1.5.5"]
s.add_dependency "niceogiri", ["~> 1.0"]
s.add_dependency "activesupport", [">= 2.3.11"]
s.add_dependency "girl_friday"
s.add_development_dependency "bundler", ["~> 1.0"]
s.add_development_dependency "rake"
s.add_development_dependency "rspec", ["~> 2.7"]
s.add_development_dependency "mocha", ["~> 0.9.12"]
s.add_development_dependency "guard-rspec"
s.add_development_dependency "yard", ["~> 0.6.1"]
s.add_development_dependency "jruby-openssl", ["~> 0.7.4"] if jruby?
s.add_development_dependency "bluecloth" unless jruby? || rbx?
s.add_development_dependency "countdownlatch"
end