Sha256: 7cc079fb3bad33fbcca6f746905b0f8e90c221af9d1996ed84ea94b24c1ba0c1
Contents?: true
Size: 1.4 KB
Versions: 3
Compression:
Stored size: 1.4 KB
Contents
# 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. # 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) super name, options.merge(path: local_path). delete_if { |key, _| [:git, :branch].include?(key) } else super name, *args end end } gem "rake", ">= 12.3.1" group :development do gem "yard" gem "redcarpet", platform: :mri gem "ruby-prof", platform: :mri gem "ripl" gem "ripl-multi_line" gem "ripl-irb" end group :test do gem "rspec", "~> 3.9.0" gem "rabbitmq_http_api_client", "~> 1.13.0", require: "rabbitmq/http/client" gem "toxiproxy", "~> 1.0.3" end gemspec # 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 "amq-protocol", git: "https://github.com/ruby-amqp/amq-protocol", branch: "master"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bunny-2.17.0 | Gemfile |
bunny-2.16.1 | Gemfile |
bunny-2.15.0 | Gemfile |