houston-core 0.5.0.beta1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +0 -2
- data/.gitignore +3 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +63 -62
- data/README.md +13 -121
- data/app/adapters/houston/adapters/ci_server/errors.rb +4 -4
- data/app/adapters/houston/adapters/ci_server/jenkins_adapter/job.rb +50 -50
- data/app/adapters/houston/adapters/ci_server/jenkins_adapter.rb +4 -4
- data/app/adapters/houston/adapters/ci_server/none_adapter/job.rb +5 -5
- data/app/adapters/houston/adapters/ci_server/none_adapter.rb +4 -4
- data/app/adapters/houston/adapters/deployment/engineyard.rb +20 -20
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/app.rb +14 -14
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/connection.rb +41 -41
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/notice.rb +6 -6
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter/problem.rb +25 -25
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +20 -20
- data/app/adapters/houston/adapters/error_tracker/none_adapter.rb +8 -8
- data/app/adapters/houston/adapters/error_tracker/null_app.rb +13 -13
- data/app/adapters/houston/adapters/ticket_tracker/errors.rb +5 -5
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter/connection.rb +41 -41
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter/issue.rb +22 -22
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +7 -7
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/connection.rb +13 -13
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter/ticket.rb +15 -15
- data/app/adapters/houston/adapters/ticket_tracker/houston_adapter.rb +4 -4
- data/app/adapters/houston/adapters/ticket_tracker/none_adapter.rb +4 -4
- data/app/adapters/houston/adapters/ticket_tracker/null_connection.rb +13 -13
- data/app/adapters/houston/adapters/ticket_tracker/null_ticket.rb +19 -19
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/connection.rb +54 -54
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/milestone.rb +10 -10
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter/ticket.rb +59 -59
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +9 -9
- data/app/adapters/houston/adapters/version_control/commit.rb +4 -4
- data/app/adapters/houston/adapters/version_control/errors.rb +9 -9
- data/app/adapters/houston/adapters/version_control/git_adapter/github_repo.rb +15 -15
- data/app/adapters/houston/adapters/version_control/git_adapter/remote_repo.rb +53 -30
- data/app/adapters/houston/adapters/version_control/git_adapter/repo.rb +60 -55
- data/app/adapters/houston/adapters/version_control/git_adapter.rb +22 -22
- data/app/adapters/houston/adapters/version_control/none_adapter.rb +4 -4
- data/app/adapters/houston/adapters/version_control/null_commit.rb +4 -4
- data/app/adapters/houston/adapters/version_control/null_repo.rb +18 -18
- data/app/adapters/houston/adapters.rb +10 -10
- data/app/assets/javascripts/app/boot.coffee +5 -5
- data/app/assets/javascripts/app/infinite_scroll.coffee +6 -6
- data/app/assets/javascripts/app/models/commit.coffee +1 -1
- data/app/assets/javascripts/app/models/release.coffee +1 -1
- data/app/assets/javascripts/app/models/task.coffee +1 -1
- data/app/assets/javascripts/app/models/tester.coffee +1 -1
- data/app/assets/javascripts/app/models/testing_note.coffee +2 -2
- data/app/assets/javascripts/app/models/ticket.coffee +24 -24
- data/app/assets/javascripts/app/models/user.coffee +1 -1
- data/app/assets/javascripts/app/releases.coffee +6 -6
- data/app/assets/javascripts/app/stacked_area_graph.coffee +22 -22
- data/app/assets/javascripts/app/stacked_bar_graph.coffee +20 -20
- data/app/assets/javascripts/app/table_row_expander.coffee +10 -10
- data/app/assets/javascripts/app/ticket_tracker_refresh.coffee +19 -19
- data/app/assets/javascripts/app/views/_show_sprint_view.coffee +14 -14
- data/app/assets/javascripts/app/views/_tickets_view.coffee +8 -8
- data/app/assets/javascripts/app/views/all_tickets_view.coffee +1 -2
- data/app/assets/javascripts/app/views/commit_view.coffee +2 -2
- data/app/assets/javascripts/app/views/edit_sprint_view.coffee +36 -36
- data/app/assets/javascripts/app/views/find_or_create_ticket_view.coffee +3 -3
- data/app/assets/javascripts/app/views/keyboard_shortcuts_modal.coffee +14 -14
- data/app/assets/javascripts/app/views/new_ticket_modal.coffee +4 -4
- data/app/assets/javascripts/app/views/new_ticket_view.coffee +34 -34
- data/app/assets/javascripts/app/views/problems_view.coffee +8 -8
- data/app/assets/javascripts/app/views/reports_view.coffee +5 -5
- data/app/assets/javascripts/app/views/testing_note_view.coffee +10 -10
- data/app/assets/javascripts/app/views/testing_report_view.coffee +7 -7
- data/app/assets/javascripts/app/views/testing_ticket_view.coffee +36 -36
- data/app/assets/javascripts/app/views/ticket_modal_view.coffee +5 -5
- data/app/assets/javascripts/core/app.coffee +22 -22
- data/app/assets/javascripts/core/burndown_chart.coffee +21 -21
- data/app/assets/javascripts/core/errors.coffee +2 -2
- data/app/assets/javascripts/core/handlebars_helpers.coffee +6 -6
- data/app/assets/javascripts/core/jquery_extensions.coffee +28 -28
- data/app/assets/javascripts/dashboard/refresher.coffee +4 -4
- data/app/assets/stylesheets/application/ansi.scss +2 -2
- data/app/assets/stylesheets/application/commit.scss +1 -1
- data/app/assets/stylesheets/application/exceptions.scss +3 -3
- data/app/assets/stylesheets/application/find_or_create_ticket.scss +2 -2
- data/app/assets/stylesheets/application/follow_up.scss +2 -2
- data/app/assets/stylesheets/application/forms.scss +2 -2
- data/app/assets/stylesheets/application/freight_train.css.scss +5 -5
- data/app/assets/stylesheets/application/full_screen.scss +2 -2
- data/app/assets/stylesheets/application/infinite_scroll.scss +1 -1
- data/app/assets/stylesheets/application/keyboard_shortcuts.scss +3 -3
- data/app/assets/stylesheets/application/markdown.scss +2 -2
- data/app/assets/stylesheets/application/navigation.scss +15 -15
- data/app/assets/stylesheets/application/new_ticket_view.scss +16 -16
- data/app/assets/stylesheets/application/omnibar.scss +6 -6
- data/app/assets/stylesheets/application/project_banner_buttons.scss +6 -6
- data/app/assets/stylesheets/application/project_tiles.scss +2 -2
- data/app/assets/stylesheets/application/projects.css.scss +3 -3
- data/app/assets/stylesheets/application/pull_requests.scss +6 -6
- data/app/assets/stylesheets/application/queue.scss +2 -2
- data/app/assets/stylesheets/application/release_form.scss +10 -10
- data/app/assets/stylesheets/application/releases.scss +32 -39
- data/app/assets/stylesheets/application/sortable_table.scss +6 -6
- data/app/assets/stylesheets/application/sprint.scss +6 -6
- data/app/assets/stylesheets/application/tables.scss +6 -6
- data/app/assets/stylesheets/application/test_run.scss +16 -16
- data/app/assets/stylesheets/application/ticket.scss +13 -13
- data/app/assets/stylesheets/application/ticket_modal.scss +19 -19
- data/app/assets/stylesheets/application/tickets.scss +2 -2
- data/app/assets/stylesheets/application/timeline.scss +30 -30
- data/app/assets/stylesheets/application/tips.scss +1 -1
- data/app/assets/stylesheets/application/typeahead.scss +4 -4
- data/app/assets/stylesheets/application/uploading.scss +13 -13
- data/app/assets/stylesheets/application/welcome.scss +3 -3
- data/app/assets/stylesheets/core/burndown_chart.scss +11 -11
- data/app/assets/stylesheets/core/misc.scss +8 -8
- data/app/assets/stylesheets/core/overrides.scss +2 -2
- data/app/assets/stylesheets/core/scores.scss +26 -26
- data/app/assets/stylesheets/dashboard/dashboard.scss +16 -16
- data/app/assets/stylesheets/print.css.scss +3 -3
- data/app/concerns/commit_synchronizer.rb +24 -24
- data/app/concerns/feature_state.rb +7 -7
- data/app/concerns/feature_support.rb +4 -4
- data/app/concerns/historical_weekly_stats.rb +4 -4
- data/app/concerns/milestone_synchronizer.rb +14 -14
- data/app/concerns/nosync.rb +4 -4
- data/app/concerns/project_adapter.rb +22 -22
- data/app/concerns/retirement.rb +7 -7
- data/app/concerns/ticket_synchronizer.rb +31 -31
- data/app/concerns/unique_add.rb +2 -2
- data/app/controllers/api/v1/sprint_tasks_controller.rb +19 -19
- data/app/controllers/api/v1/ticket_tasks_controller.rb +14 -14
- data/app/controllers/application_controller.rb +46 -40
- data/app/controllers/commits_controller.rb +10 -10
- data/app/controllers/deploys_controller.rb +11 -11
- data/app/controllers/home_controller.rb +4 -4
- data/app/controllers/jobs_controller.rb +3 -3
- data/app/controllers/oauth_consumers_controller.rb +1 -1
- data/app/controllers/omnibar_controller.rb +6 -6
- data/app/controllers/project_exceptions_controller.rb +11 -11
- data/app/controllers/project_hooks_controller.rb +7 -7
- data/app/controllers/project_options_controller.rb +8 -8
- data/app/controllers/project_pretickets_controller.rb +6 -6
- data/app/controllers/project_roles_controller.rb +7 -7
- data/app/controllers/project_tickets_controller.rb +28 -28
- data/app/controllers/project_tickets_sync_controller.rb +8 -8
- data/app/controllers/projects_controller.rb +29 -29
- data/app/controllers/releases_controller.rb +25 -25
- data/app/controllers/reports_controller.rb +36 -36
- data/app/controllers/sessions_controller.rb +2 -2
- data/app/controllers/settings_controller.rb +3 -3
- data/app/controllers/sprint_task_locks_controller.rb +11 -11
- data/app/controllers/sprints_controller.rb +25 -25
- data/app/controllers/tasks_controller.rb +10 -10
- data/app/controllers/test_runs_controller.rb +8 -8
- data/app/controllers/tester_bar_controller.rb +2 -2
- data/app/controllers/testing_notes_controller.rb +15 -15
- data/app/controllers/testing_report_controller.rb +14 -14
- data/app/controllers/tickets_controller.rb +9 -9
- data/app/controllers/uploads_controller.rb +9 -9
- data/app/controllers/user_credentials_controller.rb +4 -4
- data/app/controllers/user_options_controller.rb +6 -6
- data/app/controllers/users_controller.rb +34 -34
- data/app/controllers/welcome_controller.rb +6 -6
- data/app/helpers/ansi_helper.rb +4 -4
- data/app/helpers/application_helper.rb +26 -26
- data/app/helpers/avatar_helper.rb +12 -12
- data/app/helpers/backtrace_helper.rb +2 -2
- data/app/helpers/breadcrumbs_helper.rb +9 -9
- data/app/helpers/commit_helper.rb +16 -12
- data/app/helpers/demo_helper.rb +4 -4
- data/app/helpers/email_helper.rb +3 -3
- data/app/helpers/emoji_helper.rb +1 -1
- data/app/helpers/excel_helpers.rb +2 -2
- data/app/helpers/exposure_helper.rb +3 -3
- data/app/helpers/flash_message_helper.rb +6 -6
- data/app/helpers/maintenance_light_helper.rb +3 -3
- data/app/helpers/markdown_helper.rb +3 -3
- data/app/helpers/navigation_helper.rb +12 -12
- data/app/helpers/project_helper.rb +5 -5
- data/app/helpers/release_helper.rb +9 -9
- data/app/helpers/score_card_helper.rb +16 -16
- data/app/helpers/sprint_helper.rb +2 -2
- data/app/helpers/static_chart_helper.rb +2 -2
- data/app/helpers/test_run_helper.rb +6 -6
- data/app/helpers/ticket_helper.rb +14 -14
- data/app/helpers/timeline_helper.rb +5 -5
- data/app/helpers/url_helper.rb +26 -26
- data/app/helpers/user_helper.rb +6 -6
- data/app/helpers/version_helper.rb +4 -4
- data/app/interactors/test_run_comparer.rb +9 -9
- data/app/interactors/ticket_report.rb +7 -7
- data/app/jobs/sync_all_tickets_job.rb +13 -13
- data/app/jobs/sync_commits_job.rb +3 -3
- data/app/jobs/sync_project_tickets_job.rb +9 -9
- data/app/mailers/deploy_notification.rb +9 -9
- data/app/mailers/project_notification.rb +29 -29
- data/app/mailers/view_mailer.rb +20 -38
- data/app/models/ability.rb +21 -21
- data/app/models/activity_feed.rb +25 -25
- data/app/models/antecedent.rb +3 -3
- data/app/models/code_climate/coverage_report.rb +25 -25
- data/app/models/commit.rb +77 -82
- data/app/models/consumer_token.rb +2 -2
- data/app/models/deploy.rb +31 -27
- data/app/models/environment.rb +12 -12
- data/app/models/github/commit_status_report.rb +16 -16
- data/app/models/github/pull_request.rb +35 -12
- data/app/models/github/pull_request_event.rb +6 -5
- data/app/models/github_token.rb +2 -2
- data/app/models/historical_head.rb +2 -2
- data/app/models/key_dependency.rb +17 -17
- data/app/models/maintenance_light.rb +3 -3
- data/app/models/measurement.rb +22 -22
- data/app/models/menu_item.rb +5 -5
- data/app/models/menu_item_divider.rb +1 -1
- data/app/models/milestone.rb +27 -27
- data/app/models/output_stream.rb +4 -4
- data/app/models/post_receive_payload.rb +7 -7
- data/app/models/project.rb +93 -89
- data/app/models/project_dependencies.rb +9 -9
- data/app/models/project_dependency.rb +33 -33
- data/app/models/project_menu_item.rb +3 -3
- data/app/models/release.rb +60 -60
- data/app/models/release_change.rb +18 -18
- data/app/models/role.rb +15 -15
- data/app/models/rubygems/gem.rb +21 -21
- data/app/models/run_tests_on_post_receive.rb +36 -36
- data/app/models/setting.rb +3 -3
- data/app/models/settings.rb +8 -8
- data/app/models/source_file_coverage.rb +2 -2
- data/app/models/sprint.rb +19 -19
- data/app/models/sprint_report.rb +7 -7
- data/app/models/sprint_task.rb +8 -8
- data/app/models/static_chart/area.rb +19 -19
- data/app/models/static_chart.rb +35 -35
- data/app/models/task.rb +64 -64
- data/app/models/test_error.rb +2 -2
- data/app/models/test_result.rb +7 -0
- data/app/models/test_run.rb +75 -79
- data/app/models/test_run_statistics.rb +18 -19
- data/app/models/testing_note.rb +19 -19
- data/app/models/ticket.rb +104 -104
- data/app/models/ticket_antecedent.rb +11 -11
- data/app/models/ticket_comment.rb +6 -6
- data/app/models/ticket_committer.rb +3 -3
- data/app/models/ticket_tag.rb +6 -6
- data/app/models/user.rb +44 -44
- data/app/models/user_credentials.rb +11 -11
- data/app/models/value_statement.rb +3 -3
- data/app/presenters/commit_presenter.rb +6 -6
- data/app/presenters/one_or_many.rb +4 -4
- data/app/presenters/problem_presenter.rb +8 -8
- data/app/presenters/release_presenter.rb +4 -4
- data/app/presenters/sprint_task_presenter.rb +9 -9
- data/app/presenters/task_presenter.rb +8 -8
- data/app/presenters/tasks_excel_presenter.rb +6 -6
- data/app/presenters/tester_presenter.rb +3 -3
- data/app/presenters/testing_note_presenter.rb +4 -4
- data/app/presenters/testing_report_ticket_presenter.rb +9 -9
- data/app/presenters/ticket_presenter.rb +4 -4
- data/app/views/deploys/show.html.erb +8 -0
- data/app/views/jobs/show.html.erb +0 -34
- data/app/views/layouts/application.html.erb +1 -0
- data/app/views/layouts/minimal.html.erb +1 -0
- data/app/views/projects/_form.html.erb +0 -7
- data/app/views/releases/_form.html.erb +9 -3
- data/app/views/releases/index.html.erb +1 -1
- data/config/application.rb +1 -2
- data/config/database.yml +3 -3
- data/config/environments/production.rb +1 -1
- data/config/environments/test.rb +1 -1
- data/config/initializers/action_view_field_error_proc.rb +3 -3
- data/config/initializers/constants.rb +3 -3
- data/config/initializers/devise.rb +8 -8
- data/config/initializers/hard_coded_knowledge.rb +3 -3
- data/config/initializers/houston_async.rb +2 -2
- data/config/initializers/houston_report_exception.rb +3 -3
- data/config/initializers/houston_try.rb +3 -3
- data/config/initializers/sync_commits_on_post_receive.rb +0 -5
- data/config/routes.rb +108 -108
- data/db/migrate/20120417175450_devise_create_users.rb +2 -2
- data/db/migrate/20120501230243_add_unfuddle_id_to_tickets.rb +1 -1
- data/db/migrate/20120504143615_link_tickets_and_releases.rb +3 -3
- data/db/migrate/20120626150333_add_last_release_at_to_tickets.rb +2 -2
- data/db/migrate/20120626151320_link_tickets_and_commits.rb +2 -2
- data/db/migrate/20120626152020_add_committer_email_to_commits.rb +2 -2
- data/db/migrate/20120715230922_create_user_notifications.rb +3 -3
- data/db/migrate/20120716010743_add_user_to_releases.rb +3 -3
- data/db/migrate/20120726231754_link_projects_and_maintainers.rb +2 -2
- data/db/migrate/20120826022643_add_authentication_token_to_users.rb +2 -2
- data/db/migrate/20120920023251_add_administrator_to_users.rb +3 -3
- data/db/migrate/20121026014457_split_users_name_into_first_and_last.rb +2 -2
- data/db/migrate/20121027160548_create_deploys.rb +1 -1
- data/db/migrate/20121222170917_add_version_control_adapter_to_projects.rb +2 -2
- data/db/migrate/20121222223635_add_ticket_tracking_adapter_to_projects.rb +2 -2
- data/db/migrate/20121224212623_rename_environments.rb +3 -3
- data/db/migrate/20121225175106_replace_environment_id_with_environment_name.rb +8 -8
- data/db/migrate/20121230174234_create_test_runs.rb +3 -3
- data/db/migrate/20130119203853_remove_cached_queries_from_projects.rb +1 -1
- data/db/migrate/20130119204608_add_extended_attributes_to_tickets.rb +10 -10
- data/db/migrate/20130120182026_create_ticket_prerequisites.rb +2 -2
- data/db/migrate/20130312224911_create_errors.rb +1 -1
- data/db/migrate/20130407195450_create_roles.rb +2 -2
- data/db/migrate/20130407200624_populate_roles.rb +9 -9
- data/db/migrate/20130407220039_add_project_id_to_testing_notes.rb +6 -6
- data/db/migrate/20130407220937_add_project_id_to_commits.rb +6 -6
- data/db/migrate/20130416020627_add_environments_subscribed_to_to_users.rb +3 -3
- data/db/migrate/20130420174126_add_error_tracker_name_to_projects.rb +2 -2
- data/db/migrate/20130427223925_create_project_quotas.rb +2 -2
- data/db/migrate/20130504014802_add_extended_attributes_to_projects.rb +3 -3
- data/db/migrate/20130504135741_add_antecedents_to_tickets.rb +6 -6
- data/db/migrate/20130505144446_add_tags_to_tickets.rb +1 -1
- data/db/migrate/20130505162039_add_type_to_tickets.rb +1 -1
- data/db/migrate/20130505212838_add_closed_at_to_tickets.rb +1 -1
- data/db/migrate/20130519163615_create_user_credentials.rb +2 -2
- data/db/migrate/20130526024851_give_default_values_for_counts_from_test_runs.rb +2 -2
- data/db/migrate/20130710233849_add_authored_at_to_commits.rb +10 -10
- data/db/migrate/20130711013156_link_commits_and_users.rb +6 -6
- data/db/migrate/20130806143651_link_commits_and_releases.rb +2 -2
- data/db/migrate/20130921141449_create_milestones.rb +3 -3
- data/db/migrate/20131004185618_add_first_release_at_to_tickets.rb +2 -2
- data/db/migrate/20131012152403_create_sprints.rb +3 -3
- data/db/migrate/20131112010815_delete_duplicate_commits.rb +7 -7
- data/db/migrate/20140217160450_add_email_addresses_to_users.rb +3 -3
- data/db/migrate/20140327020121_drop_ticket_prerequisites.rb +1 -1
- data/db/migrate/20140406183224_remove_new_relic_id_from_projects.rb +1 -1
- data/db/migrate/20140406230121_delete_automatically_generated_messages_for_releases.rb +1 -1
- data/db/migrate/20140407010111_drop_sprints_project_id.rb +1 -1
- data/db/migrate/20140418133005_change_ticket_antecedents_to_text_array.rb +1 -1
- data/db/migrate/20140425141946_embed_changes_in_releases.rb +3 -3
- data/db/migrate/20140515174322_create_tasks.rb +3 -3
- data/db/migrate/20140516012049_create_tasks_for_existing_tickets.rb +1 -1
- data/db/migrate/20140517012626_prevent_hstore_fields_from_being_null.rb +2 -2
- data/db/migrate/20140521014652_allow_task_descriptions_to_be_null.rb +1 -1
- data/db/migrate/20140526155845_add_commit_id_to_deploys.rb +5 -5
- data/db/migrate/20140526162645_add_commit_before_id_and_commit_after_id_to_releases.rb +4 -4
- data/db/migrate/20140526180608_associate_remaining_deploys_and_releases.rb +12 -12
- data/db/migrate/20140724231918_create_sprints_tasks.rb +3 -3
- data/db/migrate/20140824194031_add_project_id_to_tasks.rb +1 -1
- data/db/migrate/20140824194526_add_completed_at_to_tasks.rb +3 -3
- data/db/migrate/20140824211249_require_sprints_to_be_unique.rb +1 -1
- data/db/migrate/20140907012329_drop_table_changes.rb +1 -1
- data/db/migrate/20140907013836_drop_table_errors.rb +1 -1
- data/db/migrate/20140921190022_add_checked_out_to_sprints_tasks.rb +2 -2
- data/db/migrate/20140921201441_drop_users_name.rb +1 -1
- data/db/migrate/20140925021043_rename_deploys_commit_to_sha.rb +1 -1
- data/db/migrate/20140929004347_create_historical_heads.rb +4 -4
- data/db/migrate/20141027194819_make_users_environments_subscribed_to_an_array.rb +2 -2
- data/db/migrate/20141226171730_create_measurements.rb +1 -1
- data/db/migrate/20150119154013_drop_unused_fields_from_milestones.rb +1 -1
- data/db/migrate/20150222205616_add_features_to_projects.rb +2 -2
- data/db/migrate/20150323004452_add_deploys_completed_at.rb +1 -1
- data/db/migrate/20150805180939_add_commit_id_to_test_runs.rb +1 -1
- data/db/migrate/20150808161805_create_test_results.rb +1 -1
- data/db/migrate/20150809132417_rename_test_results_regression_to_difference.rb +1 -1
- data/db/migrate/20150927014445_required_pull_requests_to_be_unique_by_project_and_number.rb +13 -0
- data/db/structure.sql +9 -0
- data/houston.gemspec +23 -26
- data/lib/configuration.rb +0 -5
- data/lib/core_ext/duration.rb +4 -4
- data/lib/core_ext/hash.rb +17 -17
- data/lib/houston/version.rb +1 -1
- data/lib/houston_server.rb +6 -6
- data/lib/parallel_enumerable.rb +16 -16
- data/lib/tasks/specific_tests.rake +37 -0
- metadata +91 -107
- data/app/interactors/push_gemfile_to_gemnasium.rb +0 -88
- data/app/models/gemnasium/alert.rb +0 -25
- data/app/views/welcome/_tdl.html.erb +0 -31
- data/config/initializers/houston_tdl.rb +0 -104
@@ -8,30 +8,30 @@ module Houston
|
|
8
8
|
class UnfuddleAdapter
|
9
9
|
class Connection
|
10
10
|
include Unfuddle::NeqHelper
|
11
|
-
|
11
|
+
|
12
12
|
def initialize(unfuddle)
|
13
13
|
@unfuddle = unfuddle
|
14
14
|
@project_id = unfuddle.id
|
15
15
|
@config = Houston.config.ticket_tracker_configuration(:unfuddle)
|
16
16
|
end
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
|
18
|
+
|
19
|
+
|
20
20
|
# Required API
|
21
|
-
|
21
|
+
|
22
22
|
def features
|
23
23
|
[:syncing_tickets, :syncing_milestones]
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
def build_ticket(attributes)
|
27
27
|
attributes["reporter_email"] = find_reporter_email(attributes["reporter_id"])
|
28
28
|
Houston::Adapters::TicketTracker::UnfuddleAdapter::Ticket.new(self, attributes)
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
def create_ticket!(houston_ticket)
|
32
32
|
as_user(houston_ticket.reporter) do
|
33
33
|
attrs = get_attributes_from_type(houston_ticket.type)
|
34
|
-
|
34
|
+
|
35
35
|
native_ticket = unfuddle.create_ticket(
|
36
36
|
"project_id" => project_id, # required for fetch! to work below
|
37
37
|
"priority" => "3", # required by Unfuddle
|
@@ -40,87 +40,87 @@ module Houston
|
|
40
40
|
"severity_id" => attrs[:severity] && unfuddle.find_severity_by_name!(attrs[:severity]).id,
|
41
41
|
"milestone_id" => (houston_ticket.milestone && houston_ticket.milestone.remote_id) || 0)
|
42
42
|
native_ticket.fetch! # fetch attributes we don't know yet (like number and created_at)
|
43
|
-
|
43
|
+
|
44
44
|
build_ticket(native_ticket.attributes)
|
45
45
|
end
|
46
|
-
|
46
|
+
|
47
47
|
rescue Unfuddle::Error
|
48
48
|
raise Houston::Adapters::TicketTracker::Error.new($!)
|
49
49
|
end
|
50
|
-
|
50
|
+
|
51
51
|
def find_ticket_by_number(number)
|
52
52
|
attributes = unfuddle.find_ticket_by_number(number) unless number.blank?
|
53
53
|
build_ticket(attributes) if attributes
|
54
54
|
end
|
55
|
-
|
55
|
+
|
56
56
|
def find_tickets_numbered(*numbers)
|
57
57
|
numbers = numbers.flatten
|
58
58
|
return [] if numbers.empty?
|
59
59
|
find_tickets!(number: numbers)
|
60
60
|
end
|
61
|
-
|
61
|
+
|
62
62
|
def all_tickets
|
63
63
|
Unfuddle.with_config(timeout: 300) do
|
64
64
|
find_tickets!
|
65
65
|
end
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
68
|
def open_tickets
|
69
69
|
Unfuddle.with_config(timeout: 300) do
|
70
70
|
find_tickets!(status: neq(:closed), resolution: 0)
|
71
71
|
end
|
72
72
|
end
|
73
|
-
|
73
|
+
|
74
74
|
def project_url
|
75
75
|
@project_url ||= "https://#{Unfuddle.instance.subdomain}.unfuddle.com/a#/projects/#{project_id}"
|
76
76
|
end
|
77
|
-
|
77
|
+
|
78
78
|
def ticket_url(ticket_number)
|
79
79
|
"#{project_url}/tickets/by_number/#{ticket_number}"
|
80
80
|
end
|
81
|
-
|
82
|
-
|
83
|
-
|
81
|
+
|
82
|
+
|
83
|
+
|
84
84
|
def all_milestones
|
85
85
|
unfuddle.milestones
|
86
86
|
.reject { |m| m.archived }
|
87
87
|
.map { |attributes | build_milestone(attributes) }
|
88
88
|
end
|
89
|
-
|
89
|
+
|
90
90
|
def open_milestones
|
91
91
|
unfuddle.milestones
|
92
92
|
.reject { |m| m.completed || m.archived }
|
93
93
|
.map { |attributes | build_milestone(attributes) }
|
94
94
|
end
|
95
|
-
|
95
|
+
|
96
96
|
def find_milestone(id)
|
97
97
|
attributes = unfuddle.find_milestone(id)
|
98
98
|
build_milestone(attributes) if attributes
|
99
99
|
end
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
|
101
|
+
|
102
|
+
|
103
103
|
# Optional API
|
104
|
-
|
104
|
+
|
105
105
|
def build_milestone(attributes)
|
106
106
|
attributes = attributes.attributes if attributes.is_a?(Unfuddle::Milestone)
|
107
107
|
Houston::Adapters::TicketTracker::UnfuddleAdapter::Milestone.new(self, attributes)
|
108
108
|
end
|
109
|
-
|
109
|
+
|
110
110
|
def create_milestone!(houston_milestone)
|
111
111
|
native_milestone = unfuddle.create_milestone(
|
112
112
|
"project_id" => project_id, # required for fetch! to work below
|
113
113
|
"title" => houston_milestone.name)
|
114
114
|
native_milestone.fetch! # fetch attributes we don't know yet
|
115
|
-
|
115
|
+
|
116
116
|
build_milestone(native_milestone)
|
117
117
|
end
|
118
|
-
|
118
|
+
|
119
119
|
def close_milestone!(houston_milestone)
|
120
120
|
native_milestone = unfuddle.milestone(houston_milestone.remote_id)
|
121
121
|
native_milestone.update_attribute(:completed, true)
|
122
122
|
end
|
123
|
-
|
123
|
+
|
124
124
|
def find_tickets!(*args)
|
125
125
|
query = find_in_cache_or_execute(query_key(args)) { construct_ticket_query(*args) }
|
126
126
|
remote_tickets = unfuddle.find_tickets!(*query)
|
@@ -130,13 +130,13 @@ module Houston
|
|
130
130
|
rescue Unfuddle::Error
|
131
131
|
raise Houston::Adapters::TicketTracker::Error.new($!)
|
132
132
|
end
|
133
|
-
|
134
|
-
|
135
|
-
|
133
|
+
|
134
|
+
|
135
|
+
|
136
136
|
# Idiomatic API
|
137
|
-
|
137
|
+
|
138
138
|
attr_reader :project_id, :config
|
139
|
-
|
139
|
+
|
140
140
|
delegate :get_ticket_attribute_for_custom_value_named!,
|
141
141
|
:find_custom_field_value_by_id!,
|
142
142
|
:find_custom_field_value_by_value!,
|
@@ -145,37 +145,37 @@ module Houston
|
|
145
145
|
:severities,
|
146
146
|
:components,
|
147
147
|
:to => :unfuddle
|
148
|
-
|
149
|
-
|
150
|
-
|
148
|
+
|
149
|
+
|
150
|
+
|
151
151
|
def construct_ticket_query(*args)
|
152
152
|
unfuddle.construct_ticket_query(*args)
|
153
153
|
rescue Unfuddle::UndefinedCustomField, Unfuddle::UndefinedCustomFieldValue, Unfuddle::UndefinedSeverity
|
154
154
|
raise Houston::Adapters::TicketTracker::InvalidQueryError.new($!)
|
155
155
|
end
|
156
|
-
|
157
|
-
|
158
|
-
|
156
|
+
|
157
|
+
|
158
|
+
|
159
159
|
def query_key(query)
|
160
160
|
"unfuddle/projects/#{project_id}/query/#{Digest::MD5::hexdigest(query.inspect)}"
|
161
161
|
end
|
162
|
-
|
162
|
+
|
163
163
|
def reporter_key(reporter_id)
|
164
164
|
"unfuddle/reporters/#{reporter_id}"
|
165
165
|
end
|
166
|
-
|
166
|
+
|
167
167
|
def find_in_cache_or_execute(key, &block)
|
168
168
|
Rails.cache.fetch(key, &block)
|
169
169
|
end
|
170
|
-
|
170
|
+
|
171
171
|
def invalidate_cache!(*keys)
|
172
172
|
keys.each do |key|
|
173
173
|
Rails.cache.delete key
|
174
174
|
end
|
175
175
|
end
|
176
|
-
|
177
|
-
|
178
|
-
|
176
|
+
|
177
|
+
|
178
|
+
|
179
179
|
def as_user(user, &block)
|
180
180
|
login, password = *user.credentials.for("Unfuddle")
|
181
181
|
Unfuddle.with_config(username: login, password: password, &block)
|
@@ -189,13 +189,13 @@ module Houston
|
|
189
189
|
end
|
190
190
|
raise UserCredentials::InsufficientPermissions, "You do not have permission in Unfuddle to perform this action."
|
191
191
|
end
|
192
|
-
|
193
|
-
|
194
|
-
|
192
|
+
|
193
|
+
|
194
|
+
|
195
195
|
private
|
196
|
-
|
196
|
+
|
197
197
|
attr_reader :unfuddle
|
198
|
-
|
198
|
+
|
199
199
|
def find_reporter_email(reporter_id)
|
200
200
|
return nil if reporter_id.nil?
|
201
201
|
find_in_cache_or_execute(reporter_key(reporter_id)) do
|
@@ -206,17 +206,17 @@ module Houston
|
|
206
206
|
Rails.logger.warn "[unfuddle] person with id #{reporter_id} not found"
|
207
207
|
nil
|
208
208
|
end
|
209
|
-
|
209
|
+
|
210
210
|
def people
|
211
211
|
@people ||= Unfuddle.instance.people(including_removed: true)
|
212
212
|
end
|
213
|
-
|
213
|
+
|
214
214
|
def get_attributes_from_type(type)
|
215
215
|
attributes_from_type_proc = config[:attributes_from_type]
|
216
216
|
return {} unless attributes_from_type_proc
|
217
217
|
attributes_from_type_proc.call(type)
|
218
218
|
end
|
219
|
-
|
219
|
+
|
220
220
|
end
|
221
221
|
end
|
222
222
|
end
|
@@ -3,38 +3,38 @@ module Houston
|
|
3
3
|
module TicketTracker
|
4
4
|
class UnfuddleAdapter
|
5
5
|
class Milestone
|
6
|
-
|
7
|
-
|
6
|
+
|
7
|
+
|
8
8
|
def initialize(connection, attributes)
|
9
9
|
@connection = connection
|
10
10
|
@raw_attributes = attributes
|
11
11
|
@remote_id = attributes["id"]
|
12
12
|
@name = attributes["title"]
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
attr_reader :raw_attributes,
|
16
16
|
:remote_id,
|
17
17
|
:name
|
18
|
-
|
18
|
+
|
19
19
|
def attributes
|
20
20
|
{ remote_id: remote_id,
|
21
21
|
name: name }
|
22
22
|
end
|
23
|
-
|
24
|
-
|
23
|
+
|
24
|
+
|
25
25
|
def update_name!(name)
|
26
26
|
Houston.benchmark title: "Update Unfuddle Milestone" do
|
27
27
|
milestone = ::Unfuddle::Milestone.new(raw_attributes)
|
28
28
|
milestone.update_attribute("title", name)
|
29
29
|
end
|
30
30
|
end
|
31
|
-
|
32
|
-
|
31
|
+
|
32
|
+
|
33
33
|
private
|
34
|
-
|
34
|
+
|
35
35
|
attr_reader :connection
|
36
36
|
alias :unfuddle :connection
|
37
|
-
|
37
|
+
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
@@ -3,15 +3,15 @@ module Houston
|
|
3
3
|
module TicketTracker
|
4
4
|
class UnfuddleAdapter
|
5
5
|
class Ticket
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
|
7
|
+
|
8
|
+
|
9
9
|
def initialize(connection, attributes)
|
10
10
|
@connection = connection
|
11
11
|
@raw_attributes = attributes
|
12
12
|
@severity = get_severity_name(attributes["severity_id"]) if attributes["severity_id"]
|
13
13
|
@component = get_component_name(attributes["component_id"]) if attributes["component_id"]
|
14
|
-
|
14
|
+
|
15
15
|
# required
|
16
16
|
@remote_id = attributes["id"]
|
17
17
|
@number = attributes["number"]
|
@@ -23,15 +23,15 @@ module Houston
|
|
23
23
|
@type = get_type
|
24
24
|
@created_at = Time.parse(attributes["created_at"]) if attributes["created_at"]
|
25
25
|
@closed_at = Time.parse(attributes["closed_on"]) if attributes["closed_on"]
|
26
|
-
|
26
|
+
|
27
27
|
# optional
|
28
28
|
@tags = get_tags
|
29
29
|
@prerequisites = parse_prerequisites(attributes["associations"])
|
30
30
|
@due_date = attributes["due_on"]
|
31
31
|
end
|
32
|
-
|
32
|
+
|
33
33
|
attr_reader :raw_attributes,
|
34
|
-
|
34
|
+
|
35
35
|
:remote_id,
|
36
36
|
:number,
|
37
37
|
:summary,
|
@@ -42,13 +42,13 @@ module Houston
|
|
42
42
|
:type,
|
43
43
|
:created_at,
|
44
44
|
:closed_at,
|
45
|
-
|
45
|
+
|
46
46
|
:tags,
|
47
47
|
:prerequisites,
|
48
48
|
:severity,
|
49
49
|
:component,
|
50
50
|
:due_date
|
51
|
-
|
51
|
+
|
52
52
|
def attributes
|
53
53
|
{ remote_id: remote_id,
|
54
54
|
number: number,
|
@@ -60,14 +60,14 @@ module Houston
|
|
60
60
|
type: type,
|
61
61
|
created_at: created_at,
|
62
62
|
closed_at: closed_at,
|
63
|
-
|
63
|
+
|
64
64
|
tags: tags,
|
65
65
|
prerequisites: prerequisites,
|
66
66
|
due_date: due_date }
|
67
67
|
end
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
71
|
def resolve!
|
72
72
|
unless %w{resolved closed}.member? @raw_attributes["status"].to_s.downcase
|
73
73
|
Houston.benchmark title: "Resolve Unfuddle Ticket" do
|
@@ -76,14 +76,14 @@ module Houston
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
end
|
79
|
-
|
79
|
+
|
80
80
|
def close!
|
81
81
|
Houston.benchmark title: "Close Unfuddle Ticket" do
|
82
82
|
ticket = unfuddle.ticket(remote_id)
|
83
83
|
ticket.update_attributes!("status" => "closed")
|
84
84
|
end
|
85
85
|
end
|
86
|
-
|
86
|
+
|
87
87
|
def reopen!
|
88
88
|
unless %w{closed}.member? @raw_attributes["status"].to_s.downcase
|
89
89
|
Houston.benchmark title: "Reopen Unfuddle Ticket" do
|
@@ -92,18 +92,18 @@ module Houston
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
end
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
|
96
|
+
|
97
|
+
|
98
98
|
def set_milestone!(milestone_id)
|
99
99
|
Houston.benchmark title: "Update Unfuddle Ticket" do
|
100
100
|
ticket = unfuddle.ticket(remote_id)
|
101
101
|
ticket.update_attribute("milestone_id", milestone_id || 0)
|
102
102
|
end
|
103
103
|
end
|
104
|
-
|
105
|
-
|
106
|
-
|
104
|
+
|
105
|
+
|
106
|
+
|
107
107
|
def create_comment!(comment)
|
108
108
|
Houston.benchmark title: "Create Unfuddle Comment" do
|
109
109
|
unfuddle.as_user(comment.user) do
|
@@ -112,42 +112,42 @@ module Houston
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
end
|
115
|
-
|
115
|
+
|
116
116
|
def update_comment!(comment)
|
117
117
|
Houston.benchmark title: "Update Unfuddle Comment" do
|
118
118
|
unfuddle.as_user(comment.user) do
|
119
119
|
unfuddle_comment = comment(comment.remote_id)
|
120
120
|
return unless unfuddle_comment
|
121
|
-
|
121
|
+
|
122
122
|
unfuddle_comment.project_id = unfuddle.project_id
|
123
123
|
unfuddle_comment.update_attributes!("body" => comment.body)
|
124
124
|
end
|
125
125
|
end
|
126
126
|
end
|
127
|
-
|
127
|
+
|
128
128
|
def destroy_comment!(comment)
|
129
129
|
Houston.benchmark title: "Destroy Unfuddle Comment" do
|
130
130
|
unfuddle_comment = comment(comment.remote_id)
|
131
131
|
return unless unfuddle_comment
|
132
|
-
|
132
|
+
|
133
133
|
unfuddle_comment.project_id = unfuddle.project_id
|
134
134
|
unfuddle_comment.destroy!
|
135
135
|
end
|
136
136
|
end
|
137
|
-
|
138
|
-
|
139
|
-
|
137
|
+
|
138
|
+
|
139
|
+
|
140
140
|
def get_custom_value(custom_field_name)
|
141
141
|
unfuddle_ticket = @raw_attributes
|
142
|
-
|
142
|
+
|
143
143
|
retried_once = false
|
144
144
|
begin
|
145
145
|
custom_field_key = custom_field_name.underscore.gsub(/\s/, "_")
|
146
|
-
|
146
|
+
|
147
147
|
key = find_in_cache_or_execute(custom_field_key(custom_field_key)) do
|
148
148
|
connection.get_ticket_attribute_for_custom_value_named!(custom_field_name) rescue "undefined"
|
149
149
|
end
|
150
|
-
|
150
|
+
|
151
151
|
value_id = unfuddle_ticket[key]
|
152
152
|
return nil if value_id.blank?
|
153
153
|
find_in_cache_or_execute(custom_value_key(custom_field_key, value_id)) do
|
@@ -157,7 +157,7 @@ module Houston
|
|
157
157
|
if retried_once
|
158
158
|
raise
|
159
159
|
else
|
160
|
-
|
160
|
+
|
161
161
|
# If an error occurred above, it may be because
|
162
162
|
# we cached the wrong value for something.
|
163
163
|
retried_once = true
|
@@ -166,73 +166,73 @@ module Houston
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
end
|
169
|
-
|
170
|
-
|
171
|
-
|
169
|
+
|
170
|
+
|
171
|
+
|
172
172
|
private
|
173
|
-
|
173
|
+
|
174
174
|
attr_reader :connection
|
175
175
|
alias :unfuddle :connection
|
176
|
-
|
176
|
+
|
177
177
|
delegate :find_in_cache_or_execute,
|
178
178
|
:invalidate_cache,
|
179
179
|
:project_id,
|
180
180
|
:to => :connection
|
181
|
-
|
182
|
-
|
183
|
-
|
181
|
+
|
182
|
+
|
183
|
+
|
184
184
|
def get_type
|
185
185
|
identify_type_proc = unfuddle.config[:identify_type]
|
186
186
|
identify_type_proc.call(self) if identify_type_proc
|
187
187
|
end
|
188
|
-
|
188
|
+
|
189
189
|
def get_tags
|
190
190
|
identify_tags_proc = unfuddle.config[:identify_tags]
|
191
191
|
return [] unless identify_tags_proc
|
192
192
|
identify_tags_proc.call(self)
|
193
193
|
end
|
194
|
-
|
195
|
-
|
196
|
-
|
194
|
+
|
195
|
+
|
196
|
+
|
197
197
|
def parse_prerequisites(associations)
|
198
198
|
Array.wrap(associations)
|
199
199
|
.select { |assocation| assocation["relationship"] == "parent" }
|
200
200
|
.map { |assocation| assocation["ticket"]["number"] }
|
201
201
|
end
|
202
|
-
|
203
|
-
|
204
|
-
|
202
|
+
|
203
|
+
|
204
|
+
|
205
205
|
def get_severity_name(severity_id)
|
206
206
|
severity = unfuddle.severities.find { |severity| severity.id == severity_id }
|
207
207
|
severity && severity.name
|
208
208
|
end
|
209
|
-
|
209
|
+
|
210
210
|
def get_component_name(component_id)
|
211
211
|
component = unfuddle.components.find { |component| component.id == component_id }
|
212
212
|
component && component.name
|
213
213
|
end
|
214
|
-
|
215
|
-
|
216
|
-
|
214
|
+
|
215
|
+
|
216
|
+
|
217
217
|
def comment(remote_comment_id)
|
218
218
|
return nil unless remote_comment_id
|
219
|
-
|
219
|
+
|
220
220
|
ticket = unfuddle.ticket(remote_id)
|
221
221
|
ticket.comment(remote_comment_id)
|
222
222
|
end
|
223
|
-
|
224
|
-
|
225
|
-
|
223
|
+
|
224
|
+
|
225
|
+
|
226
226
|
def custom_field_key(custom_field_key)
|
227
227
|
"unfuddle/projects/#{project_id}/custom_field/#{custom_field_key}/name"
|
228
228
|
end
|
229
|
-
|
229
|
+
|
230
230
|
def custom_value_key(custom_field_key, value_id)
|
231
231
|
"unfuddle/projects/#{project_id}/custom_field/#{custom_field_key}/value/#{value_id}"
|
232
232
|
end
|
233
|
-
|
234
|
-
|
235
|
-
|
233
|
+
|
234
|
+
|
235
|
+
|
236
236
|
end
|
237
237
|
end
|
238
238
|
end
|
@@ -2,9 +2,9 @@ module Houston
|
|
2
2
|
module Adapters
|
3
3
|
module TicketTracker
|
4
4
|
class UnfuddleAdapter
|
5
|
-
|
5
|
+
|
6
6
|
class << self
|
7
|
-
|
7
|
+
|
8
8
|
def errors_with_parameters(project, project_id)
|
9
9
|
return {unfuddle_project_id: ["cannot be blank"]} if project_id.blank?
|
10
10
|
return {unfuddle_project_id: ["must be a number"]} unless project_id.to_s =~ /\d+/
|
@@ -18,25 +18,25 @@ module Houston
|
|
18
18
|
end
|
19
19
|
{}
|
20
20
|
end
|
21
|
-
|
21
|
+
|
22
22
|
def build(project, project_id)
|
23
23
|
return Houston::Adapters::TicketTracker::NullConnection if project_id.blank?
|
24
|
-
|
24
|
+
|
25
25
|
self::Connection.new new_connection(project_id)
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
def parameters
|
29
29
|
[:unfuddle_project_id]
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
private
|
33
|
-
|
33
|
+
|
34
34
|
def new_connection(project_id)
|
35
35
|
::Unfuddle.instance.project(project_id)
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -2,7 +2,7 @@ module Houston
|
|
2
2
|
module Adapters
|
3
3
|
module VersionControl
|
4
4
|
class Commit
|
5
|
-
|
5
|
+
|
6
6
|
def initialize(attributes={})
|
7
7
|
@sha = attributes[:sha]
|
8
8
|
@parent_sha = attributes[:parent_sha]
|
@@ -14,15 +14,15 @@ module Houston
|
|
14
14
|
@committer_name = attributes[:committer_name]
|
15
15
|
@committer_email = attributes[:committer_email]
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
attr_reader :sha, :parent_sha, :message,
|
19
19
|
:authored_at, :author_name, :author_email,
|
20
20
|
:committed_at, :committer_name, :committer_email
|
21
|
-
|
21
|
+
|
22
22
|
def to_s
|
23
23
|
sha[0...7]
|
24
24
|
end
|
25
|
-
|
25
|
+
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|