ffi-hydrogen 0.1.4 → 0.1.5

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: be2df25de67fed6151c89b7d8a3647f22f5ac976cf79fa7626c233fc39690105
4
- data.tar.gz: 5095d0818bb994b2869797e8e98fc68aca3be9d2d593d0b0de7674037836caf3
3
+ metadata.gz: 5693c5443a1feb5c0dfde157d2a8326b6782af82188d46ce883cb927f51ed37c
4
+ data.tar.gz: cd1897b6d5b90cac758e8cb9114e74bb88bde276adfb43a98b459367a6409b2d
5
5
  SHA512:
6
- metadata.gz: 6a1eaf762bd83870e62c306c88ba5684a81b949e1dc9e3fdceeeb204abded6c0c268ea6be32ec7a2109a606fdceb8e4d7e5be081fb354422a800efdd634e8cf8
7
- data.tar.gz: fa26df83d0b1d69a4fe5237e7ec8d3a8a3da539673deb25de624e690fb59757b928e2c067e671b01ae72756a00f3932fe092b7e6faecee513415bbe6d6de88b2
6
+ metadata.gz: 7097f080d73ce5529bfe35c444f6223d53dd581bf1a08bbc4497c2135459042b0b85895d0ba69e44378f2eb21ed4c78ecf9ba1301d164e72aa862c757ce55d42
7
+ data.tar.gz: 96be9b30ccad26efe0bee4d19dc9be478e609c7793fb629174396a11400f8cc890d7f967de738405de89e458bb03f8db374a7febc01908194cd1b6c93087619e
@@ -15,7 +15,9 @@ task :compile_shared do
15
15
  " -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum"\
16
16
  " -Wno-type-limits"
17
17
 
18
- cpuflag = if RUBY_PLATFORM =~ /arm64/ && RUBY_PLATFORM =~ /darwin/
18
+ rbconfig = RbConfig::CONFIG
19
+
20
+ cpuflag = if rbconfig["host_cpu"] =~ /arm64/ && rbconfig["host_os"] =~ /darwin/
19
21
  "-mcpu=apple-m1"
20
22
  else
21
23
  "-march=native"
data/ffi-hydrogen.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "ffi-hydrogen"
6
- spec.version = "0.1.4"
6
+ spec.version = "0.1.5"
7
7
  spec.authors = ["Marcos Minond"]
8
8
  spec.email = ["marcos.minond@mx.com"]
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-hydrogen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Minond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-04 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  - !ruby/object:Gem::Version
320
320
  version: '0'
321
321
  requirements: []
322
- rubygems_version: 3.0.1
322
+ rubygems_version: 3.3.7
323
323
  signing_key:
324
324
  specification_version: 4
325
325
  summary: libhydrogen + encoding = cryptographically sound, URL safe string = libhydrogen