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.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Gemfile.lock +53 -63
  4. data/app/adapters/houston/adapters/error_tracker/errbit_adapter.rb +2 -2
  5. data/app/adapters/houston/adapters/ticket_tracker/github_adapter.rb +1 -1
  6. data/app/adapters/houston/adapters/ticket_tracker/unfuddle_adapter.rb +5 -5
  7. data/app/adapters/houston/adapters/version_control/git_adapter.rb +4 -4
  8. data/app/assets/javascripts/{app → houston/app}/boot.coffee +0 -0
  9. data/app/assets/javascripts/{app → houston/app}/emoji.coffee.erb +0 -0
  10. data/app/assets/javascripts/{app → houston/app}/infinite_scroll.coffee +0 -0
  11. data/app/assets/javascripts/{app → houston/app}/models/commit.coffee +0 -0
  12. data/app/assets/javascripts/{app → houston/app}/models/release.coffee +0 -0
  13. data/app/assets/javascripts/{app → houston/app}/models/task.coffee +0 -0
  14. data/app/assets/javascripts/{app → houston/app}/models/tester.coffee +0 -0
  15. data/app/assets/javascripts/{app → houston/app}/models/testing_note.coffee +0 -0
  16. data/app/assets/javascripts/{app → houston/app}/models/ticket.coffee +0 -0
  17. data/app/assets/javascripts/{app → houston/app}/models/user.coffee +0 -0
  18. data/app/assets/javascripts/{app → houston/app}/mousetrap-bind-scoped.js +0 -0
  19. data/app/assets/javascripts/{app → houston/app}/releases.coffee +0 -0
  20. data/app/assets/javascripts/{app → houston/app}/table_row_expander.coffee +0 -0
  21. data/app/assets/javascripts/{app → houston/app}/ticket_tracker_refresh.coffee +0 -0
  22. data/app/assets/javascripts/{app → houston/app}/views/_show_sprint_view.coffee +0 -0
  23. data/app/assets/javascripts/{app → houston/app}/views/_tickets_view.coffee +0 -0
  24. data/app/assets/javascripts/{app → houston/app}/views/all_tickets_view.coffee +0 -0
  25. data/app/assets/javascripts/{app → houston/app}/views/commit_view.coffee +0 -0
  26. data/app/assets/javascripts/{app → houston/app}/views/edit_sprint_view.coffee +0 -0
  27. data/app/assets/javascripts/{app → houston/app}/views/edit_ticket_view.coffee +0 -0
  28. data/app/assets/javascripts/{app → houston/app}/views/find_or_create_ticket_view.coffee +0 -0
  29. data/app/assets/javascripts/{app → houston/app}/views/keyboard_shortcuts_modal.coffee +0 -0
  30. data/app/assets/javascripts/{app → houston/app}/views/new_ticket_modal.coffee +0 -0
  31. data/app/assets/javascripts/{app → houston/app}/views/new_ticket_view.coffee +0 -0
  32. data/app/assets/javascripts/{app → houston/app}/views/problems_view.coffee +0 -0
  33. data/app/assets/javascripts/{app → houston/app}/views/testing_note_view.coffee +0 -0
  34. data/app/assets/javascripts/{app → houston/app}/views/testing_report_view.coffee +0 -0
  35. data/app/assets/javascripts/{app → houston/app}/views/testing_ticket_view.coffee +0 -0
  36. data/app/assets/javascripts/{app → houston/app}/views/ticket_modal_view.coffee +0 -0
  37. data/app/assets/javascripts/{application.js → houston/application.js} +1 -1
  38. data/app/assets/javascripts/{core → houston/core}/app.coffee +0 -0
  39. data/app/assets/javascripts/{core → houston/core}/burndown_chart.coffee +0 -0
  40. data/app/assets/javascripts/{core → houston/core}/core_ext/array.coffee +0 -0
  41. data/app/assets/javascripts/{core → houston/core}/core_ext/date.coffee +0 -0
  42. data/app/assets/javascripts/{core → houston/core}/core_ext/number.coffee +0 -0
  43. data/app/assets/javascripts/{core → houston/core}/errors.coffee +1 -1
  44. data/app/assets/javascripts/{core → houston/core}/handlebars_helpers.coffee +0 -0
  45. data/app/assets/javascripts/{core → houston/core}/helpers.coffee +0 -0
  46. data/app/assets/javascripts/{core → houston/core}/jquery_extensions.coffee +5 -3
  47. data/app/assets/javascripts/{core → houston/core}/stacked_area_graph.coffee +0 -0
  48. data/app/assets/javascripts/{core → houston/core}/stacked_bar_graph.coffee +0 -0
  49. data/app/assets/javascripts/{dashboard.js → houston/dashboard.js} +1 -1
  50. data/app/assets/javascripts/{dashboard → houston/dashboard}/refresher.coffee +0 -0
  51. data/app/assets/javascripts/{vendor.js → houston/vendor.js} +0 -0
  52. data/app/assets/stylesheets/{application.css → houston/application.css} +0 -0
  53. data/app/assets/stylesheets/{application → houston/application}/ansi.scss +0 -0
  54. data/app/assets/stylesheets/{application → houston/application}/commit.scss +0 -0
  55. data/app/assets/stylesheets/{application → houston/application}/emoji.scss +0 -0
  56. data/app/assets/stylesheets/{application → houston/application}/exceptions.scss +1 -1
  57. data/app/assets/stylesheets/{application → houston/application}/find_or_create_ticket.scss +0 -0
  58. data/app/assets/stylesheets/{application → houston/application}/follow_up.scss +0 -0
  59. data/app/assets/stylesheets/{application → houston/application}/forms.scss +0 -0
  60. data/app/assets/stylesheets/{application → houston/application}/freight_train.css.scss +0 -0
  61. data/app/assets/stylesheets/{application → houston/application}/full_screen.scss +0 -0
  62. data/app/assets/stylesheets/{application → houston/application}/github_repos.scss +0 -0
  63. data/app/assets/stylesheets/{application → houston/application}/infinite_scroll.scss +0 -0
  64. data/app/assets/stylesheets/houston/application/jobs.scss +5 -0
  65. data/app/assets/stylesheets/{application → houston/application}/keyboard_shortcuts.scss +0 -0
  66. data/app/assets/stylesheets/{application → houston/application}/markdown.scss +0 -0
  67. data/app/assets/stylesheets/{application → houston/application}/mobile.scss +0 -0
  68. data/app/assets/stylesheets/{application → houston/application}/modals.scss +0 -0
  69. data/app/assets/stylesheets/{application → houston/application}/navigation.scss +0 -0
  70. data/app/assets/stylesheets/{application → houston/application}/new_ticket_view.scss +0 -0
  71. data/app/assets/stylesheets/{application → houston/application}/omnibar.scss +0 -0
  72. data/app/assets/stylesheets/{application → houston/application}/project_banner_buttons.scss +0 -0
  73. data/app/assets/stylesheets/{application → houston/application}/project_tiles.scss +0 -0
  74. data/app/assets/stylesheets/{application → houston/application}/projects.css.scss +0 -0
  75. data/app/assets/stylesheets/{application → houston/application}/pull_requests.scss +0 -0
  76. data/app/assets/stylesheets/{application → houston/application}/queue.scss +0 -0
  77. data/app/assets/stylesheets/{application → houston/application}/release_form.scss +0 -0
  78. data/app/assets/stylesheets/{application → houston/application}/releases.scss +1 -1
  79. data/app/assets/stylesheets/{application → houston/application}/sortable_table.scss +0 -0
  80. data/app/assets/stylesheets/{application → houston/application}/sprint.scss +0 -0
  81. data/app/assets/stylesheets/{application → houston/application}/tables.scss +0 -0
  82. data/app/assets/stylesheets/{application → houston/application}/test.scss +0 -0
  83. data/app/assets/stylesheets/{application → houston/application}/test_run.scss +0 -0
  84. data/app/assets/stylesheets/{application → houston/application}/testing_report.scss +0 -0
  85. data/app/assets/stylesheets/{application → houston/application}/ticket.scss +0 -0
  86. data/app/assets/stylesheets/{application → houston/application}/ticket_modal.scss +0 -0
  87. data/app/assets/stylesheets/{application → houston/application}/tickets.scss +0 -0
  88. data/app/assets/stylesheets/{application → houston/application}/timeline.scss +0 -0
  89. data/app/assets/stylesheets/{application → houston/application}/tips.scss +0 -0
  90. data/app/assets/stylesheets/{application → houston/application}/typeahead.scss +0 -0
  91. data/app/assets/stylesheets/{application → houston/application}/uploading.scss +0 -0
  92. data/app/assets/stylesheets/{application → houston/application}/user_wall.scss +0 -0
  93. data/app/assets/stylesheets/{application → houston/application}/users.scss +0 -0
  94. data/app/assets/stylesheets/{application → houston/application}/welcome.scss +0 -0
  95. data/app/assets/stylesheets/{core → houston/core}/alerts.scss +0 -0
  96. data/app/assets/stylesheets/{core → houston/core}/avatars.scss +0 -0
  97. data/app/assets/stylesheets/{core → houston/core}/burndown_chart.scss +0 -0
  98. data/app/assets/stylesheets/{core → houston/core}/colors.scss.erb +0 -0
  99. data/app/assets/stylesheets/{core → houston/core}/misc.scss +3 -0
  100. data/app/assets/stylesheets/{core → houston/core}/octicons-icons.scss +0 -0
  101. data/app/assets/stylesheets/{core → houston/core}/octicons.scss.erb +0 -0
  102. data/app/assets/stylesheets/{core → houston/core}/overrides.scss +0 -0
  103. data/app/assets/stylesheets/{core → houston/core}/roboto.scss.erb +0 -0
  104. data/app/assets/stylesheets/{core → houston/core}/scores.scss +0 -0
  105. data/app/assets/stylesheets/{dashboard.css → houston/dashboard.css} +0 -0
  106. data/app/assets/stylesheets/{dashboard → houston/dashboard}/dashboard.scss +0 -0
  107. data/app/assets/stylesheets/{print.css.scss → houston/print.css.scss} +0 -0
  108. data/app/assets/stylesheets/{variables.scss → houston/variables.scss} +0 -0
  109. data/app/assets/stylesheets/{vendor.css → houston/vendor.css} +0 -0
  110. data/app/concerns/houston/props.rb +96 -0
  111. data/app/concerns/project_adapter.rb +1 -1
  112. data/app/controllers/api/v1/measurements_controller.rb +32 -0
  113. data/app/controllers/application_controller.rb +1 -1
  114. data/app/controllers/authorizations_controller.rb +61 -0
  115. data/app/controllers/github/pulls_controller.rb +1 -1
  116. data/app/controllers/jobs_controller.rb +30 -1
  117. data/app/controllers/oauth/providers_controller.rb +45 -0
  118. data/app/controllers/project_options_controller.rb +2 -2
  119. data/app/controllers/projects_controller.rb +3 -3
  120. data/app/controllers/releases_controller.rb +3 -3
  121. data/app/controllers/user_options_controller.rb +2 -2
  122. data/app/controllers/users_controller.rb +1 -2
  123. data/app/helpers/application_helper.rb +49 -3
  124. data/app/helpers/email_helper.rb +19 -1
  125. data/app/helpers/release_helper.rb +1 -1
  126. data/app/helpers/ticket_helper.rb +0 -32
  127. data/app/interactors/cache_key_dependencies.rb +3 -8
  128. data/app/mailers/view_mailer.rb +8 -8
  129. data/app/models/authorization.rb +54 -0
  130. data/app/models/commit.rb +1 -1
  131. data/app/models/error.rb +14 -0
  132. data/app/models/github/comment_event.rb +4 -4
  133. data/app/models/github/pull_request.rb +39 -17
  134. data/app/models/github/pull_request_event.rb +1 -7
  135. data/app/models/job.rb +81 -0
  136. data/app/models/measurement.rb +2 -1
  137. data/app/models/oauth/provider.rb +35 -0
  138. data/app/models/project.rb +12 -3
  139. data/app/models/slackdown.rb +1 -1
  140. data/app/models/user.rb +28 -35
  141. data/app/presenters/measurements_presenter.rb +26 -0
  142. data/app/presenters/project_presenter.rb +1 -1
  143. data/app/views/authorizations/_form.html.erb +33 -0
  144. data/app/views/authorizations/edit.html.erb +7 -0
  145. data/app/views/authorizations/granted.html.erb +7 -0
  146. data/app/views/authorizations/index.html.erb +47 -0
  147. data/app/views/authorizations/new.html.erb +7 -0
  148. data/app/views/configuration_error/_no_ticket_tracker.html.erb +1 -1
  149. data/app/views/github/pulls/index.html.erb +5 -1
  150. data/app/views/jobs/index.html.erb +72 -0
  151. data/app/views/jobs/show.html.erb +25 -32
  152. data/app/views/layouts/_navigation.html.erb +1 -1
  153. data/app/views/layouts/application.html.erb +14 -15
  154. data/app/views/layouts/dashboard.html.erb +9 -10
  155. data/app/views/layouts/minimal.html.erb +14 -15
  156. data/app/views/layouts/naked.html.erb +52 -0
  157. data/app/views/layouts/naked_dashboard.html.erb +9 -10
  158. data/app/views/oauth/providers/_form.html.erb +54 -0
  159. data/app/views/oauth/providers/edit.html.erb +7 -0
  160. data/app/views/oauth/providers/index.html.erb +41 -0
  161. data/app/views/oauth/providers/new.html.erb +7 -0
  162. data/app/views/projects/_form.html.erb +8 -9
  163. data/app/views/projects/index.html.erb +1 -1
  164. data/app/views/users/_form.html.erb +20 -19
  165. data/bin/rails +1 -1
  166. data/config/application.rb +11 -10
  167. data/config/boot.rb +1 -2
  168. data/config/environments/development.rb +8 -6
  169. data/config/environments/production.rb +11 -16
  170. data/config/environments/test.rb +5 -5
  171. data/config/initializers/assets.rb +17 -7
  172. data/config/initializers/cookies_serializer.rb +1 -1
  173. data/config/initializers/houston_async.rb +22 -4
  174. data/config/initializers/houston_report_exception.rb +16 -11
  175. data/config/initializers/houston_scheduler.rb +1 -1
  176. data/config/initializers/houston_try.rb +12 -0
  177. data/config/routes.rb +29 -19
  178. data/db/fixtures/projects.yml +2 -2
  179. data/db/migrate/20160317140151_remove_limit_from_users_invitation_token.rb +9 -0
  180. data/db/migrate/20160419230411_create_oauth_providers.rb +14 -0
  181. data/db/migrate/20160420000616_create_authorizations.rb +16 -0
  182. data/db/migrate/20160507135209_create_jobs.rb +14 -0
  183. data/db/migrate/20160507135846_create_errors_2.rb +12 -0
  184. data/db/migrate/20160510233329_add_closed_at_and_merged_at_to_pull_requests.rb +7 -0
  185. data/db/migrate/20160625203412_convert_user_view_options_to_props.rb +21 -0
  186. data/db/migrate/20160625221840_convert_project_extended_attributes_to_props.rb +32 -0
  187. data/db/migrate/20160625230420_move_users_unfuddle_id_to_props.rb +14 -0
  188. data/db/structure.sql +247 -4
  189. data/{houston.gemspec → houston-core.gemspec} +8 -9
  190. data/lib/configuration.rb +15 -43
  191. data/lib/houston/version.rb +1 -1
  192. data/lib/houston_observer.rb +2 -7
  193. data/lib/parallel_enumerable.rb +2 -8
  194. data/templates/new-instance/app/assets/javascripts/.keep +0 -0
  195. data/templates/new-instance/app/assets/javascripts/application.js +13 -0
  196. data/templates/new-instance/app/assets/stylesheets/.keep +0 -0
  197. data/templates/new-instance/app/assets/stylesheets/application.css +13 -0
  198. data/templates/new-instance/app/controllers/.keep +0 -0
  199. data/templates/new-instance/app/models/.keep +0 -0
  200. data/templates/new-instance/app/views/.keep +0 -0
  201. data/templates/new-instance/config/alerts/errs.rb +1 -1
  202. data/templates/new-instance/config/jobs/purge_jobs.rb +3 -0
  203. data/templates/new-instance/config/main.rb +1 -0
  204. data/templates/new-instance/config/routes.rb +5 -0
  205. data/templates/new-instance/config/triggers/github/publish_comments_on_slack.rb +3 -3
  206. data/templates/new-instance/lib/houston/engine.rb +25 -0
  207. data/test/acceptance/creating_a_release_test.rb +1 -1
  208. data/test/integration/ci_integration_test.rb +2 -2
  209. data/test/integration/commits_api_test.rb +1 -1
  210. data/test/unit/controllers/hooks_controller_test.rb +1 -6
  211. data/test/unit/controllers/project_options_controller_test.rb +11 -11
  212. data/test/unit/controllers/user_options_controller_test.rb +13 -13
  213. data/test/unit/models/code_climate_coverage_report_test.rb +1 -1
  214. data/test/unit/models/commit_test.rb +4 -2
  215. data/test/unit/models/project_test.rb +5 -5
  216. data/test/unit/models/props_test.rb +57 -0
  217. data/test/unit/models/pull_request_test.rb +2 -2
  218. data/test/unit/models/test_run_test.rb +1 -1
  219. metadata +166 -151
  220. data/app/assets/javascripts/app/views/reports_view.coffee +0 -51
  221. data/app/controllers/oauth_consumers_controller.rb +0 -68
  222. data/app/controllers/reports_controller.rb +0 -215
  223. data/app/models/consumer_token.rb +0 -13
  224. data/app/models/github_token.rb +0 -8
  225. data/app/views/oauth_consumers/error.html.erb +0 -5
  226. data/app/views/oauth_consumers/index.html.erb +0 -29
  227. data/app/views/oauth_consumers/show.html.erb +0 -7
  228. data/app/views/reports/index.html.erb +0 -9
  229. data/app/views/reports/sprint.html.erb +0 -21
  230. data/app/views/reports/velocity.html.erb +0 -104
  231. data/config/initializers/oauth_consumers.rb +0 -18
  232. 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: 58c7aad1b031d494b15681933020d9e28e9c3021
4
- data.tar.gz: cb26b42f8f47117d15f51508ba561dd8885cdaef
3
+ metadata.gz: 0efd9f80386dab4ef09c84d5b11abebf1257f427
4
+ data.tar.gz: 779925e55cfdd71e82eeb17d6e73c66c68119289
5
5
  SHA512:
6
- metadata.gz: 2150ce342c447ef41e05985a4769db77eb03e952100dce005dca15143e6bf3027d4c35861e176cee039cbbf560e09b3f76f2e13d7f6bb15e55be130650341900
7
- data.tar.gz: d0d3b7e91ccdc8d82c4348ac4732550679d3920ee9246a8b8669033338bd2e1a01b6369d74e27c2d0e7f7b00636c4c62c7a9fd9adf8d2b248931879503d9f754
6
+ metadata.gz: cf161cfcdaacc94b20552944be87359bf276aad129a84899508264f025d1d881174f15b4d83ff48a530d105d65c7a6ab42b5a1222cee64b63778d307154ffdd1
7
+ data.tar.gz: c856faa195a025dceb63555e7cef6c85dc49a8ed3abfa2f4f93fd6d7d99097a87b18b2dfef47c7b732dc6738149826187a0ff5dea98504d49e208e34f981a9c0
data/.gitignore CHANGED
@@ -15,6 +15,7 @@
15
15
  /pkg
16
16
 
17
17
  # Ignore misc.
18
+ /reminders.yml
18
19
  REVISION
19
20
  .sass-cache
20
21
  .rvmrc
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- houston-core (0.6.3)
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.21.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
- octokit (~> 4.1.0)
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.1.7)
42
- rugged (~> 0.23.3)
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.11.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.10)
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.6.0)
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.0)
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.3.7)
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.6)
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.20160216)
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.5.0)
158
+ factory_girl (4.7.0)
159
159
  activesupport (>= 3.0.0)
160
- factory_girl_rails (4.5.0)
161
- factory_girl (~> 4.5.0)
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.21.0)
173
+ handlebars_assets (0.23.0)
174
174
  execjs (~> 2.0)
175
175
  multi_json (~> 1.0)
176
- sprockets (>= 2.0.0, < 4.0)
177
- tilt (~> 1.2)
178
- hashdiff (0.2.3)
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.3)
205
- mime-types (>= 1.16, < 3)
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.7)
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.2.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.1.1)
235
- sawyer (~> 0.6.0, >= 0.5.3)
236
- oj (2.14.5)
237
- openxml-package (0.2.3)
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.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.3.0)
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 (10.5.0)
281
+ rake (11.1.2)
289
282
  redcarpet (3.3.4)
290
283
  ref (2.0.0)
291
- responders (2.1.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.1.10)
301
- rugged (0.23.3)
293
+ rufus-scheduler (3.2.0)
294
+ rugged (0.24.0)
302
295
  safe_yaml (1.0.4)
303
- sass (3.4.21)
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.6.0)
311
- addressable (~> 2.3.5)
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 (2.12.4)
324
- hike (~> 1.2)
325
- multi_json (~> 1.0)
326
- rack (~> 1.0)
327
- tilt (~> 1.1, != 1.3.0)
328
- sprockets-rails (2.3.3)
329
- actionpack (>= 3.0)
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.4.2)
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 (1.4.1)
342
- timecop (0.8.0)
332
+ tilt (2.0.2)
333
+ timecop (0.8.1)
343
334
  tzinfo (1.2.2)
344
335
  thread_safe (~> 0.1)
345
- uglifier (2.7.2)
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.22.6)
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 {errbit_app_id: ["cannot be blank"]} if app_id.blank?
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
- [:errbit_app_id]
27
+ %w{errbit.appId}
28
28
  end
29
29
 
30
30
 
@@ -16,7 +16,7 @@ module Houston
16
16
  end
17
17
 
18
18
  def parameters
19
- [:github_repo]
19
+ %w{github.repo}
20
20
  end
21
21
 
22
22
  end
@@ -6,14 +6,14 @@ module Houston
6
6
  class << self
7
7
 
8
8
  def errors_with_parameters(project, project_id)
9
- return {unfuddle_project_id: ["cannot be blank"]} if project_id.blank?
10
- return {unfuddle_project_id: ["must be a number"]} unless project_id.to_s =~ /\d+/
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 {unfuddle_project_id: ["is not a project that you have permission to access"]}
14
+ return {"unfuddle.projectId" => ["is not a project that you have permission to access"]}
15
15
  rescue Unfuddle::InvalidResponseError => e
16
- return {unfuddle_project_id: ["is not a valid project"]} if e.response.status == 404
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
- [:unfuddle_project_id]
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
- [:git_location]
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 = {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
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