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,146 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `nenv` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem nenv`.
|
6
|
+
|
7
|
+
# source://nenv//lib/nenv/version.rb#1
|
8
|
+
module Nenv
|
9
|
+
class << self
|
10
|
+
# source://nenv//lib/nenv.rb#26
|
11
|
+
def instance; end
|
12
|
+
|
13
|
+
# source://nenv//lib/nenv.rb#18
|
14
|
+
def method_missing(meth, *args); end
|
15
|
+
|
16
|
+
# source://nenv//lib/nenv.rb#22
|
17
|
+
def reset; end
|
18
|
+
|
19
|
+
# @return [Boolean]
|
20
|
+
#
|
21
|
+
# source://nenv//lib/nenv.rb#14
|
22
|
+
def respond_to?(meth); end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# source://nenv//lib/nenv/autoenvironment.rb#3
|
27
|
+
class Nenv::AutoEnvironment < ::Nenv::Environment
|
28
|
+
# source://nenv//lib/nenv/autoenvironment.rb#4
|
29
|
+
def method_missing(meth, *args); end
|
30
|
+
end
|
31
|
+
|
32
|
+
# source://nenv//lib/nenv/builder.rb#4
|
33
|
+
module Nenv::Builder
|
34
|
+
class << self
|
35
|
+
# source://nenv//lib/nenv/builder.rb#5
|
36
|
+
def build(&block); end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# source://nenv//lib/nenv/environment/dumper.rb#2
|
41
|
+
class Nenv::Environment
|
42
|
+
# @return [Environment] a new instance of Environment
|
43
|
+
#
|
44
|
+
# source://nenv//lib/nenv/environment.rb#21
|
45
|
+
def initialize(namespace = T.unsafe(nil)); end
|
46
|
+
|
47
|
+
# source://nenv//lib/nenv/environment.rb#25
|
48
|
+
def create_method(meth, &block); end
|
49
|
+
|
50
|
+
private
|
51
|
+
|
52
|
+
# source://nenv//lib/nenv/environment.rb#35
|
53
|
+
def _namespaced_sanitize(meth); end
|
54
|
+
|
55
|
+
# source://nenv//lib/nenv/environment.rb#31
|
56
|
+
def _sanitize(meth); end
|
57
|
+
|
58
|
+
class << self
|
59
|
+
# source://nenv//lib/nenv/environment.rb#44
|
60
|
+
def _create_env_accessor(klass, meth, &block); end
|
61
|
+
|
62
|
+
# source://nenv//lib/nenv/environment.rb#40
|
63
|
+
def create_method(meth, &block); end
|
64
|
+
|
65
|
+
private
|
66
|
+
|
67
|
+
# source://nenv//lib/nenv/environment.rb#66
|
68
|
+
def _create_env_reader(klass, meth, &block); end
|
69
|
+
|
70
|
+
# source://nenv//lib/nenv/environment.rb#56
|
71
|
+
def _create_env_writer(klass, meth, &block); end
|
72
|
+
|
73
|
+
# source://nenv//lib/nenv/environment.rb#76
|
74
|
+
def _fail_if_accessor_exists(klass, meth); end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# source://nenv//lib/nenv/environment.rb#15
|
79
|
+
class Nenv::Environment::AlreadyExistsError < ::Nenv::Environment::MethodError
|
80
|
+
# source://nenv//lib/nenv/environment.rb#16
|
81
|
+
def message; end
|
82
|
+
end
|
83
|
+
|
84
|
+
# source://nenv//lib/nenv/environment/dumper.rb#3
|
85
|
+
module Nenv::Environment::Dumper
|
86
|
+
class << self
|
87
|
+
# source://nenv//lib/nenv/environment/dumper.rb#6
|
88
|
+
def setup(&callback); end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# source://nenv//lib/nenv/environment/dumper/default.rb#3
|
93
|
+
module Nenv::Environment::Dumper::Default
|
94
|
+
class << self
|
95
|
+
# source://nenv//lib/nenv/environment/dumper/default.rb#4
|
96
|
+
def call(raw_value); end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# source://nenv//lib/nenv/environment.rb#6
|
101
|
+
class Nenv::Environment::Error < ::ArgumentError; end
|
102
|
+
|
103
|
+
# source://nenv//lib/nenv/environment/loader.rb#3
|
104
|
+
module Nenv::Environment::Loader
|
105
|
+
class << self
|
106
|
+
# source://nenv//lib/nenv/environment/loader.rb#7
|
107
|
+
def setup(meth, &callback); end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# source://nenv//lib/nenv/environment/loader/default.rb#3
|
112
|
+
module Nenv::Environment::Loader::Default
|
113
|
+
class << self
|
114
|
+
# source://nenv//lib/nenv/environment/loader/default.rb#4
|
115
|
+
def call(raw_value); end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# source://nenv//lib/nenv/environment/loader/predicate.rb#3
|
120
|
+
module Nenv::Environment::Loader::Predicate
|
121
|
+
class << self
|
122
|
+
# source://nenv//lib/nenv/environment/loader/predicate.rb#4
|
123
|
+
def call(raw_value); end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# source://nenv//lib/nenv/environment.rb#9
|
128
|
+
class Nenv::Environment::MethodError < ::Nenv::Environment::Error
|
129
|
+
# @return [MethodError] a new instance of MethodError
|
130
|
+
#
|
131
|
+
# source://nenv//lib/nenv/environment.rb#10
|
132
|
+
def initialize(meth); end
|
133
|
+
end
|
134
|
+
|
135
|
+
# source://nenv//lib/nenv/version.rb#2
|
136
|
+
Nenv::VERSION = T.let(T.unsafe(nil), String)
|
137
|
+
|
138
|
+
class Object < ::BasicObject
|
139
|
+
include ::Kernel
|
140
|
+
include ::PP::ObjectMixin
|
141
|
+
|
142
|
+
private
|
143
|
+
|
144
|
+
# source://nenv//lib/nenv.rb#6
|
145
|
+
def Nenv(namespace = T.unsafe(nil)); end
|
146
|
+
end
|
@@ -0,0 +1,161 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `netrc` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem netrc`.
|
6
|
+
|
7
|
+
# source://netrc//lib/netrc.rb#3
|
8
|
+
class Netrc
|
9
|
+
# @return [Netrc] a new instance of Netrc
|
10
|
+
#
|
11
|
+
# source://netrc//lib/netrc.rb#166
|
12
|
+
def initialize(path, data); end
|
13
|
+
|
14
|
+
# source://netrc//lib/netrc.rb#180
|
15
|
+
def [](k); end
|
16
|
+
|
17
|
+
# source://netrc//lib/netrc.rb#188
|
18
|
+
def []=(k, info); end
|
19
|
+
|
20
|
+
# source://netrc//lib/netrc.rb#200
|
21
|
+
def delete(key); end
|
22
|
+
|
23
|
+
# source://netrc//lib/netrc.rb#211
|
24
|
+
def each(&block); end
|
25
|
+
|
26
|
+
# source://netrc//lib/netrc.rb#196
|
27
|
+
def length; end
|
28
|
+
|
29
|
+
# source://netrc//lib/netrc.rb#215
|
30
|
+
def new_item(m, l, p); end
|
31
|
+
|
32
|
+
# Returns the value of attribute new_item_prefix.
|
33
|
+
#
|
34
|
+
# source://netrc//lib/netrc.rb#178
|
35
|
+
def new_item_prefix; end
|
36
|
+
|
37
|
+
# Sets the attribute new_item_prefix
|
38
|
+
#
|
39
|
+
# @param value the value to set the attribute new_item_prefix to.
|
40
|
+
#
|
41
|
+
# source://netrc//lib/netrc.rb#178
|
42
|
+
def new_item_prefix=(_arg0); end
|
43
|
+
|
44
|
+
# source://netrc//lib/netrc.rb#219
|
45
|
+
def save; end
|
46
|
+
|
47
|
+
# source://netrc//lib/netrc.rb#233
|
48
|
+
def unparse; end
|
49
|
+
|
50
|
+
class << self
|
51
|
+
# source://netrc//lib/netrc.rb#42
|
52
|
+
def check_permissions(path); end
|
53
|
+
|
54
|
+
# source://netrc//lib/netrc.rb#33
|
55
|
+
def config; end
|
56
|
+
|
57
|
+
# @yield [self.config]
|
58
|
+
#
|
59
|
+
# source://netrc//lib/netrc.rb#37
|
60
|
+
def configure; end
|
61
|
+
|
62
|
+
# source://netrc//lib/netrc.rb#10
|
63
|
+
def default_path; end
|
64
|
+
|
65
|
+
# source://netrc//lib/netrc.rb#14
|
66
|
+
def home_path; end
|
67
|
+
|
68
|
+
# source://netrc//lib/netrc.rb#85
|
69
|
+
def lex(lines); end
|
70
|
+
|
71
|
+
# source://netrc//lib/netrc.rb#29
|
72
|
+
def netrc_filename; end
|
73
|
+
|
74
|
+
# Returns two values, a header and a list of items.
|
75
|
+
# Each item is a tuple, containing some or all of:
|
76
|
+
# - machine keyword (including trailing whitespace+comments)
|
77
|
+
# - machine name
|
78
|
+
# - login keyword (including surrounding whitespace+comments)
|
79
|
+
# - login
|
80
|
+
# - password keyword (including surrounding whitespace+comments)
|
81
|
+
# - password
|
82
|
+
# - trailing chars
|
83
|
+
# This lets us change individual fields, then write out the file
|
84
|
+
# with all its original formatting.
|
85
|
+
#
|
86
|
+
# source://netrc//lib/netrc.rb#129
|
87
|
+
def parse(ts); end
|
88
|
+
|
89
|
+
# Reads path and parses it as a .netrc file. If path doesn't
|
90
|
+
# exist, returns an empty object. Decrypt paths ending in .gpg.
|
91
|
+
#
|
92
|
+
# source://netrc//lib/netrc.rb#51
|
93
|
+
def read(path = T.unsafe(nil)); end
|
94
|
+
|
95
|
+
# @return [Boolean]
|
96
|
+
#
|
97
|
+
# source://netrc//lib/netrc.rb#112
|
98
|
+
def skip?(s); end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# source://netrc//lib/netrc.rb#8
|
103
|
+
Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped)
|
104
|
+
|
105
|
+
# source://netrc//lib/netrc.rb#244
|
106
|
+
class Netrc::Entry < ::Struct
|
107
|
+
# Returns the value of attribute login
|
108
|
+
#
|
109
|
+
# @return [Object] the current value of login
|
110
|
+
def login; end
|
111
|
+
|
112
|
+
# Sets the attribute login
|
113
|
+
#
|
114
|
+
# @param value [Object] the value to set the attribute login to.
|
115
|
+
# @return [Object] the newly set value
|
116
|
+
#
|
117
|
+
# source://netrc//lib/netrc.rb#244
|
118
|
+
def login=(_); end
|
119
|
+
|
120
|
+
# Returns the value of attribute password
|
121
|
+
#
|
122
|
+
# @return [Object] the current value of password
|
123
|
+
def password; end
|
124
|
+
|
125
|
+
# Sets the attribute password
|
126
|
+
#
|
127
|
+
# @param value [Object] the value to set the attribute password to.
|
128
|
+
# @return [Object] the newly set value
|
129
|
+
#
|
130
|
+
# source://netrc//lib/netrc.rb#244
|
131
|
+
def password=(_); end
|
132
|
+
|
133
|
+
def to_ary; end
|
134
|
+
|
135
|
+
class << self
|
136
|
+
def [](*_arg0); end
|
137
|
+
def inspect; end
|
138
|
+
def members; end
|
139
|
+
def new(*_arg0); end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# source://netrc//lib/netrc.rb#250
|
144
|
+
class Netrc::Error < ::StandardError; end
|
145
|
+
|
146
|
+
# source://netrc//lib/netrc.rb#68
|
147
|
+
class Netrc::TokenArray < ::Array
|
148
|
+
# source://netrc//lib/netrc.rb#76
|
149
|
+
def readto; end
|
150
|
+
|
151
|
+
# source://netrc//lib/netrc.rb#69
|
152
|
+
def take; end
|
153
|
+
end
|
154
|
+
|
155
|
+
# source://netrc//lib/netrc.rb#4
|
156
|
+
Netrc::VERSION = T.let(T.unsafe(nil), String)
|
157
|
+
|
158
|
+
# see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
|
159
|
+
#
|
160
|
+
# source://netrc//lib/netrc.rb#7
|
161
|
+
Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped)
|