Sha256: 28548cc85b06f4c08103910a435e10dc5a795f46b3c1596eab3789d5792f6e79

Contents?: true

Size: 1.83 KB

Versions: 7

Compression:

Stored size: 1.83 KB

Contents

# -*- 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{sprsquish@gmail.com}
  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.4.0"]
  s.add_dependency "niceogiri", [">= 0.1.0"]
  s.add_dependency "activesupport", [">= 3.0.7"]

  s.add_development_dependency "minitest", ["~> 1.7.1"]
  s.add_development_dependency "mocha", ["~> 0.9.12"]
  s.add_development_dependency "bundler", ["~> 1.0.0"]
  unless rbx?
    s.add_development_dependency "rcov", ["~> 0.9.9"]
    s.add_development_dependency "yard", ["~> 0.6.1"]
  end
  s.add_development_dependency "jruby-openssl", ["~> 0.7.4"] if jruby?
  s.add_development_dependency "rake"
  s.add_development_dependency "guard-minitest"

  unless jruby? || rbx?
    s.add_development_dependency 'bluecloth'
  end

  if RUBY_PLATFORM =~ /darwin/ && !rbx?
    s.add_development_dependency 'growl_notify'
    s.add_development_dependency 'rb-fsevent'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blather-0.6.2 blather.gemspec
blather-0.6.1 blather.gemspec
blather-0.6.0 blather.gemspec
blather-0.5.12 blather.gemspec
blather-0.5.11 blather.gemspec
blather-0.5.10 blather.gemspec
blather-0.5.9 blather.gemspec