activegrid 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/activegrid.js +2 -2
- data/lib/activegrid/version.rb +1 -1
- data/test/dummy/log/development.log +193 -0
- data/test/dummy/tmp/cache/assets/CC9/CF0/sprockets%2F2c475587282720babaa30bd125046c6d +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/E30/sprockets%2F9690cd655384cc9f98b5a12689a04cb6 +0 -0
- data/test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/900/sprockets%2F47e1b36aecf9211f751cad5cbd1f7466 +0 -0
- data/test/dummy/tmp/cache/assets/DA1/CB0/sprockets%2Fd873f0f0b7a49a21b56a28e565e7deea +0 -0
- data/test/dummy/tmp/cache/assets/DA4/2A0/sprockets%2Ff78aae8f781bb900e68ba4c9721fbe22 +0 -0
- data/test/dummy/tmp/cache/assets/DAD/F00/sprockets%2Fed0c338098c67fff252ea6f6c279ca4f +0 -0
- data/test/dummy/tmp/cache/assets/DF9/B10/sprockets%2Ffc21b5aee1c95934ed1b41ac05eeee87 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E5B/7A0/sprockets%2F5c84af44bfcbcc581dd75a9b19beeac1 +0 -0
- metadata +7 -7
@@ -55,7 +55,7 @@ $(function() {
|
|
55
55
|
});
|
56
56
|
|
57
57
|
// Filtering
|
58
|
-
$("
|
58
|
+
$("input[data-activegrid-filter=true]", table).keypress(function() {
|
59
59
|
var self = $(this);
|
60
60
|
var field = self.attr("data-activegrid-filter-field");
|
61
61
|
|
@@ -64,7 +64,7 @@ $(function() {
|
|
64
64
|
updateTable();
|
65
65
|
});
|
66
66
|
|
67
|
-
$("
|
67
|
+
$("select[data-activegrid-filter=true]", table).change(function() {
|
68
68
|
var self = $(this);
|
69
69
|
var field = self.attr("data-activegrid-filter-field");
|
70
70
|
|
data/lib/activegrid/version.rb
CHANGED
@@ -13194,3 +13194,196 @@ ActionController::RoutingError (No route matches [GET] "/images/youtube.png"):
|
|
13194
13194
|
|
13195
13195
|
|
13196
13196
|
Rendered /Users/melvinram/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
13197
|
+
|
13198
|
+
|
13199
|
+
Started GET "/" for 127.0.0.1 at 2011-10-25 10:31:16 -0700
|
13200
|
+
|
13201
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
13202
|
+
|
13203
|
+
|
13204
|
+
Rendered /Users/melvinram/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (9.9ms)
|
13205
|
+
|
13206
|
+
|
13207
|
+
Started GET "/products" for 127.0.0.1 at 2011-10-25 10:31:22 -0700
|
13208
|
+
Processing by ProductsController#index as HTML
|
13209
|
+
Rendered products/_grid.html.erb (0.7ms)
|
13210
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "products" [0m
|
13211
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" LIMIT 10
|
13212
|
+
Rendered products/index.html.erb within layouts/application (51.7ms)
|
13213
|
+
Compiled application.css (2ms) (pid 38395)
|
13214
|
+
Compiled activegrid.css (0ms) (pid 38395)
|
13215
|
+
Compiled scaffold.css (0ms) (pid 38395)
|
13216
|
+
Compiled application.js (4ms) (pid 38395)
|
13217
|
+
Compiled jquery.js (18ms) (pid 38395)
|
13218
|
+
Compiled jquery_ujs.js (2ms) (pid 38395)
|
13219
|
+
Compiled activegrid.js (3ms) (pid 38395)
|
13220
|
+
Completed 200 OK in 188ms (Views: 174.0ms | ActiveRecord: 0.4ms)
|
13221
|
+
|
13222
|
+
|
13223
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-25 10:31:22 -0700
|
13224
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
13225
|
+
|
13226
|
+
|
13227
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2011-10-25 10:31:22 -0700
|
13228
|
+
Served asset /scaffold.css - 200 OK (4ms)
|
13229
|
+
|
13230
|
+
|
13231
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-25 10:31:22 -0700
|
13232
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
13233
|
+
|
13234
|
+
|
13235
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=some&_=1319563896207" for 127.0.0.1 at 2011-10-25 10:31:36 -0700
|
13236
|
+
Processing by ProductsController#index as JS
|
13237
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>"some"}}, "_"=>"1319563896207"}
|
13238
|
+
Rendered products/_grid.html.erb (0.6ms)
|
13239
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%some%') LIMIT 10 OFFSET '0'[0m
|
13240
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (11.6ms)
|
13241
|
+
Completed 200 OK in 40ms (Views: 32.6ms | ActiveRecord: 0.4ms)
|
13242
|
+
|
13243
|
+
|
13244
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=some&_=1319563896208" for 127.0.0.1 at 2011-10-25 10:31:36 -0700
|
13245
|
+
Processing by ProductsController#index as JS
|
13246
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>"some"}}, "_"=>"1319563896208"}
|
13247
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13248
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%some%') LIMIT 10 OFFSET '0'
|
13249
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (10.7ms)
|
13250
|
+
Completed 200 OK in 62ms (Views: 14.3ms | ActiveRecord: 0.4ms)
|
13251
|
+
|
13252
|
+
|
13253
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=&_=1319563898877" for 127.0.0.1 at 2011-10-25 10:31:38 -0700
|
13254
|
+
Processing by ProductsController#index as JS
|
13255
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>""}}, "_"=>"1319563898877"}
|
13256
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13257
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%%') LIMIT 10 OFFSET '0'[0m
|
13258
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (9.3ms)
|
13259
|
+
Completed 200 OK in 20ms (Views: 13.5ms | ActiveRecord: 0.4ms)
|
13260
|
+
|
13261
|
+
|
13262
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=&_=1319563898878" for 127.0.0.1 at 2011-10-25 10:31:38 -0700
|
13263
|
+
Processing by ProductsController#index as JS
|
13264
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>""}}, "_"=>"1319563898878"}
|
13265
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13266
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%%') LIMIT 10 OFFSET '0'
|
13267
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (52.5ms)
|
13268
|
+
Completed 200 OK in 63ms (Views: 56.5ms | ActiveRecord: 0.5ms)
|
13269
|
+
|
13270
|
+
|
13271
|
+
Started GET "/products" for 127.0.0.1 at 2011-10-25 10:31:46 -0700
|
13272
|
+
Processing by ProductsController#index as HTML
|
13273
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13274
|
+
[1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM "products" [0m
|
13275
|
+
[1m[35mProduct Load (0.7ms)[0m SELECT "products".* FROM "products" LIMIT 10
|
13276
|
+
Rendered products/index.html.erb within layouts/application (16.7ms)
|
13277
|
+
Completed 200 OK in 27ms (Views: 18.6ms | ActiveRecord: 2.8ms)
|
13278
|
+
|
13279
|
+
|
13280
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-25 10:31:46 -0700
|
13281
|
+
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
|
13282
|
+
|
13283
|
+
|
13284
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-25 10:31:46 -0700
|
13285
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
13286
|
+
|
13287
|
+
|
13288
|
+
Started GET "/products" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13289
|
+
Processing by ProductsController#index as HTML
|
13290
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13291
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "products" [0m
|
13292
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" LIMIT 10
|
13293
|
+
Rendered products/index.html.erb within layouts/application (63.4ms)
|
13294
|
+
Compiled activegrid.js (2ms) (pid 38395)
|
13295
|
+
Compiled application.js (7ms) (pid 38395)
|
13296
|
+
Completed 200 OK in 105ms (Views: 94.7ms | ActiveRecord: 0.5ms)
|
13297
|
+
|
13298
|
+
|
13299
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13300
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
13301
|
+
|
13302
|
+
|
13303
|
+
Started GET "/assets/activegrid.css?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13304
|
+
Served asset /activegrid.css - 200 OK (5ms)
|
13305
|
+
|
13306
|
+
|
13307
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13308
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
13309
|
+
|
13310
|
+
|
13311
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13312
|
+
Served asset /application.js - 200 OK (0ms)
|
13313
|
+
|
13314
|
+
|
13315
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13316
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
13317
|
+
|
13318
|
+
|
13319
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13320
|
+
Served asset /application.css - 200 OK (0ms)
|
13321
|
+
|
13322
|
+
|
13323
|
+
Started GET "/assets/activegrid.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13324
|
+
Served asset /activegrid.js - 200 OK (7ms)
|
13325
|
+
|
13326
|
+
|
13327
|
+
Started GET "/assets/background.png" for 127.0.0.1 at 2011-10-25 10:32:02 -0700
|
13328
|
+
Served asset /background.png - 404 Not Found (40ms)
|
13329
|
+
|
13330
|
+
ActionController::RoutingError (No route matches [GET] "/assets/background.png"):
|
13331
|
+
|
13332
|
+
|
13333
|
+
Rendered /Users/melvinram/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
|
13334
|
+
|
13335
|
+
|
13336
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=&_=1319563924919" for 127.0.0.1 at 2011-10-25 10:32:04 -0700
|
13337
|
+
Processing by ProductsController#index as JS
|
13338
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>""}}, "_"=>"1319563924919"}
|
13339
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13340
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%%') LIMIT 10 OFFSET '0'[0m
|
13341
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (9.2ms)
|
13342
|
+
Completed 200 OK in 19ms (Views: 13.1ms | ActiveRecord: 0.4ms)
|
13343
|
+
|
13344
|
+
|
13345
|
+
Started GET "/products" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13346
|
+
Processing by ProductsController#index as HTML
|
13347
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13348
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "products"
|
13349
|
+
[1m[36mProduct Load (0.1ms)[0m [1mSELECT "products".* FROM "products" LIMIT 10[0m
|
13350
|
+
Rendered products/index.html.erb within layouts/application (19.2ms)
|
13351
|
+
Completed 200 OK in 30ms (Views: 23.7ms | ActiveRecord: 0.7ms)
|
13352
|
+
|
13353
|
+
|
13354
|
+
Started GET "/assets/activegrid.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13355
|
+
Served asset /activegrid.js - 304 Not Modified (0ms)
|
13356
|
+
|
13357
|
+
|
13358
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13359
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
13360
|
+
|
13361
|
+
|
13362
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13363
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
13364
|
+
|
13365
|
+
|
13366
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13367
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
13368
|
+
|
13369
|
+
|
13370
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13371
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
13372
|
+
|
13373
|
+
|
13374
|
+
Started GET "/assets/background.png" for 127.0.0.1 at 2011-10-25 10:32:32 -0700
|
13375
|
+
Served asset /background.png - 404 Not Found (2ms)
|
13376
|
+
|
13377
|
+
ActionController::RoutingError (No route matches [GET] "/assets/background.png"):
|
13378
|
+
|
13379
|
+
|
13380
|
+
Rendered /Users/melvinram/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
|
13381
|
+
|
13382
|
+
|
13383
|
+
Started GET "/products?activegrid%5Bname%5D=products&activegrid%5Blimit%5D=10&activegrid%5Boffset%5D=0&activegrid%5Bfilter%5D%5Bfield%5D=description&activegrid%5Bfilter%5D%5Bvalue%5D=&_=1319563954367" for 127.0.0.1 at 2011-10-25 10:32:34 -0700
|
13384
|
+
Processing by ProductsController#index as JS
|
13385
|
+
Parameters: {"activegrid"=>{"name"=>"products", "limit"=>"10", "offset"=>"0", "filter"=>{"field"=>"description", "value"=>""}}, "_"=>"1319563954367"}
|
13386
|
+
Rendered products/_grid.html.erb (0.1ms)
|
13387
|
+
[1m[35mProduct Load (0.1ms)[0m SELECT "products".* FROM "products" WHERE ("products"."description" LIKE '%%') LIMIT 10 OFFSET '0'
|
13388
|
+
Rendered /Users/melvinram/Projects/activegrid/app/views/active_grid/update.js.erb (9.2ms)
|
13389
|
+
Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 0.4ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activegrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-25 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165671080 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165671080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165670660 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165670660
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &2165670200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165670200
|
47
47
|
description: ! 'Using the ActiveGrid gem consists of a few steps:'
|
48
48
|
email:
|
49
49
|
- info@webdesigncompany.net
|