Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify gemfiles/eventmachine-pre

  • Loading branch information...
commit f62190f68e03cf4dad56a3ea6451cefd81a597ea 1 parent 2cde1fc
@michaelklishin michaelklishin authored
Showing with 7 additions and 23 deletions.
  1. +7 −23 gemfiles/eventmachine-pre
View
30 gemfiles/eventmachine-pre
@@ -2,32 +2,16 @@
source :rubygems
-# 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)
- gem name, options.merge(:path => local_path).delete_if { |key, _| [:git, :branch].include?(key) }
- else
- gem name, options
- end
-end
-
-custom_gem "eventmachine", "~> 1.0.0.beta.3"
+gem "eventmachine", "~> 1.0.0.beta.3"
# gem "json", :platform => :ruby_18
-custom_gem "amq-client", :git => "git://github.com/ruby-amqp/amq-client.git", :branch => "master"
-custom_gem "amq-protocol", :git => "git://github.com/ruby-amqp/amq-protocol.git", :branch => "master"
+gem "amq-client", :git => "git://github.com/ruby-amqp/amq-client.git", :branch => "master"
+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
-end
+group :test do
+ gem "rspec", "~> 2.6.0"
+ gem "rake", "~> 0.9.2"
-group(:test) do
- gem "rspec", ">=2.5.0"
- gem "rake"
- custom_gem "evented-spec", :git => "git://github.com/ruby-amqp/evented-spec.git", :branch => "master"
+ gem "evented-spec", :git => "git://github.com/ruby-amqp/evented-spec.git", :branch => "master"
gem "effin_utf8"
gem "multi_json"
Please sign in to comment.
Something went wrong with that request. Please try again.