hubstats 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +5 -0
- data/db/migrate/20160113175649_add_body_text_column_to_comments.rb +5 -0
- data/db/migrate/20160113181700_copy_body_string_to_body_text.rb +9 -0
- data/db/migrate/20160113182307_rename_body_to_body_string.rb +5 -0
- data/db/migrate/20160113182356_rename_body_text_to_body.rb +5 -0
- data/lib/hubstats/version.rb +1 -1
- data/test/dummy/db/schema.rb +82 -81
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2738f6ee65f0bed9dff4a71540fd79964f8dfc9c
|
4
|
+
data.tar.gz: 779362d9a0ea7c117da03fe4a7352528fb272658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dda1b252f7e89bb93300ffd724125bbef3e5967c3d0ba068ccb5781b3b7e5abf3e8503fa5511aef63572de3a660963db3d7463ae7c0c6ee2488f75274882475
|
7
|
+
data.tar.gz: f41d5098db46c9f572771b3268a52ce263314eed34f73fa5b4db7667481bbd51bf1b6d66581bd1739e61483a30c3e8c4fabff4ffa8d7c801d155b33bff223824
|
data/CHANGELOG.markdown
CHANGED
data/lib/hubstats/version.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -9,113 +9,114 @@
|
|
9
9
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
10
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
11
|
#
|
12
|
-
# It's strongly recommended
|
13
|
-
|
14
|
-
ActiveRecord::Schema.define(:
|
15
|
-
|
16
|
-
create_table "hubstats_comments", :
|
17
|
-
t.string "
|
18
|
-
t.
|
19
|
-
t.
|
20
|
-
t.integer "
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20160113182419) do
|
15
|
+
|
16
|
+
create_table "hubstats_comments", force: :cascade do |t|
|
17
|
+
t.string "html_url", limit: 255
|
18
|
+
t.string "url", limit: 255
|
19
|
+
t.string "pull_request_url", limit: 255
|
20
|
+
t.integer "path", limit: 4
|
21
|
+
t.string "body_string", limit: 255
|
22
|
+
t.string "kind", limit: 255
|
23
|
+
t.integer "user_id", limit: 4
|
24
|
+
t.integer "pull_request_id", limit: 4
|
25
|
+
t.integer "repo_id", limit: 4
|
21
26
|
t.datetime "created_at"
|
22
27
|
t.datetime "updated_at"
|
23
|
-
t.
|
24
|
-
t.integer "path"
|
25
|
-
t.string "html_url"
|
26
|
-
t.string "url"
|
27
|
-
t.string "pull_request_url"
|
28
|
+
t.text "body", limit: 65535
|
28
29
|
end
|
29
30
|
|
30
|
-
add_index "hubstats_comments", ["pull_request_id"], :
|
31
|
-
add_index "hubstats_comments", ["user_id"], :
|
31
|
+
add_index "hubstats_comments", ["pull_request_id"], name: "index_hubstats_comments_on_pull_request_id", using: :btree
|
32
|
+
add_index "hubstats_comments", ["user_id"], name: "index_hubstats_comments_on_user_id", using: :btree
|
32
33
|
|
33
|
-
create_table "hubstats_deploys", :
|
34
|
-
t.string "git_revision"
|
35
|
-
t.integer "repo_id"
|
34
|
+
create_table "hubstats_deploys", force: :cascade do |t|
|
35
|
+
t.string "git_revision", limit: 255
|
36
|
+
t.integer "repo_id", limit: 4
|
36
37
|
t.datetime "deployed_at"
|
37
|
-
t.integer "user_id"
|
38
|
+
t.integer "user_id", limit: 4
|
38
39
|
end
|
39
40
|
|
40
|
-
add_index "hubstats_deploys", ["repo_id"], :
|
41
|
-
add_index "hubstats_deploys", ["user_id"], :
|
41
|
+
add_index "hubstats_deploys", ["repo_id"], name: "index_hubstats_deploys_on_repo_id", using: :btree
|
42
|
+
add_index "hubstats_deploys", ["user_id"], name: "index_hubstats_deploys_on_user_id", using: :btree
|
42
43
|
|
43
|
-
create_table "hubstats_labels", :
|
44
|
-
t.string "name"
|
45
|
-
t.string "color"
|
46
|
-
t.string "url"
|
44
|
+
create_table "hubstats_labels", force: :cascade do |t|
|
45
|
+
t.string "name", limit: 255
|
46
|
+
t.string "color", limit: 255
|
47
|
+
t.string "url", limit: 255
|
47
48
|
end
|
48
49
|
|
49
|
-
create_table "hubstats_labels_pull_requests", :
|
50
|
-
t.integer "pull_request_id"
|
51
|
-
t.integer "label_id"
|
50
|
+
create_table "hubstats_labels_pull_requests", force: :cascade do |t|
|
51
|
+
t.integer "pull_request_id", limit: 4
|
52
|
+
t.integer "label_id", limit: 4
|
52
53
|
end
|
53
54
|
|
54
|
-
add_index "hubstats_labels_pull_requests", ["label_id"], :
|
55
|
-
add_index "hubstats_labels_pull_requests", ["pull_request_id"], :
|
56
|
-
|
57
|
-
create_table "hubstats_pull_requests", :
|
58
|
-
t.
|
59
|
-
t.
|
60
|
-
t.
|
61
|
-
t.
|
62
|
-
t.
|
55
|
+
add_index "hubstats_labels_pull_requests", ["label_id"], name: "index_hubstats_labels_pull_requests_on_label_id", using: :btree
|
56
|
+
add_index "hubstats_labels_pull_requests", ["pull_request_id"], name: "index_hubstats_labels_pull_requests_on_pull_request_id", using: :btree
|
57
|
+
|
58
|
+
create_table "hubstats_pull_requests", force: :cascade do |t|
|
59
|
+
t.string "url", limit: 255
|
60
|
+
t.string "html_url", limit: 255
|
61
|
+
t.string "issue_url", limit: 255
|
62
|
+
t.integer "number", limit: 4
|
63
|
+
t.string "state", limit: 255
|
64
|
+
t.string "title", limit: 255
|
65
|
+
t.datetime "created_at", null: false
|
66
|
+
t.datetime "updated_at", null: false
|
63
67
|
t.datetime "closed_at"
|
64
|
-
t.
|
65
|
-
t.integer "
|
66
|
-
t.integer "
|
67
|
-
t.
|
68
|
-
t.
|
69
|
-
t.
|
70
|
-
t.
|
71
|
-
t.
|
72
|
-
t.string "merged"
|
73
|
-
t.integer "deploy_id"
|
74
|
-
t.integer "merged_by"
|
68
|
+
t.string "merged", limit: 255
|
69
|
+
t.integer "comments", limit: 4
|
70
|
+
t.integer "additions", limit: 4
|
71
|
+
t.integer "deletions", limit: 4
|
72
|
+
t.integer "user_id", limit: 4
|
73
|
+
t.integer "repo_id", limit: 4
|
74
|
+
t.integer "deploy_id", limit: 4
|
75
|
+
t.integer "merged_by", limit: 4
|
75
76
|
t.datetime "merged_at"
|
76
|
-
t.integer "team_id"
|
77
|
+
t.integer "team_id", limit: 4
|
77
78
|
end
|
78
79
|
|
79
|
-
add_index "hubstats_pull_requests", ["deploy_id"], :
|
80
|
-
add_index "hubstats_pull_requests", ["repo_id"], :
|
81
|
-
add_index "hubstats_pull_requests", ["team_id"], :
|
82
|
-
add_index "hubstats_pull_requests", ["user_id"], :
|
83
|
-
|
84
|
-
create_table "hubstats_repos", :
|
85
|
-
t.
|
86
|
-
t.string "
|
87
|
-
t.string "
|
80
|
+
add_index "hubstats_pull_requests", ["deploy_id"], name: "index_hubstats_pull_requests_on_deploy_id", using: :btree
|
81
|
+
add_index "hubstats_pull_requests", ["repo_id"], name: "index_hubstats_pull_requests_on_repo_id", using: :btree
|
82
|
+
add_index "hubstats_pull_requests", ["team_id"], name: "index_hubstats_pull_requests_on_team_id", using: :btree
|
83
|
+
add_index "hubstats_pull_requests", ["user_id"], name: "index_hubstats_pull_requests_on_user_id", using: :btree
|
84
|
+
|
85
|
+
create_table "hubstats_repos", force: :cascade do |t|
|
86
|
+
t.string "name", limit: 255
|
87
|
+
t.string "full_name", limit: 255
|
88
|
+
t.string "url", limit: 255
|
89
|
+
t.string "html_url", limit: 255
|
90
|
+
t.string "labels_url", limit: 255
|
88
91
|
t.datetime "pushed_at"
|
89
|
-
t.datetime "created_at"
|
90
|
-
t.datetime "updated_at"
|
91
|
-
t.
|
92
|
-
t.string "html_url"
|
93
|
-
t.string "labels_url"
|
92
|
+
t.datetime "created_at", null: false
|
93
|
+
t.datetime "updated_at", null: false
|
94
|
+
t.integer "owner_id", limit: 4
|
94
95
|
end
|
95
96
|
|
96
|
-
add_index "hubstats_repos", ["owner_id"], :
|
97
|
+
add_index "hubstats_repos", ["owner_id"], name: "index_hubstats_repos_on_owner_id", using: :btree
|
97
98
|
|
98
|
-
create_table "hubstats_teams", :
|
99
|
-
t.string "name"
|
99
|
+
create_table "hubstats_teams", force: :cascade do |t|
|
100
|
+
t.string "name", limit: 255
|
100
101
|
t.boolean "hubstats"
|
101
102
|
end
|
102
103
|
|
103
|
-
create_table "hubstats_teams_users", :
|
104
|
-
t.integer "user_id"
|
105
|
-
t.integer "team_id"
|
104
|
+
create_table "hubstats_teams_users", force: :cascade do |t|
|
105
|
+
t.integer "user_id", limit: 4
|
106
|
+
t.integer "team_id", limit: 4
|
106
107
|
end
|
107
108
|
|
108
|
-
add_index "hubstats_teams_users", ["team_id"], :
|
109
|
-
add_index "hubstats_teams_users", ["user_id"], :
|
110
|
-
|
111
|
-
create_table "hubstats_users", :
|
112
|
-
t.string "login"
|
113
|
-
t.string "
|
114
|
-
t.
|
115
|
-
t.
|
116
|
-
t.string "
|
117
|
-
t.
|
118
|
-
t.
|
109
|
+
add_index "hubstats_teams_users", ["team_id"], name: "index_hubstats_teams_users_on_team_id", using: :btree
|
110
|
+
add_index "hubstats_teams_users", ["user_id"], name: "index_hubstats_teams_users_on_user_id", using: :btree
|
111
|
+
|
112
|
+
create_table "hubstats_users", force: :cascade do |t|
|
113
|
+
t.string "login", limit: 255
|
114
|
+
t.string "avatar_url", limit: 255
|
115
|
+
t.string "url", limit: 255
|
116
|
+
t.string "html_url", limit: 255
|
117
|
+
t.string "role", limit: 255
|
118
|
+
t.datetime "created_at", null: false
|
119
|
+
t.datetime "updated_at", null: false
|
119
120
|
end
|
120
121
|
|
121
122
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubstats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Hursh
|
@@ -298,6 +298,10 @@ files:
|
|
298
298
|
- db/migrate/20150713185013_add_team_id_to_prs.rb
|
299
299
|
- db/migrate/20150721192612_add_indexes_to_tables.rb
|
300
300
|
- db/migrate/20160112143749_delete_unused_columns.rb
|
301
|
+
- db/migrate/20160113175649_add_body_text_column_to_comments.rb
|
302
|
+
- db/migrate/20160113181700_copy_body_string_to_body_text.rb
|
303
|
+
- db/migrate/20160113182307_rename_body_to_body_string.rb
|
304
|
+
- db/migrate/20160113182356_rename_body_text_to_body.rb
|
301
305
|
- db/seeds.rb
|
302
306
|
- hubstats.gemspec
|
303
307
|
- lib/generators/hubstats/install_generator.rb
|