redis-client 0.2.0 → 0.2.1

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: eba18b5a126a8f4f9e76c842c41fd3ab2672c6d08be0d9023536e7fdbbf2ac1c
4
- data.tar.gz: 0a012bad73ae54550cae8dde282fdaf644a04a1bd748cd37993a31592ccf2259
3
+ metadata.gz: f09f4bc8f3f2cf92a6beb3b02ef601209bc36073eee68e4d57c93f802b10db2f
4
+ data.tar.gz: c3539ba4db69fac8a98649e27125409feb62d925b55a2c03bc75e87d26e60a89
5
5
  SHA512:
6
- metadata.gz: 37ccff70160eff897f9881784db776679e8b97cec95b89e6db3f13e5294799c3d6ca7dd97e83ce54699819943c7a10904fb76567a7944a8c83fc88408217d294
7
- data.tar.gz: c366d95353b081199751910676a9b0e682ff7cb0559c91d7c5112ec7f486a2edb0afa9317f9066953bd13b2f359f6fcb0c4fda268852aa7176557cc42d6b0f94
6
+ metadata.gz: '08bbfce855729654d6f74830a18a6aaea755f4790c58ccf92cc53ac321a6a3ca4d5935a885498c89d48d781b5affc16e757524e7d1f2355da57b5048ca968528'
7
+ data.tar.gz: aac332fe44444ac5afdf5b23ba35e23dc3129a50c5c9c51628f24d151620c26108984574decd5ab25435f39ee305cf4933ab0413aaad7076cf525503c9ec50d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.2.1
4
+
5
+ - Use a more robust way to detect the current compiler.
6
+
3
7
  # 0.2.0
4
8
  - Added `RedisClient.register` as a public instrumentation API.
5
9
  - Fix `read_timeout=` and `write_timeout=` to apply even when the client or pool is already connected.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- redis-client (0.2.0)
4
+ redis-client (0.2.1)
5
5
  connection_pool
6
6
 
7
7
  GEM
@@ -42,11 +42,10 @@ if RUBY_ENGINE == "ruby" && !RUBY_ENGINE.match?(/mswin/)
42
42
  $CFLAGS << " -O3"
43
43
  $CFLAGS << " -std=c99 "
44
44
 
45
- case RbConfig::CONFIG['CC']
46
- when /gcc/i
47
- $LDFLAGS << ' -Wl,--version-script="' << File.join(__dir__, 'export.gcc') << '"'
48
- when /clang/i
45
+ if `cc --version`.match?(/ clang /i) || RbConfig::CONFIG['CC'].match?(/clang/i)
49
46
  $LDFLAGS << ' -Wl,-exported_symbols_list,"' << File.join(__dir__, 'export.clang') << '"'
47
+ elsif RbConfig::CONFIG['CC'].match?(/gcc/i)
48
+ $LDFLAGS << ' -Wl,--version-script="' << File.join(__dir__, 'export.gcc') << '"'
50
49
  end
51
50
 
52
51
  if ENV["EXT_PEDANTIC"]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RedisClient
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool