Sha256: 6942e49baea5df0ae9c776237eeca9efbddd277ba756c7fdfc7def06d6fab4c1

Contents?: true

Size: 539 Bytes

Versions: 108

Compression:

Stored size: 539 Bytes

Contents

GoodData::Model::ProjectBuilder.create("Test project") do |p|
  p.add_date_dimension("committed_on")

  p.add_dataset("repos") do |d|
      d.add_anchor("repo_id")
      d.add_label("name", :reference => "repo_id")
  end

  p.add_dataset("devs") do |d|
      d.add_anchor("dev_id")
      d.add_label("email", :reference => "dev_id")
  end

  p.add_dataset("commits") do |d|
      d.add_fact("lines_changed")
      d.add_date("committed_on", :dataset => "committed_on")
      d.add_reference('devs')
      d.add_reference('repos')
  end
end

Version data entries

108 entries across 108 versions & 2 rubygems

Version Path
gooddata-1.2.1-java lib/templates/project/model/model.rb.erb
gooddata-1.2.1 lib/templates/project/model/model.rb.erb
gooddata-1.2.0-java lib/templates/project/model/model.rb.erb
gooddata-1.2.0 lib/templates/project/model/model.rb.erb
gooddata-1.1.0-java lib/templates/project/model/model.rb.erb
gooddata-1.1.0 lib/templates/project/model/model.rb.erb
gooddata-1.0.2-java lib/templates/project/model/model.rb.erb
gooddata-1.0.2 lib/templates/project/model/model.rb.erb
gooddata-1.0.1 lib/templates/project/model/model.rb.erb
gooddata-1.0.1-java lib/templates/project/model/model.rb.erb
gooddata-1.0.0-java lib/templates/project/model/model.rb.erb
gooddata-1.0.0 lib/templates/project/model/model.rb.erb
gooddata-0.6.54 lib/templates/project/model/model.rb.erb
gooddata-edge-0.6.27.edge lib/templates/project/model/model.rb.erb
gooddata-0.6.53 lib/templates/project/model/model.rb.erb
gooddata-0.6.52 lib/templates/project/model/model.rb.erb
gooddata-0.6.51 lib/templates/project/model/model.rb.erb
gooddata-0.6.50 lib/templates/project/model/model.rb.erb
gooddata-0.6.49 lib/templates/project/model/model.rb.erb
gooddata-0.6.48 lib/templates/project/model/model.rb.erb