learn_create 0.0.6 → 0.0.7

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/learn_create.rb +2 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b8420fd6d79d551859fed61303f9179cb43028597bca114ee99d2c1017305a3
4
- data.tar.gz: 68a5c5da813e985b5dc2d731b2b88334bc6f1a11ff1fb62eeb0e2ae3b763881d
3
+ metadata.gz: 83a75639fe4e553b798e96a0212496c030a942f63e6d9237bce169bc6a9f7bee
4
+ data.tar.gz: b4d1a899f592985f7d5f6e091fc0939a5247fe9eb66696bfd6cef7d5ddaeee92
5
5
  SHA512:
6
- metadata.gz: 30d14ea90963338fbdb96b4c1d502f6e09cac3a69eb187c2c8e6c20153266876674a9a9541e1b6794ef95524cd402ff0f40aa260d85abb66b39fc2f4390ce176
7
- data.tar.gz: 4c432e1ea7c843f4bcd07e29b98a6ebb8ea3fa0ea493838430bd4f45df99bbe401ab873a05fba4058020bb0c2ce2d263675db70ce1c59669f83422b36552a0b7
6
+ metadata.gz: 12ec0ce44cd07c7986e3db84530f7586662c65d8c5868a4d3e8a971640a233b4cbcba9ac7e86707f4f594761605ab1d6365b73271c9fef520f8ea22798eebf9f
7
+ data.tar.gz: 06f4030e15a1b0a0c2b70cf97a8c8633c061e702c97e795c018c92c24e08ce4655faceec3469e76d6a1434d9bdde25f297601f3a0cc4d0f8e2086c3fbcaa1a35
data/lib/learn_create.rb CHANGED
@@ -78,7 +78,7 @@ class LearnCreate
78
78
  end
79
79
 
80
80
  def create_local_lesson(type = 'readme', language = nil)
81
- puts "Creating #{language} #{type}"
81
+ puts "Creating #{language || ''}#{type}..."
82
82
  gem_template_location = File.dirname(__FILE__)
83
83
  template_folder = if !language
84
84
  "/templates/#{type}_template"
@@ -91,8 +91,7 @@ class LearnCreate
91
91
 
92
92
  def copy_template(template_path)
93
93
  # copies a template folder from the learn_create gem to a subfolder of the current directory
94
-
95
- cmd = "rsync -aP #{template_path} #{Dir.pwd}/#{@repo_name}"
94
+ cmd = "cp -r #{template_path} #{Dir.pwd}/#{@repo_name}"
96
95
  `#{cmd}`
97
96
  end
98
97
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn_create
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - flatironschool
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-10 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: maxwell@flatironschool.com