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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65f6cfd1b92fbdb6c2f8e8bb1cb9040a4dc800d1
4
- data.tar.gz: 5f4d239254102130cff469548a62396cbba645b3
3
+ metadata.gz: 3c2b21b386ab05ce13d514e19fcd48387ed95903
4
+ data.tar.gz: 26781b100506ed06a0e847a48e2c6edd710d21a1
5
5
  SHA512:
6
- metadata.gz: 37cf26b739c34a0d956a0e73dd28f34a7f2c41ea3f8f8ee875ebf2c0b9a7d9b2fa1915f7649afd20737cbdbbd937ff807fd504f5387996fb5a41c176f39cf6c4
7
- data.tar.gz: 25926a6d256ee211ac5dd063b82bd7635c5382d4abc30efffabba4930e70a906b78004de7e77af900667389b9bb73b5be92b6f820b0c8fd43bd0e7a434bc0e4b
6
+ metadata.gz: 07c54a0373c62b4db30e9d4e76539f9907ff238fe6491f5b57ef30054441bb154e93073038b32a49ac9d822461a030d5e5bd2ed3d96cc69afe5e3a9993f40dfb
7
+ data.tar.gz: ef0bcc093d748f1f38e942f248571ea9ca883d711c4faaf653f5420e93949b9a52d7920572b71777a7238794e146701ea04ce0e70191514df31701361dc297fa
@@ -15,7 +15,12 @@ module Logging
15
15
  end
16
16
 
17
17
  def configure_logger_for(classname)
18
- logger = Logger.new(@logger_location,'daily')
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
@@ -1,3 +1,3 @@
1
1
  module Vcs2Json
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
data/lib/vcs2json.rb ADDED
@@ -0,0 +1,3 @@
1
+ require_relative 'vcs2json_helper'
2
+ module Vcs2Json
3
+ end
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.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-17 00:00:00.000000000 Z
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