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-2.1.0-java lib/templates/project/model/model.rb.erb
gooddata-2.1.0 lib/templates/project/model/model.rb.erb
gooddata-2.0.1-java lib/templates/project/model/model.rb.erb
gooddata-2.0.1 lib/templates/project/model/model.rb.erb
gooddata-2.0.0-java lib/templates/project/model/model.rb.erb
gooddata-2.0.0 lib/templates/project/model/model.rb.erb
gooddata-1.3.6-java lib/templates/project/model/model.rb.erb
gooddata-1.3.6 lib/templates/project/model/model.rb.erb
gooddata-1.3.5-java lib/templates/project/model/model.rb.erb
gooddata-1.3.5 lib/templates/project/model/model.rb.erb
gooddata-1.3.4-java lib/templates/project/model/model.rb.erb
gooddata-1.3.4 lib/templates/project/model/model.rb.erb
gooddata-1.3.3-java lib/templates/project/model/model.rb.erb
gooddata-1.3.3 lib/templates/project/model/model.rb.erb
gooddata-1.3.2-java lib/templates/project/model/model.rb.erb
gooddata-1.3.2 lib/templates/project/model/model.rb.erb
gooddata-1.3.1-java lib/templates/project/model/model.rb.erb
gooddata-1.3.1 lib/templates/project/model/model.rb.erb
gooddata-1.3.0-java lib/templates/project/model/model.rb.erb
gooddata-1.3.0 lib/templates/project/model/model.rb.erb