Sha256: 71e700b0fc2ecd6e7259569c5e7a4ace96ff76864a3d84cf58ffa6e9daf0bb53

Contents?: true

Size: 729 Bytes

Versions: 110

Compression:

Stored size: 729 Bytes

Contents

require 'require_all'
require_rel 'generator' # Include everything in the 'generator' subdirectory

module Generator
  # Immutable value object for storing paths
  class Paths
    attr_reader :track, :metadata
    def initialize(track:, metadata:)
      @track = track
      @metadata = metadata
    end
  end

  # This contains the order for updating/generating the files. (Strategy pattern).
  # Doesn't update the version information.
  class GenerateTests < RepositoryDelegator
    def call
      create_tests_file
    end
  end

  # Update everything.
  class UpdateVersionAndGenerateTests < RepositoryDelegator
    def call
      update_tests_version
      update_example_solution
      create_tests_file
    end
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
trackler-2.1.0.11 tracks/ruby/lib/generator.rb
trackler-2.1.0.10 tracks/ruby/lib/generator.rb
trackler-2.1.0.9 tracks/ruby/lib/generator.rb
trackler-2.1.0.8 tracks/ruby/lib/generator.rb
trackler-2.1.0.7 tracks/ruby/lib/generator.rb
trackler-2.1.0.6 tracks/ruby/lib/generator.rb
trackler-2.1.0.5 tracks/ruby/lib/generator.rb
trackler-2.1.0.4 tracks/ruby/lib/generator.rb
trackler-2.1.0.3 tracks/ruby/lib/generator.rb
trackler-2.1.0.2 tracks/ruby/lib/generator.rb
trackler-2.1.0.1 tracks/ruby/lib/generator.rb
trackler-2.1.0.0 tracks/ruby/lib/generator.rb
trackler-2.0.8.55 tracks/ruby/lib/generator.rb
trackler-2.0.8.54 tracks/ruby/lib/generator.rb
trackler-2.0.8.53 tracks/ruby/lib/generator.rb
trackler-2.0.8.52 tracks/ruby/lib/generator.rb
trackler-2.0.8.51 tracks/ruby/lib/generator.rb
trackler-2.0.8.50 tracks/ruby/lib/generator.rb
trackler-2.0.8.49 tracks/ruby/lib/generator.rb
trackler-2.0.8.48 tracks/ruby/lib/generator.rb