surro-gate 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f450164b7555e210f798f3c928c8296a67371fd0f7d2d86ae1d6a711b0e403df
4
- data.tar.gz: be778d57851ecdb846a44aa7b6ff34c1151bd14b68ac797b1b0f9ab4bb3ae184
3
+ metadata.gz: 2fbbe2cc9fc406489f83bd1a5313f4d3228561a3a0995f70c4adafba46ef485f
4
+ data.tar.gz: cbe94944cf56bac71822c2049932e030538a130563ac7e5490599b9403df6a05
5
5
  SHA512:
6
- metadata.gz: a65a80e07bd74fc2c40623508313124350efdced103a4bed8ce0e7b6f29422be31d7e2533cf59a93890d63eae6704a58d759fc7e8a977a6ea9c0d7542e8f413e
7
- data.tar.gz: 2eb78489467d40a1266858c1ef0f71da453b2bca0c8c3135a6e8c82e73d39420952b392cd20ddb05f1866fdac9fe0ec225d27499ecac1ca94f6818049906b07d
6
+ metadata.gz: 4e832268db84ec8ae285517fa63cf3bf634ecfafdcb01d533e370a6290528dfbc87215e2dbdd5dc993d21ea21f2ede39f6ca6469b22732ff53a1675c1f4abddf
7
+ data.tar.gz: 4de9ab81b9ba2fb2170badf9f8fedaa719cf224e6a63f421d1cb96e99520c3b717100ae6eeae4b38329d3c7c5f8a5f2b895ff13d3a1cf6aa635d70610ca91517
@@ -1,4 +1,10 @@
1
1
  require 'mkmf'
2
2
 
3
- have_header 'sys/epoll.h'
4
- create_makefile 'surro-gate/selector_ext'
3
+ require_relative '../../lib/surro-gate/version.rb'
4
+ if SurroGate::HAVE_EXT
5
+ have_header 'sys/epoll.h'
6
+ create_makefile 'surro-gate/selector_ext'
7
+ else
8
+ rslt = dummy_makefile('.')
9
+ IO.write('Makefile', rslt.join("\n"))
10
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SurroGate
4
- VERSION = '1.0.3'.freeze
4
+ VERSION = '1.0.4'.freeze
5
5
  HAVE_EXT = RUBY_PLATFORM =~ /linux/ && !defined?(JRUBY_VERSION) && !ENV['SURRO_GATE_NOEXT']
6
6
  end
data/surro-gate.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
21
- spec.extensions = ['ext/surro-gate/extconf.rb'] if SurroGate::HAVE_EXT
21
+ spec.extensions = ['ext/surro-gate/extconf.rb']
22
22
  spec.bindir = 'exe'
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surro-gate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dávid Halász
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby