lib/licensed/source/bundler.rb
def bundle_exec_gem_spec(name)
        # `gem` must be available to run `gem specification`
        return unless Licensed::Shell.tool_available?("gem")

        # use `gem specification` with a clean ENV to get gem specification YAML
        yaml = ::Bundler.with_original_env { Licensed::Shell.execute(*ruby_command_args("gem", "specification", name)) }
        Gem::Specification.from_yaml(yaml)
      end
# Load a gem specification from the YAML returned from `gem specification`
# This is a last resort when licensed can't obtain a specification from other means
Load a gem specification from the YAML returned from `gem specification`
This is a last resort when licensed can't obtain a specification from other means
Load a gem specification from the YAML returned from ` gem specification ` This is a last resort when licensed can ' t obtain a specification from other means
def bundle_exec_gem_spec(name)
        return unless Licensed::Shell.tool_available?("gem")
        yaml = ::Bundler.with_original_env { Licensed::Shell.execute(*ruby_command_args("gem", "specification", name)) }
        Gem::Specification.from_yaml(yaml)
      end
def bundle_exec_gem_spec ( name ) return unless Licensed :: Shell . tool_available? ( "gem" ) yaml = :: Bundler . with_original_env { Licensed :: Shell . execute ( * ruby_command_args ( "gem" , "specification" , name ) ) } Gem :: Specification . from_yaml ( yaml ) end
Load a gem specification from the YAML returned from `gem specification`
This is a last resort when licensed can't obtain a specification from other means
Load a gem specification from the YAML returned from ` gem specification ` This is a last resort when licensed can ' t obtain a specification from other means
# `gem` must be available to run `gem specification` # use `gem specification` with a clean ENV to get gem specification YAML
name