vcs2json 2.1.1 → 2.1.2
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 +6 -1
- data/lib/vcs2json/version.rb +1 -1
- data/lib/vcs2json.rb +3 -0
- data/lib/vcs2json.rb~ +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c2b21b386ab05ce13d514e19fcd48387ed95903
|
4
|
+
data.tar.gz: 26781b100506ed06a0e847a48e2c6edd710d21a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07c54a0373c62b4db30e9d4e76539f9907ff238fe6491f5b57ef30054441bb154e93073038b32a49ac9d822461a030d5e5bd2ed3d96cc69afe5e3a9993f40dfb
|
7
|
+
data.tar.gz: ef0bcc093d748f1f38e942f248571ea9ca883d711c4faaf653f5420e93949b9a52d7920572b71777a7238794e146701ea04ce0e70191514df31701361dc297fa
|
data/lib/vcs2json/logger.rb
CHANGED
@@ -15,7 +15,12 @@ module Logging
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def configure_logger_for(classname)
|
18
|
-
|
18
|
+
begin
|
19
|
+
logger = Logger.new(@logger_location,'daily')
|
20
|
+
rescue Errno::EACCES
|
21
|
+
$stderr.puts "Tried to create a logging file here: #{logger_location}, but didn't have permission, defaulting to /tmp/log"
|
22
|
+
end
|
23
|
+
logger = Logger.new("/tmp/log",'daily')
|
19
24
|
logger.progname = classname
|
20
25
|
logger.level = const_get('Logger::'+@logger_level.upcase)
|
21
26
|
logger
|
data/lib/vcs2json/version.rb
CHANGED
data/lib/vcs2json.rb
ADDED
data/lib/vcs2json.rb~
ADDED
File without changes
|
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.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Rolfsnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -153,6 +153,8 @@ files:
|
|
153
153
|
- lib/exceptions/parse_error.rb
|
154
154
|
- lib/exceptions/unsupported_language.rb
|
155
155
|
- lib/srcML/srcml.rb
|
156
|
+
- lib/vcs2json.rb
|
157
|
+
- lib/vcs2json.rb~
|
156
158
|
- lib/vcs2json/git.rb
|
157
159
|
- lib/vcs2json/logger.rb
|
158
160
|
- lib/vcs2json/version.rb
|