-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from kingdonb/release-0.1.3
Release 0.1.3
- Loading branch information
Showing
22 changed files
with
603 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
sample: bundle exec ruby ./cli sample | ||
# projer: bundle exec ruby ./cli proj | ||
leafer: bundle exec ruby ./cli leaf | ||
# leafer2: bundle exec ruby ./cli leaf2 | ||
# leafer3: bundle exec ruby ./cli leaf3 | ||
# leafer4: bundle exec ruby ./cli leaf4 | ||
measure: bundle exec ruby ./cli measure | ||
|
||
pkvsample: bundle exec ruby ./cli pkvsample | ||
# packageversioner: bundle exec ruby ./cli packageversion | ||
# versionleafer: bundle exec ruby ./cli versionleaf | ||
# measver: bundle exec ruby ./cli measureversion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Version < ApplicationRecord | ||
belongs_to :package | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class VersionMeasurement < ApplicationRecord | ||
belongs_to :package | ||
belongs_to :version | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class CreateVersions < ActiveRecord::Migration[7.0] | ||
def change | ||
create_table :versions do |t| | ||
t.references :package, null: false, foreign_key: true | ||
t.string :version | ||
t.integer :download_count | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class CreateVersionMeasurements < ActiveRecord::Migration[7.0] | ||
def change | ||
create_table :version_measurements do |t| | ||
t.references :package, null: false, foreign_key: true | ||
t.references :version, null: false, foreign_key: true | ||
t.integer :count | ||
t.datetime :measured_at | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.