packwerk 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/packwerk/association_inspector.rb +17 -4
- data/lib/packwerk/checker.rb +3 -3
- data/lib/packwerk/configuration.rb +4 -0
- data/lib/packwerk/const_node_inspector.rb +2 -2
- data/lib/packwerk/constant_name_inspector.rb +2 -2
- data/lib/packwerk/offenses_formatter.rb +3 -3
- data/lib/packwerk/package.rb +1 -1
- data/lib/packwerk/package_todo.rb +1 -4
- data/lib/packwerk/parsers/factory.rb +3 -3
- data/lib/packwerk/parsers/ruby.rb +7 -0
- data/lib/packwerk/reference_extractor.rb +29 -1
- data/lib/packwerk/reference_offense.rb +1 -1
- data/lib/packwerk/run_context.rb +15 -4
- data/lib/packwerk/validator.rb +3 -3
- data/lib/packwerk/version.rb +1 -1
- data/lib/packwerk.rb +1 -0
- data/sorbet/config +1 -0
- data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +3280 -3450
- data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +2322 -1782
- data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +2654 -3268
- data/sorbet/rbi/gems/ast@2.4.2.rbi +535 -6
- data/sorbet/rbi/gems/better_html@2.0.1.rbi +529 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +4 -4
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +32 -4
- data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +1750 -1840
- data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +15 -15
- data/sorbet/rbi/gems/crass@1.0.6.rbi +489 -5
- data/sorbet/rbi/gems/erubi@1.11.0.rbi +24 -21
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +395 -395
- data/sorbet/rbi/gems/json@2.6.2.rbi +70 -77
- data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +1 -1
- data/sorbet/rbi/gems/loofah@2.18.0.rbi +134 -134
- data/sorbet/rbi/gems/m@1.6.0.rbi +60 -60
- data/sorbet/rbi/gems/method_source@1.1.0.rbi +303 -0
- data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +22 -28
- data/sorbet/rbi/gems/minitest@5.16.2.rbi +384 -396
- data/sorbet/rbi/gems/mocha@1.14.0.rbi +589 -589
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +37 -32
- data/sorbet/rbi/gems/nokogiri@1.15.3.rbi +962 -946
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.24.0.rbi} +85 -82
- data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.3.1.0.rbi} +1679 -1609
- data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +1 -1
- data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.27.0.rbi} +13473 -6472
- data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.7.1.rbi} +42 -33
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +148 -338
- data/sorbet/rbi/gems/rack@2.2.4.rbi +1079 -1130
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +354 -22
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +113 -259
- data/sorbet/rbi/gems/railties@7.0.3.1.rbi +642 -638
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +109 -99
- data/sorbet/rbi/gems/rake@13.0.6.rbi +714 -599
- data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.12.rbi} +865 -801
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +853 -870
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +480 -477
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +1621 -1622
- data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +507 -526
- data/sorbet/rbi/gems/rubocop-shopify@2.9.0.rbi +1 -1
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +186 -203
- data/sorbet/rbi/gems/rubocop@1.34.1.rbi +8126 -8367
- data/sorbet/rbi/gems/{ruby-lsp@0.2.1.rbi → ruby-lsp@0.2.3.rbi} +2 -2
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
- data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +90 -90
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
- data/sorbet/rbi/gems/spring@4.0.0.rbi +104 -104
- data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +1 -1
- data/sorbet/rbi/gems/{tapioca@0.9.2.rbi → tapioca@0.13.3.rbi} +1596 -1253
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.3.1.rbi} +1047 -652
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +531 -513
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +13 -13
- data/sorbet/rbi/gems/{yard-sorbet@0.6.1.rbi → yard-sorbet@0.8.1.rbi} +132 -92
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.36.rbi} +3158 -3067
- data/sorbet/rbi/gems/zeitwerk@2.6.4.rbi +149 -145
- metadata +22 -94
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
- data/.github/pull_request_template.md +0 -28
- data/.github/workflows/ci.yml +0 -93
- data/.github/workflows/cla.yml +0 -22
- data/.gitignore +0 -13
- data/.rubocop.yml +0 -75
- data/.ruby-version +0 -1
- data/CODEOWNERS +0 -1
- data/CODE_OF_CONDUCT.md +0 -76
- data/CONTRIBUTING.md +0 -17
- data/Gemfile +0 -27
- data/Gemfile.lock +0 -206
- data/RESOLVING_VIOLATIONS.md +0 -76
- data/Rakefile +0 -22
- data/TROUBLESHOOT.md +0 -44
- data/UPGRADING.md +0 -66
- data/USAGE.md +0 -364
- data/bin/console +0 -15
- data/bin/m +0 -29
- data/bin/rake +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/tapioca +0 -29
- data/dev.yml +0 -32
- data/docs/cohesion.png +0 -0
- data/gemfiles/Gemfile-rails-6-0 +0 -22
- data/gemfiles/Gemfile-rails-6-1 +0 -22
- data/packwerk.gemspec +0 -59
- data/shipit.rubygems.yml +0 -5
- data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +0 -2754
- data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +0 -1496
- data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +0 -2362
- data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +0 -1569
- data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +0 -2553
- data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +0 -5999
- data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +0 -37832
- data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +0 -2321
- data/sorbet/rbi/gems/better_html@1.0.16.rbi +0 -317
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1079
- data/sorbet/rbi/gems/digest@3.1.0.rbi +0 -189
- data/sorbet/rbi/gems/globalid@1.0.0.rbi +0 -572
- data/sorbet/rbi/gems/mail@2.7.1.rbi +0 -2490
- data/sorbet/rbi/gems/marcel@1.0.2.rbi +0 -220
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -76
- data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +0 -170
- data/sorbet/rbi/gems/net-imap@0.2.3.rbi +0 -2147
- data/sorbet/rbi/gems/net-pop@0.1.1.rbi +0 -926
- data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +0 -11
- data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +0 -1108
- data/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -292
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/rails@7.0.3.1.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -2181
- data/sorbet/rbi/gems/strscan@3.0.4.rbi +0 -8
- data/sorbet/rbi/gems/timeout@0.3.0.rbi +0 -142
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2582
- data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +0 -993
- data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -71
|
@@ -8,276 +8,276 @@
|
|
|
8
8
|
# https://golang.org/src/pkg/json/decode.go and
|
|
9
9
|
# https://golang.org/src/pkg/utf8/utf8.go
|
|
10
10
|
#
|
|
11
|
-
# source://spring
|
|
11
|
+
# source://spring//lib/spring/watcher/abstract.rb#5
|
|
12
12
|
module Spring
|
|
13
13
|
class << self
|
|
14
|
-
# source://spring
|
|
14
|
+
# source://spring//lib/spring/configuration.rb#30
|
|
15
15
|
def after_fork(&block); end
|
|
16
16
|
|
|
17
|
-
# source://spring
|
|
17
|
+
# source://spring//lib/spring/configuration.rb#26
|
|
18
18
|
def after_fork_callbacks; end
|
|
19
19
|
|
|
20
20
|
# Returns the value of attribute application_root.
|
|
21
21
|
#
|
|
22
|
-
# source://spring
|
|
22
|
+
# source://spring//lib/spring/configuration.rb#5
|
|
23
23
|
def application_root; end
|
|
24
24
|
|
|
25
25
|
# Sets the attribute application_root
|
|
26
26
|
#
|
|
27
27
|
# @param value the value to set the attribute application_root to.
|
|
28
28
|
#
|
|
29
|
-
# source://spring
|
|
29
|
+
# source://spring//lib/spring/configuration.rb#5
|
|
30
30
|
def application_root=(_arg0); end
|
|
31
31
|
|
|
32
|
-
# source://spring
|
|
32
|
+
# source://spring//lib/spring/configuration.rb#38
|
|
33
33
|
def application_root_path; end
|
|
34
34
|
|
|
35
|
-
# source://spring
|
|
35
|
+
# source://spring//lib/spring/commands.rb#19
|
|
36
36
|
def command(name); end
|
|
37
37
|
|
|
38
38
|
# @return [Boolean]
|
|
39
39
|
#
|
|
40
|
-
# source://spring
|
|
40
|
+
# source://spring//lib/spring/commands.rb#15
|
|
41
41
|
def command?(name); end
|
|
42
42
|
|
|
43
43
|
# Returns the value of attribute commands.
|
|
44
44
|
#
|
|
45
|
-
# source://spring
|
|
45
|
+
# source://spring//lib/spring/commands.rb#8
|
|
46
46
|
def commands; end
|
|
47
47
|
|
|
48
|
-
# source://spring
|
|
48
|
+
# source://spring//lib/spring/configuration.rb#7
|
|
49
49
|
def gemfile; end
|
|
50
50
|
|
|
51
|
-
# source://spring
|
|
51
|
+
# source://spring//lib/spring/configuration.rb#17
|
|
52
52
|
def gemfile_lock; end
|
|
53
53
|
|
|
54
|
-
# source://spring
|
|
54
|
+
# source://spring//lib/spring/configuration.rb#51
|
|
55
55
|
def project_root_path; end
|
|
56
56
|
|
|
57
57
|
# Returns the value of attribute quiet.
|
|
58
58
|
#
|
|
59
|
-
# source://spring
|
|
59
|
+
# source://spring//lib/spring/configuration.rb#5
|
|
60
60
|
def quiet; end
|
|
61
61
|
|
|
62
62
|
# Sets the attribute quiet
|
|
63
63
|
#
|
|
64
64
|
# @param value the value to set the attribute quiet to.
|
|
65
65
|
#
|
|
66
|
-
# source://spring
|
|
66
|
+
# source://spring//lib/spring/configuration.rb#5
|
|
67
67
|
def quiet=(_arg0); end
|
|
68
68
|
|
|
69
|
-
# source://spring
|
|
69
|
+
# source://spring//lib/spring/commands.rb#11
|
|
70
70
|
def register_command(name, command = T.unsafe(nil)); end
|
|
71
71
|
|
|
72
|
-
# source://spring
|
|
72
|
+
# source://spring//lib/spring/configuration.rb#34
|
|
73
73
|
def verify_environment; end
|
|
74
74
|
|
|
75
|
-
# source://spring
|
|
75
|
+
# source://spring//lib/spring/watcher.rb#27
|
|
76
76
|
def watch(*items); end
|
|
77
77
|
|
|
78
78
|
# Returns the value of attribute watch_interval.
|
|
79
79
|
#
|
|
80
|
-
# source://spring
|
|
80
|
+
# source://spring//lib/spring/watcher.rb#6
|
|
81
81
|
def watch_interval; end
|
|
82
82
|
|
|
83
83
|
# Sets the attribute watch_interval
|
|
84
84
|
#
|
|
85
85
|
# @param value the value to set the attribute watch_interval to.
|
|
86
86
|
#
|
|
87
|
-
# source://spring
|
|
87
|
+
# source://spring//lib/spring/watcher.rb#6
|
|
88
88
|
def watch_interval=(_arg0); end
|
|
89
89
|
|
|
90
90
|
# Returns the value of attribute watch_method.
|
|
91
91
|
#
|
|
92
|
-
# source://spring
|
|
92
|
+
# source://spring//lib/spring/watcher.rb#8
|
|
93
93
|
def watch_method; end
|
|
94
94
|
|
|
95
|
-
# source://spring
|
|
95
|
+
# source://spring//lib/spring/watcher.rb#11
|
|
96
96
|
def watch_method=(method); end
|
|
97
97
|
|
|
98
|
-
# source://spring
|
|
98
|
+
# source://spring//lib/spring/watcher.rb#23
|
|
99
99
|
def watcher; end
|
|
100
100
|
|
|
101
101
|
# Sets the attribute watcher
|
|
102
102
|
#
|
|
103
103
|
# @param value the value to set the attribute watcher to.
|
|
104
104
|
#
|
|
105
|
-
# source://spring
|
|
105
|
+
# source://spring//lib/spring/watcher.rb#7
|
|
106
106
|
def watcher=(_arg0); end
|
|
107
107
|
|
|
108
108
|
private
|
|
109
109
|
|
|
110
|
-
# source://spring
|
|
110
|
+
# source://spring//lib/spring/configuration.rb#57
|
|
111
111
|
def find_project_root(current_dir); end
|
|
112
112
|
end
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
# source://spring
|
|
115
|
+
# source://spring//lib/spring/errors.rb#2
|
|
116
116
|
class Spring::ClientError < ::StandardError; end
|
|
117
117
|
|
|
118
|
-
# source://spring
|
|
118
|
+
# source://spring//lib/spring/errors.rb#34
|
|
119
119
|
class Spring::CommandNotFound < ::Spring::ClientError; end
|
|
120
120
|
|
|
121
|
-
# source://spring
|
|
121
|
+
# source://spring//lib/spring/command_wrapper.rb#4
|
|
122
122
|
class Spring::CommandWrapper
|
|
123
123
|
# @return [CommandWrapper] a new instance of CommandWrapper
|
|
124
124
|
#
|
|
125
|
-
# source://spring
|
|
125
|
+
# source://spring//lib/spring/command_wrapper.rb#7
|
|
126
126
|
def initialize(name, command = T.unsafe(nil)); end
|
|
127
127
|
|
|
128
|
-
# source://spring
|
|
128
|
+
# source://spring//lib/spring/command_wrapper.rb#60
|
|
129
129
|
def binstub; end
|
|
130
130
|
|
|
131
|
-
# source://spring
|
|
131
|
+
# source://spring//lib/spring/command_wrapper.rb#64
|
|
132
132
|
def binstub_name; end
|
|
133
133
|
|
|
134
|
-
# source://spring
|
|
134
|
+
# source://spring//lib/spring/command_wrapper.rb#36
|
|
135
135
|
def call; end
|
|
136
136
|
|
|
137
137
|
# Returns the value of attribute command.
|
|
138
138
|
#
|
|
139
|
-
# source://spring
|
|
139
|
+
# source://spring//lib/spring/command_wrapper.rb#5
|
|
140
140
|
def command; end
|
|
141
141
|
|
|
142
|
-
# source://spring
|
|
142
|
+
# source://spring//lib/spring/command_wrapper.rb#13
|
|
143
143
|
def description; end
|
|
144
144
|
|
|
145
|
-
# source://spring
|
|
145
|
+
# source://spring//lib/spring/command_wrapper.rb#76
|
|
146
146
|
def env(args); end
|
|
147
147
|
|
|
148
|
-
# source://spring
|
|
148
|
+
# source://spring//lib/spring/command_wrapper.rb#68
|
|
149
149
|
def exec; end
|
|
150
150
|
|
|
151
|
-
# source://spring
|
|
151
|
+
# source://spring//lib/spring/command_wrapper.rb#52
|
|
152
152
|
def exec_name; end
|
|
153
153
|
|
|
154
|
-
# source://spring
|
|
154
|
+
# source://spring//lib/spring/command_wrapper.rb#44
|
|
155
155
|
def gem_name; end
|
|
156
156
|
|
|
157
157
|
# Returns the value of attribute name.
|
|
158
158
|
#
|
|
159
|
-
# source://spring
|
|
159
|
+
# source://spring//lib/spring/command_wrapper.rb#5
|
|
160
160
|
def name; end
|
|
161
161
|
|
|
162
|
-
# source://spring
|
|
162
|
+
# source://spring//lib/spring/command_wrapper.rb#25
|
|
163
163
|
def setup; end
|
|
164
164
|
|
|
165
165
|
# @return [Boolean]
|
|
166
166
|
#
|
|
167
|
-
# source://spring
|
|
167
|
+
# source://spring//lib/spring/command_wrapper.rb#21
|
|
168
168
|
def setup?; end
|
|
169
169
|
end
|
|
170
170
|
|
|
171
|
-
# source://spring
|
|
171
|
+
# source://spring//lib/spring/commands/rails.rb#2
|
|
172
172
|
module Spring::Commands; end
|
|
173
173
|
|
|
174
|
-
# source://spring
|
|
174
|
+
# source://spring//lib/spring/commands/rails.rb#3
|
|
175
175
|
class Spring::Commands::Rails
|
|
176
|
-
# source://spring
|
|
176
|
+
# source://spring//lib/spring/commands/rails.rb#4
|
|
177
177
|
def call; end
|
|
178
178
|
|
|
179
|
-
# source://spring
|
|
179
|
+
# source://spring//lib/spring/commands/rails.rb#9
|
|
180
180
|
def description; end
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
-
# source://spring
|
|
183
|
+
# source://spring//lib/spring/commands/rails.rb#14
|
|
184
184
|
class Spring::Commands::RailsConsole < ::Spring::Commands::Rails
|
|
185
|
-
# source://spring
|
|
185
|
+
# source://spring//lib/spring/commands/rails.rb#31
|
|
186
186
|
def command_name; end
|
|
187
187
|
|
|
188
|
-
# source://spring
|
|
188
|
+
# source://spring//lib/spring/commands/rails.rb#15
|
|
189
189
|
def env(args); end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
# source://spring
|
|
192
|
+
# source://spring//lib/spring/commands/rails.rb#42
|
|
193
193
|
class Spring::Commands::RailsDestroy < ::Spring::Commands::Rails
|
|
194
|
-
# source://spring
|
|
194
|
+
# source://spring//lib/spring/commands/rails.rb#43
|
|
195
195
|
def command_name; end
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
-
# source://spring
|
|
198
|
+
# source://spring//lib/spring/commands/rails.rb#36
|
|
199
199
|
class Spring::Commands::RailsGenerate < ::Spring::Commands::Rails
|
|
200
|
-
# source://spring
|
|
200
|
+
# source://spring//lib/spring/commands/rails.rb#37
|
|
201
201
|
def command_name; end
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
# source://spring
|
|
204
|
+
# source://spring//lib/spring/commands/rails.rb#48
|
|
205
205
|
class Spring::Commands::RailsRunner < ::Spring::Commands::Rails
|
|
206
|
-
# source://spring
|
|
206
|
+
# source://spring//lib/spring/commands/rails.rb#49
|
|
207
207
|
def call; end
|
|
208
208
|
|
|
209
|
-
# source://spring
|
|
209
|
+
# source://spring//lib/spring/commands/rails.rb#58
|
|
210
210
|
def command_name; end
|
|
211
211
|
|
|
212
|
-
# source://spring
|
|
212
|
+
# source://spring//lib/spring/commands/rails.rb#54
|
|
213
213
|
def env(args); end
|
|
214
214
|
|
|
215
|
-
# source://spring
|
|
215
|
+
# source://spring//lib/spring/commands/rails.rb#62
|
|
216
216
|
def extract_environment(args); end
|
|
217
217
|
end
|
|
218
218
|
|
|
219
|
-
# source://spring
|
|
219
|
+
# source://spring//lib/spring/commands/rails.rb#86
|
|
220
220
|
class Spring::Commands::RailsTest < ::Spring::Commands::Rails
|
|
221
|
-
# source://spring
|
|
221
|
+
# source://spring//lib/spring/commands/rails.rb#101
|
|
222
222
|
def command_name; end
|
|
223
223
|
|
|
224
|
-
# source://spring
|
|
224
|
+
# source://spring//lib/spring/commands/rails.rb#87
|
|
225
225
|
def env(args); end
|
|
226
226
|
end
|
|
227
227
|
|
|
228
|
-
# source://spring
|
|
228
|
+
# source://spring//lib/spring/commands/rake.rb#3
|
|
229
229
|
class Spring::Commands::Rake
|
|
230
|
-
# source://spring
|
|
230
|
+
# source://spring//lib/spring/commands/rake.rb#13
|
|
231
231
|
def env(args); end
|
|
232
232
|
|
|
233
233
|
class << self
|
|
234
234
|
# Returns the value of attribute environment_matchers.
|
|
235
235
|
#
|
|
236
|
-
# source://spring
|
|
236
|
+
# source://spring//lib/spring/commands/rake.rb#5
|
|
237
237
|
def environment_matchers; end
|
|
238
238
|
|
|
239
239
|
# Sets the attribute environment_matchers
|
|
240
240
|
#
|
|
241
241
|
# @param value the value to set the attribute environment_matchers to.
|
|
242
242
|
#
|
|
243
|
-
# source://spring
|
|
243
|
+
# source://spring//lib/spring/commands/rake.rb#5
|
|
244
244
|
def environment_matchers=(_arg0); end
|
|
245
245
|
end
|
|
246
246
|
end
|
|
247
247
|
|
|
248
|
-
# source://spring
|
|
248
|
+
# source://spring//lib/spring/errors.rb#18
|
|
249
249
|
class Spring::MissingApplication < ::Spring::ClientError
|
|
250
250
|
# @return [MissingApplication] a new instance of MissingApplication
|
|
251
251
|
#
|
|
252
|
-
# source://spring
|
|
252
|
+
# source://spring//lib/spring/errors.rb#21
|
|
253
253
|
def initialize(project_root); end
|
|
254
254
|
|
|
255
|
-
# source://spring
|
|
255
|
+
# source://spring//lib/spring/errors.rb#25
|
|
256
256
|
def message; end
|
|
257
257
|
|
|
258
258
|
# Returns the value of attribute project_root.
|
|
259
259
|
#
|
|
260
|
-
# source://spring
|
|
260
|
+
# source://spring//lib/spring/errors.rb#19
|
|
261
261
|
def project_root; end
|
|
262
262
|
end
|
|
263
263
|
|
|
264
|
-
# source://spring
|
|
264
|
+
# source://spring//lib/spring/errors.rb#4
|
|
265
265
|
class Spring::UnknownProject < ::StandardError
|
|
266
266
|
# @return [UnknownProject] a new instance of UnknownProject
|
|
267
267
|
#
|
|
268
|
-
# source://spring
|
|
268
|
+
# source://spring//lib/spring/errors.rb#7
|
|
269
269
|
def initialize(current_dir); end
|
|
270
270
|
|
|
271
271
|
# Returns the value of attribute current_dir.
|
|
272
272
|
#
|
|
273
|
-
# source://spring
|
|
273
|
+
# source://spring//lib/spring/errors.rb#5
|
|
274
274
|
def current_dir; end
|
|
275
275
|
|
|
276
|
-
# source://spring
|
|
276
|
+
# source://spring//lib/spring/errors.rb#11
|
|
277
277
|
def message; end
|
|
278
278
|
end
|
|
279
279
|
|
|
280
|
-
# source://spring
|
|
280
|
+
# source://spring//lib/spring/watcher/abstract.rb#6
|
|
281
281
|
module Spring::Watcher; end
|
|
282
282
|
|
|
283
283
|
# A user of a watcher can use IO.select to wait for changes:
|
|
@@ -286,126 +286,126 @@ module Spring::Watcher; end
|
|
|
286
286
|
# IO.select([watcher]) # watcher is running in background
|
|
287
287
|
# watcher.stale? # => true
|
|
288
288
|
#
|
|
289
|
-
# source://spring
|
|
289
|
+
# source://spring//lib/spring/watcher/abstract.rb#12
|
|
290
290
|
class Spring::Watcher::Abstract
|
|
291
291
|
include ::Mutex_m
|
|
292
292
|
|
|
293
293
|
# @return [Abstract] a new instance of Abstract
|
|
294
294
|
#
|
|
295
|
-
# source://spring
|
|
295
|
+
# source://spring//lib/spring/watcher/abstract.rb#17
|
|
296
296
|
def initialize(root, latency); end
|
|
297
297
|
|
|
298
|
-
# source://spring
|
|
298
|
+
# source://spring//lib/spring/watcher/abstract.rb#38
|
|
299
299
|
def add(*items); end
|
|
300
300
|
|
|
301
|
-
# source://spring
|
|
301
|
+
# source://spring//lib/spring/watcher/abstract.rb#34
|
|
302
302
|
def debug; end
|
|
303
303
|
|
|
304
304
|
# Returns the value of attribute directories.
|
|
305
305
|
#
|
|
306
|
-
# source://spring
|
|
306
|
+
# source://spring//lib/spring/watcher/abstract.rb#15
|
|
307
307
|
def directories; end
|
|
308
308
|
|
|
309
309
|
# Returns the value of attribute files.
|
|
310
310
|
#
|
|
311
|
-
# source://spring
|
|
311
|
+
# source://spring//lib/spring/watcher/abstract.rb#15
|
|
312
312
|
def files; end
|
|
313
313
|
|
|
314
314
|
# Returns the value of attribute latency.
|
|
315
315
|
#
|
|
316
|
-
# source://spring
|
|
316
|
+
# source://spring//lib/spring/watcher/abstract.rb#15
|
|
317
317
|
def latency; end
|
|
318
318
|
|
|
319
|
-
# source://
|
|
319
|
+
# source://mutex_m/0.1.2/mutex_m.rb#93
|
|
320
320
|
def lock; end
|
|
321
321
|
|
|
322
|
-
# source://
|
|
322
|
+
# source://mutex_m/0.1.2/mutex_m.rb#83
|
|
323
323
|
def locked?; end
|
|
324
324
|
|
|
325
|
-
# source://spring
|
|
325
|
+
# source://spring//lib/spring/watcher/abstract.rb#91
|
|
326
326
|
def mark_stale; end
|
|
327
327
|
|
|
328
|
-
# source://spring
|
|
328
|
+
# source://spring//lib/spring/watcher/abstract.rb#30
|
|
329
329
|
def on_debug(&block); end
|
|
330
330
|
|
|
331
|
-
# source://spring
|
|
331
|
+
# source://spring//lib/spring/watcher/abstract.rb#86
|
|
332
332
|
def on_stale(&block); end
|
|
333
333
|
|
|
334
|
-
# source://spring
|
|
334
|
+
# source://spring//lib/spring/watcher/abstract.rb#98
|
|
335
335
|
def restart; end
|
|
336
336
|
|
|
337
337
|
# Returns the value of attribute root.
|
|
338
338
|
#
|
|
339
|
-
# source://spring
|
|
339
|
+
# source://spring//lib/spring/watcher/abstract.rb#15
|
|
340
340
|
def root; end
|
|
341
341
|
|
|
342
342
|
# @return [Boolean]
|
|
343
343
|
#
|
|
344
|
-
# source://spring
|
|
344
|
+
# source://spring//lib/spring/watcher/abstract.rb#82
|
|
345
345
|
def stale?; end
|
|
346
346
|
|
|
347
347
|
# @raise [NotImplementedError]
|
|
348
348
|
#
|
|
349
|
-
# source://spring
|
|
349
|
+
# source://spring//lib/spring/watcher/abstract.rb#104
|
|
350
350
|
def start; end
|
|
351
351
|
|
|
352
352
|
# @raise [NotImplementedError]
|
|
353
353
|
#
|
|
354
|
-
# source://spring
|
|
354
|
+
# source://spring//lib/spring/watcher/abstract.rb#108
|
|
355
355
|
def stop; end
|
|
356
356
|
|
|
357
357
|
# @raise [NotImplementedError]
|
|
358
358
|
#
|
|
359
|
-
# source://spring
|
|
359
|
+
# source://spring//lib/spring/watcher/abstract.rb#112
|
|
360
360
|
def subjects_changed; end
|
|
361
361
|
|
|
362
|
-
# source://
|
|
362
|
+
# source://mutex_m/0.1.2/mutex_m.rb#78
|
|
363
363
|
def synchronize(&block); end
|
|
364
364
|
|
|
365
|
-
# source://
|
|
365
|
+
# source://mutex_m/0.1.2/mutex_m.rb#88
|
|
366
366
|
def try_lock; end
|
|
367
367
|
|
|
368
|
-
# source://
|
|
368
|
+
# source://mutex_m/0.1.2/mutex_m.rb#98
|
|
369
369
|
def unlock; end
|
|
370
370
|
end
|
|
371
371
|
|
|
372
|
-
# source://spring
|
|
372
|
+
# source://spring//lib/spring/watcher/polling.rb#5
|
|
373
373
|
class Spring::Watcher::Polling < ::Spring::Watcher::Abstract
|
|
374
374
|
# @return [Polling] a new instance of Polling
|
|
375
375
|
#
|
|
376
|
-
# source://spring
|
|
376
|
+
# source://spring//lib/spring/watcher/polling.rb#8
|
|
377
377
|
def initialize(root, latency); end
|
|
378
378
|
|
|
379
|
-
# source://spring
|
|
379
|
+
# source://spring//lib/spring/watcher/polling.rb#24
|
|
380
380
|
def add(*_arg0); end
|
|
381
381
|
|
|
382
|
-
# source://spring
|
|
382
|
+
# source://spring//lib/spring/watcher/polling.rb#14
|
|
383
383
|
def check_stale; end
|
|
384
384
|
|
|
385
385
|
# Returns the value of attribute mtime.
|
|
386
386
|
#
|
|
387
|
-
# source://spring
|
|
387
|
+
# source://spring//lib/spring/watcher/polling.rb#6
|
|
388
388
|
def mtime; end
|
|
389
389
|
|
|
390
390
|
# @return [Boolean]
|
|
391
391
|
#
|
|
392
|
-
# source://spring
|
|
392
|
+
# source://spring//lib/spring/watcher/polling.rb#60
|
|
393
393
|
def running?; end
|
|
394
394
|
|
|
395
|
-
# source://spring
|
|
395
|
+
# source://spring//lib/spring/watcher/polling.rb#29
|
|
396
396
|
def start; end
|
|
397
397
|
|
|
398
|
-
# source://spring
|
|
398
|
+
# source://spring//lib/spring/watcher/polling.rb#52
|
|
399
399
|
def stop; end
|
|
400
400
|
|
|
401
|
-
# source://spring
|
|
401
|
+
# source://spring//lib/spring/watcher/polling.rb#64
|
|
402
402
|
def subjects_changed; end
|
|
403
403
|
|
|
404
404
|
private
|
|
405
405
|
|
|
406
|
-
# source://spring
|
|
406
|
+
# source://spring//lib/spring/watcher/polling.rb#72
|
|
407
407
|
def compute_mtime; end
|
|
408
408
|
|
|
409
|
-
# source://spring
|
|
409
|
+
# source://spring//lib/spring/watcher/polling.rb#93
|
|
410
410
|
def expanded_files; end
|
|
411
411
|
end
|