lunar_shell 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/lunar_shell/lunar_shell.sass +2 -0
  3. data/app/controllers/lunar_shell/satellites/help_controller.rb +2 -1
  4. data/lib/lunar_shell/version.rb +1 -1
  5. data/test/dummy/log/test.log +658 -0
  6. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-C/-C5tHvzUebfbh9J74QkqqDfLnhDu5ifUoSpgTJdPeis.cache +16 -0
  7. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7-/7-zz_b7aAkn0JDeprfP3GBrmhjnmmCgIR-WA0x7U2ZA.cache +0 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8Z/8zc3xsN8s8JctVFcnXqjKGB89MtAF9_I819-tHyhJgM.cache +1 -0
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ac/Ac4aqSgazQWSw0xksD26ts_RZV6kiQFj5iVpayYUrGE.cache +0 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BI/BIDzzTqQ-WPlnS7iW-MF74i-DdGfqLUerBmIW1VcUuE.cache +1 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MQ/MQw4iewA8RYHtN5huEVfMeSVBDCjWsHHA6iUCndIr9U.cache +10 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NG/NGnVgXLMFkKIjU3Z0NINpJO_zMq5Vyq2o5_uadDHQtQ.cache +0 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OX/oxiBIPVextZSwzmaZ2hdaUOI7oXqoW8nsMY1tmCAFw0.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PdOeMvchajk0ELId2xHwnoXfJIq2COqyZVBdt3qYUKA.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Us/uS9VRpOKBbJpzyvUpdv4txwdnAscBJ3Xjo8iEHUa05k.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V_/V_q3kAECZtJrqnyslYHi5gZdr7VwaLTnMAcWpfWqadM.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WI/Wit8JiaWFaVATAp75g9_BTYLWbPmgHscBNWebPXCq88.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YF/YFHAbk4fEA-nN5aegaqSN59Swd6OjHRaqQbAmiS9HDU.cache +3 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z1/z1ARhfHZoqX_oMLysyWIo2VuZUDOyQE8zAfkiXeFhU0.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aD/AdPglmxdiT5ws6V8X18In7-OUI5sBiWG74X9Tetl6KI.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cB/CB37znCH_rpu_q3KVECV-jpYQ9PnOZjx8u4dyzJPSgw.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dc/dclc4zxDMHHNTSfPjsM-DN9mLZQXVPVMe9sXmvSihvE.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hi/HIR2H7lnk3jbYVh9LiQ679LgkChGKXvhHlAvyT1n4Vg.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n4/n4k2B7ymkG20KDbH0KqRqJNO9-rkBx9pSzFtvx16dBA.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sw/sw_r3FGzcS3BfQaUQm6ugnLQlvKoLdm6lXpWW0tllLA.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tJ/TJKe0tD4CCIJqWOMUPQwQKF6K5wtWfHw384_rbeoCGo.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ti/tiBa0tSbe23PML8FZol1-ftESSMhyAEh6h3asDnIIf0.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vB/VbBz3ZMJajSKDGuGhT5OtylUnZzCFLssK6mFvNbhaFs.cache +3 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vD/vDRV6wxrgE1QpinVjr25Ep1A9DEwlhH3PZic-kIkSkU.cache +0 -0
  30. metadata +45 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a060fdf08344cdce76335b3161272f0e7b4a1c13
4
- data.tar.gz: 2410e4b83a24415bcf85c66d4ccc93f087faead1
3
+ metadata.gz: 5262472fc203564b74dbd117b389042200174143
4
+ data.tar.gz: 1e8e4333414d357562f441c0acc089323ba3fdf8
5
5
  SHA512:
6
- metadata.gz: 1f76782338c5158460b7eb1deb439ddfbc03b031903b5f7f704b1d158d47acd52152d49bde0ed4216cb0c3fa6cb71391bb6b6e1670165d92b51d7efe0578e1ff
7
- data.tar.gz: fb25b83728fddbb08e10f8ef25e836dfba9de3f4ad2d60355df71f2bd463d6cb0b74ad2fa788de1df2cd6e5d38645f2d45f3ab5332f2414725b945a0b49b0b95
6
+ metadata.gz: b69281a7caf4a8e8db6621ca0f28dcfa50eb62febd830c5cbf07b6506a61eb17c5bfda62a8c0bff5535642e283422ea3a4535ba8a332cd09c2d20bf44b301e99
7
+ data.tar.gz: 52be6223cf2f3e35ceb826a3e0db63d11ed6e4a46b9eb63b28c29746dacdc66980ad1be644cb33ee34654320917159538bd4fddf1bb44ae64904eb81e9be6175
@@ -10,6 +10,7 @@ body
10
10
 
11
11
  a
12
12
  color: #ccc
13
+ text-decoration: none
13
14
 
14
15
  #shell
15
16
  font: 19px 'Roboto Condensed'
@@ -19,6 +20,7 @@ a
19
20
  color: #4285f4
20
21
  margin: 0 25px
21
22
  position: absolute
23
+ width: 100%
22
24
 
23
25
  .history-io
24
26
  clear: both
@@ -12,7 +12,8 @@ module LunarShell
12
12
  def commands
13
13
  @commands ||= self.class.superclass.subclasses.
14
14
  select { |sat| sat::PUBLIC }.
15
- map { |sat| sat.name.split('::').last.underscore[0..-12] }
15
+ map { |sat| sat.name.split('::').last.underscore[0..-12] }.
16
+ sort
16
17
  end
17
18
  helper_method :commands
18
19
  end
@@ -1,3 +1,3 @@
1
1
  module LunarShell
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.2"
3
3
  end
@@ -39780,3 +39780,661 @@ Processing by LunarShell::SatellitesController#run as JS
39780
39780
  Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (17.2ms)
39781
39781
  Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.3ms)
39782
39782
   (0.1ms) ROLLBACK
39783
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
39784
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
39785
+  (0.1ms) BEGIN
39786
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
39787
+ Fixture Insert (0.4ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$7hmM4NiLWCAJI2i3k/WNUOY7UyvjumJnsqNH4fSb0VD50KvNofBWq', 'root', '2016-06-26 21:24:02', '2016-06-26 21:24:02', 135138680)
39788
+ Fixture Insert (0.2ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$2OSeGWzgOtv8c6UI4CrAaOIC/VB19udgzUdHiebhUc18GAPIbiUf.', 'dave', '2016-06-26 21:24:02', '2016-06-26 21:24:02', 227792459)
39789
+  (64.4ms) COMMIT
39790
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
39791
+  (0.1ms) BEGIN
39792
+ --------------------------
39793
+ PasswdTest: test_logged_in
39794
+ --------------------------
39795
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:04 -0700
39796
+ Processing by LunarShell::ShellsController#show as HTML
39797
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms)
39798
+ LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39799
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.8ms)
39800
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (8.2ms)
39801
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (15.7ms)
39802
+ Completed 200 OK in 1502ms (Views: 1491.2ms | ActiveRecord: 1.0ms)
39803
+ Started GET "/assets/lunar_shell/application-82f523543151bf9c79e931ec2c44fe1b794682b01b783921ff4df5a6a305e4b7.js" for 127.0.0.1 at 2016-06-26 14:24:06 -0700
39804
+ Started GET "/assets/lunar_shell/application-2f30c3fcdf189fdbf4d50b36544121a503c33e9995cb36e337a5f2e64b08b739.css" for 127.0.0.1 at 2016-06-26 14:24:06 -0700
39805
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39806
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:07 -0700
39807
+ Processing by LunarShell::Satellites::SuController#run as JS
39808
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39809
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (14.7ms)
39810
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (31.5ms)
39811
+ Completed 200 OK in 58ms (Views: 57.4ms | ActiveRecord: 0.0ms)
39812
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:07 -0700
39813
+ Processing by LunarShell::Satellites::SuController#create as JS
39814
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39815
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39816
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.7ms)
39817
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (22.8ms)
39818
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (40.0ms)
39819
+ Completed 200 OK in 63ms (Views: 58.5ms | ActiveRecord: 0.6ms)
39820
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:07 -0700
39821
+ Processing by LunarShell::Satellites::PasswdController#run as JS
39822
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
39823
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39824
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.8ms)
39825
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (22.3ms)
39826
+ Completed 200 OK in 56ms (Views: 53.4ms | ActiveRecord: 0.5ms)
39827
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-26 14:24:08 -0700
39828
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
39829
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
39830
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (1.3ms)
39831
+ Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms)
39832
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-26 14:24:08 -0700
39833
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
39834
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
39835
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.9ms)
39836
+ Completed 200 OK in 20ms (Views: 20.1ms | ActiveRecord: 0.0ms)
39837
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-26 14:24:08 -0700
39838
+ Processing by LunarShell::Satellites::PasswdController#create as JS
39839
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
39840
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39841
+  (0.1ms) BEGIN
39842
+ SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$xoUzFZB/T0r3bgVwBVhaHeMBqt32hW6bgwDfNwtMweEuK0S4pG94a"], ["updated_at", "2016-06-26 21:24:08.383986"], ["id", 227792459]]
39843
+  (5.7ms) COMMIT
39844
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
39845
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
39846
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (1.7ms)
39847
+ Completed 200 OK in 52ms (Views: 24.9ms | ActiveRecord: 10.5ms)
39848
+  (0.2ms) ROLLBACK
39849
+  (0.1ms) BEGIN
39850
+ ------------------------------
39851
+ PasswdTest: test_not_logged_in
39852
+ ------------------------------
39853
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:08 -0700
39854
+ Processing by LunarShell::ShellsController#show as HTML
39855
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39856
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39857
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
39858
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
39859
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.5ms)
39860
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.6ms)
39861
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:08 -0700
39862
+ Processing by LunarShell::Satellites::PasswdController#run as JS
39863
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
39864
+ LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39865
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.7ms)
39866
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (1.0ms)
39867
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.8ms)
39868
+  (0.3ms) ROLLBACK
39869
+  (0.1ms) BEGIN
39870
+ ----------------------------
39871
+ ExitTest: test_not_logged_in
39872
+ ----------------------------
39873
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:10 -0700
39874
+ Processing by LunarShell::ShellsController#show as HTML
39875
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39876
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39877
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
39878
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.6ms)
39879
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.2ms)
39880
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.6ms)
39881
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:11 -0700
39882
+ Processing by LunarShell::Satellites::ExitController#run as JS
39883
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
39884
+ LunarShell::User Load (2.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39885
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39886
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
39887
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
39888
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (3.2ms)
39889
+ Completed 200 OK in 35ms (Views: 27.6ms | ActiveRecord: 2.9ms)
39890
+  (0.2ms) ROLLBACK
39891
+  (0.1ms) BEGIN
39892
+ ------------------------
39893
+ ExitTest: test_logged_in
39894
+ ------------------------
39895
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:13 -0700
39896
+ Processing by LunarShell::ShellsController#show as HTML
39897
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39898
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39899
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
39900
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
39901
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.6ms)
39902
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.4ms)
39903
+ LunarShell::User Load (1.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
39904
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:13 -0700
39905
+ Processing by LunarShell::Satellites::SuController#run as JS
39906
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
39907
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms)
39908
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.7ms)
39909
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
39910
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:13 -0700
39911
+ Processing by LunarShell::Satellites::SuController#create as JS
39912
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
39913
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39914
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39915
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
39916
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
39917
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (2.4ms)
39918
+ Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 1.1ms)
39919
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:14 -0700
39920
+ Processing by LunarShell::Satellites::ExitController#run as JS
39921
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
39922
+ LunarShell::User Load (1.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39923
+ CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39924
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.8ms)
39925
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
39926
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (2.5ms)
39927
+ Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 1.1ms)
39928
+  (0.2ms) ROLLBACK
39929
+  (0.1ms) BEGIN
39930
+ ------------------------------
39931
+ ClearTest: test_clears_history
39932
+ ------------------------------
39933
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:16 -0700
39934
+ Processing by LunarShell::ShellsController#show as HTML
39935
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39936
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39937
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
39938
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.1ms)
39939
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.8ms)
39940
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.5ms)
39941
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:16 -0700
39942
+ Processing by LunarShell::Satellites::ClearController#run as JS
39943
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
39944
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39945
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
39946
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
39947
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (3.0ms)
39948
+ Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.3ms)
39949
+  (0.1ms) ROLLBACK
39950
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
39951
+  (0.1ms) BEGIN
39952
+ Fixture Delete (0.1ms) DELETE FROM "lunar_shell_users"
39953
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$wmphX2gn3rCp/ASPNq/aG.HKYnW4Gmqug.Cxm69u1qKNY8cHOXYui', 'root', '2016-06-26 21:24:16', '2016-06-26 21:24:16', 135138680)
39954
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$LIVplfdghrlK8S2GQnwXrOxTHjjODsPStwYPTpbDoSJ9G66cxRCYS', 'dave', '2016-06-26 21:24:16', '2016-06-26 21:24:16', 227792459)
39955
+  (0.3ms) COMMIT
39956
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
39957
+  (0.1ms) BEGIN
39958
+ --------------------------------
39959
+ NoCommandTest: test_nothing_sent
39960
+ --------------------------------
39961
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:16 -0700
39962
+ Processing by LunarShell::ShellsController#show as HTML
39963
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39964
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39965
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.3ms)
39966
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (3.0ms)
39967
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.8ms)
39968
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.6ms)
39969
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:16 -0700
39970
+ Processing by LunarShell::SatellitesController#run as JS
39971
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
39972
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39973
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
39974
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
39975
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (2.6ms)
39976
+ Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.4ms)
39977
+  (0.2ms) ROLLBACK
39978
+  (0.2ms) BEGIN
39979
+ --------------------------------------
39980
+ CommandNotFoundTest: test_nothing_sent
39981
+ --------------------------------------
39982
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:16 -0700
39983
+ Processing by LunarShell::ShellsController#show as HTML
39984
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
39985
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39986
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
39987
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
39988
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.0ms)
39989
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
39990
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:17 -0700
39991
+ Processing by LunarShell::SatellitesController#run as JS
39992
+ Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}
39993
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.5ms)
39994
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
39995
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
39996
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
39997
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (19.7ms)
39998
+ Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.3ms)
39999
+  (0.1ms) ROLLBACK
40000
+  (0.1ms) BEGIN
40001
+ ------------------------
40002
+ QuitTest: test_logged_in
40003
+ ------------------------
40004
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:17 -0700
40005
+ Processing by LunarShell::ShellsController#show as HTML
40006
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40007
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40008
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.2ms)
40009
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.9ms)
40010
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (3.5ms)
40011
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.9ms)
40012
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40013
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:17 -0700
40014
+ Processing by LunarShell::Satellites::SuController#run as JS
40015
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40016
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.9ms)
40017
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.4ms)
40018
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
40019
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:17 -0700
40020
+ Processing by LunarShell::Satellites::SuController#create as JS
40021
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40022
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40023
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
40024
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.5ms)
40025
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms)
40026
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)
40027
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:17 -0700
40028
+ Processing by LunarShell::Satellites::QuitController#run as JS
40029
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
40030
+ LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40031
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (2.4ms)
40032
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.7ms)
40033
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (4.2ms)
40034
+ Completed in 35ms (ActiveRecord: 1.2ms)
40035
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
40036
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
40037
+  (0.1ms) BEGIN
40038
+ Fixture Delete (0.4ms) DELETE FROM "lunar_shell_users"
40039
+ Fixture Insert (0.5ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$qAmgUFm9Grilj/eoy7I.RueNOeFtCJaWwwsIPqjR0NSI2iPR5.hDy', 'root', '2016-06-26 21:24:45', '2016-06-26 21:24:45', 135138680)
40040
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$Wi7ruK6kLCqPcPc6JOC6eO41t5iH0XYzTL.9KREhz2PKkCvcwluZq', 'dave', '2016-06-26 21:24:45', '2016-06-26 21:24:45', 227792459)
40041
+  (4.8ms) COMMIT
40042
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
40043
+  (0.1ms) BEGIN
40044
+ -------------------------------
40045
+ SuTest: test_can_substitue_user
40046
+ -------------------------------
40047
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:47 -0700
40048
+ Processing by LunarShell::ShellsController#show as HTML
40049
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.4ms)
40050
+ LunarShell::User Load (1.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40051
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (4.8ms)
40052
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (6.9ms)
40053
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (13.8ms)
40054
+ Completed 200 OK in 501ms (Views: 491.5ms | ActiveRecord: 1.2ms)
40055
+ Started GET "/assets/lunar_shell/application-2f30c3fcdf189fdbf4d50b36544121a503c33e9995cb36e337a5f2e64b08b739.css" for 127.0.0.1 at 2016-06-26 14:24:48 -0700
40056
+ Started GET "/assets/lunar_shell/application-82f523543151bf9c79e931ec2c44fe1b794682b01b783921ff4df5a6a305e4b7.js" for 127.0.0.1 at 2016-06-26 14:24:48 -0700
40057
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40058
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 135138680]]
40059
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:48 -0700
40060
+ Processing by LunarShell::Satellites::SuController#run as JS
40061
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40062
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (6.4ms)
40063
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (23.7ms)
40064
+ Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.0ms)
40065
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40066
+ Processing by LunarShell::Satellites::SuController#create as JS
40067
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40068
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40069
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.4ms)
40070
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (13.8ms)
40071
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (27.6ms)
40072
+ Completed 200 OK in 48ms (Views: 43.2ms | ActiveRecord: 0.7ms)
40073
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40074
+ Processing by LunarShell::Satellites::SuController#run as JS
40075
+ Parameters: {"utf8"=>"✓", "parameters"=>["root"], "command"=>"su"}
40076
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
40077
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
40078
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
40079
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40080
+ Processing by LunarShell::Satellites::SuController#create as JS
40081
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"root", "password"=>"[FILTERED]"}}
40082
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'root') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40083
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
40084
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.4ms)
40085
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.6ms)
40086
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
40087
+  (0.2ms) ROLLBACK
40088
+  (0.1ms) BEGIN
40089
+ -------------------
40090
+ SuTest: test_log_in
40091
+ -------------------
40092
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40093
+ Processing by LunarShell::ShellsController#show as HTML
40094
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40095
+ LunarShell::User Load (0.6ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 135138680 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40096
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
40097
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
40098
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.2ms)
40099
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.6ms)
40100
+ LunarShell::User Load (0.1ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40101
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40102
+ Processing by LunarShell::Satellites::SuController#run as JS
40103
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40104
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (1.1ms)
40105
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.8ms)
40106
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
40107
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40108
+ Processing by LunarShell::Satellites::SuController#create as JS
40109
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40110
+ LunarShell::User Load (0.9ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40111
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
40112
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.9ms)
40113
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms)
40114
+ Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.9ms)
40115
+  (0.1ms) ROLLBACK
40116
+  (0.1ms) BEGIN
40117
+ --------------------------------------
40118
+ CommandNotFoundTest: test_nothing_sent
40119
+ --------------------------------------
40120
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:49 -0700
40121
+ Processing by LunarShell::ShellsController#show as HTML
40122
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40123
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40124
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.4ms)
40125
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
40126
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (2.3ms)
40127
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms)
40128
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40129
+ Processing by LunarShell::SatellitesController#run as JS
40130
+ Parameters: {"utf8"=>"✓", "command"=>"asdklfj", "error"=>"asdklfj/run"}
40131
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/_command_not_found.html.erb (0.4ms)
40132
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40133
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
40134
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
40135
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/command_not_found.js.erb (18.1ms)
40136
+ Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.4ms)
40137
+  (0.1ms) ROLLBACK
40138
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" DISABLE TRIGGER ALL
40139
+  (0.1ms) BEGIN
40140
+ Fixture Delete (0.3ms) DELETE FROM "lunar_shell_users"
40141
+ Fixture Insert (0.3ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('t', '$2a$04$h7ItCoRzShCy5g28PAR.leBQeO4yfVKvKUA8ZbhwGP5.i5lWSQrPu', 'root', '2016-06-26 21:24:50', '2016-06-26 21:24:50', 135138680)
40142
+ Fixture Insert (0.1ms) INSERT INTO "lunar_shell_users" ("admin", "password_digest", "username", "created_at", "updated_at", "id") VALUES ('f', '$2a$04$ocYfArbnF.oHhrPLX6CfU.W1eW6xJLDNwb0j4uNcZxWA7HC0Og2LS', 'dave', '2016-06-26 21:24:50', '2016-06-26 21:24:50', 227792459)
40143
+  (1.3ms) COMMIT
40144
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "lunar_shell_users" ENABLE TRIGGER ALL
40145
+  (0.1ms) BEGIN
40146
+ --------------------------
40147
+ PasswdTest: test_logged_in
40148
+ --------------------------
40149
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40150
+ Processing by LunarShell::ShellsController#show as HTML
40151
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40152
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40153
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.2ms)
40154
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.6ms)
40155
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.9ms)
40156
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
40157
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40158
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40159
+ Processing by LunarShell::Satellites::SuController#run as JS
40160
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40161
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.5ms)
40162
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.8ms)
40163
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
40164
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40165
+ Processing by LunarShell::Satellites::SuController#create as JS
40166
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40167
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40168
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.1ms)
40169
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.6ms)
40170
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (0.8ms)
40171
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
40172
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40173
+ Processing by LunarShell::Satellites::PasswdController#run as JS
40174
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
40175
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40176
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (1.0ms)
40177
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (18.6ms)
40178
+ Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.4ms)
40179
+ Started POST "/satellites/passwd/new_password" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40180
+ Processing by LunarShell::Satellites::PasswdController#new_password as JS
40181
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]"}}
40182
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/new_password.js.erb (0.7ms)
40183
+ Completed 200 OK in 16ms (Views: 16.2ms | ActiveRecord: 0.0ms)
40184
+ Started POST "/satellites/passwd/confirm_password" for 127.0.0.1 at 2016-06-26 14:24:50 -0700
40185
+ Processing by LunarShell::Satellites::PasswdController#confirm_password as JS
40186
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]"}}
40187
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/confirm_password.js.erb (0.8ms)
40188
+ Completed 200 OK in 16ms (Views: 15.9ms | ActiveRecord: 0.0ms)
40189
+ Started POST "/satellites/passwd" for 127.0.0.1 at 2016-06-26 14:24:51 -0700
40190
+ Processing by LunarShell::Satellites::PasswdController#create as JS
40191
+ Parameters: {"utf8"=>"✓", "user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
40192
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40193
+  (0.2ms) BEGIN
40194
+ SQL (0.5ms) UPDATE "lunar_shell_users" SET "password_digest" = $1, "updated_at" = $2 WHERE "lunar_shell_users"."id" = $3 [["password_digest", "$2a$04$PpGM.iF5xLy8gDCt4eP0EuVuwIcfgJpDLgMIhOs9Fxpft6guKdmoC"], ["updated_at", "2016-06-26 21:24:51.050024"], ["id", 227792459]]
40195
+  (1.1ms) COMMIT
40196
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.2ms)
40197
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
40198
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/create.js.erb (2.1ms)
40199
+ Completed 200 OK in 30ms (Views: 17.1ms | ActiveRecord: 2.1ms)
40200
+  (0.2ms) ROLLBACK
40201
+  (0.1ms) BEGIN
40202
+ ------------------------------
40203
+ PasswdTest: test_not_logged_in
40204
+ ------------------------------
40205
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:51 -0700
40206
+ Processing by LunarShell::ShellsController#show as HTML
40207
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40208
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40209
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
40210
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
40211
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
40212
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms)
40213
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:51 -0700
40214
+ Processing by LunarShell::Satellites::PasswdController#run as JS
40215
+ Parameters: {"utf8"=>"✓", "command"=>"passwd"}
40216
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40217
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/_form.html.erb (0.4ms)
40218
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/passwd/run.js.erb (0.7ms)
40219
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)
40220
+  (0.1ms) ROLLBACK
40221
+  (0.1ms) BEGIN
40222
+ ------------------------
40223
+ QuitTest: test_logged_in
40224
+ ------------------------
40225
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40226
+ Processing by LunarShell::ShellsController#show as HTML
40227
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40228
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = 227792459 OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40229
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
40230
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
40231
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
40232
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
40233
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40234
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40235
+ Processing by LunarShell::Satellites::SuController#run as JS
40236
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40237
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.4ms)
40238
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (0.7ms)
40239
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
40240
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40241
+ Processing by LunarShell::Satellites::SuController#create as JS
40242
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40243
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40244
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40245
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
40246
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
40247
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.4ms)
40248
+ Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.8ms)
40249
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40250
+ Processing by LunarShell::Satellites::QuitController#run as JS
40251
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
40252
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40253
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.3ms)
40254
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.7ms)
40255
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.5ms)
40256
+ Completed 200 OK in 24ms (Views: 23.5ms | ActiveRecord: 0.4ms)
40257
+  (0.2ms) ROLLBACK
40258
+  (0.1ms) BEGIN
40259
+ ----------------------------
40260
+ QuitTest: test_not_logged_in
40261
+ ----------------------------
40262
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40263
+ Processing by LunarShell::ShellsController#show as HTML
40264
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40265
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40266
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
40267
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
40268
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
40269
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
40270
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:53 -0700
40271
+ Processing by LunarShell::Satellites::QuitController#run as JS
40272
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
40273
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40274
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.8ms)
40275
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.4ms)
40276
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.7ms)
40277
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.7ms)
40278
+  (0.1ms) ROLLBACK
40279
+  (0.1ms) BEGIN
40280
+ ----------------------------
40281
+ ExitTest: test_not_logged_in
40282
+ ----------------------------
40283
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40284
+ Processing by LunarShell::ShellsController#show as HTML
40285
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40286
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40287
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
40288
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
40289
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.8ms)
40290
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.5ms)
40291
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40292
+ Processing by LunarShell::Satellites::ExitController#run as JS
40293
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
40294
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40295
+ CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40296
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.6ms)
40297
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.1ms)
40298
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.8ms)
40299
+ Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.5ms)
40300
+  (0.1ms) ROLLBACK
40301
+  (0.1ms) BEGIN
40302
+ ------------------------
40303
+ ExitTest: test_logged_in
40304
+ ------------------------
40305
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40306
+ Processing by LunarShell::ShellsController#show as HTML
40307
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40308
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40309
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
40310
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.3ms)
40311
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
40312
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
40313
+ LunarShell::User Load (0.2ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE "lunar_shell_users"."id" = $1 LIMIT 1 [["id", 227792459]]
40314
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40315
+ Processing by LunarShell::Satellites::SuController#run as JS
40316
+ Parameters: {"utf8"=>"✓", "parameters"=>["dave"], "command"=>"su"}
40317
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/_form.html.erb (0.7ms)
40318
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/run.js.erb (1.0ms)
40319
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
40320
+ Started POST "/satellites/su" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40321
+ Processing by LunarShell::Satellites::SuController#create as JS
40322
+ Parameters: {"utf8"=>"✓", "user"=>{"username"=>"dave", "password"=>"[FILTERED]"}}
40323
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = 'dave') ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40324
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40325
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
40326
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
40327
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/su/create.js.erb (1.6ms)
40328
+ Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.9ms)
40329
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:54 -0700
40330
+ Processing by LunarShell::Satellites::ExitController#run as JS
40331
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
40332
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40333
+ CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40334
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.5ms)
40335
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (0.8ms)
40336
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.0ms)
40337
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.4ms)
40338
+  (0.2ms) ROLLBACK
40339
+  (0.1ms) BEGIN
40340
+ -------------------------------
40341
+ HistoryTest: test_shows_history
40342
+ -------------------------------
40343
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:24:56 -0700
40344
+ Processing by LunarShell::ShellsController#show as HTML
40345
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40346
+ LunarShell::User Load (0.3ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40347
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
40348
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
40349
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.5ms)
40350
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)
40351
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:56 -0700
40352
+ Processing by LunarShell::Satellites::ExitController#run as JS
40353
+ Parameters: {"utf8"=>"✓", "command"=>"exit"}
40354
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40355
+ CACHE (0.0ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40356
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (0.9ms)
40357
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.5ms)
40358
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/exit/run.js.erb (1.9ms)
40359
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)
40360
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:24:57 -0700
40361
+ Processing by LunarShell::Satellites::QuitController#run as JS
40362
+ Parameters: {"utf8"=>"✓", "command"=>"quit"}
40363
+ LunarShell::User Load (0.8ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40364
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.6ms)
40365
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.9ms)
40366
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/quit/run.js.erb (2.1ms)
40367
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.8ms)
40368
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:24:57 -0700
40369
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40370
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
40371
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.6ms)
40372
+ Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms)
40373
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:24:57 -0700
40374
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40375
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
40376
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
40377
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
40378
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:24:59 -0700
40379
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40380
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
40381
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.2ms)
40382
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
40383
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:25:01 -0700
40384
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40385
+ Parameters: {"parameters"=>["up"], "command"=>"history"}
40386
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
40387
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
40388
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:25:03 -0700
40389
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40390
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
40391
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
40392
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
40393
+ Started POST "/satellites/run.js" for 127.0.0.1 at 2016-06-26 14:25:05 -0700
40394
+ Processing by LunarShell::Satellites::HistoryController#run as */*
40395
+ Parameters: {"parameters"=>["down"], "command"=>"history"}
40396
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/history/run.js.erb (0.1ms)
40397
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
40398
+  (0.2ms) ROLLBACK
40399
+  (0.1ms) BEGIN
40400
+ --------------------------------
40401
+ NoCommandTest: test_nothing_sent
40402
+ --------------------------------
40403
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:25:05 -0700
40404
+ Processing by LunarShell::ShellsController#show as HTML
40405
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.0ms)
40406
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40407
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.1ms)
40408
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.4ms)
40409
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
40410
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms)
40411
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:25:05 -0700
40412
+ Processing by LunarShell::SatellitesController#run as JS
40413
+ Parameters: {"utf8"=>"✓", "error"=>"run"}
40414
+ LunarShell::User Load (0.7ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40415
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.9ms)
40416
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.3ms)
40417
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/no_command.js.erb (3.1ms)
40418
+ Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.7ms)
40419
+  (0.1ms) ROLLBACK
40420
+  (0.1ms) BEGIN
40421
+ ------------------------------
40422
+ ClearTest: test_clears_history
40423
+ ------------------------------
40424
+ Started GET "/" for 127.0.0.1 at 2016-06-26 14:25:05 -0700
40425
+ Processing by LunarShell::ShellsController#show as HTML
40426
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_greeting.html (0.1ms)
40427
+ LunarShell::User Load (0.4ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40428
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.0ms)
40429
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (1.2ms)
40430
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/show.html.erb within layouts/lunar_shell/application (1.7ms)
40431
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms)
40432
+ Started POST "/satellites/run" for 127.0.0.1 at 2016-06-26 14:25:05 -0700
40433
+ Processing by LunarShell::Satellites::ClearController#run as JS
40434
+ Parameters: {"utf8"=>"✓", "command"=>"clear"}
40435
+ LunarShell::User Load (0.5ms) SELECT "lunar_shell_users".* FROM "lunar_shell_users" WHERE (id = NULL OR username = NULL) ORDER BY "lunar_shell_users"."id" ASC LIMIT 1
40436
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_prompt.html.erb (1.5ms)
40437
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/shells/_cli.html.erb (2.0ms)
40438
+ Rendered /Users/dave/Playground/lunar_shell/app/views/lunar_shell/satellites/clear/run.js.erb (2.7ms)
40439
+ Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.5ms)
40440
+  (0.1ms) ROLLBACK