restful_controller 0.1.3 → 0.1.4

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: 52641134615fbf575cc84a2c5dd01d21d588f0dc
4
- data.tar.gz: 0009f1fe93f75fb8501a93c45325a868a0d35305
3
+ metadata.gz: 96495291f7c6fc588ba0ab6b78abbd2f4bb770d9
4
+ data.tar.gz: 29039ed3b70521b5300936d3f315416d97cb9263
5
5
  SHA512:
6
- metadata.gz: 9d2852e445651b25ad97530b64d6f739c99f095fc30eae4445d032c96c1f8b0e1ebcf1a1179c52b16ac787f8a13be5d5784bcec7131bdecfdaa872c86341f366
7
- data.tar.gz: fdb30c0d779c8a8030157b42b3bd3eaf7509ec294cafbc8616fbe3b018b1a555215ed025ce341c7ba4fdb1ceebfe5532a881f87bff39ec634656780eddfedc7f
6
+ metadata.gz: 17227ee0aa864e192759081eb36a00e3e874bfd7b46736a90a9c3a9faf41fef4e6f491423bc6bfd972bdb43e082121def309d670b98aeac605cd4a918d156a72
7
+ data.tar.gz: 089528b0ea4dd812e6d89d50dfa24603cb0216821605ccf9ba13da65ec599de698d61d67d86e6013501e0a4ce97ea0e48fa384005e92568b000faf702e360baf
@@ -3,5 +3,5 @@
3
3
  module Restful
4
4
  ##
5
5
  # Sets the library version
6
- VERSION = '0.1.3'
6
+ VERSION = '0.1.4'
7
7
  end
Binary file
@@ -89436,6 +89436,332 @@ Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
89436
89436
  ---------------------------------------------------------------------------------
89437
89437
  DocumentsController::base actions::update: test_0003_raise exception on not found
89438
89438
  ---------------------------------------------------------------------------------
89439
+ Processing by DocumentsController#update as HTML
89440
+ Parameters: {"id"=>"1"}
89441
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89442
+ Completed 404 Not Found in 1ms
89443
+  (0.1ms) rollback transaction
89444
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
89445
+  (0.1ms) begin transaction
89446
+ Fixture Delete (0.3ms) DELETE FROM "documents"
89447
+ Fixture Insert (0.2ms) INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-12-19 21:09:13', '2013-12-19 21:09:13')
89448
+  (1.1ms) commit transaction
89449
+  (0.0ms) begin transaction
89450
+ ---------------------------------------------------------------
89451
+ AlternatesController::base actions::create: test_0001_redirects
89452
+ ---------------------------------------------------------------
89453
+ Processing by AlternatesController#create as HTML
89454
+ Parameters: {"document"=>{"name"=>"New document"}}
89455
+  (0.1ms) SAVEPOINT active_record_1
89456
+ SQL (1.1ms) INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00], ["name", "New document"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
89458
+ Redirected to http://test.host/documents
89459
+ Completed 302 Found in 24ms (ActiveRecord: 1.2ms)
89460
+  (0.7ms) rollback transaction
89461
+  (0.0ms) begin transaction
89462
+ --------------------------------------------------------------------
89463
+ AlternatesController::base actions::create: test_0002_display errors
89464
+ --------------------------------------------------------------------
89465
+ Processing by AlternatesController#create as HTML
89466
+ Parameters: {"document"=>{"name"=>""}}
89467
+  (0.1ms) SAVEPOINT active_record_1
89468
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
89469
+ Completed 200 OK in 23ms (Views: 17.4ms | ActiveRecord: 0.1ms)
89470
+  (0.1ms) rollback transaction
89471
+  (0.0ms) begin transaction
89472
+ ----------------------------------------------------------------
89473
+ AlternatesController::base actions::destroy: test_0001_redirects
89474
+ ----------------------------------------------------------------
89475
+ Processing by AlternatesController#destroy as HTML
89476
+ Parameters: {"id"=>"100"}
89477
+ Document Load (0.2ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89478
+  (0.0ms) SAVEPOINT active_record_1
89479
+ SQL (0.2ms) DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
89480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89481
+  (0.0ms) SAVEPOINT active_record_1
89482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89483
+ Redirected to http://test.host/documents
89484
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
89485
+  (0.4ms) rollback transaction
89486
+  (0.0ms) begin transaction
89487
+ -----------------------------------------------------------------------------------
89488
+ AlternatesController::base actions::destroy: test_0002_raise exception on not found
89489
+ -----------------------------------------------------------------------------------
89490
+ Processing by AlternatesController#destroy as HTML
89491
+ Parameters: {"id"=>"1"}
89492
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89493
+ Completed 404 Not Found in 1ms
89494
+  (0.1ms) rollback transaction
89495
+  (0.1ms) begin transaction
89496
+ ---------------------------------------------------------------
89497
+ AlternatesController::base actions::edit: test_0001_render form
89498
+ ---------------------------------------------------------------
89499
+ Processing by AlternatesController#edit as HTML
89500
+ Parameters: {"id"=>"100"}
89501
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89502
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
89503
+  (0.1ms) rollback transaction
89504
+  (0.1ms) begin transaction
89505
+ --------------------------------------------------------------------------------
89506
+ AlternatesController::base actions::edit: test_0002_raise exception on not found
89507
+ --------------------------------------------------------------------------------
89508
+ Processing by AlternatesController#edit as HTML
89509
+ Parameters: {"id"=>"1"}
89510
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89511
+ Completed 404 Not Found in 1ms
89512
+  (0.1ms) rollback transaction
89513
+  (0.0ms) begin transaction
89514
+ ----------------------------------------------------------------
89515
+ AlternatesController::base actions::index: test_0001_render list
89516
+ ----------------------------------------------------------------
89517
+ Processing by AlternatesController#index as HTML
89518
+  (0.1ms) SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
89519
+ Document Load (0.1ms) SELECT "documents".* FROM "documents"
89520
+ Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
89521
+  (0.1ms) rollback transaction
89522
+  (0.1ms) begin transaction
89523
+ --------------------------------------------------------------
89524
+ AlternatesController::base actions::new: test_0001_render form
89525
+ --------------------------------------------------------------
89526
+ Processing by AlternatesController#new as HTML
89527
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
89528
+  (0.1ms) rollback transaction
89529
+  (0.0ms) begin transaction
89530
+ ---------------------------------------------------------------
89531
+ AlternatesController::base actions::show: test_0001_render view
89532
+ ---------------------------------------------------------------
89533
+ Processing by AlternatesController#show as HTML
89534
+ Parameters: {"id"=>"100"}
89535
+ Document Load (0.2ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89536
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
89537
+  (0.1ms) rollback transaction
89538
+  (0.0ms) begin transaction
89539
+ --------------------------------------------------------------------------------
89540
+ AlternatesController::base actions::show: test_0002_raise exception on not found
89541
+ --------------------------------------------------------------------------------
89542
+ Processing by AlternatesController#show as HTML
89543
+ Parameters: {"id"=>"1"}
89544
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89545
+ Completed 404 Not Found in 1ms
89546
+  (0.0ms) rollback transaction
89547
+  (0.0ms) begin transaction
89548
+ ---------------------------------------------------------------
89549
+ AlternatesController::base actions::update: test_0001_redirects
89550
+ ---------------------------------------------------------------
89551
+ Processing by AlternatesController#update as HTML
89552
+ Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
89553
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89554
+  (0.0ms) SAVEPOINT active_record_1
89555
+ SQL (0.3ms) UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89557
+ Redirected to http://test.host/documents
89558
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
89559
+  (0.3ms) rollback transaction
89560
+  (0.1ms) begin transaction
89561
+ --------------------------------------------------------------------
89562
+ AlternatesController::base actions::update: test_0002_display errors
89563
+ --------------------------------------------------------------------
89564
+ Processing by AlternatesController#update as HTML
89565
+ Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
89566
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89567
+  (0.1ms) SAVEPOINT active_record_1
89568
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
89569
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
89570
+  (0.1ms) rollback transaction
89571
+  (0.1ms) begin transaction
89572
+ ----------------------------------------------------------------------------------
89573
+ AlternatesController::base actions::update: test_0003_raise exception on not found
89574
+ ----------------------------------------------------------------------------------
89575
+ Processing by AlternatesController#update as HTML
89576
+ Parameters: {"id"=>"1"}
89577
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89578
+ Completed 404 Not Found in 1ms
89579
+  (0.1ms) rollback transaction
89580
+  (0.0ms) begin transaction
89581
+ --------------------------------------------------
89582
+ BlocksController: test_0001_has one response block
89583
+ --------------------------------------------------
89584
+ Processing by BlocksController#create as HTML
89585
+ Parameters: {"document"=>{"name"=>"Sample"}}
89586
+  (0.1ms) SAVEPOINT active_record_1
89587
+ SQL (0.4ms) INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00], ["name", "Sample"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
89589
+ Redirected to http://test.host/
89590
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
89591
+  (0.3ms) rollback transaction
89592
+  (0.1ms) begin transaction
89593
+ ----------------------------------------------------------------
89594
+ BlocksController: test_0002_has two response blocks with success
89595
+ ----------------------------------------------------------------
89596
+ Processing by BlocksController#update as HTML
89597
+ Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
89598
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89599
+  (0.0ms) SAVEPOINT active_record_1
89600
+ SQL (0.2ms) UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89602
+ Redirected to http://test.host/
89603
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
89604
+  (0.4ms) rollback transaction
89605
+  (0.1ms) begin transaction
89606
+ ----------------------------------------------------------------
89607
+ BlocksController: test_0003_has two response blocks with failire
89608
+ ----------------------------------------------------------------
89609
+ Processing by BlocksController#update as HTML
89610
+ Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
89611
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89612
+  (0.0ms) SAVEPOINT active_record_1
89613
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
89614
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)
89615
+  (0.1ms) rollback transaction
89616
+  (0.0ms) begin transaction
89617
+ ---------------------------------------------------------------
89618
+ CustomNoticesController::flash messages: test_0001_has a notice
89619
+ ---------------------------------------------------------------
89620
+ Processing by CustomNoticesController#create as HTML
89621
+ Parameters: {"document"=>{"name"=>"Sample"}}
89622
+  (0.1ms) SAVEPOINT active_record_1
89623
+ SQL (0.3ms) INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00], ["name", "Sample"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89625
+ Redirected to http://test.host/
89626
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
89627
+  (0.3ms) rollback transaction
89628
+  (0.0ms) begin transaction
89629
+ ---------------------------------------------------------------
89630
+ CustomNoticesController::flash messages: test_0002_has an alert
89631
+ ---------------------------------------------------------------
89632
+ Processing by CustomNoticesController#update as HTML
89633
+ Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
89634
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89635
+  (0.0ms) SAVEPOINT active_record_1
89636
+ SQL (0.2ms) UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
89638
+ Redirected to http://test.host/
89639
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
89640
+  (0.4ms) rollback transaction
89641
+  (0.1ms) begin transaction
89642
+ --------------------------------------------------------------
89643
+ DocumentsController::base actions::create: test_0001_redirects
89644
+ --------------------------------------------------------------
89645
+ Processing by DocumentsController#create as HTML
89646
+ Parameters: {"document"=>{"name"=>"New document"}}
89647
+  (0.1ms) SAVEPOINT active_record_1
89648
+ SQL (0.4ms) INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00], ["name", "New document"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89650
+ Redirected to http://test.host/documents
89651
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
89652
+  (0.4ms) rollback transaction
89653
+  (0.0ms) begin transaction
89654
+ -------------------------------------------------------------------
89655
+ DocumentsController::base actions::create: test_0002_display errors
89656
+ -------------------------------------------------------------------
89657
+ Processing by DocumentsController#create as HTML
89658
+ Parameters: {"document"=>{"name"=>""}}
89659
+  (0.0ms) SAVEPOINT active_record_1
89660
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
89661
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)
89662
+  (0.0ms) rollback transaction
89663
+  (0.0ms) begin transaction
89664
+ ---------------------------------------------------------------
89665
+ DocumentsController::base actions::destroy: test_0001_redirects
89666
+ ---------------------------------------------------------------
89667
+ Processing by DocumentsController#destroy as HTML
89668
+ Parameters: {"id"=>"100"}
89669
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89670
+  (0.0ms) SAVEPOINT active_record_1
89671
+ SQL (0.2ms) DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
89672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
89673
+ Redirected to http://test.host/documents
89674
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
89675
+  (0.4ms) rollback transaction
89676
+  (0.1ms) begin transaction
89677
+ ----------------------------------------------------------------------------------
89678
+ DocumentsController::base actions::destroy: test_0002_raise exception on not found
89679
+ ----------------------------------------------------------------------------------
89680
+ Processing by DocumentsController#destroy as HTML
89681
+ Parameters: {"id"=>"1"}
89682
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89683
+ Completed 404 Not Found in 1ms
89684
+  (0.0ms) rollback transaction
89685
+  (0.0ms) begin transaction
89686
+ --------------------------------------------------------------
89687
+ DocumentsController::base actions::edit: test_0001_render form
89688
+ --------------------------------------------------------------
89689
+ Processing by DocumentsController#edit as HTML
89690
+ Parameters: {"id"=>"100"}
89691
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89692
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
89693
+  (0.1ms) rollback transaction
89694
+  (0.0ms) begin transaction
89695
+ -------------------------------------------------------------------------------
89696
+ DocumentsController::base actions::edit: test_0002_raise exception on not found
89697
+ -------------------------------------------------------------------------------
89698
+ Processing by DocumentsController#edit as HTML
89699
+ Parameters: {"id"=>"1"}
89700
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89701
+ Completed 404 Not Found in 1ms
89702
+  (0.1ms) rollback transaction
89703
+  (0.0ms) begin transaction
89704
+ ---------------------------------------------------------------
89705
+ DocumentsController::base actions::index: test_0001_render list
89706
+ ---------------------------------------------------------------
89707
+ Processing by DocumentsController#index as HTML
89708
+  (0.1ms) SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
89709
+ Document Load (0.1ms) SELECT "documents".* FROM "documents"
89710
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)
89711
+  (0.1ms) rollback transaction
89712
+  (0.0ms) begin transaction
89713
+ -------------------------------------------------------------
89714
+ DocumentsController::base actions::new: test_0001_render form
89715
+ -------------------------------------------------------------
89716
+ Processing by DocumentsController#new as HTML
89717
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
89718
+  (0.1ms) rollback transaction
89719
+  (0.1ms) begin transaction
89720
+ --------------------------------------------------------------
89721
+ DocumentsController::base actions::show: test_0001_render view
89722
+ --------------------------------------------------------------
89723
+ Processing by DocumentsController#show as HTML
89724
+ Parameters: {"id"=>"100"}
89725
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89726
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
89727
+  (0.1ms) rollback transaction
89728
+  (0.1ms) begin transaction
89729
+ -------------------------------------------------------------------------------
89730
+ DocumentsController::base actions::show: test_0002_raise exception on not found
89731
+ -------------------------------------------------------------------------------
89732
+ Processing by DocumentsController#show as HTML
89733
+ Parameters: {"id"=>"1"}
89734
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
89735
+ Completed 404 Not Found in 1ms
89736
+  (0.1ms) rollback transaction
89737
+  (0.1ms) begin transaction
89738
+ --------------------------------------------------------------
89739
+ DocumentsController::base actions::update: test_0001_redirects
89740
+ --------------------------------------------------------------
89741
+ Processing by DocumentsController#update as HTML
89742
+ Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
89743
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89744
+  (0.1ms) SAVEPOINT active_record_1
89745
+ SQL (0.3ms) UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Thu, 19 Dec 2013 21:09:13 UTC +00:00]]
89746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
89747
+ Redirected to http://test.host/documents
89748
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
89749
+  (0.3ms) rollback transaction
89750
+  (0.0ms) begin transaction
89751
+ -------------------------------------------------------------------
89752
+ DocumentsController::base actions::update: test_0002_display errors
89753
+ -------------------------------------------------------------------
89754
+ Processing by DocumentsController#update as HTML
89755
+ Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
89756
+ Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
89757
+  (0.0ms) SAVEPOINT active_record_1
89758
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
89759
+ Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)
89760
+  (0.1ms) rollback transaction
89761
+  (0.1ms) begin transaction
89762
+ ---------------------------------------------------------------------------------
89763
+ DocumentsController::base actions::update: test_0003_raise exception on not found
89764
+ ---------------------------------------------------------------------------------
89439
89765
  Processing by DocumentsController#update as HTML
89440
89766
  Parameters: {"id"=>"1"}
89441
89767
  Document Load (0.1ms) SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Alberto Chavez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-06 00:00:00.000000000 Z
11
+ date: 2013-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: flog
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: flay
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.9.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.9.0
97
97
  description: Restful helps you to remove duplicated code from controllers were their
@@ -102,20 +102,22 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
+ - MIT-LICENSE
106
+ - README.rdoc
107
+ - Rakefile
108
+ - lib/restful.rb
105
109
  - lib/restful/actions.rb
106
110
  - lib/restful/base.rb
107
111
  - lib/restful/dummy_responder.rb
108
112
  - lib/restful/version.rb
109
- - lib/restful.rb
110
113
  - lib/tasks/resourceful_tasks.rake
111
- - MIT-LICENSE
112
- - Rakefile
113
- - README.rdoc
114
114
  - test/actions_definition_test.rb
115
115
  - test/alternates_controller_test.rb
116
116
  - test/base_controller_test.rb
117
117
  - test/blocks_controller_test.rb
118
118
  - test/custom_notices_controller_test.rb
119
+ - test/dummy/README.rdoc
120
+ - test/dummy/Rakefile
119
121
  - test/dummy/app/assets/javascripts/application.js
120
122
  - test/dummy/app/assets/stylesheets/application.css
121
123
  - test/dummy/app/controllers/alternates_controller.rb
@@ -135,6 +137,7 @@ files:
135
137
  - test/dummy/bin/bundle
136
138
  - test/dummy/bin/rails
137
139
  - test/dummy/bin/rake
140
+ - test/dummy/config.ru
138
141
  - test/dummy/config/application.rb
139
142
  - test/dummy/config/boot.rb
140
143
  - test/dummy/config/database.yml
@@ -152,7 +155,6 @@ files:
152
155
  - test/dummy/config/initializers/wrap_parameters.rb
153
156
  - test/dummy/config/locales/en.yml
154
157
  - test/dummy/config/routes.rb
155
- - test/dummy/config.ru
156
158
  - test/dummy/db/development.sqlite3
157
159
  - test/dummy/db/migrate/20130703024719_create_documents.rb
158
160
  - test/dummy/db/schema.rb
@@ -163,8 +165,6 @@ files:
163
165
  - test/dummy/public/422.html
164
166
  - test/dummy/public/500.html
165
167
  - test/dummy/public/favicon.ico
166
- - test/dummy/Rakefile
167
- - test/dummy/README.rdoc
168
168
  - test/dummy/test/fixtures/documents.yml
169
169
  - test/dummy/test/models/document_test.rb
170
170
  - test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
@@ -186,17 +186,17 @@ require_paths:
186
186
  - lib
187
187
  required_ruby_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
- - - '>='
189
+ - - ">="
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
- - - '>='
194
+ - - ">="
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.0.2
199
+ rubygems_version: 2.2.0
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Restful helps to keep Controllers DRY, removing repetitive code from basic