Sha256: dbc725c4d0b767c30923800c9895300fd51412ddaffb990e0ca3f956739cefb4
Contents?: true
Size: 664 Bytes
Versions: 4
Compression:
Stored size: 664 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("dev_id", :dataset => 'devs', :reference => 'dev_id') d.add_reference("repo_id", :dataset => 'repos', :reference => 'repo_id') end end
Version data entries
4 entries across 4 versions & 1 rubygems