genRelease 1.0.0 → 1.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/genRelease/commands/help_modules/FileUtils.rb +4 -3
- data/lib/genRelease/version.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: a03d0cacb5af11526e234560169f88ede2c339cd
|
4
|
+
data.tar.gz: 2b31ca2f5e984a1e4670f0d934b55c480a67634a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fee4346d976f30a44f486a3f2ab67d4b5484304568cc5e02e5f42245dc3b6c50c5b90fe05d44833439b8f8e18a01522a83af09385a4203f23c230c2deb80c85b
|
7
|
+
data.tar.gz: 4614b4f7a37ec5f80e40c1c6eb0a76480923c9bcc2db068782c9f8988fb3ed00e71d00422962b0bab8cf93851146dcde0648633694724d52b9deb1172f43ec80
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'json'
|
1
2
|
module GenRelease
|
2
3
|
module FileUtils
|
3
4
|
extend self
|
@@ -14,11 +15,11 @@ module GenRelease
|
|
14
15
|
end
|
15
16
|
|
16
17
|
def format(content)
|
17
|
-
|
18
|
+
json_arr = []
|
18
19
|
content.each do |k,v|
|
19
|
-
|
20
|
+
json_arr << {:file => k.to_s,:md5 => v[:md5].to_s,:sha1 => v[:sha1]}
|
20
21
|
end
|
21
|
-
|
22
|
+
json_arr.to_json.to_s
|
22
23
|
end
|
23
24
|
end
|
24
25
|
end
|
data/lib/genRelease/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: genRelease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- megrez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.2.
|
123
|
+
rubygems_version: 2.2.0
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: A cli tool to generate RSA key-pair and output a recursive filelist
|