libconfigure 0.3.1 → 0.3.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: bf519415091fb07b6eefc437aca3b76e57f7152d635c45db6e67a76e84ee7ec4
4
- data.tar.gz: 4afd2048af4e7813a8ca32fa42ea84b46352b747b7c237db93bb73b2aa070463
3
+ metadata.gz: fedec944a0fedaeb36ac93f055bc02a592e2492413225048bbee1a59e02229a5
4
+ data.tar.gz: 6c39ddaae6141e587f89b66481189b1f192c5e4305fdd354cae11311cc4c113e
5
5
  SHA512:
6
- metadata.gz: 6625c153d3705c87d2ed2a8db24a59b94cdcaf2cb1ce48ffcb7523705244fe2dcac868ea6dbfe9aa8549c1e170da4867167bf7ae3be7947c7048daf72a25f87f
7
- data.tar.gz: 50682c3412bb6f5403652a150acca268198f284c65f3747672798d223be5aaed2a1ba14943f1c2552408d5ba3d30b563a07101bf8828baea18eb26b0f91ea411
6
+ metadata.gz: 61d8e057f0d62b1f5333dded602b7a7bb51aaebcb353e03cb78cf6c21108c4c36950258a0639c76737ff7b124f407dd007583415c5c6b5acb6e4898c6bd3e30a
7
+ data.tar.gz: '09f02475796388ba976a2db309c364ff64d4989c15d6037b820b10be46da986f4dd1dff76042e807169709e2cb30c62d279f223f438c6c93cdc94cfcaea3e87a'
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libconfigure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - automattic
@@ -30,15 +30,13 @@ executables:
30
30
  - configure_init
31
31
  - configure_apply
32
32
  - configure_update
33
- extensions:
34
- - ruby-gem/ext/configure/extconf.rb
33
+ extensions: []
35
34
  extra_rdoc_files: []
36
35
  files:
37
36
  - ruby-gem/bin/configure_apply
38
37
  - ruby-gem/bin/configure_init
39
38
  - ruby-gem/bin/configure_update
40
- - ruby-gem/configure.rb
41
- - ruby-gem/ext/configure/extconf.rb
39
+ - ruby-gem/bin/libconfigure.dylib
42
40
  homepage: https://rubygems.org/gems/libconfigure
43
41
  licenses:
44
42
  - MIT
@@ -1,10 +0,0 @@
1
- require 'ffi'
2
-
3
- module Configure
4
- extend FFI::Library
5
- lib_name = File.join("ext", "configure", "configure.bundle")
6
- ffi_lib File.expand_path(lib_name, __dir__)
7
- attach_function :init, [], :void
8
- attach_function :apply, [:bool, :string], :void
9
- attach_function :update, [:bool, :string], :void
10
- end
@@ -1,23 +0,0 @@
1
- require 'mkmf'
2
- require 'os'
3
- require 'tempfile'
4
- require_relative '../../version'
5
-
6
- compilationDirectory = Dir.pwd
7
- configureDirectory = File.dirname(File.absolute_path(__FILE__))
8
- bundlePath = File.join(compilationDirectory, 'configure.' + RbConfig::CONFIG['DLEXT'])
9
-
10
- puts "Downloading libconfigure"
11
-
12
- FileUtils.cp(configureDirectory + "/makefile.example", compilationDirectory + "/Makefile")
13
-
14
- if OS.mac? then
15
- command = "curl https://github.com/Automattic/configure/releases/download/#{Configure::VERSION}/libconfigure.dylib -L --output #{bundlePath}"
16
- system(command)
17
- else
18
- puts "Unsupported Operating System"
19
- exit 1
20
- end
21
-
22
- puts "Done"
23
- exit 0