Sha256: acfd9a666acb24e017ab0e5b7fd6eda3ac7f83ae5c61d7055d2bfe617f3a67a4

Contents?: true

Size: 760 Bytes

Versions: 7

Compression:

Stored size: 760 Bytes

Contents

#!/usr/bin/env ruby

ENV["BUNDLE_GEMFILE"] = File.expand_path("../Gemfile", File.dirname(__FILE__))
require "bundler/setup"
require "ruby_version_check"

# Note that contracts.ruby has two specific ruby-version specific libraries, which we have vendored into lib/
if RubyVersionCheck.ruby_version2?
  $LOAD_PATH.unshift(File.expand_path(File.join(__dir__, "../lib/contracts-ruby2/lib")))
else
  $LOAD_PATH.unshift(File.expand_path(File.join(__dir__, "../lib/contracts-ruby3/lib")))
end

require "contracts"

# We don't need Contract outside of normal development
VALID = [true, nil]
class Contract < Contracts::Decorator
  def self.valid?(arg, contract)
    VALID
  end
end

require "entitlements"
exitcode = Entitlements::Cli.run
exitcode ||= 0
exit exitcode

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
entitlements-app-0.3.4 bin/deploy-entitlements
entitlements-app-0.3.1 bin/deploy-entitlements
entitlements-app-0.3.0 bin/deploy-entitlements
entitlements-0.2.1 bin/deploy-entitlements
entitlements-app-0.2.1 bin/deploy-entitlements
entitlements-0.2.0 bin/deploy-entitlements
entitlements-app-0.2.0 bin/deploy-entitlements