learn_create 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: f478a0a9a2f58934d7e46a893c7e2aa0b912f453e84f7a3c1147c17bcbbff920
4
- data.tar.gz: 1828990eea38692b79d31c039f1a1dca592ea9800930311831c177268e401cbf
3
+ metadata.gz: 6b8420fd6d79d551859fed61303f9179cb43028597bca114ee99d2c1017305a3
4
+ data.tar.gz: 68a5c5da813e985b5dc2d731b2b88334bc6f1a11ff1fb62eeb0e2ae3b763881d
5
5
  SHA512:
6
- metadata.gz: a53146669267d4bc45c05621f53e195703ac9b17b3477985c057c2d4878c348e1ea0f4aefda7d9f7d5196b25689995fb984165f7c5d9a292e509716283d7f65c
7
- data.tar.gz: 9c057f39e4b67bdc24b5649a894103b46aa6bb419b05383e057376b0a8f4b55c8d0b5e5f906c8062d8046ecdb57258ca6a386dbf34fd0821e6c07d54811f2f9e
6
+ metadata.gz: 30d14ea90963338fbdb96b4c1d502f6e09cac3a69eb187c2c8e6c20153266876674a9a9541e1b6794ef95524cd402ff0f40aa260d85abb66b39fc2f4390ce176
7
+ data.tar.gz: 4c432e1ea7c843f4bcd07e29b98a6ebb8ea3fa0ea493838430bd4f45df99bbe401ab873a05fba4058020bb0c2ce2d263675db70ce1c59669f83422b36552a0b7
data/lib/learn_create.rb CHANGED
@@ -1,10 +1,6 @@
1
- require 'json'
2
1
  require 'require_all'
3
- require 'odyssey'
4
- require 'awesome_print'
5
2
  require 'faraday'
6
3
  require 'uri'
7
- require 'byebug'
8
4
 
9
5
  class LearnCreate
10
6
  def initialize
@@ -95,7 +91,8 @@ class LearnCreate
95
91
 
96
92
  def copy_template(template_path)
97
93
  # copies a template folder from the learn_create gem to a subfolder of the current directory
98
- cmd = "cp -r #{template_path} #{Dir.pwd}/#{@repo_name}"
94
+
95
+ cmd = "rsync -aP #{template_path} #{Dir.pwd}/#{@repo_name}"
99
96
  `#{cmd}`
100
97
  end
101
98
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  ## Learning Goals
4
4
 
5
- -SWBAT 1
6
- -SWBAT 2
5
+ - SWBAT 1
6
+ - SWBAT 2
7
7
 
8
8
  ## Introduction
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn_create
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - flatironschool