hubstats 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +5 -13
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/CHANGELOG.markdown +5 -0
  5. data/README.md +64 -22
  6. data/app/assets/javascripts/hubstats/pull_requests.js +5 -0
  7. data/app/assets/javascripts/hubstats/select2.js +46 -3
  8. data/app/assets/javascripts/hubstats/users.js +8 -0
  9. data/app/assets/stylesheets/hubstats/application.css +5 -1
  10. data/app/controllers/hubstats/pull_requests_controller.rb +2 -3
  11. data/app/controllers/hubstats/repos_controller.rb +7 -12
  12. data/app/controllers/hubstats/teams_controller.rb +62 -0
  13. data/app/controllers/hubstats/users_controller.rb +9 -8
  14. data/app/models/hubstats/comment.rb +1 -0
  15. data/app/models/hubstats/pull_request.rb +40 -8
  16. data/app/models/hubstats/repo.rb +1 -1
  17. data/app/models/hubstats/team.rb +159 -0
  18. data/app/models/hubstats/user.rb +10 -1
  19. data/app/views/hubstats/deploys/show.html.erb +1 -4
  20. data/app/views/hubstats/partials/_comment-condensed.html.erb +1 -0
  21. data/app/views/hubstats/partials/_comment.html.erb +1 -0
  22. data/app/views/hubstats/partials/_footer.html.erb +3 -0
  23. data/app/views/hubstats/partials/_header.html.erb +5 -3
  24. data/app/views/hubstats/partials/_team.html.erb +40 -0
  25. data/app/views/hubstats/partials/_user-condensed.html.erb +6 -5
  26. data/app/views/hubstats/partials/_user.html.erb +2 -1
  27. data/app/views/hubstats/pull_requests/index.html.erb +4 -0
  28. data/app/views/hubstats/repos/dashboard.html.erb +0 -1
  29. data/app/views/hubstats/repos/show.html.erb +1 -1
  30. data/app/views/hubstats/tables/_comments-condensed.html.erb +1 -1
  31. data/app/views/hubstats/tables/_comments.html.erb +1 -1
  32. data/app/views/hubstats/tables/_deploys.html.erb +1 -1
  33. data/app/views/hubstats/tables/_grouped_deploys.html.erb +1 -1
  34. data/app/views/hubstats/tables/_grouped_pulls.html.erb +1 -1
  35. data/app/views/hubstats/tables/_pulls-condensed.html.erb +1 -1
  36. data/app/views/hubstats/tables/_pulls.html.erb +1 -1
  37. data/app/views/hubstats/tables/_repos-condensed.html.erb +1 -1
  38. data/app/views/hubstats/tables/_repos.html.erb +2 -2
  39. data/app/views/hubstats/tables/_teams.html.erb +28 -0
  40. data/app/views/hubstats/tables/_users-condensed.html.erb +1 -1
  41. data/app/views/hubstats/tables/_users.html.erb +2 -2
  42. data/app/views/hubstats/teams/index.html.erb +10 -0
  43. data/app/views/hubstats/teams/show.html.erb +28 -0
  44. data/app/views/hubstats/users/show.html.erb +2 -2
  45. data/config/routes.rb +4 -3
  46. data/db/migrate/20150706204910_create_hubstats_teams.rb +8 -0
  47. data/db/migrate/20150706205049_create_hubstats_teams_users.rb +8 -0
  48. data/db/migrate/20150713185013_add_team_id_to_prs.rb +5 -0
  49. data/hubstats.gemspec +2 -1
  50. data/lib/generators/hubstats/octokit.example.yml +3 -1
  51. data/lib/hubstats/events_handler.rb +20 -0
  52. data/lib/hubstats/github_api.rb +71 -15
  53. data/lib/hubstats/version.rb +1 -1
  54. data/lib/tasks/hubstats_tasks.rake +19 -0
  55. data/lib/tasks/populate_task.rake +35 -2
  56. data/spec/controllers/hubstats/repos_controller_spec.rb +1 -0
  57. data/spec/controllers/hubstats/teams_controller_spec.rb +39 -0
  58. data/spec/controllers/hubstats/users_controller_spec.rb +2 -0
  59. data/spec/factories/pull_requests.rb +1 -1
  60. data/spec/factories/teams.rb +24 -0
  61. data/spec/factories/users.rb +0 -1
  62. data/spec/lib/hubstats/events_handler_spec.rb +37 -7
  63. data/spec/lib/hubstats/github_api_spec.rb +55 -2
  64. data/spec/lib/hubstats_spec.rb +7 -1
  65. data/spec/models/hubstats/pull_request_spec.rb +34 -0
  66. data/spec/models/hubstats/team_spec.rb +23 -0
  67. data/spec/models/hubstats/user_spec.rb +26 -0
  68. data/test/dummy/config/initializers/octokit_patch.rb +3 -0
  69. data/test/dummy/db/schema.rb +51 -40
  70. metadata +62 -29
@@ -18,5 +18,31 @@ module Hubstats
18
18
  expect(user2.login).to eq("johndoe")
19
19
  expect(user1.login).not_to eq("johnapplesdeed")
20
20
  end
21
+
22
+ it 'should find the team that this user belongs to' do
23
+ team = create(:team)
24
+ user = create(:user, login: 'janedoe', id: 11)
25
+ team.users << user
26
+ expect(user.login).to eq('janedoe')
27
+ expect(user.team).to eq(team)
28
+ end
29
+
30
+ it 'should find first team that this user belongs to' do
31
+ team1 = create(:team, name: "sad")
32
+ team2 = create(:team, name: "happy")
33
+ user = create(:user, login: 'janedoe', id: 11)
34
+ team1.users << user
35
+ team2.users << user
36
+ expect(user.login).to eq('janedoe')
37
+ expect(user.team).to eq(team1)
38
+ end
39
+
40
+ it 'should return no team if the hubstats bool is false' do
41
+ team = create(:team, hubstats: false)
42
+ user = create(:user, login: 'janedoe', id: 11)
43
+ team.users << user
44
+ expect(user.login).to eq('janedoe')
45
+ expect(user.team).to eq(nil)
46
+ end
21
47
  end
22
48
  end
@@ -0,0 +1,3 @@
1
+ Octokit.configure do |c|
2
+ c.connection_options[:ssl] = { :version => :TLSv1 }
3
+ end
@@ -11,16 +11,12 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20150706210701) do
14
+ ActiveRecord::Schema.define(:version => 20150713185100) do
15
15
 
16
16
  create_table "hubstats_comments", :force => true do |t|
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"
17
+ t.string "html_url"
18
+ t.string "url"
19
+ t.string "pull_request_url"
24
20
  t.string "diff_hunk"
25
21
  t.integer "path"
26
22
  t.integer "position"
@@ -28,9 +24,13 @@ ActiveRecord::Schema.define(:version => 20150706210701) do
28
24
  t.string "line"
29
25
  t.string "commit_id"
30
26
  t.string "original_commit_id"
31
- t.string "html_url"
32
- t.string "url"
33
- t.string "pull_request_url"
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
34
34
  end
35
35
 
36
36
  add_index "hubstats_comments", ["pull_request_id"], :name => "index_hubstats_comments_on_pull_request_id"
@@ -55,17 +55,6 @@ ActiveRecord::Schema.define(:version => 20150706210701) do
55
55
  end
56
56
 
57
57
  create_table "hubstats_pull_requests", :force => true do |t|
58
- t.integer "number"
59
- t.integer "user_id"
60
- t.integer "repo_id"
61
- t.datetime "created_at"
62
- t.datetime "updated_at"
63
- t.datetime "closed_at"
64
- t.integer "additions"
65
- t.integer "deletions"
66
- t.integer "comments"
67
- t.integer "commits"
68
- t.integer "changed_files"
69
58
  t.string "url"
70
59
  t.string "html_url"
71
60
  t.string "diff_url"
@@ -76,39 +65,37 @@ ActiveRecord::Schema.define(:version => 20150706210701) do
76
65
  t.string "review_comment_url"
77
66
  t.string "comments_url"
78
67
  t.string "statuses_url"
68
+ t.integer "number"
79
69
  t.string "state"
80
70
  t.string "title"
81
71
  t.string "body"
72
+ t.datetime "created_at", :null => false
73
+ t.datetime "updated_at", :null => false
74
+ t.datetime "closed_at"
82
75
  t.string "merge_commit_sha"
83
76
  t.string "merged"
84
77
  t.string "mergeable"
78
+ t.integer "comments"
79
+ t.integer "commits"
80
+ t.integer "additions"
81
+ t.integer "deletions"
82
+ t.integer "changed_files"
83
+ t.integer "user_id"
84
+ t.integer "repo_id"
85
85
  t.integer "deploy_id"
86
86
  t.integer "merged_by"
87
87
  t.datetime "merged_at"
88
+ t.integer "team_id"
88
89
  end
89
90
 
90
91
  add_index "hubstats_pull_requests", ["repo_id"], :name => "index_hubstats_pull_requests_on_repo_id"
91
92
  add_index "hubstats_pull_requests", ["user_id"], :name => "index_hubstats_pull_requests_on_user_id"
92
93
 
93
94
  create_table "hubstats_repos", :force => true do |t|
94
- t.integer "owner_id"
95
95
  t.string "name"
96
96
  t.string "full_name"
97
- t.datetime "pushed_at"
98
- t.datetime "created_at"
99
- t.datetime "updated_at"
100
97
  t.string "homepage"
101
98
  t.string "language"
102
- t.integer "forks_count"
103
- t.integer "stargazers_count"
104
- t.integer "watches_count"
105
- t.integer "size"
106
- t.integer "open_issues_count"
107
- t.boolean "has_issues"
108
- t.boolean "has_wiki"
109
- t.boolean "has_downloads"
110
- t.boolean "private"
111
- t.boolean "fork"
112
99
  t.string "description"
113
100
  t.string "default_branch"
114
101
  t.string "url"
@@ -128,16 +115,36 @@ ActiveRecord::Schema.define(:version => 20150706210701) do
128
115
  t.string "issues_url"
129
116
  t.string "pulls_url"
130
117
  t.string "labels_url"
118
+ t.integer "forks_count"
119
+ t.integer "stargazers_count"
120
+ t.integer "watches_count"
121
+ t.integer "size"
122
+ t.integer "open_issues_count"
123
+ t.boolean "has_issues"
124
+ t.boolean "has_wiki"
125
+ t.boolean "has_downloads"
126
+ t.boolean "private"
127
+ t.boolean "fork"
128
+ t.datetime "pushed_at"
129
+ t.datetime "created_at", :null => false
130
+ t.datetime "updated_at", :null => false
131
+ t.integer "owner_id"
131
132
  end
132
133
 
133
134
  add_index "hubstats_repos", ["owner_id"], :name => "index_hubstats_repos_on_owner_id"
134
135
 
136
+ create_table "hubstats_teams", :force => true do |t|
137
+ t.string "name"
138
+ t.boolean "hubstats"
139
+ end
140
+
141
+ create_table "hubstats_teams_users", :force => true do |t|
142
+ t.integer "user_id"
143
+ t.integer "team_id"
144
+ end
145
+
135
146
  create_table "hubstats_users", :force => true do |t|
136
147
  t.string "login"
137
- t.string "role"
138
- t.boolean "site_admin"
139
- t.datetime "created_at", :null => false
140
- t.datetime "updated_at", :null => false
141
148
  t.string "avatar_url"
142
149
  t.string "gravatar_id"
143
150
  t.string "url"
@@ -151,6 +158,10 @@ ActiveRecord::Schema.define(:version => 20150706210701) do
151
158
  t.string "repos_url"
152
159
  t.string "events_url"
153
160
  t.string "received_events_url"
161
+ t.string "role"
162
+ t.boolean "site_admin"
163
+ t.datetime "created_at", :null => false
164
+ t.datetime "updated_at", :null => false
154
165
  end
155
166
 
156
167
  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.4.4
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -9,48 +9,48 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-10 00:00:00.000000000 Z
12
+ date: 2015-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.2.18
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.2.18
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: octokit
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '3.2'
34
+ version: '4.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '3.2'
41
+ version: '4.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: will_paginate-bootstrap
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
@@ -71,72 +71,86 @@ dependencies:
71
71
  name: bootstrap-datepicker-rails
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.4.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: 1.4.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec-rails
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: 3.0.0.beta
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: 3.0.0.beta
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: shoulda-matchers
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '2.6'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '2.6'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: factory_girl_rails
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ~>
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
118
  version: '4.4'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ~>
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
125
  version: '4.4'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: faker
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '1.3'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ~>
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '1.3'
140
+ - !ruby/object:Gem::Dependency
141
+ name: test-unit
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '3.0'
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '3.0'
140
154
  description: Github Statistics
141
155
  email:
142
156
  - elliothursh@gmail.com
@@ -145,12 +159,14 @@ executables: []
145
159
  extensions: []
146
160
  extra_rdoc_files: []
147
161
  files:
148
- - .codeclimate.yml
149
- - .gitignore
150
- - .octopolo.yml
151
- - .rspec
152
- - .soyuz.yml
153
- - .travis.yml
162
+ - ".codeclimate.yml"
163
+ - ".gitignore"
164
+ - ".octopolo.yml"
165
+ - ".rspec"
166
+ - ".ruby-gemset"
167
+ - ".ruby-version"
168
+ - ".soyuz.yml"
169
+ - ".travis.yml"
154
170
  - CHANGELOG.markdown
155
171
  - Gemfile
156
172
  - MIT-LICENSE
@@ -183,6 +199,7 @@ files:
183
199
  - app/controllers/hubstats/events_controller.rb
184
200
  - app/controllers/hubstats/pull_requests_controller.rb
185
201
  - app/controllers/hubstats/repos_controller.rb
202
+ - app/controllers/hubstats/teams_controller.rb
186
203
  - app/controllers/hubstats/users_controller.rb
187
204
  - app/helpers/hubstats/application_helper.rb
188
205
  - app/helpers/hubstats/events_helper.rb
@@ -194,6 +211,7 @@ files:
194
211
  - app/models/hubstats/label.rb
195
212
  - app/models/hubstats/pull_request.rb
196
213
  - app/models/hubstats/repo.rb
214
+ - app/models/hubstats/team.rb
197
215
  - app/models/hubstats/user.rb
198
216
  - app/views/hubstats/deploys/index.html.erb
199
217
  - app/views/hubstats/deploys/show.html.erb
@@ -208,6 +226,7 @@ files:
208
226
  - app/views/hubstats/partials/_quick_addition_stats.html.erb
209
227
  - app/views/hubstats/partials/_quick_stats.html.erb
210
228
  - app/views/hubstats/partials/_repo.html.erb
229
+ - app/views/hubstats/partials/_team.html.erb
211
230
  - app/views/hubstats/partials/_user-condensed.html.erb
212
231
  - app/views/hubstats/partials/_user.html.erb
213
232
  - app/views/hubstats/pull_requests/index.html.erb
@@ -224,8 +243,11 @@ files:
224
243
  - app/views/hubstats/tables/_pulls.html.erb
225
244
  - app/views/hubstats/tables/_repos-condensed.html.erb
226
245
  - app/views/hubstats/tables/_repos.html.erb
246
+ - app/views/hubstats/tables/_teams.html.erb
227
247
  - app/views/hubstats/tables/_users-condensed.html.erb
228
248
  - app/views/hubstats/tables/_users.html.erb
249
+ - app/views/hubstats/teams/index.html.erb
250
+ - app/views/hubstats/teams/show.html.erb
229
251
  - app/views/hubstats/users/index.html.erb
230
252
  - app/views/hubstats/users/show.html.erb
231
253
  - app/views/layouts/hubstats/application.html.erb
@@ -241,6 +263,9 @@ files:
241
263
  - db/migrate/20150605184015_add_user_id_delete_deployed_by_to_deploy.rb
242
264
  - db/migrate/20150605190549_add_merged_by_column_to_pull_request.rb
243
265
  - db/migrate/20150625164705_make_merged_at_datetime.rb
266
+ - db/migrate/20150706204910_create_hubstats_teams.rb
267
+ - db/migrate/20150706205049_create_hubstats_teams_users.rb
268
+ - db/migrate/20150713185013_add_team_id_to_prs.rb
244
269
  - db/seeds.rb
245
270
  - hubstats.gemspec
246
271
  - lib/generators/hubstats/install_generator.rb
@@ -259,11 +284,13 @@ files:
259
284
  - spec/controllers/hubstats/events_controller_spec.rb
260
285
  - spec/controllers/hubstats/pull_requests_controller_spec.rb
261
286
  - spec/controllers/hubstats/repos_controller_spec.rb
287
+ - spec/controllers/hubstats/teams_controller_spec.rb
262
288
  - spec/controllers/hubstats/users_controller_spec.rb
263
289
  - spec/factories/comment.rb
264
290
  - spec/factories/deploys.rb
265
291
  - spec/factories/pull_requests.rb
266
292
  - spec/factories/repo.rb
293
+ - spec/factories/teams.rb
267
294
  - spec/factories/users.rb
268
295
  - spec/helpers/hubstats/events_helper_spec.rb
269
296
  - spec/helpers/hubstats/pull_requests_helper_spec.rb
@@ -277,6 +304,7 @@ files:
277
304
  - spec/models/hubstats/label_spec.rb
278
305
  - spec/models/hubstats/pull_request_spec.rb
279
306
  - spec/models/hubstats/repo_spec.rb
307
+ - spec/models/hubstats/team_spec.rb
280
308
  - spec/models/hubstats/user_spec.rb
281
309
  - spec/spec_helper.rb
282
310
  - test/dummy/README.rdoc
@@ -297,6 +325,7 @@ files:
297
325
  - test/dummy/config/initializers/backtrace_silencers.rb
298
326
  - test/dummy/config/initializers/inflections.rb
299
327
  - test/dummy/config/initializers/mime_types.rb
328
+ - test/dummy/config/initializers/octokit_patch.rb
300
329
  - test/dummy/config/initializers/secret_token.rb
301
330
  - test/dummy/config/initializers/session_store.rb
302
331
  - test/dummy/config/initializers/wrap_parameters.rb
@@ -324,17 +353,17 @@ require_paths:
324
353
  - lib
325
354
  required_ruby_version: !ruby/object:Gem::Requirement
326
355
  requirements:
327
- - - ! '>='
356
+ - - ">="
328
357
  - !ruby/object:Gem::Version
329
358
  version: '0'
330
359
  required_rubygems_version: !ruby/object:Gem::Requirement
331
360
  requirements:
332
- - - ! '>='
361
+ - - ">="
333
362
  - !ruby/object:Gem::Version
334
363
  version: '0'
335
364
  requirements: []
336
365
  rubyforge_project:
337
- rubygems_version: 2.4.7
366
+ rubygems_version: 2.4.8
338
367
  signing_key:
339
368
  specification_version: 4
340
369
  summary: Github Statistics
@@ -343,11 +372,13 @@ test_files:
343
372
  - spec/controllers/hubstats/events_controller_spec.rb
344
373
  - spec/controllers/hubstats/pull_requests_controller_spec.rb
345
374
  - spec/controllers/hubstats/repos_controller_spec.rb
375
+ - spec/controllers/hubstats/teams_controller_spec.rb
346
376
  - spec/controllers/hubstats/users_controller_spec.rb
347
377
  - spec/factories/comment.rb
348
378
  - spec/factories/deploys.rb
349
379
  - spec/factories/pull_requests.rb
350
380
  - spec/factories/repo.rb
381
+ - spec/factories/teams.rb
351
382
  - spec/factories/users.rb
352
383
  - spec/helpers/hubstats/events_helper_spec.rb
353
384
  - spec/helpers/hubstats/pull_requests_helper_spec.rb
@@ -361,6 +392,7 @@ test_files:
361
392
  - spec/models/hubstats/label_spec.rb
362
393
  - spec/models/hubstats/pull_request_spec.rb
363
394
  - spec/models/hubstats/repo_spec.rb
395
+ - spec/models/hubstats/team_spec.rb
364
396
  - spec/models/hubstats/user_spec.rb
365
397
  - spec/spec_helper.rb
366
398
  - test/dummy/README.rdoc
@@ -381,6 +413,7 @@ test_files:
381
413
  - test/dummy/config/initializers/backtrace_silencers.rb
382
414
  - test/dummy/config/initializers/inflections.rb
383
415
  - test/dummy/config/initializers/mime_types.rb
416
+ - test/dummy/config/initializers/octokit_patch.rb
384
417
  - test/dummy/config/initializers/secret_token.rb
385
418
  - test/dummy/config/initializers/session_store.rb
386
419
  - test/dummy/config/initializers/wrap_parameters.rb