embedding_go_in_a_gem 0.1.6-x86_64-linux → 0.1.8-x86_64-linux

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: 484b156688e491f4d5d6ab0d096c6be4337e0f55db561965500fd0d8714095aa
4
- data.tar.gz: a164dbaeaa900e8b2e8f9829a0a577301f88aa1e83698f6601bba88c8cde3d43
3
+ metadata.gz: 5bea4eceefb2e7683ec55250cf85aa07dcc40ddca4b3f2e68ec5d61eafd8f06b
4
+ data.tar.gz: 6596d37094f3282812134e5d2cb54c574e8fe1efa50e7290675f4cd223b87eb9
5
5
  SHA512:
6
- metadata.gz: f3dd1ac28670ce3a8311d8f090bce85cfd43b954a860825f271be14f5db7bb0ab4559d4a22efc67800f848c79fe43d832f3682d9eac1352c929bd24b791a9e3d
7
- data.tar.gz: 6dcf6187d4cb4d9043e25eba6eec9d9a803d9ffc2d9575942f6d50d1a0df1e2385e7b2b328313e522dbff7f6e8455a5c7661f8b539c04174e485a9e69a512b59
6
+ metadata.gz: 9d7363a127acbdfd96bbd584a62d6785d862de9e1915bf94935319298985a1bb2db7eded2f50ac6968d645bf5759cbd818a745210cd991b8526db15efd4f2a23
7
+ data.tar.gz: f448743734f81d314a4df3e0cd788d1c0320a8d9e71f6a439e3c0e63fe82a838ed2c57ae518cbef06c634d1f551938ac2d887c6e7cf5a996f749184ea6a5bc46
@@ -0,0 +1,14 @@
1
+ dir = File.expand_path(File.dirname(__FILE__))
2
+
3
+ File.write "Makefile", <<MAKEFILE
4
+ build:
5
+ GOBIN="#{dir}" go install github.com/linux2647/sample-go-program@v0.1.0
6
+
7
+ all: install
8
+ clean:
9
+ install:
10
+ @touch embedding_go_in_a_gem.bundle
11
+ @touch embedding_go_in_a_gem.so
12
+ MAKEFILE
13
+
14
+ $makefile_created = true
@@ -1,6 +1,6 @@
1
1
  class EmbeddingGoInAGem
2
2
  def run
3
- exec(File.expand_path(File.join(File.dirname(__FILE__), '..', 'ext', 'sample-go-program')))
3
+ exec(File.expand_path(File.join(File.dirname(__FILE__), '..', 'ext', 'embedding_go_in_a_gem', 'sample-go-program')))
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embedding_go_in_a_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Stephen Howell
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake-compiler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rspec
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -28,14 +42,15 @@ description: Can you embed a binary in a Gem? Can you distribute it to multiple
28
42
  email: stephen@infinitecanvas.net
29
43
  executables:
30
44
  - egiag
31
- extensions: []
45
+ extensions:
46
+ - ext/embedding_go_in_a_gem/extconf.rb
32
47
  extra_rdoc_files: []
33
48
  files:
34
49
  - MIT-LICENSE
35
50
  - README.md
36
51
  - bin/egiag
37
- - ext/sample-go-program
38
- - lib/.gemkeep
52
+ - ext/embedding_go_in_a_gem/extconf.rb
53
+ - ext/embedding_go_in_a_gem/sample-go-program
39
54
  - lib/embedding_go_in_a_gem.rb
40
55
  - spec/gem_spec.rb
41
56
  homepage: https://github.com/linux2647/embedding-go-in-a-gem
Binary file
data/lib/.gemkeep DELETED
File without changes