gondler 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/gondler/gomfile.rb +7 -1
- data/lib/gondler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffb22088c50d2f5dfc3e1825ff1a3e50f197e0c7
|
4
|
+
data.tar.gz: 985ac3c3e4af4fb8fbf3f4e679a511ff12b7964f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f40be168bd9fac514dea219dfb9eb7dac7e165b670ff6b2dbb1a46b64e3acd7fa8c8550ba59dec30a5e7464150f2ed2c1f3450a6a4bef839e6ae8d73b0bbf63
|
7
|
+
data.tar.gz: c1141b9bfec3be84bda8a4f0683006cbbb271fdd9e40c575195802cb0f8715c70a75044a39ad36fdd77b7d6c74ed38b52e0849b474408146a776ab2aeb89dde7
|
data/README.md
CHANGED
data/lib/gondler/gomfile.rb
CHANGED
@@ -69,10 +69,16 @@ module Gondler
|
|
69
69
|
deps = `go list -f '{{join .Deps "\\n"}}' ./...`.strip.split(/\n+/)
|
70
70
|
|
71
71
|
deps.each do |dep|
|
72
|
-
gom(dep)
|
72
|
+
gom(dep) if external?(dep)
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
private
|
77
|
+
|
78
|
+
def external?(pkg)
|
79
|
+
pkg.include?('.') && (@itself.to_s.empty? || !pkg.include?(@itself.to_s))
|
80
|
+
end
|
81
|
+
|
76
82
|
class NotFound < StandardError
|
77
83
|
def initialize(gomfile)
|
78
84
|
@gomfile = gomfile
|
data/lib/gondler/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gondler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|