embedding_go_in_a_gem 0.1.7-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: 419afabaf340a0dbac4c4ca9aa6264912d692be5519467468fad1ec0da3ac3ef
4
- data.tar.gz: b5d59be2c984ac1652fe290450f24b0088eafb798d11c203edc864b8b6d4963c
3
+ metadata.gz: 5bea4eceefb2e7683ec55250cf85aa07dcc40ddca4b3f2e68ec5d61eafd8f06b
4
+ data.tar.gz: 6596d37094f3282812134e5d2cb54c574e8fe1efa50e7290675f4cd223b87eb9
5
5
  SHA512:
6
- metadata.gz: afdc427de6d29e367238598099dbc54685b90cc7ce9c672ed35d009972d744186787353f47c6d39ad664d8f91ffbaf08f9bb1c7c1b3943c861b6102a43221a52
7
- data.tar.gz: ca7751285a9b640a9712a6971a454ed3cae7fce2cdc31e1017d6462c360e33652964a2db9d48e46b7dd3ac0d0afb4b8f8d9cae0aaf29d4972a1f6d36b9abe022
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.7
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
data/lib/.gemkeep DELETED
File without changes