learn_create 0.0.10 → 0.0.11
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 +4 -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: 634bcd11ebe7876f4cca3c844e93e1f803098cf026ee2892ba51e2f46633e676
|
4
|
+
data.tar.gz: 0cefdf3d0f75f951c0247cd4434bace17b9c4eb6c24b188b64035f0b52a5fa6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9a6a35717fc86fa2c2aa6e8b0c359f48f436cd506aadfd6818470cfe0563bb45e2bad99202a95a8ef294e73a9065327786f134c29f2d49d7f73ba112ebab802
|
7
|
+
data.tar.gz: ed48af54801d2a3cf1ed1b74f946140c1653ad908ca331ea788df962f52dacd0f684b3ad55493172131cb0037d5ecd51f9147f505bd277233a760e8906e50208
|
data/lib/learn_create.rb
CHANGED
@@ -60,6 +60,8 @@ class LearnCreate
|
|
60
60
|
end
|
61
61
|
|
62
62
|
create_new_repo
|
63
|
+
puts ''
|
64
|
+
puts "Repository created. Navigate into #{@repo_name} or open https://github.com/learn-co-curriculum/#{@repo_name} to get started "
|
63
65
|
end
|
64
66
|
|
65
67
|
private
|
@@ -98,14 +100,14 @@ class LearnCreate
|
|
98
100
|
`#{cmd}`
|
99
101
|
end
|
100
102
|
|
101
|
-
def create_dot_learn_file(type = 'undefined', language
|
103
|
+
def create_dot_learn_file(type = 'undefined', language)
|
102
104
|
`
|
103
105
|
cd #{@repo_name}
|
104
106
|
cat > .learn <<EOL
|
105
107
|
tags:
|
106
108
|
- #{type}
|
107
109
|
languages:
|
108
|
-
- #{language}
|
110
|
+
- #{language || 'undefined'}
|
109
111
|
`
|
110
112
|
end
|
111
113
|
|