daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/lib/warbler/task.rb b/lib/warbler/task.rb
  2. index 91dcdce..27100f7 100644
  3. --- a/lib/warbler/task.rb
  4. +++ b/lib/warbler/task.rb
  5. @@ -240,6 +240,8 @@ module Warbler
  6.        spec = matched.last
  7.        
  8.        gem_name = "#{spec.name}-#{spec.version}"
  9. +      platform = spec.original_platform || spec.platform
  10. +      gem_name << "-#{platform}" unless platform.nil? || platform == Gem::Platform::RUBY
  11.        gem_unpack_task_name = "gem:#{gem_name}"
  12.        return if Rake::Task.task_defined?(gem_unpack_task_name)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top