vcs2json 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/srcML/srcml.rb +5 -3
- data/lib/vcs2json/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84a154a7c2e157db3170b0d03203eee8e5d192d8
|
4
|
+
data.tar.gz: df869d699ad341ce444c2f1a09e815798bb7280d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba3fc6feba3b1a9f7d946af2353d79e99558b521e0682c10815bb2533891e9b3a9764e876f36b1c98b27eeea10dadd0c1c592109c425049f54dcd5c1b8e7fc52
|
7
|
+
data.tar.gz: 114a22bce682633767cce7cfba3b4bf52df8b951a14d48c7bc7f6a82650fbb81057313ed175631abafe35124746d8cfc9b895aba99c9e6ba471a32dbe56b16bc
|
data/lib/srcML/srcml.rb
CHANGED
@@ -17,9 +17,11 @@ module SrcML
|
|
17
17
|
'.c' => 'C'}
|
18
18
|
|
19
19
|
# Check that SrcML is available
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
begin
|
21
|
+
version,e,s = Open3.capture3("srcml --version")
|
22
|
+
$stderr.puts version
|
23
|
+
SRCML = "srcml"
|
24
|
+
rescue Errno::ENOENT
|
23
25
|
$stderr.puts "SrcML is required, please install from www.srcml.com"
|
24
26
|
exit
|
25
27
|
end
|
data/lib/vcs2json/version.rb
CHANGED