mulang 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mulang +0 -0
- data/lib/mulang.rb +6 -1
- data/lib/mulang/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 754ca2003eff870fb712cdf7dd988a1987d8a239f476c14aee0e19f2110764ba
|
4
|
+
data.tar.gz: eed65b12542d63151f43d74198f4122550caf7512dcaa2ea5eef5a9ea3541749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48dd463d24321d92889c06a9a97ff4b0433cdfbef43bd8f01e7b1344b16578f4df8925fe1f1cfb08cd52974300adb9854fa2b48f3817a7c2f7f329fd5a27d896
|
7
|
+
data.tar.gz: 94843f9f0788d993ab70ea4ab9594e6e91cbd2040c9c084bf58f699135e482ba5798ae8489fa9634576540fb44f74c870f0335339b4a3dd2dfee4c36409c9f34
|
data/bin/mulang
CHANGED
Binary file
|
data/lib/mulang.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'active_support/all'
|
2
|
+
require 'open3'
|
2
3
|
|
3
4
|
require_relative './mulang/version'
|
4
5
|
|
@@ -7,7 +8,11 @@ module Mulang
|
|
7
8
|
File.join(__dir__, '..', 'bin', 'mulang')
|
8
9
|
end
|
9
10
|
def self.analyse(analysis)
|
10
|
-
|
11
|
+
Open3.popen2(bin_path, '-s') do |input, output, _thread|
|
12
|
+
input.puts analysis.to_json
|
13
|
+
input.close
|
14
|
+
JSON.parse output.read
|
15
|
+
end
|
11
16
|
end
|
12
17
|
end
|
13
18
|
|
data/lib/mulang/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mulang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.7.
|
104
|
+
rubygems_version: 2.7.8
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Gem wrapper for mulang tool
|