Skip to content
Permalink
Browse files

Move server into server dir for #270

  • Loading branch information...
jamesrwhite committed Feb 18, 2017
1 parent 7a7a166 commit fbc48c0062357e0c65e478e047b4343597a3f998
Showing with 31 additions and 35 deletions.
  1. +0 βˆ’1 .coveralls.yml
  2. +0 βˆ’30 .gitignore
  3. +0 βˆ’1 .pryrc
  4. +0 βˆ’2 CONTRIBUTING.md
  5. 0 { β†’ server}/.bundle/config
  6. +29 βˆ’0 server/.gitignore
  7. 0 { β†’ server}/.ruby-version
  8. +1 βˆ’1 { β†’ server}/.travis.yml
  9. 0 { β†’ server}/Dockerfile
  10. 0 { β†’ server}/Gemfile
  11. 0 { β†’ server}/Makefile
  12. 0 { β†’ server}/Rakefile
  13. 0 { β†’ server}/Vagrantfile
  14. 0 { β†’ server}/bin/minicron
  15. 0 { β†’ server}/config/apache.conf
  16. 0 { β†’ server}/config/default.vcl
  17. 0 { β†’ server}/config/minicron.toml
  18. 0 { β†’ server}/config/nginx.conf
  19. 0 { β†’ server}/db/migrations/20160103130649_enable_disable_jobs.rb
  20. 0 { β†’ server}/db/migrations/20160220182742_remove_job_user.rb
  21. 0 { β†’ server}/db/migrations/20170122120941_remove_host_host.rb
  22. 0 { β†’ server}/db/migrations/20170122205627_remove_host_public_key.rb
  23. 0 { β†’ server}/db/migrations/20170122210910_remove_host_port.rb
  24. 0 { β†’ server}/db/migrations/20170122211405_remove_host_user.rb
  25. 0 { β†’ server}/db/migrations/20170129212758_add_users.rb
  26. 0 { β†’ server}/db/migrations/20170204143035_add_counter_caches_to_jobs.rb
  27. 0 { β†’ server}/db/migrations/20170204145000_add_counter_caches_to_hosts.rb
  28. 0 { β†’ server}/db/migrations/20170205003510_add_api_key_to_users.rb
  29. 0 { β†’ server}/db/migrations/20170212125449_add_user_ids_to_schema.rb
  30. 0 { β†’ server}/db/schema.rb
  31. 0 { β†’ server}/lib/minicron.rb
  32. 0 { β†’ server}/lib/minicron/alert.rb
  33. 0 { β†’ server}/lib/minicron/alert/aws_sns.rb
  34. 0 { β†’ server}/lib/minicron/alert/email.rb
  35. 0 { β†’ server}/lib/minicron/alert/pagerduty.rb
  36. 0 { β†’ server}/lib/minicron/alert/slack.rb
  37. 0 { β†’ server}/lib/minicron/alert/sms.rb
  38. +1 βˆ’0 { β†’ server}/lib/minicron/cli.rb
  39. 0 { β†’ server}/lib/minicron/cli/commands.rb
  40. 0 { β†’ server}/lib/minicron/constants.rb
  41. 0 { β†’ server}/lib/minicron/cron.rb
  42. 0 { β†’ server}/lib/minicron/hub/app.rb
  43. BIN { β†’ server}/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.eot
  44. 0 { β†’ server}/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.svg
  45. BIN { β†’ server}/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.ttf
  46. BIN { β†’ server}/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.woff
  47. BIN { β†’ server}/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.woff2
  48. 0 { β†’ server}/lib/minicron/hub/assets/js/app.js
  49. 0 { β†’ server}/lib/minicron/hub/assets/js/bootstrap.js
  50. 0 { β†’ server}/lib/minicron/hub/assets/js/init.js
  51. 0 { β†’ server}/lib/minicron/hub/assets/js/jquery-2.1.0.min.js
  52. 0 { β†’ server}/lib/minicron/hub/assets/js/moment-2.5.1.min.js
  53. 0 { β†’ server}/lib/minicron/hub/assets/js/perfect-scrollbar.js
  54. 0 { β†’ server}/lib/minicron/hub/assets/js/schedules.js
  55. 0 { β†’ server}/lib/minicron/hub/assets/sass/app.css
  56. 0 { β†’ server}/lib/minicron/hub/assets/sass/bootstrap.scss
  57. 0 { β†’ server}/lib/minicron/hub/assets/sass/bootstrap_overrides.scss
  58. 0 { β†’ server}/lib/minicron/hub/assets/sass/execution_output.scss
  59. 0 { β†’ server}/lib/minicron/hub/assets/sass/execution_output_themes.scss
  60. 0 { β†’ server}/lib/minicron/hub/assets/sass/layout.scss
  61. 0 { β†’ server}/lib/minicron/hub/assets/sass/nav.scss
  62. 0 { β†’ server}/lib/minicron/hub/assets/sass/perfect-scrollbar.scss
  63. 0 { β†’ server}/lib/minicron/hub/assets/sass/schedule_editor.scss
  64. 0 { β†’ server}/lib/minicron/hub/assets/sass/sidebar.scss
  65. 0 { β†’ server}/lib/minicron/hub/controllers/alerts.rb
  66. 0 { β†’ server}/lib/minicron/hub/controllers/api/executions.rb
  67. 0 { β†’ server}/lib/minicron/hub/controllers/auth.rb
  68. 0 { β†’ server}/lib/minicron/hub/controllers/executions.rb
  69. 0 { β†’ server}/lib/minicron/hub/controllers/hosts.rb
  70. 0 { β†’ server}/lib/minicron/hub/controllers/index.rb
  71. 0 { β†’ server}/lib/minicron/hub/controllers/jobs.rb
  72. 0 { β†’ server}/lib/minicron/hub/controllers/user.rb
  73. 0 { β†’ server}/lib/minicron/hub/middleware/auth.rb
  74. 0 { β†’ server}/lib/minicron/hub/middleware/cache_headers.rb
  75. 0 { β†’ server}/lib/minicron/hub/middleware/middleware.rb
  76. 0 { β†’ server}/lib/minicron/hub/models/alert.rb
  77. 0 { β†’ server}/lib/minicron/hub/models/base.rb
  78. 0 { β†’ server}/lib/minicron/hub/models/execution.rb
  79. 0 { β†’ server}/lib/minicron/hub/models/host.rb
  80. 0 { β†’ server}/lib/minicron/hub/models/job.rb
  81. 0 { β†’ server}/lib/minicron/hub/models/job_execution_output.rb
  82. 0 { β†’ server}/lib/minicron/hub/models/schedule.rb
  83. 0 { β†’ server}/lib/minicron/hub/models/user.rb
  84. 0 { β†’ server}/lib/minicron/hub/views/alerts/index.erb
  85. 0 { β†’ server}/lib/minicron/hub/views/alerts/show.erb
  86. 0 { β†’ server}/lib/minicron/hub/views/auth/sign-in.erb
  87. 0 { β†’ server}/lib/minicron/hub/views/auth/sign-up.erb
  88. 0 { β†’ server}/lib/minicron/hub/views/executions/delete.erb
  89. 0 { β†’ server}/lib/minicron/hub/views/executions/show.erb
  90. 0 { β†’ server}/lib/minicron/hub/views/hosts/delete.erb
  91. 0 { β†’ server}/lib/minicron/hub/views/hosts/edit.erb
  92. 0 { β†’ server}/lib/minicron/hub/views/hosts/index.erb
  93. 0 { β†’ server}/lib/minicron/hub/views/hosts/new.erb
  94. 0 { β†’ server}/lib/minicron/hub/views/hosts/show.erb
  95. 0 { β†’ server}/lib/minicron/hub/views/index.erb
  96. 0 { β†’ server}/lib/minicron/hub/views/jobs/delete.erb
  97. 0 { β†’ server}/lib/minicron/hub/views/jobs/edit.erb
  98. 0 { β†’ server}/lib/minicron/hub/views/jobs/index.erb
  99. 0 { β†’ server}/lib/minicron/hub/views/jobs/new.erb
  100. 0 { β†’ server}/lib/minicron/hub/views/jobs/schedules/delete.erb
  101. 0 { β†’ server}/lib/minicron/hub/views/jobs/schedules/edit.erb
  102. 0 { β†’ server}/lib/minicron/hub/views/jobs/schedules/new.erb
  103. 0 { β†’ server}/lib/minicron/hub/views/jobs/schedules/show.erb
  104. 0 { β†’ server}/lib/minicron/hub/views/jobs/show.erb
  105. 0 { β†’ server}/lib/minicron/hub/views/layouts/app.erb
  106. 0 { β†’ server}/lib/minicron/hub/views/partials/header.erb
  107. 0 { β†’ server}/lib/minicron/hub/views/partials/schedules/panels.erb
  108. 0 { β†’ server}/lib/minicron/hub/views/partials/sidebar.erb
  109. 0 { β†’ server}/lib/minicron/hub/views/user/profile/index.erb
  110. 0 { β†’ server}/lib/minicron/monitor.rb
  111. 0 { β†’ server}/lib/minicron/transport.rb
  112. 0 { β†’ server}/lib/minicron/transport/client.rb
  113. 0 { β†’ server}/lib/minicron/transport/server.rb
  114. 0 { β†’ server}/minicron.gemspec
  115. 0 { β†’ server}/spec/invalid_config.toml
  116. 0 { β†’ server}/spec/minicron/alert/aws_sns_spec.rb
  117. 0 { β†’ server}/spec/minicron/alert/pagerduty_spec.rb
  118. 0 { β†’ server}/spec/minicron/alert/slack_spec.rb
  119. 0 { β†’ server}/spec/minicron/alert/sms_spec.rb
  120. 0 { β†’ server}/spec/minicron/alert_spec.rb
  121. 0 { β†’ server}/spec/minicron/cli_spec.rb
  122. 0 { β†’ server}/spec/minicron/transport/server_spec.rb
  123. 0 { β†’ server}/spec/minicron/transport_spec.rb
  124. 0 { β†’ server}/spec/minicron_spec.rb
  125. 0 { β†’ server}/spec/spec_helper.rb
  126. 0 { β†’ server}/spec/valid_config.toml

This file was deleted.

Oops, something went wrong.
@@ -1,35 +1,5 @@
# OSX
*.DS_Store

# Ruby Gems
Gemfile.lock
/vendor/

# SublimeText
*.sublime-workspace

# Test coverage reports
coverage
spec/reports

# Builds
builds/*.tar.gz

# Ignore all sqlite
*.sqlite3
*.sqlite3-journal

# Ignore sass cache
.sass-cache

# Vagrant
.vagrant

# My development config that I symlink to /etc/minicron.toml
my.config.toml

# Builds
pkg/

# Assets
lib/minicron/hub/public
1 .pryrc

This file was deleted.

Oops, something went wrong.
@@ -22,6 +22,4 @@ Pull requests of all sizes are very much appreciated, below is a quick guide on

8. Submit your pull request from your `develop` branch to minicron's `develop` branch

Where possible I'm trying to adhere to the [Ruby Community Styleguide](https://github.com/bbatsov/ruby-style-guide "Ruby Community Styleguide") so please try to do so when making your changes. Install a plugin for [EditorConfig](http://editorconfig.org) and your IDE should do a lot of this for you automatically!

Thanks!
File renamed without changes.
@@ -0,0 +1,29 @@
# Ruby Gems
Gemfile.lock
/vendor/

# Test coverage reports
coverage
spec/reports

# Builds
builds/*.tar.gz

# Ignore all sqlite
*.sqlite3
*.sqlite3-journal

# Ignore sass cache
.sass-cache

# Vagrant
.vagrant

# My development config that I symlink to /etc/minicron.toml
my.config.toml

# Builds
pkg/

# Assets
lib/minicron/hub/public
File renamed without changes.
@@ -1,4 +1,4 @@
language: ruby
rvm:
- 2.2.2
- 2.3.3
script: bundle exec rake spec
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -108,6 +108,7 @@ def self.run_command(command, options = {})

# Spawn a process to run the command
begin
puts command
PTY.spawn(command) do |stdout, _stdin, pid|
# Output some debug info
if options[:verbose]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fbc48c0

Please sign in to comment.
You can’t perform that action at this time.