libconfigure 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{ruby-gem/bin → bin}/configure_apply +0 -0
- data/{ruby-gem/bin → bin}/configure_init +0 -0
- data/{ruby-gem/bin → bin}/configure_update +0 -0
- data/{ruby-gem/bin → bin}/libconfigure.dylib +0 -0
- data/{ruby-gem/configure.rb → configure.rb} +3 -8
- data/version.rb +3 -0
- metadata +9 -9
- data/ruby-gem/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11bf6c08d34e9e4b35cd6116da757ef4aeba26fd0c4d5422e78ab0d62115b8e
|
4
|
+
data.tar.gz: 9957f0d02a239c8e2dbe7d11ec969733a161b29733c2b8b5efabf1dc0ab5e1be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea50163f9673bb70d05e2675687c5a7839bf962e6a990ade3b6ddaf4f6f2a7453367394e5979ee42a8ffef59362dfe362d40cb1fe7265c7bed2c89cf2fea6d0
|
7
|
+
data.tar.gz: 5c3614801706b3b3f456cd7cfad12aae01c956d646e7f880bc81ac571316116afe7c33aceb94873153de4e27f87f35d44d676e2c3b11450df23245d662ebcb28
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -3,18 +3,13 @@ require 'ffi'
|
|
3
3
|
module Configure
|
4
4
|
extend FFI::Library
|
5
5
|
|
6
|
-
puts "Loaded `Configure` module"
|
7
|
-
|
8
6
|
is_development_environment = File.basename(File.dirname((File.expand_path(__dir__)))) == "configure"
|
9
7
|
|
10
|
-
puts "Is Development?"
|
11
|
-
puts is_development_environment
|
12
|
-
|
13
8
|
lib_name = File.join(__dir__, "bin", "libconfigure.dylib")
|
14
9
|
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
if is_development_environment
|
11
|
+
lib_name = File.join(File.dirname(File.expand_path(__dir__)), "target", "debug", "libconfigure.dylib")
|
12
|
+
end
|
18
13
|
|
19
14
|
ffi_lib File.expand_path(lib_name, __dir__)
|
20
15
|
attach_function :init, [], :void
|
data/version.rb
ADDED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libconfigure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- automattic
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -33,12 +33,12 @@ executables:
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
-
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
36
|
+
- bin/configure_apply
|
37
|
+
- bin/configure_init
|
38
|
+
- bin/configure_update
|
39
|
+
- bin/libconfigure.dylib
|
40
|
+
- configure.rb
|
41
|
+
- version.rb
|
42
42
|
homepage: https://rubygems.org/gems/libconfigure
|
43
43
|
licenses:
|
44
44
|
- MIT
|
@@ -46,7 +46,7 @@ metadata: {}
|
|
46
46
|
post_install_message:
|
47
47
|
rdoc_options: []
|
48
48
|
require_paths:
|
49
|
-
-
|
49
|
+
- "."
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
data/ruby-gem/version.rb
DELETED