atk_toolbox 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/atk/yaml_info_parser.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d30b684f981e870dfdf01eca774615408648658e6214c0aa8215c1e1e6aa459
4
- data.tar.gz: 42bfbf5f7d275460ab65f369c46ef6d72ee3c235c2c4f41cda0cef5a47e99ffd
3
+ metadata.gz: b085c0c6b1f5109a99966a5828ede775cfa553a90b59097a81ab43742968feca
4
+ data.tar.gz: 572848c31e6649a461a59832882ab9b6a6309d8e10b928eaec8b3f665e1a5453
5
5
  SHA512:
6
- metadata.gz: d5cbe854e04598032e58e3326b2dd3ccd3d67a2201a3499d5dbf4fc1a79c6fad02de25fc59bb58899fe05b12297df489b1258cf4a780d42f35710336237dc0af
7
- data.tar.gz: 8aa630262d6193f6fae07be5a2ac3becc10582d80040d58272a1dd4ff62bf6da882932f451280ac5dfd6edb4f75b31a34e4fd417fb55821167d7ea01bb775977
6
+ metadata.gz: 1f3c3f88220d28d6ad10dc69b79e6a2f987f4f275ce1ed1d499f99eed4cbec0f1e17ab0426be2d970c61b822aaa8b81f49d93bb171763eac2c594303a6c5dc82
7
+ data.tar.gz: 2ac95b4eb4857fda2da309e5ddafad21114c3160c55c87c4724b3614535faaeaf4f46c7f05ff4813267ba6c7dbff32a29fe2411864d2f18ce06678549b2efab6
@@ -2,6 +2,7 @@
2
2
  require "yaml"
3
3
  require_relative './cmd'
4
4
  require_relative './os'
5
+ require 'fileutils'
5
6
 
6
7
  #
7
8
  # Create loaders for ruby code literal and console code literal
@@ -94,7 +95,7 @@ class Info
94
95
 
95
96
  def self.init
96
97
  # copy the default yaml to the current dir
97
- FileUtils.cp(File.join(__dir__, "default_info.yaml"), Dir.pwd)
98
+ FileUtils.cp(File.join(__dir__, "default_info.yaml"), File.join(Dir.pwd, "info.yaml"))
98
99
  end
99
100
 
100
101
  # TODO: write tests for this function
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Hykin