gitignore-cli 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gitignore +5 -0
- data/lib/gitignore/version.rb +1 -1
- 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: 8e07aa2ec001c621f14a6eef3e74d49bf0bb69465ab55673e381736ac94c600e
|
4
|
+
data.tar.gz: f4b14180acd819db1d34578ae608d30ebba2ad41d33c0335a5791395274e337c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82aceae0e37b673038ac16c3c7d02e1b8887562a7943d7262e88ce71109a569f8093aadf6c51e84a2861a23a0d8ef0f71772d8996adeeecdcaf481f2ebcbb4e
|
7
|
+
data.tar.gz: ae95b57dd95145abe3afdc2598597589167912e0cb25ccde94d92c9cdeda1a169f3cac6d2ae8aeb83cd83ab488acbeb830dc7a8d2bb422be0710f134a9969538
|
data/bin/gitignore
CHANGED
@@ -23,6 +23,11 @@ when "create"
|
|
23
23
|
"Select envs to generate the .gitignore?", env_list, filter: true
|
24
24
|
)
|
25
25
|
|
26
|
+
unless results.any?
|
27
|
+
puts "No environment selected... exiting!"
|
28
|
+
exit
|
29
|
+
end
|
30
|
+
|
26
31
|
file = File.open('.gitignore', 'w')
|
27
32
|
file.write(Gitignore.generate(results))
|
28
33
|
file.close
|
data/lib/gitignore/version.rb
CHANGED