rabbitmq 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/rabbitmq/Rakefile +7 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdef9ca2e04cab81b663c71f2ed551a100fbb1c6
4
- data.tar.gz: 403cd8f926db3ac16d44de0bd7cbebf0c6778df1
3
+ metadata.gz: c4bf61759469222424a6d549a210f5d3a7dd2eb0
4
+ data.tar.gz: 8ac327d4b4f978ca866efe8569d466496590fd87
5
5
  SHA512:
6
- metadata.gz: cc5505b9334223cba311e8e95dc1fb9be77f03f9b6de68c4bb755f397054315e3f7ea47879c591c7fae0181ba3c279e16aea1cee2d685a19f2c35c2ee9a89e6a
7
- data.tar.gz: dda8d21f011201603cd785db70da37869d1c37fb887b18589266308764462fafaf1916f77a3765c4ca8d700198248ab8a4e922a65510f2405a009271591fb579
6
+ metadata.gz: 6806f9974abfb05a2a15db52732b1409080342bb9a0ef3e9f00c93b9e3731e4025a54d9766df8cff489f621a65959bff8af0a1c90ba03672fc5328188a15df06
7
+ data.tar.gz: c33de036488f6f50e58f17c393a00232cce16491ee65fb255e5f0804d5401c10998e9ba6b5c603cc3449f48107d86fb4be8c577d697d362da23b52c393140e77
@@ -4,7 +4,7 @@ require 'ffi'
4
4
 
5
5
  FILES = {}
6
6
 
7
- task :default => :build
7
+ task :default => [:build, :compact]
8
8
 
9
9
  def self.file_task(filename, opts, &block)
10
10
  name, dep = opts.is_a?(Hash) ? opts.to_a.first : [opts, nil]
@@ -45,3 +45,9 @@ file_task "librabbitmq.#{::FFI::Platform::LIBSUFFIX}", :build => :configure do
45
45
  cmd "/usr/bin/env sh -c 'cd #{FILES[:download]} && make'"
46
46
  cmd "cp #{FILES[:download]}/librabbitmq/.libs/#{FILES[:build]} ."
47
47
  end
48
+
49
+ task :compact => FILES[:build] do
50
+ FILES.each do |key, filename|
51
+ cmd "rm -rf #{filename}" unless key == :build
52
+ end
53
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe McIlvain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-18 00:00:00.000000000 Z
11
+ date: 2015-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi