polycrystal 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c36c53d38effb8bfff6d117b093f4bfde0a3065aba334b4072443ed1f944699
4
- data.tar.gz: db61e2f89922bd9b0361058fccd76674487867a7ec1c5eadd8ead025c74a6d9b
3
+ metadata.gz: 46441f58bfab74d37c13333f222535918c57664bbb25e41078e722a95a3be082
4
+ data.tar.gz: 453ce9f790daa4fec95da21809e99b5b5c459b51b6ff0d2e005b8d8eab9d9224
5
5
  SHA512:
6
- metadata.gz: 4909f54b444dc12fc1ba83a8fe4af344700a63b9dbae268d0ed5b4355752675f1fb48eeeda2a20a2a29541c44193c5123625fc59b73c26c142f1ce48880600ba
7
- data.tar.gz: a6adf935b96b4eb5ed09e1cfe7bf3e421144f3e01ff6ce1895ecea45da8de08032be8cc915bbfd05141892df87b025e93018d450a30ce6c6ebcc6d490279781b
6
+ metadata.gz: 127245a07887867cdb4de1902965cb2523b3a57fd1a065d1a9edcad18f687f034377c1824fd92e7b38fe37f4c19dbae92ba4c78848077c118c567601dd8a4673
7
+ data.tar.gz: c269b0e48439cd52ae938f3fbdf85ba6b4c21c73b59839be93017971126ad03cb3394e97bdfcc81a3f9e799a3fc863001ad16e17b86a1597bf304d25b5de0e22
@@ -82,7 +82,7 @@ module Polycrystal
82
82
  end
83
83
 
84
84
  def command
85
- "#{include_paths} #{anyolite_glue} #{compiler_cmd} build #{in_file.path} --link-flags \"#{crystal_link_flags}\" -o #{outfile} --release " \
85
+ "#{include_paths} #{compiler_cmd} build #{in_file.path} --link-flags \"#{crystal_link_flags} #{anyolite_glue}\" -o #{outfile} --release " \
86
86
  '-Danyolite_implementation_ruby_3 -Duse_general_object_format_chars -Dexternal_ruby'
87
87
  end
88
88
 
@@ -132,14 +132,11 @@ module Polycrystal
132
132
  end
133
133
 
134
134
  def anyolite_glue
135
- # "DLDFLAGS"=>"-L/Users/ahrushetskyi/.rbenv/versions/3.0.4/lib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress"
136
- env = "-L#{RbConfig::CONFIG['libdir']} #{RbConfig::CONFIG['LIBRUBYARG_SHARED']} " \
137
- "#{File.expand_path("#{__dir__}/../../ext/polycrystal/data_helper.o")} " \
138
- "#{File.expand_path("#{__dir__}/../../ext/polycrystal/error_helper.o")} " \
139
- "#{File.expand_path("#{__dir__}/../../ext/polycrystal/return_functions.o")} " \
140
- "#{File.expand_path("#{__dir__}/../../ext/polycrystal/script_helper.o")} "
141
-
142
- "ANYOLITE_LINK_GLUE=\"#{env}\""
135
+ "-L#{RbConfig::CONFIG['libdir']} #{RbConfig::CONFIG['LIBRUBYARG_SHARED']} " \
136
+ "#{File.expand_path("#{__dir__}/../../ext/polycrystal/data_helper.o")} " \
137
+ "#{File.expand_path("#{__dir__}/../../ext/polycrystal/error_helper.o")} " \
138
+ "#{File.expand_path("#{__dir__}/../../ext/polycrystal/return_functions.o")} " \
139
+ "#{File.expand_path("#{__dir__}/../../ext/polycrystal/script_helper.o")} "
143
140
  end
144
141
 
145
142
  def compiler_cmd
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Polycrystal
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polycrystal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrii Hrushetskyi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,7 +109,7 @@ metadata:
109
109
  source_code_uri: https://github.com/ahrushetskyi/polycrystal
110
110
  changelog_uri: https://github.com/ahrushetskyi/polycrystal/CHANGELOG.md
111
111
  rubygems_mfa_required: 'true'
112
- post_install_message:
112
+ post_install_message:
113
113
  rdoc_options: []
114
114
  require_paths:
115
115
  - lib
@@ -125,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.2.33
129
- signing_key:
128
+ rubygems_version: 3.0.3.1
129
+ signing_key:
130
130
  specification_version: 4
131
131
  summary: Integrate Crystal into ruby
132
132
  test_files: []