libconfigure 0.3.3 → 0.3.4

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: 28daa94903e33efd2969e6ea427cf78827975e723ab2c1becce8dab76d3d3ba5
4
- data.tar.gz: 62c3b932280c7156c9aa8481ce9d326bb543d5fe90e358eff18e7c971369ad02
3
+ metadata.gz: c11bf6c08d34e9e4b35cd6116da757ef4aeba26fd0c4d5422e78ab0d62115b8e
4
+ data.tar.gz: 9957f0d02a239c8e2dbe7d11ec969733a161b29733c2b8b5efabf1dc0ab5e1be
5
5
  SHA512:
6
- metadata.gz: 1361abcf699b5513286275f915807c203a68884c261154675b89c7006dc370dc4adf2522dfe2df34b1fc57127ba36bb886142d2649fa015f04d73b9674360b74
7
- data.tar.gz: c80672dbc4fb4e85157085245d6164c72dc12d9b286073f615468a22dc96ce736191d0bc08aee599bcd581204ce25aff368a84299b751f54f2d0188be3597c87
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
- # if is_development_environment
16
- # lib_name = File.join(File.dirname(File.expand_path(__dir__)), "target", "debug", "libconfigure.dylib")
17
- # end
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
@@ -0,0 +1,3 @@
1
+ module Configure
2
+ VERSION = "0.3.4"
3
+ end
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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - automattic
8
8
  autorequire:
9
- bindir: ruby-gem/bin
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
- - ruby-gem/bin/configure_apply
37
- - ruby-gem/bin/configure_init
38
- - ruby-gem/bin/configure_update
39
- - ruby-gem/bin/libconfigure.dylib
40
- - ruby-gem/configure.rb
41
- - ruby-gem/version.rb
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
- - ruby-gem
49
+ - "."
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
data/ruby-gem/version.rb DELETED
@@ -1,3 +0,0 @@
1
- module Configure
2
- VERSION = "0.3.3"
3
- end