houston-core 0.6.3 → 0.7.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +53 -63
- data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +2 -2
- data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +1 -1
- data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +5 -5
- data/app/adapters/houston/adapters/version_control/git_adapter.rb +4 -4
- data/app/assets/javascripts/{app → houston/app}/boot.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/emoji.coffee.erb +0 -0
- data/app/assets/javascripts/{app → houston/app}/infinite_scroll.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/commit.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/release.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/task.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/tester.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/testing_note.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/ticket.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/models/user.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/mousetrap-bind-scoped.js +0 -0
- data/app/assets/javascripts/{app → houston/app}/releases.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/table_row_expander.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/ticket_tracker_refresh.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/_show_sprint_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/_tickets_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/all_tickets_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/commit_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/edit_sprint_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/edit_ticket_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/find_or_create_ticket_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/keyboard_shortcuts_modal.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/new_ticket_modal.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/new_ticket_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/problems_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/testing_note_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/testing_report_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/testing_ticket_view.coffee +0 -0
- data/app/assets/javascripts/{app → houston/app}/views/ticket_modal_view.coffee +0 -0
- data/app/assets/javascripts/{application.js → houston/application.js} +1 -1
- data/app/assets/javascripts/{core → houston/core}/app.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/burndown_chart.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/core_ext/array.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/core_ext/date.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/core_ext/number.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/errors.coffee +1 -1
- data/app/assets/javascripts/{core → houston/core}/handlebars_helpers.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/helpers.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/jquery_extensions.coffee +5 -3
- data/app/assets/javascripts/{core → houston/core}/stacked_area_graph.coffee +0 -0
- data/app/assets/javascripts/{core → houston/core}/stacked_bar_graph.coffee +0 -0
- data/app/assets/javascripts/{dashboard.js → houston/dashboard.js} +1 -1
- data/app/assets/javascripts/{dashboard → houston/dashboard}/refresher.coffee +0 -0
- data/app/assets/javascripts/{vendor.js → houston/vendor.js} +0 -0
- data/app/assets/stylesheets/{application.css → houston/application.css} +0 -0
- data/app/assets/stylesheets/{application → houston/application}/ansi.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/commit.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/emoji.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/exceptions.scss +1 -1
- data/app/assets/stylesheets/{application → houston/application}/find_or_create_ticket.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/follow_up.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/forms.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/freight_train.css.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/full_screen.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/github_repos.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/infinite_scroll.scss +0 -0
- data/app/assets/stylesheets/houston/application/jobs.scss +5 -0
- data/app/assets/stylesheets/{application → houston/application}/keyboard_shortcuts.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/markdown.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/mobile.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/modals.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/navigation.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/new_ticket_view.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/omnibar.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/project_banner_buttons.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/project_tiles.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/projects.css.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/pull_requests.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/queue.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/release_form.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/releases.scss +1 -1
- data/app/assets/stylesheets/{application → houston/application}/sortable_table.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/sprint.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/tables.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/test.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/test_run.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/testing_report.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/ticket.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/ticket_modal.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/tickets.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/timeline.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/tips.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/typeahead.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/uploading.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/user_wall.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/users.scss +0 -0
- data/app/assets/stylesheets/{application → houston/application}/welcome.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/alerts.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/avatars.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/burndown_chart.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/colors.scss.erb +0 -0
- data/app/assets/stylesheets/{core → houston/core}/misc.scss +3 -0
- data/app/assets/stylesheets/{core → houston/core}/octicons-icons.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/octicons.scss.erb +0 -0
- data/app/assets/stylesheets/{core → houston/core}/overrides.scss +0 -0
- data/app/assets/stylesheets/{core → houston/core}/roboto.scss.erb +0 -0
- data/app/assets/stylesheets/{core → houston/core}/scores.scss +0 -0
- data/app/assets/stylesheets/{dashboard.css → houston/dashboard.css} +0 -0
- data/app/assets/stylesheets/{dashboard → houston/dashboard}/dashboard.scss +0 -0
- data/app/assets/stylesheets/{print.css.scss → houston/print.css.scss} +0 -0
- data/app/assets/stylesheets/{variables.scss → houston/variables.scss} +0 -0
- data/app/assets/stylesheets/{vendor.css → houston/vendor.css} +0 -0
- data/app/concerns/houston/props.rb +96 -0
- data/app/concerns/project_adapter.rb +1 -1
- data/app/controllers/api/v1/measurements_controller.rb +32 -0
- data/app/controllers/application_controller.rb +1 -1
- data/app/controllers/authorizations_controller.rb +61 -0
- data/app/controllers/github/pulls_controller.rb +1 -1
- data/app/controllers/jobs_controller.rb +30 -1
- data/app/controllers/oauth/providers_controller.rb +45 -0
- data/app/controllers/project_options_controller.rb +2 -2
- data/app/controllers/projects_controller.rb +3 -3
- data/app/controllers/releases_controller.rb +3 -3
- data/app/controllers/user_options_controller.rb +2 -2
- data/app/controllers/users_controller.rb +1 -2
- data/app/helpers/application_helper.rb +49 -3
- data/app/helpers/email_helper.rb +19 -1
- data/app/helpers/release_helper.rb +1 -1
- data/app/helpers/ticket_helper.rb +0 -32
- data/app/interactors/cache_key_dependencies.rb +3 -8
- data/app/mailers/view_mailer.rb +8 -8
- data/app/models/authorization.rb +54 -0
- data/app/models/commit.rb +1 -1
- data/app/models/error.rb +14 -0
- data/app/models/github/comment_event.rb +4 -4
- data/app/models/github/pull_request.rb +39 -17
- data/app/models/github/pull_request_event.rb +1 -7
- data/app/models/job.rb +81 -0
- data/app/models/measurement.rb +2 -1
- data/app/models/oauth/provider.rb +35 -0
- data/app/models/project.rb +12 -3
- data/app/models/slackdown.rb +1 -1
- data/app/models/user.rb +28 -35
- data/app/presenters/measurements_presenter.rb +26 -0
- data/app/presenters/project_presenter.rb +1 -1
- data/app/views/authorizations/_form.html.erb +33 -0
- data/app/views/authorizations/edit.html.erb +7 -0
- data/app/views/authorizations/granted.html.erb +7 -0
- data/app/views/authorizations/index.html.erb +47 -0
- data/app/views/authorizations/new.html.erb +7 -0
- data/app/views/configuration_error/_no_ticket_tracker.html.erb +1 -1
- data/app/views/github/pulls/index.html.erb +5 -1
- data/app/views/jobs/index.html.erb +72 -0
- data/app/views/jobs/show.html.erb +25 -32
- data/app/views/layouts/_navigation.html.erb +1 -1
- data/app/views/layouts/application.html.erb +14 -15
- data/app/views/layouts/dashboard.html.erb +9 -10
- data/app/views/layouts/minimal.html.erb +14 -15
- data/app/views/layouts/naked.html.erb +52 -0
- data/app/views/layouts/naked_dashboard.html.erb +9 -10
- data/app/views/oauth/providers/_form.html.erb +54 -0
- data/app/views/oauth/providers/edit.html.erb +7 -0
- data/app/views/oauth/providers/index.html.erb +41 -0
- data/app/views/oauth/providers/new.html.erb +7 -0
- data/app/views/projects/_form.html.erb +8 -9
- data/app/views/projects/index.html.erb +1 -1
- data/app/views/users/_form.html.erb +20 -19
- data/bin/rails +1 -1
- data/config/application.rb +11 -10
- data/config/boot.rb +1 -2
- data/config/environments/development.rb +8 -6
- data/config/environments/production.rb +11 -16
- data/config/environments/test.rb +5 -5
- data/config/initializers/assets.rb +17 -7
- data/config/initializers/cookies_serializer.rb +1 -1
- data/config/initializers/houston_async.rb +22 -4
- data/config/initializers/houston_report_exception.rb +16 -11
- data/config/initializers/houston_scheduler.rb +1 -1
- data/config/initializers/houston_try.rb +12 -0
- data/config/routes.rb +29 -19
- data/db/fixtures/projects.yml +2 -2
- data/db/migrate/20160317140151_remove_limit_from_users_invitation_token.rb +9 -0
- data/db/migrate/20160419230411_create_oauth_providers.rb +14 -0
- data/db/migrate/20160420000616_create_authorizations.rb +16 -0
- data/db/migrate/20160507135209_create_jobs.rb +14 -0
- data/db/migrate/20160507135846_create_errors_2.rb +12 -0
- data/db/migrate/20160510233329_add_closed_at_and_merged_at_to_pull_requests.rb +7 -0
- data/db/migrate/20160625203412_convert_user_view_options_to_props.rb +21 -0
- data/db/migrate/20160625221840_convert_project_extended_attributes_to_props.rb +32 -0
- data/db/migrate/20160625230420_move_users_unfuddle_id_to_props.rb +14 -0
- data/db/structure.sql +247 -4
- data/{houston.gemspec → houston-core.gemspec} +8 -9
- data/lib/configuration.rb +15 -43
- data/lib/houston/version.rb +1 -1
- data/lib/houston_observer.rb +2 -7
- data/lib/parallel_enumerable.rb +2 -8
- data/templates/new-instance/app/assets/javascripts/.keep +0 -0
- data/templates/new-instance/app/assets/javascripts/application.js +13 -0
- data/templates/new-instance/app/assets/stylesheets/.keep +0 -0
- data/templates/new-instance/app/assets/stylesheets/application.css +13 -0
- data/templates/new-instance/app/controllers/.keep +0 -0
- data/templates/new-instance/app/models/.keep +0 -0
- data/templates/new-instance/app/views/.keep +0 -0
- data/templates/new-instance/config/alerts/errs.rb +1 -1
- data/templates/new-instance/config/jobs/purge_jobs.rb +3 -0
- data/templates/new-instance/config/main.rb +1 -0
- data/templates/new-instance/config/routes.rb +5 -0
- data/templates/new-instance/config/triggers/github/publish_comments_on_slack.rb +3 -3
- data/templates/new-instance/lib/houston/engine.rb +25 -0
- data/test/acceptance/creating_a_release_test.rb +1 -1
- data/test/integration/ci_integration_test.rb +2 -2
- data/test/integration/commits_api_test.rb +1 -1
- data/test/unit/controllers/hooks_controller_test.rb +1 -6
- data/test/unit/controllers/project_options_controller_test.rb +11 -11
- data/test/unit/controllers/user_options_controller_test.rb +13 -13
- data/test/unit/models/code_climate_coverage_report_test.rb +1 -1
- data/test/unit/models/commit_test.rb +4 -2
- data/test/unit/models/project_test.rb +5 -5
- data/test/unit/models/props_test.rb +57 -0
- data/test/unit/models/pull_request_test.rb +2 -2
- data/test/unit/models/test_run_test.rb +1 -1
- metadata +166 -151
- data/app/assets/javascripts/app/views/reports_view.coffee +0 -51
- data/app/controllers/oauth_consumers_controller.rb +0 -68
- data/app/controllers/reports_controller.rb +0 -215
- data/app/models/consumer_token.rb +0 -13
- data/app/models/github_token.rb +0 -8
- data/app/views/oauth_consumers/error.html.erb +0 -5
- data/app/views/oauth_consumers/index.html.erb +0 -29
- data/app/views/oauth_consumers/show.html.erb +0 -7
- data/app/views/reports/index.html.erb +0 -9
- data/app/views/reports/sprint.html.erb +0 -21
- data/app/views/reports/velocity.html.erb +0 -104
- data/config/initializers/oauth_consumers.rb +0 -18
- data/lib/patches/sprockets_output_path_for_assets.rb +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0efd9f80386dab4ef09c84d5b11abebf1257f427
|
4
|
+
data.tar.gz: 779925e55cfdd71e82eeb17d6e73c66c68119289
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf161cfcdaacc94b20552944be87359bf276aad129a84899508264f025d1d881174f15b4d83ff48a530d105d65c7a6ab42b5a1222cee64b63778d307154ffdd1
|
7
|
+
data.tar.gz: c856faa195a025dceb63555e7cef6c85dc49a8ed3abfa2f4f93fd6d7d99097a87b18b2dfef47c7b732dc6738149826187a0ff5dea98504d49e208e34f981a9c0
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
houston-core (0.
|
4
|
+
houston-core (0.7.0.beta)
|
5
5
|
activerecord-import
|
6
6
|
activerecord-pluck_in_batches
|
7
|
-
addressable
|
7
|
+
addressable (~> 2.3.8)
|
8
8
|
boblail-unfuddle
|
9
|
-
browser
|
9
|
+
browser (~> 1.1.0)
|
10
10
|
bundler
|
11
11
|
cancan (~> 1.6.10)
|
12
12
|
codeclimate-test-reporter (= 0.4.8)
|
@@ -20,15 +20,15 @@ PATH
|
|
20
20
|
faraday-raise-errors (~> 0.2.0)
|
21
21
|
gemoji (~> 2.1.0)
|
22
22
|
googlecharts (~> 1.6.12)
|
23
|
-
handlebars_assets (~> 0.
|
23
|
+
handlebars_assets (~> 0.23.0)
|
24
24
|
houston-devise_ldap_authenticatable
|
25
|
-
houston-oauth-plugin
|
26
25
|
houston-vestal_versions
|
27
26
|
hpricot (~> 0.8.6)
|
28
27
|
neat-rails
|
29
28
|
nested_editor_for
|
30
29
|
nokogiri
|
31
|
-
|
30
|
+
oauth2
|
31
|
+
octokit (~> 4.3.0)
|
32
32
|
oj (~> 2.13)
|
33
33
|
openxml-xlsx (>= 0.2.0)
|
34
34
|
pg (~> 0.18.3)
|
@@ -38,11 +38,10 @@ PATH
|
|
38
38
|
rack-utf8_sanitizer (~> 1.3.1)
|
39
39
|
rails (~> 4.2.5.1)
|
40
40
|
redcarpet (~> 3.3.2)
|
41
|
-
rufus-scheduler (~> 3.
|
42
|
-
rugged (~> 0.
|
41
|
+
rufus-scheduler (~> 3.2.0)
|
42
|
+
rugged (~> 0.24.0)
|
43
43
|
sass-rails (~> 5.0)
|
44
44
|
simplecov (~> 0.9.1)
|
45
|
-
sprockets (~> 2.8)
|
46
45
|
strongbox (~> 0.7.2)
|
47
46
|
thor
|
48
47
|
thread_safe (~> 0.3.5)
|
@@ -81,7 +80,7 @@ GEM
|
|
81
80
|
activemodel (= 4.2.5.2)
|
82
81
|
activesupport (= 4.2.5.2)
|
83
82
|
arel (~> 6.0)
|
84
|
-
activerecord-import (0.
|
83
|
+
activerecord-import (0.13.0)
|
85
84
|
activerecord (>= 3.0)
|
86
85
|
activerecord-pluck_in_batches (0.1.1)
|
87
86
|
activerecord
|
@@ -94,7 +93,7 @@ GEM
|
|
94
93
|
addressable (2.3.8)
|
95
94
|
ansi (1.5.0)
|
96
95
|
arel (6.0.3)
|
97
|
-
bcrypt (3.1.
|
96
|
+
bcrypt (3.1.11)
|
98
97
|
boblail-unfuddle (0.7.1)
|
99
98
|
activesupport
|
100
99
|
builder
|
@@ -102,7 +101,7 @@ GEM
|
|
102
101
|
browser (1.1.0)
|
103
102
|
builder (3.2.2)
|
104
103
|
cancan (1.6.10)
|
105
|
-
capybara (2.
|
104
|
+
capybara (2.7.0)
|
106
105
|
addressable
|
107
106
|
mime-types (>= 1.16)
|
108
107
|
nokogiri (>= 1.3.3)
|
@@ -112,7 +111,7 @@ GEM
|
|
112
111
|
chronic (0.10.2)
|
113
112
|
codeclimate-test-reporter (0.4.8)
|
114
113
|
simplecov (>= 0.7.1, < 1.0.0)
|
115
|
-
coderay (1.1.
|
114
|
+
coderay (1.1.1)
|
116
115
|
coffee-rails (4.1.1)
|
117
116
|
coffee-script (>= 2.2.0)
|
118
117
|
railties (>= 4.0.0, < 5.1.x)
|
@@ -120,13 +119,14 @@ GEM
|
|
120
119
|
coffee-script-source
|
121
120
|
execjs
|
122
121
|
coffee-script-source (1.10.0)
|
122
|
+
concurrent-ruby (1.0.1)
|
123
123
|
crack (0.4.3)
|
124
124
|
safe_yaml (~> 1.0.0)
|
125
|
-
css_parser (1.
|
125
|
+
css_parser (1.4.1)
|
126
126
|
addressable
|
127
127
|
default_value_for (3.0.1)
|
128
128
|
activerecord (>= 3.2.0, < 5.0)
|
129
|
-
devise (3.5.
|
129
|
+
devise (3.5.7)
|
130
130
|
bcrypt (~> 3.0)
|
131
131
|
orm_adapter (~> 0.1)
|
132
132
|
railties (>= 3.2.6, < 5)
|
@@ -137,7 +137,7 @@ GEM
|
|
137
137
|
actionmailer (>= 3.2.6, < 5)
|
138
138
|
devise (>= 3.2.0)
|
139
139
|
docile (1.1.5)
|
140
|
-
domain_name (0.5.
|
140
|
+
domain_name (0.5.20160310)
|
141
141
|
unf (>= 0.0.5, < 1.0.0)
|
142
142
|
engineyard (3.2.1)
|
143
143
|
engineyard-cloud-client (~> 2.1)
|
@@ -155,10 +155,10 @@ GEM
|
|
155
155
|
erubis (2.7.0)
|
156
156
|
escape (0.0.4)
|
157
157
|
execjs (2.6.0)
|
158
|
-
factory_girl (4.
|
158
|
+
factory_girl (4.7.0)
|
159
159
|
activesupport (>= 3.0.0)
|
160
|
-
factory_girl_rails (4.
|
161
|
-
factory_girl (~> 4.
|
160
|
+
factory_girl_rails (4.7.0)
|
161
|
+
factory_girl (~> 4.7.0)
|
162
162
|
railties (>= 3.0.0)
|
163
163
|
faraday (0.9.2)
|
164
164
|
multipart-post (>= 1.2, < 3)
|
@@ -170,22 +170,16 @@ GEM
|
|
170
170
|
globalid (0.3.6)
|
171
171
|
activesupport (>= 4.1.0)
|
172
172
|
googlecharts (1.6.12)
|
173
|
-
handlebars_assets (0.
|
173
|
+
handlebars_assets (0.23.0)
|
174
174
|
execjs (~> 2.0)
|
175
175
|
multi_json (~> 1.0)
|
176
|
-
sprockets (>= 2.0.0
|
177
|
-
tilt (
|
178
|
-
hashdiff (0.
|
176
|
+
sprockets (>= 2.0.0)
|
177
|
+
tilt (>= 1.2)
|
178
|
+
hashdiff (0.3.0)
|
179
179
|
highline (1.6.21)
|
180
|
-
hike (1.2.3)
|
181
180
|
houston-devise_ldap_authenticatable (0.7.1)
|
182
181
|
devise (>= 3.0.0)
|
183
182
|
net-ldap (~> 0.12.1)
|
184
|
-
houston-oauth-plugin (0.5.1)
|
185
|
-
multi_json
|
186
|
-
oauth (~> 0.4.4)
|
187
|
-
oauth2 (>= 0.5.0)
|
188
|
-
rack
|
189
183
|
houston-vestal_versions (2.0.0)
|
190
184
|
activerecord (>= 3, < 5)
|
191
185
|
activesupport (>= 3, < 5)
|
@@ -201,13 +195,13 @@ GEM
|
|
201
195
|
libv8 (3.16.14.13)
|
202
196
|
loofah (2.0.3)
|
203
197
|
nokogiri (>= 1.5.9)
|
204
|
-
mail (2.6.
|
205
|
-
mime-types (>= 1.16, <
|
198
|
+
mail (2.6.4)
|
199
|
+
mime-types (>= 1.16, < 4)
|
206
200
|
method_source (0.8.2)
|
207
201
|
mime-types (2.99.1)
|
208
202
|
mini_portile2 (2.0.0)
|
209
203
|
minitest (5.8.4)
|
210
|
-
minitest-reporters (1.1.
|
204
|
+
minitest-reporters (1.1.8)
|
211
205
|
ansi
|
212
206
|
builder
|
213
207
|
minitest (>= 5.0)
|
@@ -217,32 +211,31 @@ GEM
|
|
217
211
|
multi_json (1.11.2)
|
218
212
|
multi_xml (0.5.5)
|
219
213
|
multipart-post (2.0.0)
|
220
|
-
neat-rails (0.
|
214
|
+
neat-rails (0.5.0)
|
221
215
|
nested_editor_for (0.1.0)
|
222
216
|
net-ldap (0.12.1)
|
223
217
|
net-ssh (2.9.4)
|
224
218
|
netrc (0.11.0)
|
225
219
|
nokogiri (1.6.7.2)
|
226
220
|
mini_portile2 (~> 2.0.0.rc2)
|
227
|
-
oauth (0.4.7)
|
228
221
|
oauth2 (1.1.0)
|
229
222
|
faraday (>= 0.8, < 0.10)
|
230
223
|
jwt (~> 1.0, < 1.5.2)
|
231
224
|
multi_json (~> 1.3)
|
232
225
|
multi_xml (~> 0.5)
|
233
226
|
rack (>= 1.2, < 3)
|
234
|
-
octokit (4.
|
235
|
-
sawyer (~> 0.
|
236
|
-
oj (2.
|
237
|
-
openxml-package (0.2.
|
227
|
+
octokit (4.3.0)
|
228
|
+
sawyer (~> 0.7.0, >= 0.5.3)
|
229
|
+
oj (2.15.0)
|
230
|
+
openxml-package (0.2.4)
|
238
231
|
nokogiri
|
239
232
|
ox
|
240
233
|
rubyzip (~> 1.1.0)
|
241
|
-
openxml-xlsx (0.2.
|
234
|
+
openxml-xlsx (0.2.3)
|
242
235
|
nokogiri
|
243
236
|
openxml-package (>= 0.2.0)
|
244
237
|
orm_adapter (0.5.0)
|
245
|
-
ox (2.
|
238
|
+
ox (2.4.0)
|
246
239
|
pg (0.18.4)
|
247
240
|
pg_search (1.0.5)
|
248
241
|
activerecord (>= 3.1)
|
@@ -285,10 +278,10 @@ GEM
|
|
285
278
|
activesupport (= 4.2.5.2)
|
286
279
|
rake (>= 0.8.7)
|
287
280
|
thor (>= 0.18.1, < 2.0)
|
288
|
-
rake (
|
281
|
+
rake (11.1.2)
|
289
282
|
redcarpet (3.3.4)
|
290
283
|
ref (2.0.0)
|
291
|
-
responders (2.1.
|
284
|
+
responders (2.1.2)
|
292
285
|
railties (>= 4.2.0, < 5.1)
|
293
286
|
rest-client (1.8.0)
|
294
287
|
http-cookie (>= 1.0.2, < 2.0)
|
@@ -297,18 +290,18 @@ GEM
|
|
297
290
|
rr (1.1.2)
|
298
291
|
ruby-progressbar (1.7.5)
|
299
292
|
rubyzip (1.1.7)
|
300
|
-
rufus-scheduler (3.
|
301
|
-
rugged (0.
|
293
|
+
rufus-scheduler (3.2.0)
|
294
|
+
rugged (0.24.0)
|
302
295
|
safe_yaml (1.0.4)
|
303
|
-
sass (3.4.
|
296
|
+
sass (3.4.22)
|
304
297
|
sass-rails (5.0.4)
|
305
298
|
railties (>= 4.0.0, < 5.0)
|
306
299
|
sass (~> 3.1)
|
307
300
|
sprockets (>= 2.8, < 4.0)
|
308
301
|
sprockets-rails (>= 2.0, < 4.0)
|
309
302
|
tilt (>= 1.1, < 3)
|
310
|
-
sawyer (0.
|
311
|
-
addressable (
|
303
|
+
sawyer (0.7.0)
|
304
|
+
addressable (>= 2.3.5, < 2.5)
|
312
305
|
faraday (~> 0.8, < 0.10)
|
313
306
|
shoulda-context (1.2.1)
|
314
307
|
simplecov (0.9.2)
|
@@ -320,37 +313,34 @@ GEM
|
|
320
313
|
json
|
321
314
|
simplecov
|
322
315
|
slop (3.6.0)
|
323
|
-
sprockets (
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
activesupport (>= 3.0)
|
331
|
-
sprockets (>= 2.8, < 4.0)
|
316
|
+
sprockets (3.6.0)
|
317
|
+
concurrent-ruby (~> 1.0)
|
318
|
+
rack (> 1, < 3)
|
319
|
+
sprockets-rails (3.0.4)
|
320
|
+
actionpack (>= 4.0)
|
321
|
+
activesupport (>= 4.0)
|
322
|
+
sprockets (>= 3.0.0)
|
332
323
|
strongbox (0.7.2)
|
333
324
|
activerecord
|
334
|
-
test_after_commit (0.
|
325
|
+
test_after_commit (1.0.0)
|
335
326
|
activerecord (>= 3.2)
|
336
327
|
therubyracer (0.12.2)
|
337
328
|
libv8 (~> 3.16.14.0)
|
338
329
|
ref
|
339
330
|
thor (0.19.1)
|
340
331
|
thread_safe (0.3.5)
|
341
|
-
tilt (
|
342
|
-
timecop (0.8.
|
332
|
+
tilt (2.0.2)
|
333
|
+
timecop (0.8.1)
|
343
334
|
tzinfo (1.2.2)
|
344
335
|
thread_safe (~> 0.1)
|
345
|
-
uglifier (
|
346
|
-
execjs (>= 0.3.0)
|
347
|
-
json (>= 1.8.0)
|
336
|
+
uglifier (3.0.0)
|
337
|
+
execjs (>= 0.3.0, < 3)
|
348
338
|
unf (0.1.4)
|
349
339
|
unf_ext
|
350
340
|
unf_ext (0.0.7.2)
|
351
341
|
warden (1.2.6)
|
352
342
|
rack (>= 1.0)
|
353
|
-
webmock (1.
|
343
|
+
webmock (1.24.3)
|
354
344
|
addressable (>= 2.3.6)
|
355
345
|
crack (>= 0.3.2)
|
356
346
|
hashdiff
|
@@ -6,7 +6,7 @@ module Houston
|
|
6
6
|
class << self
|
7
7
|
|
8
8
|
def errors_with_parameters(project, app_id)
|
9
|
-
return {
|
9
|
+
return {"errbit.appId" => ["cannot be blank"]} if app_id.blank?
|
10
10
|
|
11
11
|
# !todo: validate that the app exists
|
12
12
|
# begin
|
@@ -24,7 +24,7 @@ module Houston
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def parameters
|
27
|
-
|
27
|
+
%w{errbit.appId}
|
28
28
|
end
|
29
29
|
|
30
30
|
|
@@ -6,14 +6,14 @@ module Houston
|
|
6
6
|
class << self
|
7
7
|
|
8
8
|
def errors_with_parameters(project, project_id)
|
9
|
-
return {
|
10
|
-
return {
|
9
|
+
return {"unfuddle.projectId" => ["cannot be blank"]} if project_id.blank?
|
10
|
+
return {"unfuddle.projectId" => ["must be a number"]} unless project_id.to_s =~ /\d+/
|
11
11
|
begin
|
12
12
|
new_connection(project_id).fetch!
|
13
13
|
rescue Unfuddle::UnauthorizedError
|
14
|
-
return {
|
14
|
+
return {"unfuddle.projectId" => ["is not a project that you have permission to access"]}
|
15
15
|
rescue Unfuddle::InvalidResponseError => e
|
16
|
-
return {
|
16
|
+
return {"unfuddle.projectId" => ["is not a valid project"]} if e.response.status == 404
|
17
17
|
raise $!
|
18
18
|
end
|
19
19
|
{}
|
@@ -26,7 +26,7 @@ module Houston
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def parameters
|
29
|
-
|
29
|
+
%w{unfuddle.projectId}
|
30
30
|
end
|
31
31
|
|
32
32
|
private
|
@@ -43,7 +43,7 @@ module Houston
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def parameters
|
46
|
-
|
46
|
+
%w{git.location}
|
47
47
|
end
|
48
48
|
|
49
49
|
# ------------------------------------------------------------------------- #
|
@@ -61,9 +61,9 @@ module Houston
|
|
61
61
|
|
62
62
|
private
|
63
63
|
|
64
|
-
ERROR_BLANK = {
|
65
|
-
ERROR_DOES_NOT_EXIST = {
|
66
|
-
ERROR_CANT_CONNECT = {
|
64
|
+
ERROR_BLANK = {"git.location" => ["is blank"]}.freeze
|
65
|
+
ERROR_DOES_NOT_EXIST = {"git.location" => ["does not exist"]}.freeze
|
66
|
+
ERROR_CANT_CONNECT = {"git.location" => ["might not be right. Houston can't seem to connect to it."]}.freeze
|
67
67
|
|
68
68
|
SSH_USERNAME = "git".freeze
|
69
69
|
SSH_PRIVATEKEY = File.expand_path("~/.ssh/id_rsa").freeze
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|