Sha256: 915af102bb7b357bce155b9e5112585e87d52dfe77248a9ce47069a6b9cd848b

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

module Shoe
  module Extensions

    module Specification
      def self.extended(specification)
        specification.loaded_from = Dir.pwd
      end

      def full_gem_path
        Dir.pwd
      end

      def has_version_greater_than?(string)
        version > Gem::Version.new(string)
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shoe-0.6.2 lib/shoe/extensions/specification.rb
shoe-0.6.1 lib/shoe/extensions/specification.rb
shoe-0.6.0 lib/shoe/extensions/specification.rb