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 +4 -4
- data/lib/learn_create.rb +2 -5
- data/lib/templates/readme_template/README.md +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b8420fd6d79d551859fed61303f9179cb43028597bca114ee99d2c1017305a3
|
4
|
+
data.tar.gz: 68a5c5da813e985b5dc2d731b2b88334bc6f1a11ff1fb62eeb0e2ae3b763881d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
94
|
+
|
95
|
+
cmd = "rsync -aP #{template_path} #{Dir.pwd}/#{@repo_name}"
|
99
96
|
`#{cmd}`
|
100
97
|
end
|
101
98
|
|