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-0.6.27 lib/templates/project/model/model.rb.erb
gooddata-0.6.26 lib/templates/project/model/model.rb.erb
gooddata-0.6.25 lib/templates/project/model/model.rb.erb
gooddata-0.6.24 lib/templates/project/model/model.rb.erb
gooddata-0.6.23 lib/templates/project/model/model.rb.erb
gooddata-0.6.22 lib/templates/project/model/model.rb.erb
gooddata-0.6.20 lib/templates/project/model/model.rb.erb
gooddata-0.6.19 lib/templates/project/model/model.rb.erb