Sha256: b6c4d471139d62d3e7c63a28be40c402aef62dd4793cf9866f2079a64d6b1885

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 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", "Ben Langfeld"]
  s.email       = %q{blather@adhearsion.com}
  s.homepage    = "http://adhearsion.com/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.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.rdoc_options = %w{--charset=UTF-8}
  s.extra_rdoc_files = %w{LICENSE README.md}

  s.add_dependency "eventmachine", ["~> 1.2", ">= 1.2.6"]
  s.add_dependency "nokogiri", ["~> 1.8", ">= 1.8.3"]
  s.add_dependency "niceogiri", ["~> 1.0"]
  s.add_dependency "activesupport", [">= 2.3.11"]
  s.add_dependency "sucker_punch", ["~> 2.0"]

  s.add_development_dependency "bundler", ["~> 1.0"]
  s.add_development_dependency "rake"
  s.add_development_dependency "rspec", ["~> 3.0"]
  s.add_development_dependency "mocha", ["~> 1.0"]
  s.add_development_dependency "guard-rspec"
  s.add_development_dependency "yard", ["~> 0.9.11"]
  s.add_development_dependency "bluecloth" unless jruby? || rbx?
  s.add_development_dependency "countdownlatch"
  s.add_development_dependency 'rb-fsevent', ['~> 0.9']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blather-2.0.0 blather.gemspec