vcs2json 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vcs2json/logger.rb +3 -2
- data/lib/vcs2json/version.rb +1 -1
- data/lib/vcs2json_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16eb57bedbd48bc94c5b73477ac784f40d8be16b
|
4
|
+
data.tar.gz: b2dcb78c8e63bc71c098f9b6642364c99bb65e2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1b15c85e038ae87965aae44837349c380f89eb5dda91fc91a56c6c4ed3b90159b93c70c978421e4b382c8d34c4a0faaf9e7e4e388b7d470b7e61df3cdae567
|
7
|
+
data.tar.gz: e74a46888aefc4cc02d30cb23b8064c3185e140e51f9d0845ee66b9abdb434e33d63edb299e1e80b89cc5eb3218403c116250eb41c64899e4bf7a499431c0e1e
|
data/lib/vcs2json/logger.rb
CHANGED
@@ -18,9 +18,10 @@ module Logging
|
|
18
18
|
begin
|
19
19
|
logger = Logger.new(@logger_location,'daily')
|
20
20
|
rescue Errno::EACCES
|
21
|
-
|
21
|
+
tmp = Tempfile.new('vcs2json')
|
22
|
+
$stderr.puts "Tried to create a logging file here: '#{@logger_location}', but didn't have permission, defaulting to OS temp firectory: #{tmp.path}"
|
23
|
+
logger = Logger.new(tmp,'daily')
|
22
24
|
end
|
23
|
-
logger = Logger.new("/tmp/log_vcs2son",'daily')
|
24
25
|
logger.progname = classname
|
25
26
|
logger.level = const_get('Logger::'+@logger_level.upcase)
|
26
27
|
logger
|
data/lib/vcs2json/version.rb
CHANGED
data/lib/vcs2json_helper.rb
CHANGED
@@ -8,5 +8,6 @@ require 'logger' # leveled logging
|
|
8
8
|
require 'nokogiri' # better/faster xml library
|
9
9
|
require 'open3' # make system calls and capture stdout/stderr/exitcodes easily
|
10
10
|
require 'yaml' # parse yaml files
|
11
|
+
require 'tempfile'
|
11
12
|
require 'require_all'
|
12
13
|
require_rel '/**/*.rb'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcs2json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Rolfsnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|