Skip to content

Instantly share code, notes, and snippets.

@pablox-cl
Created September 30, 2014 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pablox-cl/097658d9e242cd34929b to your computer and use it in GitHub Desktop.
Save pablox-cl/097658d9e242cd34929b to your computer and use it in GitHub Desktop.
[1] RSpec guard(main)> D, [2014-09-30T14:02:07.086146 #20119] DEBUG -- : inotify: spec/controllers/4913 ([:create])
D, [2014-09-30T14:02:07.087474 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/4913", {:change=>:added}]
D, [2014-09-30T14:02:07.088213 #20119] DEBUG -- : added: file:/home/pablo/code/rails/resp/spec/controllers/4913 ({:change=>:added})
D, [2014-09-30T14:02:07.088852 #20119] DEBUG -- : inotify: spec/controllers/4913 ([:attrib])
D, [2014-09-30T14:02:07.089026 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/4913", {:change=>:modified}]
D, [2014-09-30T14:02:07.089457 #20119] DEBUG -- : inotify: spec/controllers/4913 ([:close_write, :close])
D, [2014-09-30T14:02:07.089793 #20119] DEBUG -- : modified: file:/home/pablo/code/rails/resp/spec/controllers/4913 ({:change=>:modified})
D, [2014-09-30T14:02:07.089871 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/4913", {:change=>:modified}]
D, [2014-09-30T14:02:07.090605 #20119] DEBUG -- : inotify: spec/controllers/4913 ([:delete])
D, [2014-09-30T14:02:07.090684 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/4913", {:change=>:removed}]
D, [2014-09-30T14:02:07.090957 #20119] DEBUG -- : inotify: spec/controllers/encounters_controller_spec.rb ([:moved_from, :move])
D, [2014-09-30T14:02:07.091223 #20119] DEBUG -- : removed: file:/home/pablo/code/rails/resp/spec/controllers/4913 ({:change=>:removed})
D, [2014-09-30T14:02:07.091306 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/encounters_controller_spec.rb", {:cookie=>7127, :change=>:moved_from}]
D, [2014-09-30T14:02:07.091932 #20119] DEBUG -- : inotify: spec/controllers/encounters_controller_spec.rb ([:create])
D, [2014-09-30T14:02:07.092261 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/encounters_controller_spec.rb", {:change=>:added}]
D, [2014-09-30T14:02:07.092192 #20119] DEBUG -- : moved_from: file:/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb ({:cookie=>7127, :change=>:moved_from})
D, [2014-09-30T14:02:07.091445 #20119] DEBUG -- : modified: file:/home/pablo/code/rails/resp/spec/controllers/4913 ({:change=>:modified})
D, [2014-09-30T14:02:07.092757 #20119] DEBUG -- : added: file:/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb ({:change=>:added})
I, [2014-09-30T14:02:07.193540 #20119] INFO -- : listen: raw changes: [[nil, "/home/pablo/code/rails/resp/spec/controllers/4913"], [:modified, "/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb"]]
I, [2014-09-30T14:02:07.193632 #20119] INFO -- : listen: final changes: {:modified=>["/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb"], :added=>[], :removed=>[]}
14:02:07 - DEBUG - Stop interactor
14:02:07 - DEBUG - Hook :run_on_modifications_begin executed for Guard::RSpec
14:02:07 - INFO - Running: spec/controllers/encounters_controller_spec.rb
D, [2014-09-30T14:02:07.327380 #20119] DEBUG -- : inotify: spec/controllers/encounters_controller_spec.rb ([:close_write, :close])
D, [2014-09-30T14:02:07.327539 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/encounters_controller_spec.rb", {:change=>:modified}]
D, [2014-09-30T14:02:07.328053 #20119] DEBUG -- : modified: file:/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb ({:change=>:modified})
D, [2014-09-30T14:02:07.328391 #20119] DEBUG -- : inotify: spec/controllers/encounters_controller_spec.rb ([:attrib])
D, [2014-09-30T14:02:07.328573 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "spec/controllers/encounters_controller_spec.rb", {:change=>:modified}]
D, [2014-09-30T14:02:07.328939 #20119] DEBUG -- : modified: file:/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb ({:change=>:modified})
D, [2014-09-30T14:02:07.487648 #20119] DEBUG -- : inotify: .git/index.lock ([:create])
D, [2014-09-30T14:02:07.487781 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:added}]
D, [2014-09-30T14:02:07.488153 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.489141 #20119] DEBUG -- : inotify: .git/index.lock ([:close_write, :close])
D, [2014-09-30T14:02:07.489277 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:modified}]
D, [2014-09-30T14:02:07.489926 #20119] DEBUG -- : inotify: .git/index.lock ([:moved_from, :move])
D, [2014-09-30T14:02:07.490027 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.490096 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:cookie=>7128, :change=>:moved_from}]
D, [2014-09-30T14:02:07.490437 #20119] DEBUG -- : inotify: .git/index ([:moved_to, :move])
D, [2014-09-30T14:02:07.490702 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index", {:cookie=>7128, :change=>:moved_to}]
D, [2014-09-30T14:02:07.490838 #20119] DEBUG -- : moved_from: file:/home/pablo/code/rails/resp/.git/index.lock ({:cookie=>7128, :change=>:moved_from})
D, [2014-09-30T14:02:07.491170 #20119] DEBUG -- : moved_to: file:/home/pablo/code/rails/resp/.git/index ({:cookie=>7128, :change=>:moved_to})
D, [2014-09-30T14:02:07.528976 #20119] DEBUG -- : inotify: .git/index.lock ([:create])
D, [2014-09-30T14:02:07.529108 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:added}]
D, [2014-09-30T14:02:07.529570 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.530892 #20119] DEBUG -- : inotify: .git/index.lock ([:close_write, :close])
D, [2014-09-30T14:02:07.531215 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:modified}]
D, [2014-09-30T14:02:07.531547 #20119] DEBUG -- : inotify: .git/index.lock ([:moved_from, :move])
D, [2014-09-30T14:02:07.531878 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.532018 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:cookie=>7129, :change=>:moved_from}]
D, [2014-09-30T14:02:07.532703 #20119] DEBUG -- : inotify: .git/index ([:moved_to, :move])
D, [2014-09-30T14:02:07.532994 #20119] DEBUG -- : moved_from: file:/home/pablo/code/rails/resp/.git/index.lock ({:cookie=>7129, :change=>:moved_from})
D, [2014-09-30T14:02:07.533128 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index", {:cookie=>7129, :change=>:moved_to}]
D, [2014-09-30T14:02:07.533646 #20119] DEBUG -- : moved_to: file:/home/pablo/code/rails/resp/.git/index ({:cookie=>7129, :change=>:moved_to})
D, [2014-09-30T14:02:07.548022 #20119] DEBUG -- : inotify: .git/index.lock ([:create])
D, [2014-09-30T14:02:07.548226 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:added}]
D, [2014-09-30T14:02:07.548924 #20119] DEBUG -- : inotify: .git/index.lock ([:close_write, :close])
D, [2014-09-30T14:02:07.549057 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.549187 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:modified}]
D, [2014-09-30T14:02:07.549935 #20119] DEBUG -- : inotify: .git/index.lock ([:moved_from, :move])
D, [2014-09-30T14:02:07.550045 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:07.550123 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:cookie=>7130, :change=>:moved_from}]
D, [2014-09-30T14:02:07.550622 #20119] DEBUG -- : inotify: .git/index ([:moved_to, :move])
D, [2014-09-30T14:02:07.550890 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index", {:cookie=>7130, :change=>:moved_to}]
D, [2014-09-30T14:02:07.551016 #20119] DEBUG -- : moved_from: file:/home/pablo/code/rails/resp/.git/index.lock ({:cookie=>7130, :change=>:moved_from})
D, [2014-09-30T14:02:07.551409 #20119] DEBUG -- : moved_to: file:/home/pablo/code/rails/resp/.git/index ({:cookie=>7130, :change=>:moved_to})
EncountersController
GET index
assigns all encounters as @encounters
GET show
D, [2014-09-30T14:02:11.571123 #20119] DEBUG -- : inotify: .git/index.lock ([:create])
D, [2014-09-30T14:02:11.571263 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:added}]
D, [2014-09-30T14:02:11.571931 #20119] DEBUG -- : inotify: .git/index.lock ([:close_write, :close])
D, [2014-09-30T14:02:11.572056 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:11.572121 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:change=>:modified}]
D, [2014-09-30T14:02:11.572500 #20119] DEBUG -- : inotify: .git/index.lock ([:moved_from, :move])
D, [2014-09-30T14:02:11.572747 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index.lock", {:cookie=>7135, :change=>:moved_from}]
D, [2014-09-30T14:02:11.572831 #20119] DEBUG -- : (silenced): ".git/index.lock"
D, [2014-09-30T14:02:11.573104 #20119] DEBUG -- : inotify: .git/index ([:moved_to, :move])
D, [2014-09-30T14:02:11.573398 #20119] DEBUG -- : moved_from: file:/home/pablo/code/rails/resp/.git/index.lock ({:cookie=>7135, :change=>:moved_from})
D, [2014-09-30T14:02:11.573506 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, ".git/index", {:cookie=>7135, :change=>:moved_to}]
D, [2014-09-30T14:02:11.573928 #20119] DEBUG -- : moved_to: file:/home/pablo/code/rails/resp/.git/index ({:cookie=>7135, :change=>:moved_to})
assigns the requested encounter as @encounter
GET new
assigns a new encounter as @encounter
GET edit
assigns the requested encounter as @encounter
POST create
with valid params
creates a new Encounter
assigns a newly created encounter as @encounter
redirects to the parent patient
with invalid params
assigns a newly created but unsaved encounter as @encounter
re-renders the 'new' template
PUT update
with valid params
updates the requested encounter
assigns the requested encounter as @encounter
redirects to the parent patient
with invalid params
assigns the encounter as @encounter
re-renders the 'edit' template
DELETE destroy
destroys the requested encounter
redirects to the parent patient encounters list
Finished in 3.35 seconds (files took 2.37 seconds to load)
16 examples, 0 failures
D, [2014-09-30T14:02:13.536951 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:create])
D, [2014-09-30T14:02:13.537067 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:added}]
D, [2014-09-30T14:02:13.537495 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
D, [2014-09-30T14:02:13.537884 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:close_write, :close])
D, [2014-09-30T14:02:13.538123 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:modified}]
D, [2014-09-30T14:02:13.538615 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
D, [2014-09-30T14:02:13.577340 #20119] DEBUG -- : inotify: log/development.log ([:close_write, :close])
D, [2014-09-30T14:02:13.577499 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "log/development.log", {:change=>:modified}]
D, [2014-09-30T14:02:13.577957 #20119] DEBUG -- : (silenced): "log/development.log"
14:02:13 - DEBUG - Command execution: notify-send RSpec results 16 examples, 0 failures in 3.3499 seconds -t 3000 -h int:transient:1 -i /home/pablo/code/rails/resp/vendor/bundle/gems/guard-2.6.1/images/success.png -u low
D, [2014-09-30T14:02:13.623783 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:delete])
D, [2014-09-30T14:02:13.623875 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:removed}]
D, [2014-09-30T14:02:13.628553 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
14:02:13 - DEBUG - Hook :run_on_modifications_end executed for Guard::RSpec
14:02:13 - DEBUG - Start interactor
D, [2014-09-30T14:02:13.679779 #20119] DEBUG -- : Callback took 6.482025861740112 seconds
[1] RSpec guard(main)> I, [2014-09-30T14:02:13.680508 #20119] INFO -- : listen: raw changes: [[:modified, "/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb"]]
I, [2014-09-30T14:02:13.680623 #20119] INFO -- : listen: final changes: {:modified=>["/home/pablo/code/rails/resp/spec/controllers/encounters_controller_spec.rb"], :added=>[], :removed=>[]}
14:02:13 - DEBUG - Stop interactor
14:02:13 - DEBUG - Hook :run_on_modifications_begin executed for Guard::RSpec
14:02:13 - INFO - Running: spec/controllers/encounters_controller_spec.rb
EncountersController
GET index
assigns all encounters as @encounters
GET show
assigns the requested encounter as @encounter
GET new
assigns a new encounter as @encounter
GET edit
assigns the requested encounter as @encounter
POST create
with valid params
creates a new Encounter
assigns a newly created encounter as @encounter
redirects to the parent patient
with invalid params
assigns a newly created but unsaved encounter as @encounter
re-renders the 'new' template
PUT update
with valid params
updates the requested encounter
assigns the requested encounter as @encounter
redirects to the parent patient
with invalid params
assigns the encounter as @encounter
re-renders the 'edit' template
DELETE destroy
destroys the requested encounter
redirects to the parent patient encounters list
Finished in 3.34 seconds (files took 2.2 seconds to load)
16 examples, 0 failures
D, [2014-09-30T14:02:19.796500 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:create])
D, [2014-09-30T14:02:19.796677 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:added}]
D, [2014-09-30T14:02:19.797404 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:close_write, :close])
D, [2014-09-30T14:02:19.797492 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:modified}]
D, [2014-09-30T14:02:19.797644 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
D, [2014-09-30T14:02:19.797950 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
D, [2014-09-30T14:02:19.837155 #20119] DEBUG -- : inotify: log/development.log ([:close_write, :close])
D, [2014-09-30T14:02:19.837317 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "log/development.log", {:change=>:modified}]
D, [2014-09-30T14:02:19.837756 #20119] DEBUG -- : (silenced): "log/development.log"
14:02:19 - DEBUG - Command execution: notify-send RSpec results 16 examples, 0 failures in 3.3423 seconds -t 3000 -h int:transient:1 -i /home/pablo/code/rails/resp/vendor/bundle/gems/guard-2.6.1/images/success.png -u low
D, [2014-09-30T14:02:19.883252 #20119] DEBUG -- : inotify: tmp/rspec_guard_result ([:delete])
D, [2014-09-30T14:02:19.883358 #20119] DEBUG -- : raw queue: [:file, #<Pathname:/home/pablo/code/rails/resp>, "tmp/rspec_guard_result", {:change=>:removed}]
D, [2014-09-30T14:02:19.888047 #20119] DEBUG -- : (silenced): "tmp/rspec_guard_result"
14:02:19 - DEBUG - Hook :run_on_modifications_end executed for Guard::RSpec
14:02:19 - DEBUG - Start interactor
D, [2014-09-30T14:02:19.939140 #20119] DEBUG -- : Callback took 6.254062652587891 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment