guard-srb 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +37 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +125 -0
- data/Guardfile +16 -0
- data/LICENSE.txt +21 -0
- data/README.md +92 -0
- data/Rakefile +18 -0
- data/lib/guard/srb/runner.rb +70 -0
- data/lib/guard/srb/templates/Guardfile +3 -0
- data/lib/guard/srb/version.rb +8 -0
- data/lib/guard/srb.rb +105 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3437 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +103 -0
- data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +299 -0
- data/sorbet/rbi/gems/guard@2.16.2.rbi +2286 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +1501 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/minitest@5.18.0.rbi +2354 -0
- data/sorbet/rbi/gems/mocha@2.0.2.rbi +3934 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +146 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +1078 -0
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
- data/sorbet/rbi/gems/parser@3.2.2.1.rbi +9454 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10079 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3119 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3049 -0
- data/sorbet/rbi/gems/regexp_parser@2.8.0.rbi +3765 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4717 -0
- data/sorbet/rbi/gems/rubocop-ast@1.28.1.rbi +6967 -0
- data/sorbet/rbi/gems/rubocop@1.50.2.rbi +55367 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +101 -0
- data/sorbet/rbi/gems/spoom@1.2.1.rbi +2536 -0
- data/sorbet/rbi/gems/tapioca@0.11.6.rbi +3246 -0
- data/sorbet/rbi/gems/thor@1.2.2.rbi +3965 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +426 -0
- data/sorbet/rbi/gems/yard@0.9.34.rbi +17907 -0
- data/sorbet/rbi/todo.rbi +7 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +14 -0
- metadata +155 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `ruby2_keywords` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem ruby2_keywords`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `shellany` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem shellany`.
|
6
|
+
|
7
|
+
# source://shellany//lib/shellany/sheller.rb#3
|
8
|
+
module Shellany; end
|
9
|
+
|
10
|
+
# The Guard sheller abstract the actual subshell
|
11
|
+
# calls and allow easier stubbing.
|
12
|
+
#
|
13
|
+
# source://shellany//lib/shellany/sheller.rb#7
|
14
|
+
class Shellany::Sheller
|
15
|
+
# Creates a new Guard::Sheller object.
|
16
|
+
#
|
17
|
+
# @param args [String] a command to run in a subshell
|
18
|
+
# @param args [Array<String>] an array of command parts to run in a subshell
|
19
|
+
# @param args [*String] a list of command parts to run in a subshell
|
20
|
+
# @return [Sheller] a new instance of Sheller
|
21
|
+
#
|
22
|
+
# source://shellany//lib/shellany/sheller.rb#16
|
23
|
+
def initialize(*args); end
|
24
|
+
|
25
|
+
# Returns true if the command succeeded, false otherwise.
|
26
|
+
#
|
27
|
+
# @return [Boolean] whether or not the command succeeded
|
28
|
+
#
|
29
|
+
# source://shellany//lib/shellany/sheller.rb#68
|
30
|
+
def ok?; end
|
31
|
+
|
32
|
+
# Returns true if the command has already been run, false otherwise.
|
33
|
+
#
|
34
|
+
# @return [Boolean] whether or not the command has already been run
|
35
|
+
#
|
36
|
+
# source://shellany//lib/shellany/sheller.rb#60
|
37
|
+
def ran?; end
|
38
|
+
|
39
|
+
# Runs the command.
|
40
|
+
#
|
41
|
+
# @return [Boolean] whether or not the command succeeded.
|
42
|
+
#
|
43
|
+
# source://shellany//lib/shellany/sheller.rb#44
|
44
|
+
def run; end
|
45
|
+
|
46
|
+
# Returns the value of attribute status.
|
47
|
+
#
|
48
|
+
# source://shellany//lib/shellany/sheller.rb#8
|
49
|
+
def status; end
|
50
|
+
|
51
|
+
# Returns the command's error output.
|
52
|
+
#
|
53
|
+
# @return [String] the command output
|
54
|
+
#
|
55
|
+
# source://shellany//lib/shellany/sheller.rb#88
|
56
|
+
def stderr; end
|
57
|
+
|
58
|
+
# Returns the command's output.
|
59
|
+
#
|
60
|
+
# @return [String] the command output
|
61
|
+
#
|
62
|
+
# source://shellany//lib/shellany/sheller.rb#78
|
63
|
+
def stdout; end
|
64
|
+
|
65
|
+
class << self
|
66
|
+
# Only needed on JRUBY, because MRI properly detects ';' and metachars
|
67
|
+
#
|
68
|
+
# source://shellany//lib/shellany/sheller.rb#128
|
69
|
+
def _shellize_if_needed(args); end
|
70
|
+
|
71
|
+
# source://shellany//lib/shellany/sheller.rb#110
|
72
|
+
def _system_with_capture(*args); end
|
73
|
+
|
74
|
+
# source://shellany//lib/shellany/sheller.rb#103
|
75
|
+
def _system_with_no_capture(*args); end
|
76
|
+
|
77
|
+
# Shortcut for new(command).run
|
78
|
+
#
|
79
|
+
# source://shellany//lib/shellany/sheller.rb#24
|
80
|
+
def run(*args); end
|
81
|
+
|
82
|
+
# Shortcut for new(command).run.stderr
|
83
|
+
#
|
84
|
+
# source://shellany//lib/shellany/sheller.rb#36
|
85
|
+
def stderr(*args); end
|
86
|
+
|
87
|
+
# Shortcut for new(command).run.stdout
|
88
|
+
#
|
89
|
+
# source://shellany//lib/shellany/sheller.rb#30
|
90
|
+
def stdout(*args); end
|
91
|
+
|
92
|
+
# No output capturing
|
93
|
+
#
|
94
|
+
# NOTE: `$stdout.puts system('cls')` on Windows won't work like
|
95
|
+
# it does for on systems with ansi terminals, so we need to be
|
96
|
+
# able to call Kernel.system directly.
|
97
|
+
#
|
98
|
+
# source://shellany//lib/shellany/sheller.rb#99
|
99
|
+
def system(*args); end
|
100
|
+
end
|
101
|
+
end
|