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
@@ -2,9 +2,9 @@ class Change < ActiveRecord::Base; end
|
|
2
2
|
class EmbedChangesInReleases < ActiveRecord::Migration
|
3
3
|
def up
|
4
4
|
add_column :releases, :release_changes, :text
|
5
|
-
|
5
|
+
|
6
6
|
Release.reset_column_information
|
7
|
-
|
7
|
+
|
8
8
|
Release.find_each do |release|
|
9
9
|
release.release_changes = Change.where(release_id: release.id).map do |change|
|
10
10
|
ReleaseChange.new(release, change.tag_slug, change.description)
|
@@ -12,7 +12,7 @@ class EmbedChangesInReleases < ActiveRecord::Migration
|
|
12
12
|
release.save(validate: false)
|
13
13
|
end
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
def down
|
17
17
|
remove_column :releases, :release_changes
|
18
18
|
end
|
@@ -5,15 +5,15 @@ class CreateTasks < ActiveRecord::Migration
|
|
5
5
|
t.integer :number, null: false
|
6
6
|
t.string :description, null: false, length: 80
|
7
7
|
t.decimal :effort, :precision => 6, :scale => 2 # 1234.56
|
8
|
-
|
8
|
+
|
9
9
|
t.timestamp :first_release_at
|
10
10
|
t.timestamp :first_commit_at
|
11
11
|
t.integer :sprint_id
|
12
12
|
t.timestamp :checked_out_at
|
13
13
|
t.integer :checked_out_by_id
|
14
|
-
|
14
|
+
|
15
15
|
t.timestamps
|
16
|
-
|
16
|
+
|
17
17
|
t.index [:ticket_id, :number], unique: true
|
18
18
|
end
|
19
19
|
end
|
@@ -7,7 +7,7 @@ class CreateTasksForExistingTickets < ActiveRecord::Migration
|
|
7
7
|
first_commit_at = ticket.commits.earliest.try :created_at
|
8
8
|
effort = ticket.extended_attributes["estimated_effort"]
|
9
9
|
effort = effort.blank? ? nil : effort.to_d
|
10
|
-
|
10
|
+
|
11
11
|
task = ticket.tasks.create!({
|
12
12
|
description: ticket.summary,
|
13
13
|
first_release_at: first_release_at,
|
@@ -7,13 +7,13 @@ class PreventHstoreFieldsFromBeingNull < ActiveRecord::Migration
|
|
7
7
|
[:tickets, :extended_attributes],
|
8
8
|
[:users, :view_options]
|
9
9
|
]
|
10
|
-
|
10
|
+
|
11
11
|
def up
|
12
12
|
FIELDS.each do |(table, column)|
|
13
13
|
change_column table, column, :hstore, null: false, default: ''
|
14
14
|
end
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
def down
|
18
18
|
FIELDS.each do |(table, column)|
|
19
19
|
change_column table, column, :hstore, null: true, default: nil
|
@@ -3,7 +3,7 @@ class AllowTaskDescriptionsToBeNull < ActiveRecord::Migration
|
|
3
3
|
change_column_null :tasks, :description, true
|
4
4
|
Task.where(number: 1).update_all(description: nil)
|
5
5
|
end
|
6
|
-
|
6
|
+
|
7
7
|
def down
|
8
8
|
Task.where(description: nil).includes(:ticket).find_each do |task|
|
9
9
|
task.update_column :description, task.ticket.summary
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class AddCommitIdToDeploys < ActiveRecord::Migration
|
2
2
|
def up
|
3
3
|
add_column :deploys, :commit_id, :integer
|
4
|
-
|
4
|
+
|
5
5
|
# Do one `git pull` before starting
|
6
6
|
puts "syncing commits"
|
7
7
|
pbar = ProgressBar.new("projects", Deploy.count)
|
@@ -10,21 +10,21 @@ class AddCommitIdToDeploys < ActiveRecord::Migration
|
|
10
10
|
pbar.inc
|
11
11
|
end
|
12
12
|
pbar.finish
|
13
|
-
|
13
|
+
|
14
14
|
pbar = ProgressBar.new("deploys", Deploy.count)
|
15
15
|
Deploy.includes(:project).find_each do |deploy|
|
16
16
|
pbar.inc
|
17
17
|
next unless deploy.project
|
18
|
-
|
18
|
+
|
19
19
|
sha = deploy.read_attribute(:commit)
|
20
20
|
commit = deploy.project.commits.find_by_sha(sha)
|
21
21
|
deploy.update_column :commit_id, commit.id if commit
|
22
22
|
end
|
23
23
|
pbar.finish
|
24
|
-
|
24
|
+
|
25
25
|
puts "\e[33;1m#{Deploy.where(commit_id: nil).count}\e[0;33m out of \e[1m#{Deploy.count}\e[0;33m deploys aren't associated with a commit\e[0m"
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
def down
|
29
29
|
remove_column :deploys, :commit_id
|
30
30
|
end
|
@@ -2,12 +2,12 @@ class AddCommitBeforeIdAndCommitAfterIdToReleases < ActiveRecord::Migration
|
|
2
2
|
def up
|
3
3
|
add_column :releases, :commit_before_id, :integer
|
4
4
|
add_column :releases, :commit_after_id, :integer
|
5
|
-
|
5
|
+
|
6
6
|
pbar = ProgressBar.new("releases", Release.count)
|
7
7
|
Release.includes(:project).find_each do |release|
|
8
8
|
pbar.inc
|
9
9
|
next unless release.project
|
10
|
-
|
10
|
+
|
11
11
|
sha0 = release.read_attribute(:commit0)
|
12
12
|
sha1 = release.read_attribute(:commit1)
|
13
13
|
commit0 = release.project.commits.find_by_sha sha0
|
@@ -16,11 +16,11 @@ class AddCommitBeforeIdAndCommitAfterIdToReleases < ActiveRecord::Migration
|
|
16
16
|
release.update_column :commit_after_id, commit1.id if commit1
|
17
17
|
end
|
18
18
|
pbar.finish
|
19
|
-
|
19
|
+
|
20
20
|
puts "\e[33;1m#{Release.where(commit_before_id: nil).count}\e[0;33m out of \e[1m#{Release.count}\e[0;33m release don't have a commit_before\e[0m"
|
21
21
|
puts "\e[33;1m#{Release.where(commit_after_id: nil).count}\e[0;33m out of \e[1m#{Release.count}\e[0;33m release don't have a commit_after\e[0m"
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
24
|
def down
|
25
25
|
remove_column :releases, :commit_before_id
|
26
26
|
remove_column :releases, :commit_after_id
|
@@ -1,53 +1,53 @@
|
|
1
1
|
class AssociateRemainingDeploysAndReleases < ActiveRecord::Migration
|
2
2
|
def up
|
3
3
|
@invalid_shas = 0
|
4
|
-
|
4
|
+
|
5
5
|
pbar = ProgressBar.new("deploys", Deploy.where(commit_id: nil).count)
|
6
6
|
Deploy.includes(:project).where(commit_id: nil).find_each do |deploy|
|
7
7
|
pbar.inc
|
8
8
|
next unless deploy.project
|
9
9
|
next if deploy.project.retired?
|
10
|
-
|
10
|
+
|
11
11
|
sha = deploy.read_attribute(:commit)
|
12
12
|
commit = find_commit(deploy.project, sha)
|
13
13
|
deploy.update_column :commit_id, commit.id if commit
|
14
14
|
end
|
15
15
|
pbar.finish
|
16
|
-
|
16
|
+
|
17
17
|
pbar = ProgressBar.new("releases", Release.where(commit_before_id: nil).count)
|
18
18
|
Release.includes(:project).where(commit_before_id: nil).find_each do |release|
|
19
19
|
pbar.inc
|
20
20
|
next unless release.project
|
21
21
|
next if release.project.retired?
|
22
|
-
|
22
|
+
|
23
23
|
sha0 = release.read_attribute(:commit0)
|
24
24
|
commit0 = find_commit(release.project, sha0)
|
25
25
|
release.update_column :commit_before_id, commit0.id if commit0
|
26
26
|
end
|
27
27
|
pbar.finish
|
28
|
-
|
28
|
+
|
29
29
|
pbar = ProgressBar.new("releases", Release.where(commit_after_id: nil).count)
|
30
30
|
Release.includes(:project).where(commit_after_id: nil).find_each do |release|
|
31
31
|
pbar.inc
|
32
32
|
next unless release.project
|
33
33
|
next if release.project.retired?
|
34
|
-
|
34
|
+
|
35
35
|
sha1 = release.read_attribute(:commit1)
|
36
36
|
commit1 = find_commit(release.project, sha1)
|
37
37
|
release.update_column :commit_after_id, commit1.id if commit1
|
38
38
|
end
|
39
39
|
pbar.finish
|
40
|
-
|
41
|
-
|
42
|
-
|
40
|
+
|
41
|
+
|
42
|
+
|
43
43
|
puts "\e[31;1m#{@invalid_shas}\e[0;31m invalid shas\e[0m"
|
44
44
|
puts "\e[33;1m#{Deploy.where(commit_id: nil).count}\e[0;33m out of \e[1m#{Deploy.count}\e[0;33m deploys aren't associated with a commit\e[0m"
|
45
45
|
puts "\e[33;1m#{Release.where(commit_before_id: nil).count}\e[0;33m out of \e[1m#{Release.count}\e[0;33m release don't have a commit_before\e[0m"
|
46
46
|
puts "\e[33;1m#{Release.where(commit_after_id: nil).count}\e[0;33m out of \e[1m#{Release.count}\e[0;33m release don't have a commit_after\e[0m"
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
private
|
50
|
-
|
50
|
+
|
51
51
|
def find_commit(project, sha)
|
52
52
|
project.find_commit_by_sha(sha)
|
53
53
|
rescue Houston::Adapters::VersionControl::CommitNotFound
|
@@ -56,5 +56,5 @@ private
|
|
56
56
|
@invalid_shas += 1
|
57
57
|
nil
|
58
58
|
end
|
59
|
-
|
59
|
+
|
60
60
|
end
|
@@ -3,14 +3,14 @@ class CreateSprintsTasks < ActiveRecord::Migration
|
|
3
3
|
create_join_table :sprints, :tasks do |t|
|
4
4
|
t.index [:sprint_id, :task_id], unique: true
|
5
5
|
end
|
6
|
-
|
6
|
+
|
7
7
|
Task.where(Task.arel_table[:sprint_id].not_eq(nil)).pluck(:id, :sprint_id).each do |task_id, sprint_id|
|
8
8
|
SprintTask.create(task_id: task_id, sprint_id: sprint_id)
|
9
9
|
end
|
10
|
-
|
10
|
+
|
11
11
|
puts "\e[34m#{SprintTask.count} tasks put into sprints\e[0m"
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def down
|
15
15
|
drop_join_table :sprints, :tasks
|
16
16
|
end
|
@@ -2,18 +2,18 @@ class AddCompletedAtToTasks < ActiveRecord::Migration
|
|
2
2
|
def up
|
3
3
|
add_column :tasks, :completed_at, :timestamp, null: true
|
4
4
|
Task.reset_column_information
|
5
|
-
|
5
|
+
|
6
6
|
Task.joins(:project)
|
7
7
|
.where(Project.arel_table[:category].eq("Libraries"))
|
8
8
|
.committed
|
9
9
|
.update_all("completed_at=first_commit_at")
|
10
|
-
|
10
|
+
|
11
11
|
Task.joins(:project)
|
12
12
|
.where(Project.arel_table[:category].not_eq("Libraries"))
|
13
13
|
.released
|
14
14
|
.update_all("completed_at=first_release_at")
|
15
15
|
end
|
16
|
-
|
16
|
+
|
17
17
|
def down
|
18
18
|
remove_column :tasks, :completed_at
|
19
19
|
end
|
@@ -2,7 +2,7 @@ class AddCheckedOutToSprintsTasks < ActiveRecord::Migration
|
|
2
2
|
def up
|
3
3
|
add_column :sprints_tasks, :checked_out_at, :timestamp
|
4
4
|
add_column :sprints_tasks, :checked_out_by_id, :integer
|
5
|
-
|
5
|
+
|
6
6
|
execute <<-SQL
|
7
7
|
UPDATE sprints_tasks
|
8
8
|
SET checked_out_at=tasks.checked_out_at,
|
@@ -11,7 +11,7 @@ class AddCheckedOutToSprintsTasks < ActiveRecord::Migration
|
|
11
11
|
WHERE sprints_tasks.task_id=tasks.id
|
12
12
|
SQL
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
def down
|
16
16
|
remove_column :sprints_tasks, :checked_out_at
|
17
17
|
remove_column :sprints_tasks, :checked_out_by_id
|
@@ -3,20 +3,20 @@ class CreateHistoricalHeads < ActiveRecord::Migration
|
|
3
3
|
create_table :historical_heads do |t|
|
4
4
|
t.integer :project_id, null: false
|
5
5
|
t.hstore :branches, null: false, default: {}
|
6
|
-
|
6
|
+
|
7
7
|
t.timestamps
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
10
|
Project.unretired.with_version_control.each do |project|
|
11
11
|
puts "Checking #{project.slug}"
|
12
12
|
project.repo.refresh!
|
13
|
-
|
13
|
+
|
14
14
|
HistoricalHead.create!(
|
15
15
|
project_id: project.id,
|
16
16
|
branches: project.repo.branches)
|
17
17
|
end
|
18
18
|
end
|
19
|
-
|
19
|
+
|
20
20
|
def down
|
21
21
|
drop_table :historical_heads
|
22
22
|
end
|
@@ -2,7 +2,7 @@ class MakeUsersEnvironmentsSubscribedToAnArray < ActiveRecord::Migration
|
|
2
2
|
def up
|
3
3
|
rename_column :users, :environments_subscribed_to, :old_environments_subscribed_to
|
4
4
|
add_column :users, :environments_subscribed_to, :text, array: true, default: [], null: false
|
5
|
-
|
5
|
+
|
6
6
|
User.reset_column_information
|
7
7
|
User.find_each do |user|
|
8
8
|
environments = JSON.load user.old_environments_subscribed_to
|
@@ -10,7 +10,7 @@ class MakeUsersEnvironmentsSubscribedToAnArray < ActiveRecord::Migration
|
|
10
10
|
user.update_column :environments_subscribed_to, environments
|
11
11
|
end
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def down
|
15
15
|
remove_column :users, :environments_subscribed_to
|
16
16
|
rename_column :users, :old_environments_subscribed_to, :environments_subscribed_to
|
@@ -1,11 +1,11 @@
|
|
1
1
|
class AddFeaturesToProjects < ActiveRecord::Migration
|
2
2
|
def up
|
3
3
|
add_column :projects, :selected_features, :text, array: true
|
4
|
-
|
4
|
+
|
5
5
|
Project.reset_column_information
|
6
6
|
Project.update_all(selected_features: Houston.config.project_features)
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def down
|
10
10
|
remove_column :projects, :selected_features
|
11
11
|
end
|
@@ -23,7 +23,7 @@ class AddCommitIdToTestRuns < ActiveRecord::Migration
|
|
23
23
|
|
24
24
|
puts "\e[33;1m#{TestRun.where(commit_id: nil).count}\e[0;33m out of \e[1m#{TestRun.count}\e[0;33m test runs aren't associated with a commit\e[0m"
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
def down
|
28
28
|
remove_column :test_runs, :commit_id
|
29
29
|
end
|
@@ -3,7 +3,7 @@ class RenameTestResultsRegressionToDifference < ActiveRecord::Migration
|
|
3
3
|
rename_column :test_results, :regression, :different
|
4
4
|
add_column :test_results, :new_test, :boolean, null: true, default: nil
|
5
5
|
end
|
6
|
-
|
6
|
+
|
7
7
|
def down
|
8
8
|
remove_column :test_results, :new_test
|
9
9
|
rename_column :test_results, :different, :regression
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class RequiredPullRequestsToBeUniqueByProjectAndNumber < ActiveRecord::Migration
|
2
|
+
def up
|
3
|
+
while (ids = select_values("select max(id) from pull_requests group by project_id, number having count(id) > 1")).any?
|
4
|
+
Github::PullRequest.where(id: ids).delete_all
|
5
|
+
end
|
6
|
+
|
7
|
+
add_index :pull_requests, [:project_id, :number], unique: true
|
8
|
+
end
|
9
|
+
|
10
|
+
def down
|
11
|
+
remove_index :pull_requests, [:project_id, :number]
|
12
|
+
end
|
13
|
+
end
|
data/db/structure.sql
CHANGED
@@ -1637,6 +1637,13 @@ CREATE INDEX index_project_quotas_on_week ON project_quotas USING btree (week);
|
|
1637
1637
|
CREATE INDEX index_pull_requests_on_project_id ON pull_requests USING btree (project_id);
|
1638
1638
|
|
1639
1639
|
|
1640
|
+
--
|
1641
|
+
-- Name: index_pull_requests_on_project_id_and_number; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1642
|
+
--
|
1643
|
+
|
1644
|
+
CREATE UNIQUE INDEX index_pull_requests_on_project_id_and_number ON pull_requests USING btree (project_id, number);
|
1645
|
+
|
1646
|
+
|
1640
1647
|
--
|
1641
1648
|
-- Name: index_releases_on_deploy_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
1642
1649
|
--
|
@@ -2280,3 +2287,5 @@ INSERT INTO schema_migrations (version) VALUES ('20150902010629');
|
|
2280
2287
|
|
2281
2288
|
INSERT INTO schema_migrations (version) VALUES ('20150902010853');
|
2282
2289
|
|
2290
|
+
INSERT INTO schema_migrations (version) VALUES ('20150927014445');
|
2291
|
+
|
data/houston.gemspec
CHANGED
@@ -20,37 +20,37 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
|
22
22
|
# For Houston as a Web Application
|
23
|
-
spec.add_dependency "rails", "~> 4.1.
|
23
|
+
spec.add_dependency "rails", "~> 4.1.13"
|
24
24
|
spec.add_dependency "pg", "~> 0.18.2"
|
25
25
|
# --------------------------------
|
26
|
-
spec.add_dependency "activerecord-
|
26
|
+
spec.add_dependency "activerecord-import"
|
27
27
|
spec.add_dependency "activerecord-pluck_in_batches"
|
28
28
|
spec.add_dependency "addressable"
|
29
29
|
spec.add_dependency "backbone-rails", "~> 1.0.0"
|
30
|
-
spec.add_dependency "cancan"
|
30
|
+
spec.add_dependency "cancan", "~> 1.6.10"
|
31
31
|
spec.add_dependency "default_value_for", "3.0.0.1"
|
32
32
|
spec.add_dependency "devise", "~> 3.0.0"
|
33
|
-
spec.add_dependency "devise_invitable"
|
33
|
+
spec.add_dependency "devise_invitable", "~> 1.2.1"
|
34
34
|
spec.add_dependency "houston-devise_ldap_authenticatable"
|
35
|
-
spec.add_dependency "faraday"
|
36
|
-
spec.add_dependency "faraday-http-cache"
|
37
|
-
spec.add_dependency "faraday-raise-errors"
|
38
|
-
spec.add_dependency "gemoji"
|
35
|
+
spec.add_dependency "faraday", "~> 0.8.10"
|
36
|
+
spec.add_dependency "faraday-http-cache", "~> 1.2.2"
|
37
|
+
spec.add_dependency "faraday-raise-errors", "~> 0.2.0"
|
38
|
+
spec.add_dependency "gemoji", "~> 2.1.0"
|
39
39
|
spec.add_dependency "handlebars_assets", "~> 0.18.0"
|
40
|
-
spec.add_dependency "hpricot"
|
40
|
+
spec.add_dependency "hpricot", "~> 0.8.6"
|
41
41
|
spec.add_dependency "neat-rails"
|
42
|
-
spec.add_dependency "nokogiri"
|
42
|
+
spec.add_dependency "nokogiri", "~> 1.6.6.2"
|
43
43
|
spec.add_dependency "houston-oauth-plugin"
|
44
|
-
spec.add_dependency "oj"
|
44
|
+
spec.add_dependency "oj", "~> 2.12.14"
|
45
45
|
spec.add_dependency "openxml-xlsx"
|
46
|
-
spec.add_dependency "pg_search"
|
47
|
-
spec.add_dependency "premailer"
|
46
|
+
spec.add_dependency "pg_search", "~> 1.0.5"
|
47
|
+
spec.add_dependency "premailer", "~> 1.8.6"
|
48
48
|
spec.add_dependency "progressbar" # for long migrations
|
49
|
-
spec.add_dependency "rack-utf8_sanitizer"
|
50
|
-
spec.add_dependency "redcarpet"
|
51
|
-
spec.add_dependency "strongbox" # for encrypting user credentials
|
49
|
+
spec.add_dependency "rack-utf8_sanitizer", "~> 1.3.1"
|
50
|
+
spec.add_dependency "redcarpet", "~> 3.3.2"
|
51
|
+
spec.add_dependency "strongbox", "~> 0.7.2" # for encrypting user credentials
|
52
52
|
spec.add_dependency "sugar-rails"
|
53
|
-
spec.add_dependency "thread_safe"
|
53
|
+
spec.add_dependency "thread_safe", "~> 0.3.5"
|
54
54
|
spec.add_dependency "houston-vestal_versions"
|
55
55
|
|
56
56
|
# The Asset Pipeline
|
@@ -59,12 +59,12 @@ Gem::Specification.new do |spec|
|
|
59
59
|
spec.add_dependency "coffee-rails", "~> 4.0.0"
|
60
60
|
|
61
61
|
# Houston's background jobs daemon
|
62
|
-
spec.add_dependency "rufus-scheduler"
|
62
|
+
spec.add_dependency "rufus-scheduler", "~> 3.1.4"
|
63
63
|
spec.add_dependency "whenever", "0.9.2" # Houston uses just the DSL for writing cron jobs
|
64
64
|
|
65
65
|
# Used to create image charts for embedding in email
|
66
66
|
# TODO: this product is deprecated, so find a replacement
|
67
|
-
spec.add_dependency "googlecharts"
|
67
|
+
spec.add_dependency "googlecharts", "~> 1.6.12"
|
68
68
|
|
69
69
|
# Used to edit a releases' changes and a project's followers
|
70
70
|
spec.add_dependency "nested_editor_for"
|
@@ -79,21 +79,18 @@ Gem::Specification.new do |spec|
|
|
79
79
|
|
80
80
|
# This is a runtime dependency because Houston uses it to parse
|
81
81
|
# code coverage data generated by simplecov
|
82
|
-
spec.add_dependency "simplecov"
|
82
|
+
spec.add_dependency "simplecov", "~> 0.9.1"
|
83
83
|
|
84
84
|
# Implements Houston's VersionControl::GitAdapter
|
85
|
-
spec.add_dependency "rugged", "~> 0.23.
|
85
|
+
spec.add_dependency "rugged", "~> 0.23.2" # for speaking to Git
|
86
86
|
|
87
87
|
# For integration with GitHub
|
88
|
-
spec.add_dependency "octokit"
|
88
|
+
spec.add_dependency "octokit", "~> 4.1.0"
|
89
89
|
|
90
90
|
# Implements Houston's TicketTracker::UnfuddleAdapter
|
91
91
|
spec.add_dependency "boblail-unfuddle"
|
92
92
|
|
93
|
-
# For publishing Gemfiles to Gemnasium
|
94
|
-
spec.add_dependency "gemnasium"
|
95
|
-
|
96
93
|
# For deploying to EngineYard
|
97
|
-
spec.add_dependency "engineyard"
|
94
|
+
spec.add_dependency "engineyard", "~> 3.2.1"
|
98
95
|
|
99
96
|
end
|
data/lib/configuration.rb
CHANGED
@@ -326,11 +326,6 @@ module Houston
|
|
326
326
|
@github_configuration ||= {}
|
327
327
|
end
|
328
328
|
|
329
|
-
def gemnasium(&block)
|
330
|
-
@gemnasium_configuration = HashDsl.hash_from_block(block) if block_given?
|
331
|
-
@gemnasium_configuration ||= {}
|
332
|
-
end
|
333
|
-
|
334
329
|
def supports_pull_requests?
|
335
330
|
github[:organization].present?
|
336
331
|
end
|
data/lib/core_ext/duration.rb
CHANGED