rbczmq 1.7.6 → 1.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWJkMDMwN2ZjMTgyMDQ4ZjRkODQxM2I2YmMzOWEyN2EzZmFjOTcyZQ==
4
+ MzJlMDlhZjZkMTkxYzBlOWQyODZjZTQ1ODEwMjk3YWY0ZGEwNGUzZA==
5
5
  data.tar.gz: !binary |-
6
- NmQ3Y2MzNzYxNGMzZGYwZjVkMDk3MWEwODg3OTRhMjA1NjM2NjI1Yg==
6
+ ODVlN2VkYTUxOTMyOWQ5MTBhMzJkNWZhM2JjNDAxODRkNzc2ODk4Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDkxZGQ0ZTBjNDA4MTZkZjhmZDQ5NGQxM2E3NzU1ZjU4ZDZmOTRkYjY3NWZi
10
- MjE5MjliZTExYWJkMjZmNTg2MzljNzc1MTI3YjEwMDJkYzU3ZGZiMzc3OTVj
11
- ZjU2MDFjNzdlNTI0ZDA3NmY0NjMwOTllYjJlY2VjZGIwMjI2ZWY=
9
+ Y2Y1NDUwOWU5OTY1M2FjZDY0NDdiMjUxMTFhMjRkZWU5MzA0ZTg4ODdiMTA4
10
+ YTFiMzg4ZGNkMzRjZTRmNTIwMzQ1NzJlYmYyZjU2NjdlZjRiNDJhZmJiNGFl
11
+ MTBjNzBhMmUxZjNjZTZjMGU3OWQxYjg0ZWZhOTJkYjM4NDM2NzM=
12
12
  data.tar.gz: !binary |-
13
- YWRmZDVmOThiNWU2NWRmZDAzOTJhMjVjMmI1MWI0MGE1YmE2YzljNTBlZjZi
14
- MTFhNTYzMzU0ZTQyNjk4YzYzNWM5Y2UxN2RjM2VjY2E0OWYyNTIyMTA3MmU3
15
- MzRlM2YxOTFiOTk2YTRmY2I4MTIyYzgyOGE1ZTkxNWNlZTEyN2M=
13
+ ZTk1NTgzMjU1NTM4ZmQ3ZDdkYWE2OWYyMjgyYmIwZTFlM2MxZWFlNzAxYTA2
14
+ OWNjZTRlZmM5ZWExNzg3MTI5MTY3NjRlNWQyYjNjNTM3NWNlYTQ3MDc3OTZk
15
+ M2NlMWRjN2JhYzg4MmMwY2M3YmU3NGQ5ODc2NTRkM2U4YTg5YjI=
@@ -4,6 +4,8 @@ rvm:
4
4
  - rbx-2
5
5
  - 1.9.3
6
6
  - 2.0.0
7
+ - 2.1.1
8
+ - 2.1.2
7
9
  - ruby-head
8
10
  script: "bundle exec rake"
9
11
  gemfile:
@@ -19,4 +21,4 @@ before_install:
19
21
  - if [[ $(ruby -v) =~ rubinius ]]; then travis_retry gem install rubysl; fi; gem list; true
20
22
  matrix:
21
23
  allow_failures:
22
- - rvm: ruby-head
24
+ - rvm: ruby-head
@@ -1,5 +1,10 @@
1
1
  = Changelog
2
2
 
3
+ == 1.7.7 (August 29, 2014)
4
+
5
+ * Add the ability to use system libraries for hosts that already have libzmq and libczmq installed by passing the
6
+ --with-system-libs option when installing (Michael Granger)
7
+
3
8
  == 1.7.6 (June 05, 2014)
4
9
 
5
10
  * Fix ZMQ::Beacon port assignment
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbczmq (1.7.6)
4
+ rbczmq (1.7.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -97,22 +97,30 @@ unless File.exist?(zmq_path + 'autogen.sh')
97
97
  end
98
98
 
99
99
  # build libzmq
100
- lib = libs_path + "libzmq.#{LIBEXT}"
101
- Dir.chdir zmq_path do
102
- sys "./autogen.sh", "ZeroMQ autogen failed!" unless File.exist?(zmq_path + 'configure')
103
- sys "./configure --prefix=#{dst_path} --without-documentation --enable-shared",
104
- "ZeroMQ configure failed" unless File.exist?(zmq_path + 'Makefile')
105
- sys "make && make install", "ZeroMQ compile error!"
106
- end #unless File.exist?(lib)
100
+ if with_config('system-libs')
101
+ $stderr.puts "Warning -- using system version of libzmq."
102
+ else
103
+ lib = libs_path + "libzmq.#{LIBEXT}"
104
+ Dir.chdir zmq_path do
105
+ sys "./autogen.sh", "ZeroMQ autogen failed!" unless File.exist?(zmq_path + 'configure')
106
+ sys "./configure --prefix=#{dst_path} --without-documentation --enable-shared",
107
+ "ZeroMQ configure failed" unless File.exist?(zmq_path + 'Makefile')
108
+ sys "make && make install", "ZeroMQ compile error!"
109
+ end #unless File.exist?(lib)
110
+ end
107
111
 
108
112
  # build libczmq
109
- lib = libs_path + "libczmq.#{LIBEXT}"
110
- Dir.chdir czmq_path do
111
- sys "./autogen.sh", "CZMQ autogen failed!" unless File.exist?(czmq_path + 'configure')
112
- sys "./configure LDFLAGS=-L#{libs_path} CFLAGS='#{CZMQ_CFLAGS.join(" ")}' --prefix=#{dst_path} --with-libzmq=#{dst_path} --disable-shared",
113
- "CZMQ configure error!" unless File.exist?(czmq_path + 'Makefile')
114
- sys "make all && make install", "CZMQ compile error!"
115
- end #unless File.exist?(lib)
113
+ if with_config('system-libs')
114
+ $stderr.puts "Warning -- using system version of libczmq."
115
+ else
116
+ lib = libs_path + "libczmq.#{LIBEXT}"
117
+ Dir.chdir czmq_path do
118
+ sys "./autogen.sh", "CZMQ autogen failed!" unless File.exist?(czmq_path + 'configure')
119
+ sys "./configure LDFLAGS=-L#{libs_path} CFLAGS='#{CZMQ_CFLAGS.join(" ")}' --prefix=#{dst_path} --with-libzmq=#{dst_path} --disable-shared",
120
+ "CZMQ configure error!" unless File.exist?(czmq_path + 'Makefile')
121
+ sys "make all && make install", "CZMQ compile error!"
122
+ end #unless File.exist?(lib)
123
+ end
116
124
 
117
125
  dir_config('rbczmq')
118
126
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module ZMQ
4
- VERSION = "1.7.6"
4
+ VERSION = "1.7.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbczmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lourens Naudé
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-06-05 00:00:00.000000000 Z
13
+ date: 2014-08-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake-compiler