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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/learn_create.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bf2afcfb843f978d89391f3a4b434c0b6c384eee625dd4638905d7a832c5f10
4
- data.tar.gz: 8fff4925d8a1fc5250766e0ab6d3a7d5d76f6b6360af8d1734cd1e8bfe8662bb
3
+ metadata.gz: 634bcd11ebe7876f4cca3c844e93e1f803098cf026ee2892ba51e2f46633e676
4
+ data.tar.gz: 0cefdf3d0f75f951c0247cd4434bace17b9c4eb6c24b188b64035f0b52a5fa6d
5
5
  SHA512:
6
- metadata.gz: 927c820585f1ead5f3b0e4a6de0b6f1ad53d69a5ed642a2254ee57a10e91834a1e7c17c910842997d22065701bfe3a1b86900280917a18be3af59c60d21fc6e4
7
- data.tar.gz: 9e2338fdfa1041061ef983211a1176446731246d4bd04d7a9b9b431cb3a47e8e527704261f92b527bfd5abc1d96f3d63da7c0dd1bc5f75c48a372a66e9322ed5
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 = 'undefined')
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
 
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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - flatironschool