tracco 0.0.18 → 0.0.19

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/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- 0.0.18 / 2013-03-17
1
+ 0.0.18 - 0.0.19 / 2013-03-17
2
2
  ==================
3
3
  * improving tracco initialize command
4
4
  * rewriting Tracco::CLI to be able to fetch templates from the gem
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tracco (0.0.18)
4
+ tracco (0.0.19)
5
5
  bson_ext
6
6
  chronic
7
7
  google_drive
@@ -54,11 +54,12 @@ module Tracco
54
54
  def init
55
55
  template_files.each do |template_file|
56
56
  target_file = File.basename(template_file).sub('.template', '')
57
-
58
- if File.exists?(File.join('config', target_file))
57
+ target_path = File.join('config', target_file)
58
+ if File.exists?(target_path)
59
59
  say "skipping #{target_file.color(:yellow)}, already exists."
60
60
  else
61
- run "cp -f #{template_file} #{File.join(CLI.source_root, target_file)}"
61
+ run "mkdir -p config"
62
+ run "cp -f #{template_file} #{target_path}"
62
63
  say "please edit the #{target_file} to have all the proper configurations"
63
64
  end
64
65
  end
@@ -1,3 +1,3 @@
1
1
  module Tracco
2
- VERSION = '0.0.18'
2
+ VERSION = '0.0.19'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -261,7 +261,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
261
261
  version: '0'
262
262
  segments:
263
263
  - 0
264
- hash: 1576882713862279228
264
+ hash: -2840823578082429277
265
265
  required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  none: false
267
267
  requirements: