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.3.1-java lib/templates/project/model/model.rb.erb
gooddata-2.3.1 lib/templates/project/model/model.rb.erb
gooddata-2.3.0-java lib/templates/project/model/model.rb.erb
gooddata-2.3.0 lib/templates/project/model/model.rb.erb
gooddata-2.2.0-java lib/templates/project/model/model.rb.erb
gooddata-2.2.0 lib/templates/project/model/model.rb.erb
gooddata-2.1.19-java lib/templates/project/model/model.rb.erb
gooddata-2.1.19 lib/templates/project/model/model.rb.erb
gooddata-2.1.17-java lib/templates/project/model/model.rb.erb
gooddata-2.1.17 lib/templates/project/model/model.rb.erb
gooddata-2.1.15-java lib/templates/project/model/model.rb.erb
gooddata-2.1.15 lib/templates/project/model/model.rb.erb
gooddata-2.1.14-java lib/templates/project/model/model.rb.erb
gooddata-2.1.14 lib/templates/project/model/model.rb.erb
gooddata-2.1.13-java lib/templates/project/model/model.rb.erb
gooddata-2.1.13 lib/templates/project/model/model.rb.erb
gooddata-2.1.12-java lib/templates/project/model/model.rb.erb
gooddata-2.1.12 lib/templates/project/model/model.rb.erb
gooddata-2.1.11-java lib/templates/project/model/model.rb.erb
gooddata-2.1.11 lib/templates/project/model/model.rb.erb