Sha256: 1403c8e9b4f80bbfd6d76524d8620cd7fa8fedb9a2ba251e858ca1ba08adce5a

Contents?: true

Size: 307 Bytes

Versions: 78

Compression:

Stored size: 307 Bytes

Contents

#!/usr/bin/env ruby

require 'ostruct'

class FakeSpec < OpenStruct
  private

  def method_missing(name, *args)
    super
  rescue NoMethodError
  end
end

module Gem
  class Specification
    def self.new
      spec = FakeSpec.new
      yield spec
      print spec.version
    end
  end
end

load ARGV[0]

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 lib/snippets/extract-gem-version
shipit-engine-0.38.0 lib/snippets/extract-gem-version
shipit-engine-0.37.0 lib/snippets/extract-gem-version
shipit-engine-0.36.1 lib/snippets/extract-gem-version
shipit-engine-0.36.0 lib/snippets/extract-gem-version
shipit-engine-0.35.1 lib/snippets/extract-gem-version
shipit-engine-0.35.0 lib/snippets/extract-gem-version
shipit-engine-0.34.0 lib/snippets/extract-gem-version
shipit-engine-0.33.0 lib/snippets/extract-gem-version
shipit-engine-0.32.0 lib/snippets/extract-gem-version
shipit-engine-0.31.0 lib/snippets/extract-gem-version
shipit-engine-0.30.0 lib/snippets/extract-gem-version
shipit-engine-0.29.0 lib/snippets/extract-gem-version
shipit-engine-0.28.1 lib/snippets/extract-gem-version
shipit-engine-0.28.0 lib/snippets/extract-gem-version
shipit-engine-0.27.1 lib/snippets/extract-gem-version
shipit-engine-0.27.0 lib/snippets/extract-gem-version
shipit-engine-0.26.0 lib/snippets/extract-gem-version
shipit-engine-0.25.1 lib/snippets/extract-gem-version
shipit-engine-0.25.0 lib/snippets/extract-gem-version