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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc434755583290fdafbe89d0aaf3485f8407a16979f407169d7c3e9f07f06a38
4
- data.tar.gz: 61ddcfb4040a47289b9103ad60d3898c4d21a0df3a74aadba55484fa28268b48
3
+ metadata.gz: 8e07aa2ec001c621f14a6eef3e74d49bf0bb69465ab55673e381736ac94c600e
4
+ data.tar.gz: f4b14180acd819db1d34578ae608d30ebba2ad41d33c0335a5791395274e337c
5
5
  SHA512:
6
- metadata.gz: 6b265ea37157b28c28befb39c5ef829cab218839c66f09cad0b4e08c22f77de488290b52ccde6516411152a1110ca65dd237863cee680657882ec088605cb961
7
- data.tar.gz: 79689f1b32464051786213e46bdc5f29499d0ba59751554bc67e80f1a798fe4763ee71cf3f9d29147cf7401e79887239c741e2720113af00619af9cc9834aec0
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
@@ -1,3 +1,3 @@
1
1
  module Gitignore
2
- VERSION = "0.6.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitignore-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Vinciguerra