Sha256: 5157a7b4c6cf23b63f00ec7409ddb3fc3066834a4cf4c3eb96ccdd057baecaf9

Contents?: true

Size: 276 Bytes

Versions: 24

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

module KnapsackPro
  module RepositoryAdapters
    class EnvAdapter < BaseAdapter
      def commit_hash
        KnapsackPro::Config::Env.commit_hash
      end

      def branch
        KnapsackPro::Config::Env.branch
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
knapsack_pro-7.13.1 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.13.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.12.1 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.12.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.11.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.10.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.9.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.8.2 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.8.1 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.8.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.7.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.6.2 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.6.1 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.6.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.1.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.0.1 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-7.0.0 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-6.0.4 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-6.0.3 lib/knapsack_pro/repository_adapters/env_adapter.rb
knapsack_pro-6.0.2 lib/knapsack_pro/repository_adapters/env_adapter.rb