diff --git a/docs/Cask/Cask.html b/docs/Cask/Cask.html index ca81675ed..13054c76d 100644 --- a/docs/Cask/Cask.html +++ b/docs/Cask/Cask.html @@ -364,7 +364,7 @@
-61 -62 63 64 65 @@ -1283,10 +1281,12 @@+80 +81 +8277 78 79 -80
# File 'cask/cask.rb', line 61 +# File 'cask/cask.rb', line 63 def initialize(token, sourcefile_path: nil, source: nil, tap: nil, loaded_from_api: false, config: nil, allow_reassignment: false, loader: nil, &block) @@ -1704,7 +1704,7 @@Class Method Details
# File 'cask/cask.rb', line 27 -def self.all - # TODO: replace this ARGV and ENV logic with an argument, like how we do with formulae - if ARGV.exclude?("--eval-all") && !Homebrew::EnvConfig.eval_all? +def self.all(eval_all: false) + if !eval_all && !Homebrew::EnvConfig.eval_all? raise ArgumentError, "Cask::Cask#all cannot be used without --eval-all or HOMEBREW_EVAL_ALL" end - Tap.flat_map(&:cask_files).map do |f| - CaskLoader::FromTapPathLoader.new(f).load(config: nil) + # Load core casks from tokens so they load from the API when the core cask is not tapped. + tokens_and_files = CoreCaskTap.instance.cask_tokens + tokens_and_files += Tap.reject(&:core_cask_tap?).flat_map(&:cask_files) + tokens_and_files.map do |token_or_file| + CaskLoader.load(token_or_file) rescue CaskUnreadableError => e opoo e. @@ -1818,12 +1822,12 @@
-137 -138 -139+139 +140 +141
# File 'cask/cask.rb', line 137 +# File 'cask/cask.rb', line 139 def caskfile_only? languages.any? || artifacts.any?(Artifact::AbstractFlightBlock) @@ -1876,12 +1880,12 @@
-209 -210 -211+211 +212 +213
# File 'cask/cask.rb', line 209 +# File 'cask/cask.rb', line 211 def caskroom_path @caskroom_path ||= Caskroom.path.join(token) @@ -1934,12 +1938,12 @@
-184 -185 -186+186 +187 +188
# File 'cask/cask.rb', line 184 +# File 'cask/cask.rb', line 186 def checksumable? DownloadStrategyDetector.detect(url.to_s, url.using) <= AbstractFileDownloadStrategy @@ -1979,12 +1983,12 @@
-180 -181 -182+182 +183 +184
# File 'cask/cask.rb', line 180 +# File 'cask/cask.rb', line 182 def config_path /"config.json" @@ -2024,12 +2028,12 @@
-188 -189 -190+190 +191 +192
# File 'cask/cask.rb', line 188 +# File 'cask/cask.rb', line 190 def download_sha_path /"LATEST_DOWNLOAD_SHA256" @@ -2086,12 +2090,12 @@
-298 -299 -300+300 +301 +302
# File 'cask/cask.rb', line 298 +# File 'cask/cask.rb', line 300 def eql?(other) instance_of?(other.class) && token == other.token @@ -2131,15 +2135,15 @@
-123 -124 125 126 127 -128+128 +129 +130
# File 'cask/cask.rb', line 123 +# File 'cask/cask.rb', line 125 def full_name return token if tap.nil? @@ -2182,12 +2186,12 @@
-294 -295 -296+296 +297 +298
# File 'cask/cask.rb', line 294 +# File 'cask/cask.rb', line 296 def hash token.hash @@ -2227,12 +2231,12 @@
-290 -291 -292+292 +293 +294
# File 'cask/cask.rb', line 290 +# File 'cask/cask.rb', line 292 def inspect "#<Cask #{token}#{sourcefile_path&.to_s&.prepend(" ")}>" @@ -2285,14 +2289,14 @@
-142 -143 144 145 -146+146 +147 +148
# File 'cask/cask.rb', line 142 +# File 'cask/cask.rb', line 144 def install_time # <caskroom_path>/.metadata/<version>/<timestamp>/Casks/<token>.{rb,json} -> <timestamp> @@ -2347,12 +2351,12 @@
-131 -132 -133+133 +134 +135
# File 'cask/cask.rb', line 131 +# File 'cask/cask.rb', line 133 def installed? installed_caskfile&.exist? || false @@ -2405,8 +2409,6 @@
-149 -150 151 152 153 @@ -2428,10 +2430,12 @@+172 +173 +174169 170 171 -172
# File 'cask/cask.rb', line 149 +# File 'cask/cask.rb', line 151 def installed_caskfile installed_caskroom_path = caskroom_path @@ -2505,13 +2509,13 @@
-175 -176 177 -178+178 +179 +180
# File 'cask/cask.rb', line 175 +# File 'cask/cask.rb', line 177 def installed_version # <caskroom_path>/.metadata/<version>/<timestamp>/Casks/<token>.{rb,json} -> <version> @@ -2552,12 +2556,12 @@
-268 -269 -270+270 +271 +272
# File 'cask/cask.rb', line 268 +# File 'cask/cask.rb', line 270 def languages @languages ||= @dsl.languages @@ -2597,17 +2601,17 @@
-192 -193 194 195 196 197 198 -199+199 +200 +201
# File 'cask/cask.rb', line 192 +# File 'cask/cask.rb', line 194 def new_download_sha require "cask/installer" @@ -2665,17 +2669,17 @@
-84 -85 86 87 88 89 90 -91+91 +92 +93
# File 'cask/cask.rb', line 84 +# File 'cask/cask.rb', line 86 def old_tokens @old_tokens ||= if tap @@ -2733,13 +2737,13 @@
-213 -214 215 -216+216 +217 +218
# File 'cask/cask.rb', line 213 +# File 'cask/cask.rb', line 215 def outdated?(greedy: false, greedy_latest: false, greedy_auto_updates: false) !outdated_version(greedy: greedy, greedy_latest: greedy_latest, @@ -2793,15 +2797,15 @@
-201 -202 203 204 205 -206+206 +207 +208
# File 'cask/cask.rb', line 201 +# File 'cask/cask.rb', line 203 def outdated_download_sha? return true unless checksumable? @@ -2844,8 +2848,6 @@
-236 -237 238 239 240 @@ -2859,10 +2861,12 @@+251 +252 +253248 249 250 -251
# File 'cask/cask.rb', line 236 +# File 'cask/cask.rb', line 238 def outdated_info(greedy, verbose, json, greedy_latest, greedy_auto_updates) return token if !verbose && !json @@ -2915,8 +2919,6 @@
-218 -219 220 221 222 @@ -2931,10 +2933,12 @@+234 +235 +236231 232 233 -234
# File 'cask/cask.rb', line 218 +# File 'cask/cask.rb', line 220 def outdated_version(greedy: false, greedy_latest: false, greedy_auto_updates: false) # special case: tap version is not available @@ -3001,18 +3005,18 @@
-276 -277 278 279 280 281 282 283 -284+284 +285 +286
# File 'cask/cask.rb', line 276 +# File 'cask/cask.rb', line 278 def populate_from_api!(json_cask) raise ArgumentError, "Expected cask to be loaded from the API" unless loaded_from_api? @@ -3058,16 +3062,16 @@
-99 -100 101 102 103 104 -105+105 +106 +107
# File 'cask/cask.rb', line 99 +# File 'cask/cask.rb', line 101 def refresh @dsl = DSL.new(self) @@ -3111,14 +3115,14 @@
-262 -263 264 265 -266+266 +267 +268
# File 'cask/cask.rb', line 262 +# File 'cask/cask.rb', line 264 def ruby_source_checksum @ruby_source_checksum ||= { @@ -3160,17 +3164,17 @@
-253 -254 255 256 257 258 259 -260+260 +261 +262
# File 'cask/cask.rb', line 253 +# File 'cask/cask.rb', line 255 def ruby_source_path return @ruby_source_path if defined?(@ruby_source_path) @@ -3215,14 +3219,14 @@
-42 -43 44 45 -46+46 +47 +48
# File 'cask/cask.rb', line 42 +# File 'cask/cask.rb', line 44 def tap return super if block_given? # Object#tap @@ -3264,12 +3268,12 @@
-272 -273 -274+274 +275 +276
# File 'cask/cask.rb', line 272 +# File 'cask/cask.rb', line 274 def tap_git_head @tap_git_head ||= tap&.git_head @@ -3339,8 +3343,6 @@
-112 -113 114 115 116 @@ -3348,10 +3350,12 @@+121 +122 +123118 119 120 -121
# File 'cask/cask.rb', line 112 +# File 'cask/cask.rb', line 114 def (caskroom_path: self.caskroom_path) relative_paths = Pathname.glob(( @@ -3398,8 +3402,6 @@
-303 -304 305 306 307 @@ -3440,10 +3442,12 @@+345 +346 +347342 343 344 -345
# File 'cask/cask.rb', line 303 +# File 'cask/cask.rb', line 305 def to_h url_specs = url&.specs.dup @@ -3523,8 +3527,6 @@
-347 -348 349 350 351 @@ -3558,10 +3560,12 @@+382 +383 +384379 380 381 -382
# File 'cask/cask.rb', line 347 +# File 'cask/cask.rb', line 349 def to_hash_with_variations if loaded_from_api? && !Homebrew::EnvConfig.no_install_from_api? @@ -3634,12 +3638,12 @@
-286 -287 -288+288 +289 +290
# File 'cask/cask.rb', line 286 +# File 'cask/cask.rb', line 288 def to_s @token diff --git a/docs/CaskDescriptionCacheStore.html b/docs/CaskDescriptionCacheStore.html index 144b373ae..f9559910a 100644 --- a/docs/CaskDescriptionCacheStore.html +++ b/docs/CaskDescriptionCacheStore.html @@ -275,7 +275,8 @@+104 +105101 102 103 -104
# File 'description_cache_store.rb', line 99 @@ -284,7 +285,8 @@return unless eval_all return unless database.empty? - Cask::Cask.all.each { |c| update!(c.full_name, [c.name.join(", "), c.desc.presence]) } + Cask::Cask.all(eval_all: eval_all) + .each { |c| update!(c.full_name, [c.name.join(", "), c.desc.presence]) } end
-126 127 128 129 @@ -358,10 +359,11 @@+136 +137133 134 135 -136
# File 'description_cache_store.rb', line 126 +# File 'description_cache_store.rb', line 127 def update_from_cask_tokens!(cask_tokens) return unless Homebrew::EnvConfig.eval_all? @@ -436,7 +438,6 @@
-110 111 112 113 @@ -446,10 +447,11 @@+120 +121117 118 119 -120
# File 'description_cache_store.rb', line 110 +# File 'description_cache_store.rb', line 111 def update_from_report!(report) return unless Homebrew::EnvConfig.eval_all? diff --git a/docs/Homebrew.html b/docs/Homebrew.html index 648cfee3d..ce6dec489 100644 --- a/docs/Homebrew.html +++ b/docs/Homebrew.html @@ -10763,7 +10763,10 @@+336 +337 +338 +339333 334 335 -336
# File 'dev-cmd/audit.rb', line 108 @@ -10808,7 +10811,10 @@"brew audit --eval-all or HOMEBREW_EVAL_ALL" end no_named_args = true - [Formula.all(eval_all: args.eval_all?), Cask::Cask.all] + [ + Formula.all(eval_all: args.eval_all?), + Cask::Cask.all(eval_all: args.eval_all?), + ] else if args.named.any? { |named_arg| named_arg.end_with?(".rb") } # This odisabled should probably stick around indefinitely, @@ -15433,14 +15439,14 @@
-223 224 225 226 -227+227 +228
# File 'cmd/deps.rb', line 223 +# File 'cmd/deps.rb', line 224 def self.check_head_spec(dependents) headless = dependents.select { |d| d.is_a?(Formula) && d.active_spec_sym != :head } @@ -16431,13 +16437,13 @@
-172 173 174 -175+175 +176
# File 'cmd/deps.rb', line 172 +# File 'cmd/deps.rb', line 173 def self.condense_requirements(deps, args:) deps.select! { |dep| dep.is_a?(Dependency) } unless args.include_requirements? @@ -17755,19 +17761,19 @@
-344 -345 -346 347 348 349 350 351 352 -353+353 +354 +355 +356
# File 'cmd/info.rb', line 344 +# File 'cmd/info.rb', line 347 def decorate_dependencies(dependencies) deps_status = dependencies.map do |dep| @@ -17799,16 +17805,16 @@
-355 -356 -357 358 359 360 -361+361 +362 +363 +364
# File 'cmd/info.rb', line 355 +# File 'cmd/info.rb', line 358 def decorate_requirements(requirements) req_status = requirements.map do |req| @@ -17890,7 +17896,6 @@
-177 178 179 180 @@ -17914,10 +17919,11 @@+201 +202198 199 200 -201
# File 'cmd/deps.rb', line 177 +# File 'cmd/deps.rb', line 178 def self.dep_display_name(dep, args:) str = if dep.is_a? Requirement @@ -17964,14 +17970,14 @@
-363 -364 -365 366 -367+367 +368 +369 +370
# File 'cmd/info.rb', line 363 +# File 'cmd/info.rb', line 366 def dep_display_s(dep) return dep.name if dep..empty? @@ -17998,17 +18004,17 @@
-289 290 291 292 293 294 295 -296+296 +297
# File 'cmd/deps.rb', line 289 +# File 'cmd/deps.rb', line 290 def self.dependables(formula, args:) includes, ignores = args_includes_ignores(args) @@ -18119,7 +18125,8 @@+166 +167163 164 165 -166
# File 'cmd/deps.rb', line 85 @@ -18173,8 +18180,9 @@puts_deps_tree dependents, recursive: recursive, args: args return elsif all - puts_deps sorted_dependents(Formula.all(eval_all: args.eval_all?) + Cask::Cask.all), recursive: recursive, - args: args + puts_deps sorted_dependents( + Formula.all(eval_all: args.eval_all?) + Cask::Cask.all(eval_all: args.eval_all?), + ), recursive: recursive, args: args return elsif !args.no_named? && args.for_each? puts_deps sorted_dependents(args.named.to_formulae_and_casks), recursive: recursive, args: args @@ -18415,7 +18423,6 @@
-203 204 205 206 @@ -18429,10 +18436,11 @@+217 +218214 215 216 -217
# File 'cmd/deps.rb', line 203 +# File 'cmd/deps.rb', line 204 def self.deps_for_dependent(dependency, args:, recursive: false) includes, ignores = args_includes_ignores(args) @@ -18469,12 +18477,12 @@
-219 220 -221+221 +222
# File 'cmd/deps.rb', line 219 +# File 'cmd/deps.rb', line 220 def self.deps_for_dependents(dependents, args:, recursive: false, &block) dependents.map { |d| deps_for_dependent(d, recursive: recursive, args: args) }.reduce(&block) @@ -19828,7 +19836,6 @@
-240 241 242 243 @@ -19849,10 +19856,11 @@+261 +262258 259 260 -261
# File 'cmd/deps.rb', line 240 +# File 'cmd/deps.rb', line 241 def self.dot_code(dependents, recursive:, args:) dep_graph = {} @@ -21419,18 +21427,18 @@
-352 -353 -354 355 356 357 358 359 -360+360 +361 +362 +363
# File 'dev-cmd/audit.rb', line 352 +# File 'dev-cmd/audit.rb', line 355 def self.format_problem_lines(problems) problems.map do |problem| @@ -23147,9 +23155,6 @@
-243 -244 -245 246 247 248 @@ -23164,10 +23169,13 @@+260 +261 +262 +263257 258 259 -260
# File 'cmd/info.rb', line 243 +# File 'cmd/info.rb', line 246 def github_info(formula_or_cask) return formula_or_cask.path if formula_or_cask.tap.blank? || formula_or_cask.tap.remote.blank? @@ -23329,16 +23337,16 @@
-235 -236 -237 238 239 240 -241+241 +242 +243 +244
# File 'cmd/info.rb', line 235 +# File 'cmd/info.rb', line 238 def github_remote_path(remote, path) if remote =~ %r{^(?:https?://|git(?:@|://))github\.com[:/](.+)/(.+?)(?:\.git)?$} @@ -23616,7 +23624,6 @@
-263 264 265 266 @@ -23631,10 +23638,11 @@+278 +279275 276 277 -278
# File 'cmd/deps.rb', line 263 +# File 'cmd/deps.rb', line 264 def self.graph_deps(formula, dep_graph:, recursive:, args:) return if dep_graph.key?(formula) @@ -24445,14 +24453,14 @@
-369 -370 -371 372 -373+373 +374 +375 +376
# File 'cmd/info.rb', line 369 +# File 'cmd/info.rb', line 372 def info_cask(cask, args:) require "cask/info" @@ -24479,9 +24487,6 @@
-262 -263 -264 265 266 267 @@ -24559,10 +24564,13 @@+342 +343 +344 +345339 340 341 -342
# File 'cmd/info.rb', line 262 +# File 'cmd/info.rb', line 265 def info_formula(formula, args:) specs = [] @@ -26431,7 +26439,7 @@+233 +234 +235 +236deps += args.installed? ? Formula.installed : Formula.all(eval_all: args.eval_all?) end if show_formulae_and_casks || args.cask? - deps += args.installed? ? Cask::Caskroom.casks : Cask::Cask.all + deps += args.installed? ? Cask::Caskroom.casks : Cask::Cask.all(eval_all: args.eval_all?) end if args.missing? @@ -28457,7 +28465,7 @@
formulae + casks elsif all formulae = args.cask? ? [] : Formula.all(eval_all: args.eval_all?) - casks = args.formula? ? [] : Cask::Cask.all + casks = args.formula? ? [] : Cask::Cask.all(eval_all: args.eval_all?) formulae + casks elsif args.named.present? if args.formula? @@ -34074,7 +34082,10 @@
230 231 232 -233
# File 'cmd/info.rb', line 188 @@ -34101,7 +34112,10 @@end when :v2 formulae, casks = if all - [Formula.all(eval_all: args.eval_all?).sort, Cask::Cask.all.sort_by(&:full_name)] + [ + Formula.all(eval_all: args.eval_all?).sort, + Cask::Cask.all(eval_all: args.eval_all?).sort_by(&:full_name), + ] elsif args.installed? [Formula.installed.sort, Cask::Caskroom.casks.sort_by(&:full_name)] else @@ -34291,9 +34305,6 @@
-338 -339 -340 341 342 343 @@ -34303,10 +34314,13 @@+350 +351 +352 +353347 348 349 -350
# File 'dev-cmd/audit.rb', line 338 +# File 'dev-cmd/audit.rb', line 341 def self.print_problems(results, display_filename:) results.each do |(name, path), problems| @@ -34822,7 +34836,6 @@
-229 230 231 232 @@ -34831,10 +34844,11 @@+238 +239235 236 237 -238
# File 'cmd/deps.rb', line 229 +# File 'cmd/deps.rb', line 230 def self.puts_deps(dependents, args:, recursive: false) check_head_spec(dependents) if args.HEAD? @@ -34866,17 +34880,17 @@
-280 281 282 283 284 285 286 -287+287 +288
# File 'cmd/deps.rb', line 280 +# File 'cmd/deps.rb', line 281 def self.puts_deps_tree(dependents, args:, recursive: false) check_head_spec(dependents) if args.HEAD? @@ -35696,7 +35710,6 @@
-298 299 300 301 @@ -35736,10 +35749,11 @@+338 +339335 336 337 -338
# File 'cmd/deps.rb', line 298 +# File 'cmd/deps.rb', line 299 def self.recursive_deps_tree(formula, dep_stack:, prefix:, recursive:, args:) dependables = dependables(formula, args: args) @@ -39850,12 +39864,12 @@
-168 169 -170+170 +171
# File 'cmd/deps.rb', line 168 +# File 'cmd/deps.rb', line 169 def self.sorted_dependents(formulae_or_casks) dependents(formulae_or_casks).sort_by(&:name) diff --git a/docs/SystemConfig.html b/docs/SystemConfig.html index f7c7c6023..f73aff950 100644 --- a/docs/SystemConfig.html +++ b/docs/SystemConfig.html @@ -201,28 +201,6 @@-
-- - - - - -
- This method is part of a private API. - This method may only be used in the Homebrew/brew repository. - Third parties should avoid using this method if possible, as it may be removed or changed without warning. -
- - - -
- - - -64 -65 -66- |
-
- # File 'system_config.rb', line 64 - -def core_tap_branch - CoreTap.instance.git_branch || "(none)" -end- |
-
-131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144+32 +33 +34 +35
# File 'system_config.rb', line 131 +# File 'extend/os/mac/system_config.rb', line 32 def core_tap_config(out = $stdout) - if CoreTap.instance.installed? - out.puts "Core tap origin: #{core_tap_origin}" - out.puts "Core tap HEAD: #{core_tap_head}" - out.puts "Core tap last commit: #{core_tap_last_commit}" - out.puts "Core tap branch: #{core_tap_branch}" - end - - if (formula_json = Homebrew::API::HOMEBREW_CACHE_API/"formula.jws.json") && formula_json.exist? - out.puts "Core tap JSON: #{formula_json.mtime.utc.strftime("%d %b %H:%M UTC")}" - elsif !CoreTap.instance.installed? - out.puts "Core tap: N/A" - end -end-
- This method is part of a private API. - This method may only be used in the Homebrew/brew repository. - Third parties should avoid using this method if possible, as it may be removed or changed without warning. -
- - - -
- - - -54 -55 -56- |
-
- # File 'system_config.rb', line 54 - -def core_tap_head - CoreTap.instance.git_head || "(none)" -end- |
-
- This method is part of a private API. - This method may only be used in the Homebrew/brew repository. - Third parties should avoid using this method if possible, as it may be removed or changed without warning. -
- - - -
- - - -59 -60 -61- |
-
- # File 'system_config.rb', line 59 - -def core_tap_last_commit - CoreTap.instance.git_last_commit || "never" -end- |
-
- This method is part of a private API. - This method may only be used in the Homebrew/brew repository. - Third parties should avoid using this method if possible, as it may be removed or changed without warning. -
- - - -
- - - -69 -70 -71- |
-
- # File 'system_config.rb', line 69 - -def core_tap_origin - CoreTap.instance.remote + dump_tap_config(CoreTap.instance, out) + dump_tap_config(CoreCaskTap.instance, out) end |
- # File 'system_config.rb', line 120 +# File 'system_config.rb', line 100 def describe_curl out, = system_command(Utils::Curl.curl_executable, args: ["--version"], verbose: false) @@ -1388,14 +1070,14 @@ |
- # File 'system_config.rb', line 113 +# File 'system_config.rb', line 93 def describe_git return "N/A" unless Utils::Git.available? @@ -1450,12 +1132,12 @@ |
- # File 'system_config.rb', line 96 +# File 'system_config.rb', line 76 def describe_homebrew_ruby "#{RUBY_VERSION} => #{RUBY_PATH}" @@ -1495,19 +1177,19 @@ |
- # File 'system_config.rb', line 84 +# File 'system_config.rb', line 64 def describe_path(path) return "N/A" if path.nil? @@ -1522,6 +1204,95 @@ |
+ This method is part of a private API. + This method may only be used in the Homebrew/brew repository. + Third parties should avoid using this method if possible, as it may be removed or changed without warning. +
+ + + +
+ + + +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135+ |
+
+ # File 'system_config.rb', line 111 + +def dump_tap_config(tap, out = $stdout) + case tap + when CoreTap + tap_name = "Core tap" + json_file_name = "formula.jws.json" + when CoreCaskTap + tap_name = "Core cask tap" + json_file_name = "cask.jws.json" + else + raise ArgumentError, "Unknown tap: #{tap}" + end + + if tap.installed? + out.puts "#{tap_name} origin: #{tap.remote}" + out.puts "#{tap_name} HEAD: #{tap.git_head || "(none)"}" + out.puts "#{tap_name} last commit: #{tap.git_last_commit || "never"}" + out.puts "#{tap_name} branch: #{tap.git_branch || "(none)"}" + end + + if (json_file = Homebrew::API::HOMEBREW_CACHE_API/json_file_name) && json_file.exist? + out.puts "#{tap_name} JSON: #{json_file.mtime.utc.strftime("%d %b %H:%M UTC")}" + elsif !tap.installed? + out.puts "#{tap_name}: N/A" + end +end+ |
+
-32 -33 -34 -35 -36 37 -38+38 +39 +40 +41 +42 +43
# File 'extend/os/mac/system_config.rb', line 32 +# File 'extend/os/mac/system_config.rb', line 37 def dump_verbose_config(out = $stdout) dump_generic_verbose_config(out) @@ -1662,14 +1433,14 @@
-101 -102 -103 -104 -105+81 +82 +83 +84 +85
# File 'system_config.rb', line 101 +# File 'system_config.rb', line 81 def hardware return if Hardware::CPU.type == :dunno @@ -1769,15 +1540,15 @@
-146 -147 -148 -149 -150 -151+141 +142 +143 +144 +145 +146
# File 'system_config.rb', line 146 +# File 'system_config.rb', line 141 def homebrew_config(out = $stdout) out.puts "HOMEBREW_VERSION: #{HOMEBREW_VERSION}" @@ -1820,6 +1591,11 @@
+148 +149 +150 +151 +152 153 154 155 @@ -1844,15 +1620,10 @@+177174 175 176 -177 -178 -179 -180 -181 -182
# File 'system_config.rb', line 153 +# File 'system_config.rb', line 148 def homebrew_env_config(out = $stdout) out.puts "HOMEBREW_PREFIX: #{HOMEBREW_PREFIX}" @@ -2085,14 +1856,14 @@
-184 -185 -186 -187 -188+179 +180 +181 +182 +183
# File 'system_config.rb', line 184 +# File 'system_config.rb', line 179 def host_software_config(out = $stdout) out.puts "Clang: #{describe_clang}" @@ -2147,12 +1918,12 @@
-108 -109 -110+88 +89 +90
# File 'system_config.rb', line 108 +# File 'system_config.rb', line 88 def kernel `uname -m`.chomp diff --git a/docs/method_list.html b/docs/method_list.html index 7bac4cb87..aa9863aa5 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -6909,14 +6909,6 @@Method List