copiedbook 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -18,4 +18,5 @@ _yardoc
18
18
  doc/
19
19
  *.json
20
20
  log/*.log
21
+ *.log
21
22
  *.sublime-*
data/bin/copiedbook CHANGED
@@ -19,11 +19,8 @@ require 'copiedbook'
19
19
  # Configuration
20
20
  # Config variables
21
21
  debug = false # Set to true to get some debug information
22
- current_path = File.expand_path(File.dirname(__FILE__) + '/../')
23
22
  $log_limit = 10 # How many log files to store on log path
24
- $log_path = current_path + "/log"
25
- log_file = $log_path + "/main-" +
26
- DateTime.now.strftime("%Y%m%d-%H%M%S") + ".log"
23
+ log_file = "main-" + DateTime.now.strftime("%Y%m%d-%H%M%S") + ".log"
27
24
  log_file = Logger.new(log_file)
28
25
  CONSTANT = "..."
29
26
  variable = "..."
data/lib/copiedbook.rb CHANGED
@@ -66,7 +66,6 @@ module Copiedbook
66
66
  File.open(@output_file, 'w') {|f| f.write(@output.to_json) }
67
67
 
68
68
  puts("\n\n ---- ENDING ----\n")
69
- clean_the_log
70
69
  exit(0)
71
70
  end
72
71
 
@@ -1,3 +1,3 @@
1
1
  module Copiedbook
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copiedbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: