Sha256: 6caca7c68b24fa7c9fa159978179c03ec8ea7c10fd583ddd594c0753b03a8f2f

Contents?: true

Size: 364 Bytes

Versions: 57

Compression:

Stored size: 364 Bytes

Contents

#!/usr/bin/env ruby
require 'yaml'
 
if ARGV.size < 1
  puts "Usage: github-test.rb my-project.gemspec"
  exit
end
 
require 'rubygems/specification'
data = File.read(ARGV[0])
spec = nil
 
if data !~ %r{!ruby/object:Gem::Specification}
  Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
else
  spec = YAML.load(data)
end
 
spec.validate
 
puts spec
puts "OK"

Version data entries

57 entries across 57 versions & 4 rubygems

Version Path
mixtli-fred-0.1.6 github-test.rb
mixtli-fred-0.1.8 github-test.rb
mixtli-mixtli-fred-0.1.5 github-test.rb
sproutit-sproutcore-1.0.0.20090407205609 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.0.20090408130025 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.0.20090416161445 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145236 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145251 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145280 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145281 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145282 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.20090721145285 vendor/github_gem_lint.rb
sproutit-sproutcore-1.0.203 vendor/github_gem_lint.rb
sproutcore-1.5.0-java lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0 lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0.rc.2 lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0.rc.1 lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0.pre.5 lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0.pre.4.1 lib/sproutcore/vendor/github_gem_lint.rb
sproutcore-1.5.0.pre.4 lib/sproutcore/vendor/github_gem_lint.rb