go4rake 1.3.3 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/go4rake/new.rb +3 -10
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0639c285eed5ed188ff1c45a68e947563c97021
|
4
|
+
data.tar.gz: 3ad457e52aef20a0680545620a59d4d5a51afcf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4fe4c7bc96c2043445fd81349dd88b3239783d48f6d425bc27adef02d76839ec7674c2ce1e90aaa2c6a2ec65cb50054e1803696db5b7cc38a563ec86983cb33
|
7
|
+
data.tar.gz: 2fb639f2b53ac2a133ec82cfa1dd474dad5a17d27184c012aa719dd7f0d0b8dd4a00db53dd9528b5f335462cb5968e76b95ecbe6429bbb52b350e1bdd20f2b9e
|
data/lib/go4rake/new.rb
CHANGED
@@ -114,22 +114,15 @@ class Go4Rake < ::Rake::TaskLib
|
|
114
114
|
files.push('NOTICE') if File.exist?('NOTICE')
|
115
115
|
end
|
116
116
|
|
117
|
+
File.delete(zip_file) if File.exist?(zip_file)
|
117
118
|
Zip::File.open(zip_file, Zip::File::CREATE) do |zip|
|
118
119
|
[*files].each { |i|
|
119
120
|
t = File.basename(i)
|
120
|
-
|
121
|
-
zip.add(t, i)
|
122
|
-
rescue Zip::ZipEntryExistsError
|
123
|
-
zip.replace(t, i)
|
124
|
-
end
|
121
|
+
zip.add(t, i)
|
125
122
|
}
|
126
123
|
|
127
124
|
# The executable file.
|
128
|
-
|
129
|
-
zip.add(name, bin)
|
130
|
-
rescue Zip::ZipEntryExistsError
|
131
|
-
zip.replace(name, bin)
|
132
|
-
end
|
125
|
+
zip.add(name, bin)
|
133
126
|
zip.file.chmod(0755, name)
|
134
127
|
end
|
135
128
|
puts("Wrote #{zip_file}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go4rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vasily Korytov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -62,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
65
|
+
version: 1.9.2
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.4.5
|
73
|
+
rubygems_version: 2.4.5.1
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Rake helper for cross-compiling Go programs
|