embedding_go_in_a_gem 0.1.8-x86_64-darwin → 0.1.9-x86_64-darwin

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: 84bbaca386860f9f2eb34040e91d8f5d0137e92ffcb86a1ff5df709b89cf6381
4
- data.tar.gz: 1d20c8da384335d40729b46d68dc70acf46935fe38021d2b370aa9a517c24942
3
+ metadata.gz: b7b1abb24c666decb6aa4b2b955ca2e6116aaf3fa837c7f1f86c09862fff7a63
4
+ data.tar.gz: ece8c4a7b0cf999e60f7cc7cde1e944f04b74308fd355fc25299d61e0bd3e156
5
5
  SHA512:
6
- metadata.gz: 39ad6f97c5e96e787a864005e052736df074398daf0ea7854ff91c810df457ebc16cbf1ee23f3a84019508ae8e9babe9d141b9f31eaa5686e97b8d398266ce75
7
- data.tar.gz: c5dca6466ee325c1697c55298f23a4b37819d5c11872933f0d4a969cf9f3d26daae545bbba0a8e6f8fc6a5add66c54de22d8645ea991c6f93b527b8af6e62e00
6
+ metadata.gz: fea4941cb78b98fa236ef369256058000ad4bb16cf4b44df58443e013671a2adadc553160e6fb3ac83ba458fa49b38456abf90f91186214dd4ce52a4ed051694
7
+ data.tar.gz: cb48728b49510c900461b05a629ee80f2e854cc1c5b4428981373f1aa152e3f1438a1d4c4922799876608457b8e39c6460d768d4448f7bc4c494941a67ca2429
@@ -1,14 +1,17 @@
1
- dir = File.expand_path(File.dirname(__FILE__))
1
+ GOBIN = "$(PWD)"
2
+ # if ENV['CI']
3
+ # GOBIN = File.expand_path(File.dirname(__FILE__))
4
+ # end
2
5
 
3
6
  File.write "Makefile", <<MAKEFILE
4
7
  build:
5
- GOBIN="#{dir}" go install github.com/linux2647/sample-go-program@v0.1.0
8
+ GOBIN="#{GOBIN}" go install github.com/linux2647/sample-go-program@v0.1.0
9
+ @touch embedding_go_in_a_gem.bundle
10
+ @touch embedding_go_in_a_gem.so
6
11
 
7
12
  all: install
8
13
  clean:
9
14
  install:
10
- @touch embedding_go_in_a_gem.bundle
11
- @touch embedding_go_in_a_gem.so
12
15
  MAKEFILE
13
16
 
14
17
  $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.8
4
+ version: 0.1.9
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Stephen Howell