File: Gemfile

package info (click to toggle)
ruby-amqp 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,508 kB
  • sloc: ruby: 8,272; sh: 11; makefile: 10
file content (45 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download
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
# encoding: utf-8

source "https://rubygems.org"

# Use local clones if possible.
# If you want to use your local copy, just symlink it to vendor.
def custom_gem(name, options = Hash.new)
  local_path = File.expand_path("../vendor/#{name}", __FILE__)
  if File.exist?(local_path)
    puts "Using #{name} from #{local_path}..."
    gem name, options.merge(:path => local_path).delete_if { |key, _| [:git, :branch].include?(key) }
  else
    gem name, options
  end
end

custom_gem "eventmachine", "~> 1.2.1"
custom_gem "amq-protocol", :git => "https://github.com/ruby-amqp/amq-protocol.git", :branch => "master"

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

  platform :ruby do
    gem "rdiscount"

    # To test event loop helper and various Rack apps
    gem "thin"
    gem "unicorn"
  end
end

group :test do
  gem "rspec", "~> 2.14.1"
  gem "rake",  "~> 11.3.0"

  custom_gem "evented-spec", :git => "https://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