hubstats 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGRjOTM1NDdmYzA1ZDUyMmYyZGZjZTY4ODYwMWE5NmVkYjNkMjY5ZQ==
4
+ NGJkYzE4MWNlZmJjOWQwNDk3Y2UwZWI5ZThmM2NmMzQ3YjdjZWIzNA==
5
5
  data.tar.gz: !binary |-
6
- MGIwNzhmYTk3YzlkZGNmYTllNjk3ZjQ2NzM1NTgzMzc2NzFiM2ZkOQ==
6
+ ZWI0NWZmNTU0N2NlNTQ3MWU1MzEwNzc3ZWQwOTllNmNjMGYzYTI0NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2I4MGYyMGU1N2Y4YmUzM2VjMjBhNGNlMzA1Mzg5MTE2M2UyMGNjYTY3Njlj
10
- MmNhZjc1YzEzZGU5MWEwZDI2MDJiZWY1YmNhZWM2YTk5OGZlZTE4YTQyNDIx
11
- ZWFlNTM0NDVjMzM0NjA0ZDQxMWZiMmYzYjYzOTlkZWNiODkwMWQ=
9
+ M2RlOGE4NGM0YWI3NDIxNDdkMDhjMzU3ZGFlZDBlMGFjYWEzMGRmZWY5NGJl
10
+ ZjI4Y2FkNDk5MzRkNGEyMGUzNTY4MTNkZjFkZTBlNDk2OGVjOTNjZjY0ZDg2
11
+ NDgxYmE3NDBhMWI5NjI1NmI4NDk4NWYzNGFiOTMyNTkwNmJiZjY=
12
12
  data.tar.gz: !binary |-
13
- ZWIyYWVmYTllZGUwZDg1MDYwMmRlY2JhODM0Mzk2NTU5NmJjYzJkMTBmZDg0
14
- MTE0NDkxM2EzYmU1YWQ5YzkyNDUyZGI5ODk0YTkwZDQ4YjIyOGI5YThlNzlm
15
- ODU4ZTk4ZGZiODY0ZTg5Yjg4MGU3MDcwOTQ2NzI3NzVjYjgwMmM=
13
+ MDdkMmUxNTU2ZDUxOTFhZGM2MzVkNzRlNmZlZjc4MmRmYWE3NDQxMTJkZjQy
14
+ NjZmYmM4YjFhOWQ4NDQ4NTYyNjE0Nzc5YWY1OTJhNmE0YTJkMjc4ZDQ4Mzcw
15
+ OWRiZWVlM2JjYTc1NTVmOGY3MWYxMTIwZDJmYmUzYzc3NjUyMDM=
@@ -24,8 +24,7 @@ module Hubstats
24
24
 
25
25
 
26
26
  def self.create_or_update(github_comment)
27
- logger.warn github_comment.inspect
28
- github_comment = github_comment.to_h if github_comment.respond_to? :to_h
27
+ github_comment = github_comment.to_h.with_indifferent_access if github_comment.respond_to? :to_h
29
28
 
30
29
  user = Hubstats::User.create_or_update(github_comment[:user])
31
30
  github_comment[:user_id] = user.id
@@ -41,7 +40,7 @@ module Hubstats
41
40
 
42
41
  comment = where(:id => comment_data[:id]).first_or_create(comment_data)
43
42
  return comment if comment.update_attributes(comment_data)
44
- puts comment.errors.inspect
43
+ Rails.logger.warn comment.errors.inspect
45
44
  end
46
45
 
47
46
  end
@@ -23,7 +23,7 @@ module Hubstats
23
23
  has_and_belongs_to_many :labels, :join_table => 'hubstats_labels_pull_requests'
24
24
 
25
25
  def self.create_or_update(github_pull)
26
- github_pull = github_pull.to_h if github_pull.respond_to? :to_h
26
+ github_pull = github_pull.to_h.with_indifferent_access if github_pull.respond_to? :to_h
27
27
 
28
28
  user = Hubstats::User.create_or_update(github_pull[:user])
29
29
  github_pull[:user_id] = user.id
@@ -36,7 +36,7 @@ module Hubstats
36
36
 
37
37
  pull = where(:id => pull_data[:id]).first_or_create(pull_data)
38
38
  return pull if pull.update_attributes(pull_data)
39
- Rails.logger.debug pull.errors.inspect
39
+ Rails.logger.warn pull.errors.inspect
40
40
  end
41
41
 
42
42
  def add_labels(labels)
@@ -15,7 +15,7 @@ module Hubstats
15
15
  belongs_to :owner, :class_name => "User", :foreign_key => "id"
16
16
 
17
17
  def self.create_or_update(github_repo)
18
- github_repo = github_repo.to_h if github_repo.respond_to? :to_h
18
+ github_repo = github_repo.to_h.with_indifferent_access if github_repo.respond_to? :to_h
19
19
  repo_data = github_repo.slice(*column_names.map(&:to_sym))
20
20
 
21
21
  if github_repo[:owner]
@@ -25,7 +25,7 @@ module Hubstats
25
25
 
26
26
  repo = where(:id => repo_data[:id]).first_or_create(repo_data)
27
27
  return repo if repo.update_attributes(repo_data)
28
- Rails.logger.debug repo.errors.inspect
28
+ Rails.logger.warn repo.errors.inspect
29
29
  end
30
30
 
31
31
  def to_param
@@ -62,15 +62,14 @@ module Hubstats
62
62
  has_many :pull_requests
63
63
 
64
64
  def self.create_or_update(github_user)
65
- logger.warn github_user.inspect
66
65
  github_user[:role] = github_user.delete :type ##changing :type in to :role
67
- github_user = github_user.to_h unless github_user.is_a? Hash
66
+ github_user = github_user.to_h.with_indifferent_access unless github_user.is_a? Hash
68
67
 
69
68
  user_data = github_user.slice(*Hubstats::User.column_names.map(&:to_sym))
70
69
 
71
70
  user = Hubstats::User.where(:id => user_data[:id]).first_or_create(user_data)
72
71
  return user if user.update_attributes(user_data)
73
- Rails.logger.debug user.errors.inspect
72
+ Rails.logger.warn user.errors.inspect
74
73
  end
75
74
 
76
75
  def self.with_pulls_or_comments(time, repo_id = nil)
@@ -18,7 +18,7 @@ module Hubstats
18
18
  pull_request = payload[:pull_request]
19
19
  pull_request[:repository] = payload[:repository]
20
20
 
21
- Hubstats::PullRequest.create_or_update(pull_request)
21
+ Hubstats::PullRequest.create_or_update(pull_request.with_indifferent_access)
22
22
  end
23
23
 
24
24
  def comment_processor(payload,kind)
@@ -27,8 +27,7 @@ module Hubstats
27
27
  comment[:repo_id] = payload[:repository][:id]
28
28
  comment[:pull_number] = get_pull_number(payload)
29
29
 
30
- logger.warn comment.inspect
31
- Hubstats::Comment.create_or_update(comment)
30
+ Hubstats::Comment.create_or_update(comment.with_indifferent_access)
32
31
  end
33
32
 
34
33
  #grabs the number off of anyone of the various places it can be
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
Binary file
@@ -15903,3 +15903,182 @@ Connecting to database specified by database.yml
15903
15903
   (0.2ms) UPDATE `hubstats_users` SET `login` = 'elliothursh', `updated_at` = '2014-07-07 18:51:29' WHERE `hubstats_users`.`id` = 10
15904
15904
   (0.1ms) RELEASE SAVEPOINT active_record_1
15905
15905
   (0.7ms) ROLLBACK
15906
+ Connecting to database specified by database.yml
15907
+  (0.1ms) BEGIN
15908
+ Mysql2::Error: Table 'hubstats_test.hubstats_users' doesn't exist: SHOW FULL FIELDS FROM `hubstats_users`
15909
+  (0.1ms) ROLLBACK
15910
+  (0.1ms) BEGIN
15911
+ Mysql2::Error: Table 'hubstats_test.hubstats_users' doesn't exist: SHOW FULL FIELDS FROM `hubstats_users`
15912
+  (0.1ms) ROLLBACK
15913
+  (0.1ms) BEGIN
15914
+ Mysql2::Error: Table 'hubstats_test.hubstats_users' doesn't exist: SHOW FULL FIELDS FROM `hubstats_users`
15915
+  (0.1ms) ROLLBACK
15916
+  (0.1ms) BEGIN
15917
+  (0.1ms) ROLLBACK
15918
+  (0.1ms) BEGIN
15919
+  (0.1ms) ROLLBACK
15920
+  (0.1ms) BEGIN
15921
+  (0.1ms) ROLLBACK
15922
+  (0.1ms) BEGIN
15923
+  (0.1ms) ROLLBACK
15924
+  (0.1ms) BEGIN
15925
+ Mysql2::Error: Table 'hubstats_test.hubstats_repos' doesn't exist: SHOW FULL FIELDS FROM `hubstats_repos`
15926
+  (0.1ms) ROLLBACK
15927
+  (0.1ms) BEGIN
15928
+  (0.1ms) ROLLBACK
15929
+  (0.1ms) BEGIN
15930
+  (0.1ms) ROLLBACK
15931
+  (0.1ms) BEGIN
15932
+ Mysql2::Error: Table 'hubstats_test.hubstats_users' doesn't exist: SHOW FULL FIELDS FROM `hubstats_users`
15933
+  (0.1ms) ROLLBACK
15934
+  (0.1ms) BEGIN
15935
+  (0.1ms) ROLLBACK
15936
+  (0.1ms) BEGIN
15937
+  (0.1ms) ROLLBACK
15938
+  (0.1ms) BEGIN
15939
+ Mysql2::Error: Table 'hubstats_test.hubstats_users' doesn't exist: SHOW FULL FIELDS FROM `hubstats_users`
15940
+  (0.1ms) ROLLBACK
15941
+ Connecting to database specified by database.yml
15942
+  (0.1ms) BEGIN
15943
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 0 LIMIT 1
15944
+  (0.1ms) SAVEPOINT active_record_1
15945
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 0 LIMIT 1
15946
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, NULL, NULL, NULL, 0, 'cleo', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL)
15947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15948
+  (0.1ms) SAVEPOINT active_record_1
15949
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 0 AND `hubstats_users`.`id` != 0) LIMIT 1
15950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15951
+ Hubstats::Repo Load (0.3ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 101010 LIMIT 1
15952
+  (0.1ms) SAVEPOINT active_record_1
15953
+ SQL (0.3ms) INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES (NULL, NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, NULL, NULL, 'hub/hubstats', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 101010, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Hubstats', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL, NULL)
15954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15955
+  (0.1ms) SAVEPOINT active_record_1
15956
+  (33.2ms) UPDATE `hubstats_repos` SET `updated_at` = NULL WHERE `hubstats_repos`.`id` = 101010
15957
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15958
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 328771 LIMIT 1
15959
+  (0.1ms) SAVEPOINT active_record_1
15960
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, 328771, NULL, NULL, NULL, NULL, NULL, 0, NULL, 101010, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL, 0)
15961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15962
+  (0.1ms) SAVEPOINT active_record_1
15963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15964
+  (24.5ms) ROLLBACK
15965
+  (0.1ms) BEGIN
15966
+  (0.1ms) ROLLBACK
15967
+  (0.1ms) BEGIN
15968
+  (0.1ms) ROLLBACK
15969
+  (0.1ms) BEGIN
15970
+  (0.1ms) ROLLBACK
15971
+  (0.0ms) BEGIN
15972
+  (0.1ms) ROLLBACK
15973
+  (0.0ms) BEGIN
15974
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 151 LIMIT 1
15975
+  (0.1ms) SAVEPOINT active_record_1
15976
+ SQL (0.2ms) INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES (NULL, NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 151, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'HellWorld', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL, NULL)
15977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15978
+  (0.1ms) SAVEPOINT active_record_1
15979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15980
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 10 LIMIT 1
15981
+  (0.0ms) SAVEPOINT active_record_1
15982
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 10 LIMIT 1
15983
+ SQL (0.1ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, NULL, NULL, NULL, 10, 'elliothursh', NULL, NULL, NULL, 'User', NULL, NULL, NULL, '2014-07-11 19:50:52', NULL)
15984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15985
+  (0.1ms) SAVEPOINT active_record_1
15986
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 10 AND `hubstats_users`.`id` != 10) LIMIT 1
15987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15988
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 151 LIMIT 1
15989
+  (0.1ms) SAVEPOINT active_record_1
15990
+  (0.2ms) UPDATE `hubstats_repos` SET `updated_at` = NULL WHERE `hubstats_repos`.`id` = 151
15991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15992
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 1000 LIMIT 1
15993
+  (0.1ms) SAVEPOINT active_record_1
15994
+ SQL (0.3ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', NULL, NULL, NULL, 1000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 151, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:52', 'www.pull.com', 10)
15995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15996
+  (0.1ms) SAVEPOINT active_record_1
15997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15998
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 10 LIMIT 1
15999
+  (0.1ms) SAVEPOINT active_record_1
16000
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 10 AND `hubstats_users`.`id` != 10) LIMIT 1
16001
+  (0.2ms) UPDATE `hubstats_users` SET `role` = NULL, `updated_at` = '2014-07-11 19:50:52' WHERE `hubstats_users`.`id` = 10
16002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16003
+ Hubstats::Comment Load (0.3ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 100 LIMIT 1
16004
+  (0.1ms) SAVEPOINT active_record_1
16005
+ SQL (0.3ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (NULL, NULL, '2014-07-11 19:50:53', NULL, NULL, 100, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'www.pull.com', NULL, '2014-07-11 19:50:53', NULL, 10)
16006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16007
+  (0.1ms) SAVEPOINT active_record_1
16008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16009
+  (0.6ms) ROLLBACK
16010
+  (0.0ms) BEGIN
16011
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users`
16012
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 10 LIMIT 1
16013
+  (0.1ms) SAVEPOINT active_record_1
16014
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 10 LIMIT 1
16015
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, NULL, NULL, NULL, 10, 'johnappleseed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL)
16016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16017
+  (0.0ms) SAVEPOINT active_record_1
16018
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 10 AND `hubstats_users`.`id` != 10) LIMIT 1
16019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16020
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 10 LIMIT 1
16021
+  (0.1ms) SAVEPOINT active_record_1
16022
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 10 AND `hubstats_users`.`id` != 10) LIMIT 1
16023
+  (0.2ms) UPDATE `hubstats_users` SET `login` = 'elliothursh', `updated_at` = '2014-07-11 19:50:53' WHERE `hubstats_users`.`id` = 10
16024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16025
+  (0.8ms) ROLLBACK
16026
+  (0.0ms) BEGIN
16027
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users`
16028
+ Hubstats::User Load (0.1ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 10 LIMIT 1
16029
+  (0.1ms) SAVEPOINT active_record_1
16030
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 10 LIMIT 1
16031
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, NULL, NULL, NULL, 10, 'lance_lebsack', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL)
16032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16033
+  (0.1ms) SAVEPOINT active_record_1
16034
+ Hubstats::User Exists (0.2ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 10 AND `hubstats_users`.`id` != 10) LIMIT 1
16035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16036
+  (0.5ms) ROLLBACK
16037
+  (0.0ms) BEGIN
16038
+  (0.1ms) ROLLBACK
16039
+  (0.1ms) BEGIN
16040
+ Hubstats::User Load (0.3ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 0 LIMIT 1
16041
+  (0.1ms) SAVEPOINT active_record_1
16042
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 0 LIMIT 1
16043
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, NULL, NULL, NULL, 0, 'marisa_leannon', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL)
16044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16045
+  (0.0ms) SAVEPOINT active_record_1
16046
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 0 AND `hubstats_users`.`id` != 0) LIMIT 1
16047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16048
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 101010 AND `hubstats_pull_requests`.`number` = 0 LIMIT 1
16049
+ Hubstats::Comment Load (0.1ms) SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 259056 LIMIT 1
16050
+  (0.0ms) SAVEPOINT active_record_1
16051
+ SQL (0.1ms) INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Dolore voluptate quibusdam sint error magni distinctio.', NULL, '2014-07-11 19:50:53', NULL, NULL, 259056, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 101010, '2014-07-11 19:50:53', NULL, 0)
16052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16053
+  (0.1ms) SAVEPOINT active_record_1
16054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16055
+  (0.4ms) ROLLBACK
16056
+  (0.1ms) BEGIN
16057
+  (0.1ms) ROLLBACK
16058
+  (0.1ms) BEGIN
16059
+  (0.1ms) ROLLBACK
16060
+  (0.1ms) BEGIN
16061
+ Hubstats::User Load (0.2ms) SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 0 LIMIT 1
16062
+  (0.1ms) SAVEPOINT active_record_1
16063
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 0 LIMIT 1
16064
+ SQL (0.2ms) INSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES (NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, NULL, NULL, NULL, 0, 'macy_schinner', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL)
16065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16066
+  (0.1ms) SAVEPOINT active_record_1
16067
+ Hubstats::User Exists (0.1ms) SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 0 AND `hubstats_users`.`id` != 0) LIMIT 1
16068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16069
+ Hubstats::Repo Load (0.2ms) SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 101010 LIMIT 1
16070
+  (0.1ms) SAVEPOINT active_record_1
16071
+ SQL (0.2ms) INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES (NULL, NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, NULL, NULL, 'hub/hubstats', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 101010, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Hubstats', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL, NULL)
16072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16073
+  (0.1ms) SAVEPOINT active_record_1
16074
+  (0.2ms) UPDATE `hubstats_repos` SET `updated_at` = NULL WHERE `hubstats_repos`.`id` = 101010
16075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16076
+ Hubstats::PullRequest Load (0.2ms) SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 410471 LIMIT 1
16077
+  (0.1ms) SAVEPOINT active_record_1
16078
+ SQL (0.2ms) INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL, NULL, NULL, 410471, NULL, NULL, NULL, NULL, NULL, 0, NULL, 101010, NULL, NULL, NULL, NULL, NULL, '2014-07-11 19:50:53', NULL, 0)
16079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
16080
+  (0.0ms) SAVEPOINT active_record_1
16081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16082
+  (0.5ms) ROLLBACK
16083
+  (0.0ms) BEGIN
16084
+  (0.1ms) ROLLBACK
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.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -306,7 +306,6 @@ files:
306
306
  - test/dummy/tmp/cache/assets/E10/920/sprockets%2Fe2793fe8a9f6773e8d2d5bececb01b7f
307
307
  - test/dummy/tmp/cache/assets/E30/D10/sprockets%2F5be1e5ad45bde1dbd7fb9f8d720277ea
308
308
  - test/dummy/tmp/cache/assets/E41/A20/sprockets%2F23cef5db9fa9d95cf84a2c688b5fe6ab
309
- - test/dummy/tmp/pids/server.pid
310
309
  - test/functional/hubstats/splash_controller_test.rb
311
310
  - test/hubstats_test.rb
312
311
  - test/integration/navigation_test.rb
@@ -442,7 +441,6 @@ test_files:
442
441
  - test/dummy/tmp/cache/assets/E10/920/sprockets%2Fe2793fe8a9f6773e8d2d5bececb01b7f
443
442
  - test/dummy/tmp/cache/assets/E30/D10/sprockets%2F5be1e5ad45bde1dbd7fb9f8d720277ea
444
443
  - test/dummy/tmp/cache/assets/E41/A20/sprockets%2F23cef5db9fa9d95cf84a2c688b5fe6ab
445
- - test/dummy/tmp/pids/server.pid
446
444
  - test/functional/hubstats/splash_controller_test.rb
447
445
  - test/hubstats_test.rb
448
446
  - test/integration/navigation_test.rb
@@ -1 +0,0 @@
1
- 90246