Sha256: 63ddde0d264304d79e80737a711cdbd0beecdf6a948d34ae70e0a891bcab6a06

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 KB

Contents

# encoding: utf-8

source :rubygems

# Use local clones if possible.
# If you want to use your local copy, just symlink it to vendor.
# See http://blog.101ideas.cz/posts/custom-gems-in-gemfile.html
extend Module.new {
  def gem(name, *args)
    options = args.last.is_a?(Hash) ? args.last : Hash.new

    local_path = File.expand_path("../vendor/#{name}", __FILE__)
    if File.exist?(local_path)
      puts "Using #{name} from #{local_path}..."
      super name, options.merge(:path => local_path).
        delete_if { |key, _| [:git, :branch].include?(key) }
    else
      super name, *args
    end
  end
}

gem "eventmachine"
# cool.io uses iobuffer that won't compile on JRuby
# (and, probably, Windows)
gem "cool.io", :platform => :ruby
gem "amq-protocol", :git => "git://github.com/ruby-amqp/amq-protocol.git", :branch => "master"

group :development do
  gem "yard"
  # yard tags this buddy along
  gem "RedCloth", :platform => :mri

  gem "nake",          :platform => :ruby_19
  # excludes Windows and JRuby
  gem "perftools.rb",  :platform => :mri
end

group :test do
  gem "rspec", ">= 2.6.0"
  gem "evented-spec", :git => "git://github.com/ruby-amqp/evented-spec.git", :branch => "master"
  gem "effin_utf8"

  gem "multi_json"

  gem "json",      :platform => :jruby
  gem "yajl-ruby", :platform => :ruby_18
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
amq-client-1.0.4 Gemfile
amq-client-1.0.3 Gemfile
amq-client-1.0.2 Gemfile
amq-client-1.0.1 Gemfile
amq-client-1.0.0 Gemfile
amq-client-1.0.0.pre2 Gemfile
amq-client-1.0.0.pre1 Gemfile