Sha256: 5531a56587dfed7f7c6bd79ffd39b389abdb299d544130e8bbeb3ad1262a22a3

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Avm
  module EacRubyBase0
    module Rspec
      module SourceGenerator
        APPLICATION_STEREOTYPE = 'EacRubyBase0'
        DEFAULT_VERSIONS = {
          'eac_ruby_base0' => '0.9.0',
          'eac_ruby_gem_support' => '0.10.0',
          'eac_ruby_utils' => '0.122.0'
        }.freeze

        # @return [Avm::EacRubyBase0::Sources::Base]
        def avm_eac_ruby_base0_source(options = {})
          avm_source(
            APPLICATION_STEREOTYPE,
            avm_eac_ruby_base0_source_default_options.merge(options)
          )
        end

        # @return [Hash]
        def avm_eac_ruby_base0_source_default_options
          DEFAULT_VERSIONS.transform_keys do |gem_name|
            "#{gem_name}_version".dasherize
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
avm-eac_ruby_base0-0.1.0 lib/avm/eac_ruby_base0/rspec/source_generator.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base0/lib/avm/eac_ruby_base0/rspec/source_generator.rb