gitignore-cli 0.10.1 → 0.11.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: 7c935bc07b7aca5faee899b3eadb66a216c3df9f205244c71c1dad94dc809e05
4
- data.tar.gz: 8e4de413ab44c09654f114e5f6995afafb97c9572d9ebdaacffb323fa3cebba8
3
+ metadata.gz: 053aa4b5355ff54d69041e0707df470772caf454592f9cf596da33c1a4af8a9f
4
+ data.tar.gz: 721b764015430237691d982e269a78b3595fe5ab79a6e9e0bdbe1c574e66aa73
5
5
  SHA512:
6
- metadata.gz: 4a688f728e8bb07c92308fc06e1a9ddd6c3c8e6b11242c03564d0b80044ae2ddb8f836ade54c3dad8fa8576a08fe24deddc78bc47bce023e5923df73077cf49a
7
- data.tar.gz: b509986285d255bb12e0fb96606858c6e80ecf9bd7b1f93a65493d8983a6395142f34b2de0e17845d94db164aa0a593ca669089adae1867dc09b6fdcd6373961
6
+ metadata.gz: c59548b4cde89e7df874923333634edee90e292e67a14f3cfff5d7380de12f2d43803abce777d3b8ff1d3c074fdf452e0d419898d1a1ca3c87da8248d68f183c
7
+ data.tar.gz: b52860ceaafa567deaa900fbb8afdf44709943a65a6b7d57a8aeacbd97fb8c21ae88c7da7245a7a23a947f1a7c5ba44891fbbd4fa437bb390c61aba5051c77ff
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gitignore-cli (0.11.0)
5
+ http (~> 4.3, >= 4.3.0)
6
+ thor (~> 1.0, >= 1.0.1)
7
+ tty-prompt (>= 0.20, < 0.23)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ addressable (2.7.0)
13
+ public_suffix (>= 2.0.2, < 5.0)
14
+ diff-lcs (1.3)
15
+ domain_name (0.5.20190701)
16
+ unf (>= 0.0.5, < 1.0.0)
17
+ equatable (0.6.1)
18
+ ffi (1.13.1)
19
+ ffi-compiler (1.0.1)
20
+ ffi (>= 1.0.0)
21
+ rake
22
+ http (4.4.1)
23
+ addressable (~> 2.3)
24
+ http-cookie (~> 1.0)
25
+ http-form_data (~> 2.2)
26
+ http-parser (~> 1.2.0)
27
+ http-cookie (1.0.3)
28
+ domain_name (~> 0.5)
29
+ http-form_data (2.3.0)
30
+ http-parser (1.2.1)
31
+ ffi-compiler (>= 1.0, < 2.0)
32
+ necromancer (0.5.1)
33
+ pastel (0.7.3)
34
+ equatable (~> 0.6)
35
+ tty-color (~> 0.5)
36
+ public_suffix (4.0.5)
37
+ rake (13.0.1)
38
+ rspec (3.9.0)
39
+ rspec-core (~> 3.9.0)
40
+ rspec-expectations (~> 3.9.0)
41
+ rspec-mocks (~> 3.9.0)
42
+ rspec-core (3.9.2)
43
+ rspec-support (~> 3.9.3)
44
+ rspec-expectations (3.9.2)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.9.0)
47
+ rspec-mocks (3.9.1)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.9.0)
50
+ rspec-support (3.9.3)
51
+ thor (1.0.1)
52
+ tty-color (0.5.1)
53
+ tty-cursor (0.7.1)
54
+ tty-prompt (0.20.0)
55
+ necromancer (~> 0.5.0)
56
+ pastel (~> 0.7.0)
57
+ tty-reader (~> 0.7.0)
58
+ tty-reader (0.7.0)
59
+ tty-cursor (~> 0.7)
60
+ tty-screen (~> 0.7)
61
+ wisper (~> 2.0.0)
62
+ tty-screen (0.7.1)
63
+ unf (0.1.4)
64
+ unf_ext
65
+ unf_ext (0.0.7.7)
66
+ wisper (2.0.1)
67
+
68
+ PLATFORMS
69
+ ruby
70
+
71
+ DEPENDENCIES
72
+ gitignore-cli!
73
+ rake (~> 13.0)
74
+ rspec (~> 3.0)
75
+
76
+ BUNDLED WITH
77
+ 2.1.4
@@ -28,7 +28,11 @@ module Gitignore
28
28
  desc 'create', 'generate a .gitignore file using a interactive term ui'
29
29
  option :out, type: :string, default: '.gitignore', desc: 'OUTPUT_FILE'
30
30
  def create
31
- prompt = TTY::Prompt.new
31
+ prompt = TTY::Prompt.new(interrupt: :exit)
32
+
33
+ prompt.on(:keyescape) do
34
+ exit
35
+ end
32
36
 
33
37
  env_list = Gitignore.list
34
38
  results = prompt.multi_select(
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_runtime_dependency 'http', '~> 4.3', '>= 4.3.0'
31
31
  spec.add_runtime_dependency 'thor', '~> 1.0', '>= 1.0.1'
32
- spec.add_runtime_dependency 'tty-prompt', '>= 0.20', '< 0.22'
32
+ spec.add_runtime_dependency 'tty-prompt', '>= 0.20', '< 0.23'
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gitignore
4
- VERSION = '0.10.1'
4
+ VERSION = '0.11.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitignore-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Vinciguerra
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-19 00:00:00.000000000 Z
11
+ date: 2020-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '0.20'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '0.22'
62
+ version: '0.23'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '0.20'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '0.22'
72
+ version: '0.23'
73
73
  description: A Ruby CLI tool that use fantastic gitignore.io to generate .gitignore
74
74
  files to your projects
75
75
  email:
@@ -83,6 +83,7 @@ files:
83
83
  - ".rspec"
84
84
  - ".travis.yml"
85
85
  - Gemfile
86
+ - Gemfile.lock
86
87
  - LICENSE.txt
87
88
  - README.md
88
89
  - Rakefile
@@ -96,7 +97,7 @@ licenses:
96
97
  metadata:
97
98
  homepage_uri: https://github.com/dvinciguerra/gitignore-cli
98
99
  source_code_uri: https://github.com/dvinciguerra/gitignore-cli
99
- post_install_message:
100
+ post_install_message:
100
101
  rdoc_options: []
101
102
  require_paths:
102
103
  - lib
@@ -111,8 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  - !ruby/object:Gem::Version
112
113
  version: '0'
113
114
  requirements: []
114
- rubygems_version: 3.1.2
115
- signing_key:
115
+ rubyforge_project:
116
+ rubygems_version: 2.7.6
117
+ signing_key:
116
118
  specification_version: 4
117
119
  summary: Simple Ruby CLI to generate .gitignore files
118
120
  test_files: []