hubstats 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5473f9fc248383e204d11d8643590e26f8d4e888
4
- data.tar.gz: d8219eb00add8a55eb95ef2b8c5e81f3bf16a916
3
+ metadata.gz: c835bd76a59e52582eff31cbe3c7dfbc6b59731f
4
+ data.tar.gz: 3b433da0d8e961a7987a1eef6219b5963da2d145
5
5
  SHA512:
6
- metadata.gz: e76fe0ec4c7edbee307e1f461012937410519e781ae71d830079e7a2770f64fe1c9dcefa33e5b3fb0e2e580fa43ec7c5fc34b8541266b3a5c9c1c245355d85ae
7
- data.tar.gz: 70f305f57974668935cb2f34a59b477b1de87cdf9b3fb4fd30373901400d5e77a30cdefd7e1bf830fdaf16edd4f7b62ef5c139d6a5a0fcc687c68124a03efebb
6
+ metadata.gz: 18e939382d26dc3dbee69423f1938010276e21b9db424a72f415edc711abf1a46ceb45c97718ef6944c5a649057315e4f669fe737c805d942e348121593005ad
7
+ data.tar.gz: 83495a30f26f2b8df04ad7deb78a241fb277b51047589760f74bc3aa5562fc86ff2c0f0aa02514304be758a5352e4023762c756b92e7ff4d0b82a8abece744ba
@@ -1,3 +1,4 @@
1
+ #### v0.5.7
1
2
  #### v0.5.6
2
3
  * Fixing bug that makes metrics not show up on teams and repos page
3
4
 
@@ -1,8 +1,6 @@
1
1
  module Hubstats
2
2
  class User < ActiveRecord::Base
3
3
 
4
- def self.record_timestamps; false; end
5
-
6
4
  # Various checks that can be used to filter and find info about users.
7
5
  scope :with_id, lambda {|user_id| where(id: user_id.split(',')) if user_id}
8
6
  scope :only_active, having("comment_count > 0 OR pull_request_count > 0 OR deploy_count > 0")
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
@@ -14,9 +14,13 @@
14
14
  ActiveRecord::Schema.define(:version => 20150721193128) do
15
15
 
16
16
  create_table "hubstats_comments", :force => true do |t|
17
- t.string "html_url"
18
- t.string "url"
19
- t.string "pull_request_url"
17
+ t.string "kind"
18
+ t.integer "user_id"
19
+ t.integer "pull_request_id"
20
+ t.integer "repo_id"
21
+ t.datetime "created_at"
22
+ t.datetime "updated_at"
23
+ t.string "body"
20
24
  t.string "diff_hunk"
21
25
  t.integer "path"
22
26
  t.integer "position"
@@ -24,13 +28,9 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
24
28
  t.string "line"
25
29
  t.string "commit_id"
26
30
  t.string "original_commit_id"
27
- t.string "body"
28
- t.string "kind"
29
- t.integer "user_id"
30
- t.integer "pull_request_id"
31
- t.integer "repo_id"
32
- t.datetime "created_at", :null => false
33
- t.datetime "updated_at", :null => false
31
+ t.string "html_url"
32
+ t.string "url"
33
+ t.string "pull_request_url"
34
34
  end
35
35
 
36
36
  add_index "hubstats_comments", ["pull_request_id"], :name => "index_hubstats_comments_on_pull_request_id"
@@ -61,6 +61,17 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
61
61
  add_index "hubstats_labels_pull_requests", ["pull_request_id"], :name => "index_hubstats_labels_pull_requests_on_pull_request_id"
62
62
 
63
63
  create_table "hubstats_pull_requests", :force => true do |t|
64
+ t.integer "number"
65
+ t.integer "user_id"
66
+ t.integer "repo_id"
67
+ t.datetime "created_at"
68
+ t.datetime "updated_at"
69
+ t.datetime "closed_at"
70
+ t.integer "additions"
71
+ t.integer "deletions"
72
+ t.integer "comments"
73
+ t.integer "commits"
74
+ t.integer "changed_files"
64
75
  t.string "url"
65
76
  t.string "html_url"
66
77
  t.string "diff_url"
@@ -71,23 +82,12 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
71
82
  t.string "review_comment_url"
72
83
  t.string "comments_url"
73
84
  t.string "statuses_url"
74
- t.integer "number"
75
85
  t.string "state"
76
86
  t.string "title"
77
87
  t.string "body"
78
- t.datetime "created_at", :null => false
79
- t.datetime "updated_at", :null => false
80
- t.datetime "closed_at"
81
88
  t.string "merge_commit_sha"
82
89
  t.string "merged"
83
90
  t.string "mergeable"
84
- t.integer "comments"
85
- t.integer "commits"
86
- t.integer "additions"
87
- t.integer "deletions"
88
- t.integer "changed_files"
89
- t.integer "user_id"
90
- t.integer "repo_id"
91
91
  t.integer "deploy_id"
92
92
  t.integer "merged_by"
93
93
  t.datetime "merged_at"
@@ -100,10 +100,24 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
100
100
  add_index "hubstats_pull_requests", ["user_id"], :name => "index_hubstats_pull_requests_on_user_id"
101
101
 
102
102
  create_table "hubstats_repos", :force => true do |t|
103
+ t.integer "owner_id"
103
104
  t.string "name"
104
105
  t.string "full_name"
106
+ t.datetime "pushed_at"
107
+ t.datetime "created_at"
108
+ t.datetime "updated_at"
105
109
  t.string "homepage"
106
110
  t.string "language"
111
+ t.integer "forks_count"
112
+ t.integer "stargazers_count"
113
+ t.integer "watches_count"
114
+ t.integer "size"
115
+ t.integer "open_issues_count"
116
+ t.boolean "has_issues"
117
+ t.boolean "has_wiki"
118
+ t.boolean "has_downloads"
119
+ t.boolean "private"
120
+ t.boolean "fork"
107
121
  t.string "description"
108
122
  t.string "default_branch"
109
123
  t.string "url"
@@ -123,20 +137,6 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
123
137
  t.string "issues_url"
124
138
  t.string "pulls_url"
125
139
  t.string "labels_url"
126
- t.integer "forks_count"
127
- t.integer "stargazers_count"
128
- t.integer "watches_count"
129
- t.integer "size"
130
- t.integer "open_issues_count"
131
- t.boolean "has_issues"
132
- t.boolean "has_wiki"
133
- t.boolean "has_downloads"
134
- t.boolean "private"
135
- t.boolean "fork"
136
- t.datetime "pushed_at"
137
- t.datetime "created_at", :null => false
138
- t.datetime "updated_at", :null => false
139
- t.integer "owner_id"
140
140
  end
141
141
 
142
142
  add_index "hubstats_repos", ["owner_id"], :name => "index_hubstats_repos_on_owner_id"
@@ -156,6 +156,10 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
156
156
 
157
157
  create_table "hubstats_users", :force => true do |t|
158
158
  t.string "login"
159
+ t.string "role"
160
+ t.boolean "site_admin"
161
+ t.datetime "created_at", :null => false
162
+ t.datetime "updated_at", :null => false
159
163
  t.string "avatar_url"
160
164
  t.string "gravatar_id"
161
165
  t.string "url"
@@ -169,10 +173,6 @@ ActiveRecord::Schema.define(:version => 20150721193128) do
169
173
  t.string "repos_url"
170
174
  t.string "events_url"
171
175
  t.string "received_events_url"
172
- t.string "role"
173
- t.boolean "site_admin"
174
- t.datetime "created_at", :null => false
175
- t.datetime "updated_at", :null => false
176
176
  end
177
177
 
178
178
  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.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-23 00:00:00.000000000 Z
12
+ date: 2015-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails