bumbleworks-rails 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 014256edf5483bc722a2ea9cedc4ea447d40ac87
4
- data.tar.gz: 27260735f2349d2932b4730b8a44b0127e395e76
3
+ metadata.gz: 426ad3113a1c34b0a38afc11c7dd93913f487c19
4
+ data.tar.gz: 5c5905cc5edde3ac2a579f3e48c93f24448bb196
5
5
  SHA512:
6
- metadata.gz: 174275dc484a8305f409e34aa3a4c12287977796590517726e0177629951f29af8da963ff85f404cf234d0723b0349b9e97208bd8b88181fcf9a47fe6e6a889b
7
- data.tar.gz: cbcb0d7b8bb7e21125e56b7734e4f06da5b44a0d1f02d00f7be7f74bddecf291424f174d07bc8e89af565135dfd938e093d5dbf35d59d8f2cab6b8c20cb60913
6
+ metadata.gz: 32799aada41f3739438d2c319a1b3700c709617336f3fdbc8a7d005f3df9b4e39888119abb5f1d3b5edfdead891f8a7c99d02188bacb717d60403df67090f563
7
+ data.tar.gz: 7318b680934e685a2809a4f815b68963a59e9d49250df7a3e9d8862dfde1c8b75ba272b66cde5fc7cdf29c54143abd9021f292b7f4f14ac128a3fffc07a4359c
@@ -27,6 +27,8 @@ class Bumbleworks::Rails::TasksController < BumbleworksController
27
27
  rescue Bumbleworks::Task::NotCompletable => e
28
28
  flash[:error] = e.message
29
29
  redirect_to entity_task_path @task
30
+ rescue Bumbleworks::Task::CompletionFailed
31
+ render :show, :prefixes => template_prefixes
30
32
  end
31
33
 
32
34
  def claim
@@ -1,5 +1,5 @@
1
1
  module Bumbleworks
2
2
  module Rails
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
@@ -78,6 +78,14 @@ describe Bumbleworks::Rails::TasksController do
78
78
  expect(flash[:error]).to eq("no way")
79
79
  expect(response).to redirect_to(controller.entity_task_path(task))
80
80
  end
81
+
82
+ it 'does not complete the task if completion fails' do
83
+ allow(task).to receive(:claimant).and_return('scotch')
84
+ expect(task).to receive(:complete).
85
+ and_raise(Bumbleworks::Task::CompletionFailed)
86
+ post :complete, :id => 152, :task => { :foo => :bar }
87
+ expect(response).to render_template('fridgets/tasks/show')
88
+ end
81
89
  end
82
90
 
83
91
  describe '#claim' do
@@ -8604,3 +8604,464 @@ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
8604
8604
  Processing by Bumbleworks::Rails::TasksController#index as HTML
8605
8605
  Parameters: {"entity_type"=>"fridgets", "entity_id"=>"6"}
8606
8606
  Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8607
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8608
+ Parameters: {"id"=>"152"}
8609
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.3ms)
8610
+ Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms)
8611
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8612
+ Parameters: {"id"=>"152"}
8613
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
8614
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8615
+ Parameters: {"id"=>"152"}
8616
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8617
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8618
+ Parameters: {"id"=>"152"}
8619
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8620
+ Completed 401 Unauthorized in 8ms (Views: 2.2ms | ActiveRecord: 0.0ms)
8621
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8622
+ Parameters: {"id"=>"152"}
8623
+ Redirected to http://test.host/
8624
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8625
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8626
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8627
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8628
+ Redirected to http://test.host/fridgets/5/tasks
8629
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
8630
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8631
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8632
+ Redirected to http://test.host/fridgets/5/tasks/werk
8633
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8634
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8635
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8636
+ Redirected to http://test.host/fridgets/5/tasks/werk
8637
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8638
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8639
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8640
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8641
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8642
+ Parameters: {"id"=>"152"}
8643
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8644
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8645
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8646
+ Parameters: {"id"=>"152"}
8647
+ Redirected to http://test.host/
8648
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8649
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8650
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8651
+ Parameters: {"id"=>"152"}
8652
+ Redirected to http://test.host/fridgets/5/tasks/werk
8653
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8654
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8655
+ Parameters: {"id"=>"152"}
8656
+ Redirected to http://test.host/fridgets/5/tasks/werk
8657
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8658
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8659
+ Parameters: {"id"=>"152"}
8660
+ Redirected to http://test.host/fridgets/5/tasks/werk
8661
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8662
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8663
+ Parameters: {"id"=>"152"}
8664
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8665
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8666
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8667
+ Parameters: {"id"=>"152"}
8668
+ Redirected to http://test.host/
8669
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8670
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8671
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8672
+ Parameters: {"id"=>"152"}
8673
+ Redirected to http://test.host/fridgets/5/tasks/werk
8674
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8675
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8676
+ Parameters: {"id"=>"152"}
8677
+ Redirected to http://test.host/fridgets/5/tasks/werk
8678
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8679
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8680
+ Parameters: {"id"=>"152"}
8681
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8682
+ Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8683
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8684
+ Parameters: {"id"=>"152"}
8685
+ Redirected to http://test.host/
8686
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8687
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8688
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8689
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
8690
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8691
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8692
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
8693
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8694
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
8695
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8696
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8697
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8698
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8699
+ Parameters: {"entity_type"=>"goof", "entity_id"=>"2"}
8700
+ Filter chain halted as :load_entity rendered or redirected
8701
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8702
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8703
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"3"}
8704
+ Filter chain halted as :load_entity rendered or redirected
8705
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8706
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8707
+ Parameters: {"entity_type"=>"smoo", "entity_id"=>"2"}
8708
+ Filter chain halted as :load_entity rendered or redirected
8709
+ Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8710
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8711
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
8712
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8713
+ Parameters: {"entity_type"=>"silvo_blooms", "entity_id"=>"5"}
8714
+ Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 0.0ms)
8715
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8716
+ Parameters: {"entity_type"=>"fridgets", "entity_id"=>"6"}
8717
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8718
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8719
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8720
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.3ms)
8721
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
8722
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8723
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8724
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.2ms)
8725
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
8726
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8727
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8728
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.2ms)
8729
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
8730
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8731
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8732
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.2ms)
8733
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms)
8734
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8735
+ Parameters: {"id"=>"152"}
8736
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.3ms)
8737
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms)
8738
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8739
+ Parameters: {"id"=>"152"}
8740
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
8741
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8742
+ Parameters: {"id"=>"152"}
8743
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8744
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8745
+ Parameters: {"id"=>"152"}
8746
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8747
+ Completed 401 Unauthorized in 12ms (Views: 0.9ms | ActiveRecord: 0.0ms)
8748
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8749
+ Parameters: {"id"=>"152"}
8750
+ Redirected to http://test.host/
8751
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8752
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8753
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8754
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8755
+ Redirected to http://test.host/fridgets/5/tasks
8756
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
8757
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8758
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8759
+ Redirected to http://test.host/fridgets/5/tasks/werk
8760
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8761
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8762
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8763
+ Redirected to http://test.host/fridgets/5/tasks/werk
8764
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8765
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8766
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8767
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8768
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8769
+ Parameters: {"id"=>"152"}
8770
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8771
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8772
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8773
+ Parameters: {"id"=>"152"}
8774
+ Redirected to http://test.host/
8775
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8776
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8777
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8778
+ Parameters: {"id"=>"152"}
8779
+ Redirected to http://test.host/fridgets/5/tasks/werk
8780
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8781
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8782
+ Parameters: {"id"=>"152"}
8783
+ Redirected to http://test.host/fridgets/5/tasks/werk
8784
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8785
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8786
+ Parameters: {"id"=>"152"}
8787
+ Redirected to http://test.host/fridgets/5/tasks/werk
8788
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8789
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8790
+ Parameters: {"id"=>"152"}
8791
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8792
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8793
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8794
+ Parameters: {"id"=>"152"}
8795
+ Redirected to http://test.host/
8796
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8797
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8798
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8799
+ Parameters: {"id"=>"152"}
8800
+ Redirected to http://test.host/fridgets/5/tasks/werk
8801
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8802
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8803
+ Parameters: {"id"=>"152"}
8804
+ Redirected to http://test.host/fridgets/5/tasks/werk
8805
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8806
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8807
+ Parameters: {"id"=>"152"}
8808
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8809
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8810
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8811
+ Parameters: {"id"=>"152"}
8812
+ Redirected to http://test.host/
8813
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8814
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8815
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8816
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
8817
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8818
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8819
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8820
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8821
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8822
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8823
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8824
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8825
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8826
+ Parameters: {"entity_type"=>"goof", "entity_id"=>"2"}
8827
+ Filter chain halted as :load_entity rendered or redirected
8828
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8829
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8830
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"3"}
8831
+ Filter chain halted as :load_entity rendered or redirected
8832
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8833
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8834
+ Parameters: {"entity_type"=>"smoo", "entity_id"=>"2"}
8835
+ Filter chain halted as :load_entity rendered or redirected
8836
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8837
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8838
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8839
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8840
+ Parameters: {"entity_type"=>"silvo_blooms", "entity_id"=>"5"}
8841
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8842
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8843
+ Parameters: {"entity_type"=>"fridgets", "entity_id"=>"6"}
8844
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8845
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8846
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8847
+ Rendered /Users/ravi/bumbleworks/bumbleworks-rails/app/views/bumbleworks/rails/tasks/show.html.erb within layouts/application (0.2ms)
8848
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms)
8849
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8850
+ Parameters: {"id"=>"152"}
8851
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.3ms)
8852
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
8853
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8854
+ Parameters: {"id"=>"152"}
8855
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
8856
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8857
+ Parameters: {"id"=>"152"}
8858
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8859
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8860
+ Parameters: {"id"=>"152"}
8861
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8862
+ Completed 401 Unauthorized in 5ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8863
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8864
+ Parameters: {"id"=>"152"}
8865
+ Redirected to http://test.host/
8866
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8867
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8868
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8869
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8870
+ Redirected to http://test.host/fridgets/5/tasks
8871
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
8872
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8873
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8874
+ Redirected to http://test.host/fridgets/5/tasks/werk
8875
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8876
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8877
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8878
+ Redirected to http://test.host/fridgets/5/tasks/werk
8879
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8880
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8881
+ Parameters: {"id"=>"152"}
8882
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8883
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8884
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8885
+ Parameters: {"id"=>"152"}
8886
+ Redirected to http://test.host/
8887
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8888
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8889
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8890
+ Parameters: {"id"=>"152"}
8891
+ Redirected to http://test.host/fridgets/5/tasks/werk
8892
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8893
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8894
+ Parameters: {"id"=>"152"}
8895
+ Redirected to http://test.host/fridgets/5/tasks/werk
8896
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8897
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8898
+ Parameters: {"id"=>"152"}
8899
+ Redirected to http://test.host/fridgets/5/tasks/werk
8900
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8901
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8902
+ Parameters: {"id"=>"152"}
8903
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8904
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8905
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
8906
+ Parameters: {"id"=>"152"}
8907
+ Redirected to http://test.host/
8908
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8909
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8910
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8911
+ Parameters: {"id"=>"152"}
8912
+ Redirected to http://test.host/fridgets/5/tasks/werk
8913
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8914
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8915
+ Parameters: {"id"=>"152"}
8916
+ Redirected to http://test.host/fridgets/5/tasks/werk
8917
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8918
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8919
+ Parameters: {"id"=>"152"}
8920
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8921
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8922
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
8923
+ Parameters: {"id"=>"152"}
8924
+ Redirected to http://test.host/
8925
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8926
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8927
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8928
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
8929
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8930
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8931
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8932
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8933
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8934
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8935
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
8936
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
8937
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8938
+ Parameters: {"entity_type"=>"goof", "entity_id"=>"2"}
8939
+ Filter chain halted as :load_entity rendered or redirected
8940
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8941
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8942
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"3"}
8943
+ Filter chain halted as :load_entity rendered or redirected
8944
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8945
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8946
+ Parameters: {"entity_type"=>"smoo", "entity_id"=>"2"}
8947
+ Filter chain halted as :load_entity rendered or redirected
8948
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8949
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8950
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8951
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8952
+ Parameters: {"entity_type"=>"silvo_blooms", "entity_id"=>"5"}
8953
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
8954
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
8955
+ Parameters: {"entity_type"=>"fridgets", "entity_id"=>"6"}
8956
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8957
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8958
+ Parameters: {"id"=>"152"}
8959
+ Rendered fridgets/tasks/show.html.erb within layouts/application (0.2ms)
8960
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)
8961
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8962
+ Parameters: {"id"=>"152"}
8963
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
8964
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8965
+ Parameters: {"id"=>"152"}
8966
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
8967
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8968
+ Parameters: {"id"=>"152"}
8969
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8970
+ Completed 401 Unauthorized in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
8971
+ Processing by Bumbleworks::Rails::TasksController#show as HTML
8972
+ Parameters: {"id"=>"152"}
8973
+ Redirected to http://test.host/
8974
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8975
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
8976
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8977
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8978
+ Redirected to http://test.host/fridgets/5/tasks
8979
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
8980
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8981
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8982
+ Redirected to http://test.host/fridgets/5/tasks/werk
8983
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8984
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8985
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8986
+ Redirected to http://test.host/fridgets/5/tasks/werk
8987
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
8988
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8989
+ Parameters: {"task"=>{"foo"=>"bar"}, "id"=>"152"}
8990
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
8991
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8992
+ Parameters: {"id"=>"152"}
8993
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8994
+ Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8995
+ Processing by Bumbleworks::Rails::TasksController#complete as HTML
8996
+ Parameters: {"id"=>"152"}
8997
+ Redirected to http://test.host/
8998
+ Filter chain halted as :load_and_authorize_task rendered or redirected
8999
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
9000
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
9001
+ Parameters: {"id"=>"152"}
9002
+ Redirected to http://test.host/fridgets/5/tasks/werk
9003
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
9004
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
9005
+ Parameters: {"id"=>"152"}
9006
+ Redirected to http://test.host/fridgets/5/tasks/werk
9007
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
9008
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
9009
+ Parameters: {"id"=>"152"}
9010
+ Redirected to http://test.host/fridgets/5/tasks/werk
9011
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
9012
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
9013
+ Parameters: {"id"=>"152"}
9014
+ Filter chain halted as :load_and_authorize_task rendered or redirected
9015
+ Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9016
+ Processing by Bumbleworks::Rails::TasksController#claim as HTML
9017
+ Parameters: {"id"=>"152"}
9018
+ Redirected to http://test.host/
9019
+ Filter chain halted as :load_and_authorize_task rendered or redirected
9020
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
9021
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
9022
+ Parameters: {"id"=>"152"}
9023
+ Redirected to http://test.host/fridgets/5/tasks/werk
9024
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
9025
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
9026
+ Parameters: {"id"=>"152"}
9027
+ Redirected to http://test.host/fridgets/5/tasks/werk
9028
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
9029
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
9030
+ Parameters: {"id"=>"152"}
9031
+ Filter chain halted as :load_and_authorize_task rendered or redirected
9032
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9033
+ Processing by Bumbleworks::Rails::TasksController#release as HTML
9034
+ Parameters: {"id"=>"152"}
9035
+ Redirected to http://test.host/
9036
+ Filter chain halted as :load_and_authorize_task rendered or redirected
9037
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
9038
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9039
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
9040
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9041
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
9042
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
9043
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9044
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
9045
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9046
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"5"}
9047
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
9048
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9049
+ Parameters: {"entity_type"=>"goof", "entity_id"=>"2"}
9050
+ Filter chain halted as :load_entity rendered or redirected
9051
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9052
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9053
+ Parameters: {"entity_type"=>"fridget", "entity_id"=>"3"}
9054
+ Filter chain halted as :load_entity rendered or redirected
9055
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9056
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9057
+ Parameters: {"entity_type"=>"smoo", "entity_id"=>"2"}
9058
+ Filter chain halted as :load_entity rendered or redirected
9059
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9060
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9061
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
9062
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9063
+ Parameters: {"entity_type"=>"silvo_blooms", "entity_id"=>"5"}
9064
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
9065
+ Processing by Bumbleworks::Rails::TasksController#index as HTML
9066
+ Parameters: {"entity_type"=>"fridgets", "entity_id"=>"6"}
9067
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumbleworks-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Gadad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-09 00:00:00.000000000 Z
11
+ date: 2014-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.74
33
+ version: 0.0.77
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.74
40
+ version: 0.0.77
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bumbleworks-gui
43
43
  requirement: !ruby/object:Gem::Requirement