jank 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/config.rb +3 -7
- data/lib/jank_command.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e278250ebc32f5c970ec7f2f4ae840d8706237
|
4
|
+
data.tar.gz: 7da75b202884aa2ab651ff9a139fd9560ef27862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97f5a4017776d8de5677aa2b3ad92daeb165b48f416afdbaf4bd17385508fafb7812ea87480d000b013c5750e2552430e47b973507359c4650a4423e41b668f7
|
7
|
+
data.tar.gz: 0d5066f0f73ecc0887ea0b9f4a58a755caa0d89992a687f123de9a2b587a062643cd5828d1312b556f6f4387305a90198e5a1e0dc250d1e6f9719a6b0d7940b4
|
data/lib/config.rb
CHANGED
@@ -68,7 +68,7 @@ module Jank
|
|
68
68
|
@env = ENV
|
69
69
|
|
70
70
|
if @include_env_gopath == false
|
71
|
-
@env['GOPATH'] = @
|
71
|
+
@env['GOPATH'] = @janked_gopaths.uniq.join(':')
|
72
72
|
else
|
73
73
|
@env['GOPATH'] = (@janked_gopaths + @gopaths).uniq.join(':')
|
74
74
|
end
|
@@ -91,12 +91,8 @@ module Jank
|
|
91
91
|
return if !File.exist?("#{dir}/.jank")
|
92
92
|
yaml = YAML.load_file("#{dir}/.jank")
|
93
93
|
|
94
|
-
if @include_env_gopath == nil && yaml.has_key?('env_gopath')
|
95
|
-
|
96
|
-
@include_env_gopath = false
|
97
|
-
else
|
98
|
-
@include_env_gopath = true
|
99
|
-
end
|
94
|
+
if @include_env_gopath == nil && yaml.has_key?('env_gopath')
|
95
|
+
@include_env_gopath = !!yaml['env_gopath']
|
100
96
|
end
|
101
97
|
|
102
98
|
if @local_gopath == nil && @janked_package == nil && yaml.has_key?('package') && !yaml['package'].empty?
|
data/lib/jank_command.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred McCann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Jank is a suite of scripts that wrap the go command and a collection
|
14
14
|
of utility commands for go programming. Jank will rewrite the gopath dynamically
|
@@ -72,5 +72,5 @@ rubyforge_project:
|
|
72
72
|
rubygems_version: 2.4.7
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
|
-
summary: jank - the janky
|
75
|
+
summary: jank - the janky gopath tool
|
76
76
|
test_files: []
|