smarter_listing 0.2.9 → 0.3.0
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.
- checksums.yaml +4 -4
- data/app/views/smart_listing/index.js.erb +1 -0
- data/app/views/smarter_listing/index.js.erb +1 -1
- data/lib/smarter_listing/controller_extension.rb +1 -1
- data/lib/smarter_listing/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +236 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1a7fc8355e68e769eef4cc8f771d8173c6d8e34
|
|
4
|
+
data.tar.gz: 368b6206e1d714a79d541fcdec8f4328318a8b3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7c4a145fbcdfe2ebb0ca9ee3ed988440aa96e10d2f7332b97128205b8c9459e1c1bcf6bb5cf114fa05947709976ff867817b4ecd6898232a3e04a20e97de887
|
|
7
|
+
data.tar.gz: eef2d551ecc2788d9018e957ac54ca9eaad4d4b6dd2e6231ad5281c564aee379c0837fa0cb6aaa2b92a84a579d7c0ed4ab4c4d00fbcb0acfacdde04e26065085
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<%= smart_listing_update(model.name.tableize.sub('/','_')) %>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<%= smart_listing_update(model.name.tableize) %>
|
|
1
|
+
<%= smart_listing_update(model.name.tableize.sub('/','_')) %>
|
|
@@ -89,7 +89,7 @@ module SmarterListing::ControllerExtension
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
def load_collection
|
|
92
|
-
instance_variable_set collection_ivar, smart_listing_create(
|
|
92
|
+
instance_variable_set collection_ivar, smart_listing_create(model.name.tableize.sub('/','_'), filtered(model), partial: "#{current_engine}/#{table_name}/table_header")
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
def load_resource
|
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -10809,3 +10809,239 @@ Processing by ListingsController#new as JS
|
|
|
10809
10809
|
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/new.js.erb (1.8ms)
|
|
10810
10810
|
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
10811
10811
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10812
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10813
|
+
[1m[36m (22.6ms)[0m [1mCREATE TABLE "listings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "content" varchar, "deleted_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
10814
|
+
[1m[35m (21.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
10815
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
10816
|
+
[1m[35m (51.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
10817
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
10818
|
+
[1m[35m (32.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140724101100')
|
|
10819
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
10820
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
10822
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "listings"[0m
|
|
10823
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "listings" ("name", "content", "created_at", "updated_at", "id") VALUES ('asiojgsiodjg', 'pokdsfopjksdfop', '2015-04-27 10:49:42', '2015-04-27 10:49:42', 980190962)
|
|
10824
|
+
[1m[36m (12.6ms)[0m [1mcommit transaction[0m
|
|
10825
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10826
|
+
------------------------------------------------
|
|
10827
|
+
ListingsController::new::capybara: test_get_html
|
|
10828
|
+
------------------------------------------------
|
|
10829
|
+
Processing by ListingsController#new as HTML
|
|
10830
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "listings"[0m
|
|
10831
|
+
[1m[35mListing Load (0.1ms)[0m SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", nil]]
|
|
10832
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.4ms)
|
|
10833
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10834
|
+
[1m[36mListing Load (0.1ms)[0m [1mSELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0[0m
|
|
10835
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
|
|
10836
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (2.3ms)
|
|
10837
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.4ms)
|
|
10838
|
+
Rendered listings/_listing.html.erb (4.8ms)
|
|
10839
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_item_new.html.erb (0.6ms)
|
|
10840
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10841
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (0.4ms)
|
|
10842
|
+
Rendered listings/_table_header.html.erb (11.3ms)
|
|
10843
|
+
Rendered listings/_form.html.erb (0.9ms)
|
|
10844
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js.erb (0.2ms)
|
|
10845
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/new.html.erb within layouts/default (20.7ms)
|
|
10846
|
+
Completed 200 OK in 34ms (Views: 24.7ms | ActiveRecord: 0.3ms)
|
|
10847
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10848
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10849
|
+
----------------------------------------------
|
|
10850
|
+
ListingsController::new::capybara: test_get_js
|
|
10851
|
+
----------------------------------------------
|
|
10852
|
+
Processing by ListingsController#new as JS
|
|
10853
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", nil]]
|
|
10854
|
+
Rendered listings/_form.html.erb (0.6ms)
|
|
10855
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/item/_new.js.erb (1.2ms)
|
|
10856
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js.erb (0.2ms)
|
|
10857
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/new.js.erb (3.1ms)
|
|
10858
|
+
Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
|
10859
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
10860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
10861
|
+
---------------------------------------
|
|
10862
|
+
ListingsController: test_correct_layout
|
|
10863
|
+
---------------------------------------
|
|
10864
|
+
Processing by ListingsController#index as HTML
|
|
10865
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10866
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10867
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10868
|
+
[1m[36mListing Load (0.1ms)[0m [1mSELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0[0m
|
|
10869
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
|
|
10870
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.1ms)
|
|
10871
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.1ms)
|
|
10872
|
+
Rendered listings/_listing.html.erb (0.7ms)
|
|
10873
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_item_new.html.erb (0.2ms)
|
|
10874
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10875
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
|
|
10876
|
+
Rendered listings/_table_header.html.erb (3.3ms)
|
|
10877
|
+
Rendered listings/index.html.erb within layouts/default (4.2ms)
|
|
10878
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms)
|
|
10879
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
10880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10881
|
+
----------------------------------------------
|
|
10882
|
+
ListingsController: test_should_create_listing
|
|
10883
|
+
----------------------------------------------
|
|
10884
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "listings"[0m
|
|
10885
|
+
[1m[35mListing Load (0.0ms)[0m SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
|
|
10886
|
+
Processing by ListingsController#create as JS
|
|
10887
|
+
Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}}
|
|
10888
|
+
Unpermitted parameter: deleted_at
|
|
10889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
10890
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "listings" ("name", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "newName"], ["content", "pokdsfopjksdfop"], ["created_at", "2015-04-27 10:49:42.376396"], ["updated_at", "2015-04-27 10:49:42.376396"]]
|
|
10891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
10892
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.3ms)
|
|
10893
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.3ms)
|
|
10894
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.5ms)
|
|
10895
|
+
Rendered listings/_listing.html.erb (3.4ms)
|
|
10896
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/item/_create.js.erb (4.0ms)
|
|
10897
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/create.js.erb (7.2ms)
|
|
10898
|
+
Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.3ms)
|
|
10899
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10900
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
10901
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10902
|
+
-----------------------------------------------
|
|
10903
|
+
ListingsController: test_should_destroy_listing
|
|
10904
|
+
-----------------------------------------------
|
|
10905
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "listings"[0m
|
|
10906
|
+
[1m[35mListing Load (0.0ms)[0m SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
|
|
10907
|
+
Processing by ListingsController#destroy as JS
|
|
10908
|
+
Parameters: {"id"=>"980190962"}
|
|
10909
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
10910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
10911
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "listings" WHERE "listings"."id" = ?[0m [["id", 980190962]]
|
|
10912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
10913
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/item/_destroy.js.erb (0.3ms)
|
|
10914
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/destroy.js.erb (1.0ms)
|
|
10915
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
|
10916
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "listings"[0m
|
|
10917
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
10918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
10919
|
+
-----------------------------------------
|
|
10920
|
+
ListingsController: test_should_get_index
|
|
10921
|
+
-----------------------------------------
|
|
10922
|
+
Processing by ListingsController#index as HTML
|
|
10923
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10924
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10925
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10926
|
+
[1m[36mListing Load (0.1ms)[0m [1mSELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0[0m
|
|
10927
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
|
|
10928
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.1ms)
|
|
10929
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.1ms)
|
|
10930
|
+
Rendered listings/_listing.html.erb (0.5ms)
|
|
10931
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_item_new.html.erb (0.1ms)
|
|
10932
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10933
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
|
|
10934
|
+
Rendered listings/_table_header.html.erb (2.5ms)
|
|
10935
|
+
Rendered listings/index.html.erb within layouts/default (3.0ms)
|
|
10936
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
|
10937
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
10938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
10939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
10940
|
+
-----------------------------------------------------------------
|
|
10941
|
+
ListingsController: test_should_have_the_methods_from_all_helpers
|
|
10942
|
+
-----------------------------------------------------------------
|
|
10943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
10944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
10945
|
+
----------------------------------------------
|
|
10946
|
+
ListingsController: test_should_update_listing
|
|
10947
|
+
----------------------------------------------
|
|
10948
|
+
[1m[35mListing Load (0.0ms)[0m SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
|
|
10949
|
+
Processing by ListingsController#update as JS
|
|
10950
|
+
Parameters: {"listing"=>{"content"=>"pokdsfopjksdfop", "deleted_at"=>nil, "name"=>"newName"}, "id"=>"980190962"}
|
|
10951
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
10952
|
+
Unpermitted parameter: deleted_at
|
|
10953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
10954
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "listings" SET "name" = ?, "updated_at" = ? WHERE "listings"."id" = ?[0m [["name", "newName"], ["updated_at", "2015-04-27 10:49:42.402617"], ["id", 980190962]]
|
|
10955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
10956
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
|
|
10957
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.1ms)
|
|
10958
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.1ms)
|
|
10959
|
+
Rendered listings/_listing.html.erb (0.7ms)
|
|
10960
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/item/_update.js.erb (1.0ms)
|
|
10961
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/update.js.erb (2.3ms)
|
|
10962
|
+
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
|
10963
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
10964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10965
|
+
-----------------------------------------------------------
|
|
10966
|
+
SmarterListingLoader: test_controller_extensions_are_loaded
|
|
10967
|
+
-----------------------------------------------------------
|
|
10968
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10970
|
+
--------------------------------------------------
|
|
10971
|
+
SmarterListingLoader: test_helper_methods_included
|
|
10972
|
+
--------------------------------------------------
|
|
10973
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10974
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10975
|
+
-----------------------------------------------------
|
|
10976
|
+
SmarterListingLoader: test_setting_a_filter_parameter
|
|
10977
|
+
-----------------------------------------------------
|
|
10978
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10980
|
+
----------------------------------------------------
|
|
10981
|
+
SmarterListingLoader: test_smarter_listing_is_loaded
|
|
10982
|
+
----------------------------------------------------
|
|
10983
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10985
|
+
-------------------------------------------------------
|
|
10986
|
+
SmarterListingLoader: test_the_default_filter_parameter
|
|
10987
|
+
-------------------------------------------------------
|
|
10988
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
10989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
10990
|
+
---------------------------------------
|
|
10991
|
+
ListingsController::edit: test_get_html
|
|
10992
|
+
---------------------------------------
|
|
10993
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
10994
|
+
Processing by ListingsController#edit as HTML
|
|
10995
|
+
Parameters: {"id"=>"980190962"}
|
|
10996
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "listings"
|
|
10997
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
10998
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
10999
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
11000
|
+
[1m[35mListing Load (0.1ms)[0m SELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0
|
|
11001
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
|
|
11002
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.1ms)
|
|
11003
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.1ms)
|
|
11004
|
+
Rendered listings/_listing.html.erb (0.7ms)
|
|
11005
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_item_new.html.erb (0.2ms)
|
|
11006
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "listings"[0m
|
|
11007
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
|
|
11008
|
+
Rendered listings/_table_header.html.erb (2.9ms)
|
|
11009
|
+
Rendered listings/_form.html.erb (0.3ms)
|
|
11010
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/edit.html.erb within layouts/default (3.9ms)
|
|
11011
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
|
11012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
11013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
11014
|
+
-------------------------------------
|
|
11015
|
+
ListingsController::edit: test_get_js
|
|
11016
|
+
-------------------------------------
|
|
11017
|
+
[1m[35mListing Load (0.0ms)[0m SELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1 [["id", 980190962]]
|
|
11018
|
+
Processing by ListingsController#edit as JS
|
|
11019
|
+
Parameters: {"id"=>"980190962"}
|
|
11020
|
+
[1m[36mListing Load (0.0ms)[0m [1mSELECT "listings".* FROM "listings" WHERE "listings"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
|
11021
|
+
Rendered listings/_form.html.erb (0.3ms)
|
|
11022
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/item/_edit.js.erb (0.7ms)
|
|
11023
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/_form_logic.js.erb (0.1ms)
|
|
11024
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smarter_listing/edit.js.erb (1.6ms)
|
|
11025
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
|
11026
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
11027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
11028
|
+
---------------------------------------
|
|
11029
|
+
Workflow::capybara: test_0001_has index
|
|
11030
|
+
---------------------------------------
|
|
11031
|
+
Started GET "/listings" for 127.0.0.1 at 2015-04-27 12:49:42 +0200
|
|
11032
|
+
Processing by ListingsController#index as HTML
|
|
11033
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "listings"
|
|
11034
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
11035
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_sortable.html.erb (0.1ms)
|
|
11036
|
+
[1m[36mListing Load (0.1ms)[0m [1mSELECT "listings".* FROM "listings" LIMIT 10 OFFSET 0[0m
|
|
11037
|
+
Rendered /home/michael/src/arbeit/smarter_listing/app/views/smart_listing/_action_copy.html.erb (0.1ms)
|
|
11038
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_edit.html.erb (0.1ms)
|
|
11039
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_action_delete.html.erb (0.1ms)
|
|
11040
|
+
Rendered listings/_listing.html.erb (0.7ms)
|
|
11041
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_item_new.html.erb (0.2ms)
|
|
11042
|
+
[1m[35mCACHE (0.0ms)[0m SELECT COUNT(*) FROM "listings"
|
|
11043
|
+
Rendered /home/michael/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/smart_listing-1.1.2/app/views/smart_listing/_pagination_per_page_links.html.erb (0.1ms)
|
|
11044
|
+
Rendered listings/_table_header.html.erb (2.7ms)
|
|
11045
|
+
Rendered listings/index.html.erb within layouts/default (3.4ms)
|
|
11046
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
|
11047
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smarter_listing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Sprauer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -92,6 +92,7 @@ files:
|
|
|
92
92
|
- README.md
|
|
93
93
|
- Rakefile
|
|
94
94
|
- app/views/smart_listing/_action_copy.html.erb
|
|
95
|
+
- app/views/smart_listing/index.js.erb
|
|
95
96
|
- app/views/smarter_listing/_form_logic.js.erb
|
|
96
97
|
- app/views/smarter_listing/copy.js.erb
|
|
97
98
|
- app/views/smarter_listing/create.js.erb
|