fancygrid 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.bundle/config +2 -0
  2. data/.rspec +1 -0
  3. data/CHANGELOG +34 -0
  4. data/Gemfile +15 -0
  5. data/Gemfile.lock +125 -0
  6. data/LICENSE +20 -0
  7. data/README.rdoc +299 -0
  8. data/ROADMAP +1 -0
  9. data/Rakefile +45 -0
  10. data/VERSION +1 -0
  11. data/app/views/fancygrid/_cells.html.haml +13 -0
  12. data/app/views/fancygrid/base/controls.html.haml +40 -0
  13. data/app/views/fancygrid/base/list_frame.html.haml +37 -0
  14. data/app/views/fancygrid/base/search.html.haml +33 -0
  15. data/app/views/fancygrid/base/sort.html.haml +20 -0
  16. data/app/views/fancygrid/base/table_frame.html.haml +45 -0
  17. data/config/initializers/fancygrid.rb +67 -0
  18. data/config/locales/fancygrid.de.yml +41 -0
  19. data/config/locales/fancygrid.en.yml +42 -0
  20. data/fancygrid.gemspec +162 -0
  21. data/init.rb +1 -0
  22. data/lib/fancygrid.rb +73 -0
  23. data/lib/fancygrid/grid.rb +387 -0
  24. data/lib/fancygrid/helper.rb +129 -0
  25. data/lib/fancygrid/node.rb +533 -0
  26. data/lib/fancygrid/query_generator.rb +338 -0
  27. data/lib/fancygrid/view.rb +148 -0
  28. data/lib/generators/install_generator.rb +61 -0
  29. data/lib/generators/views_generator.rb +25 -0
  30. data/lib/version.rb +0 -0
  31. data/public/images/fancygrid/add.png +0 -0
  32. data/public/images/fancygrid/clear.png +0 -0
  33. data/public/images/fancygrid/ddn.png +0 -0
  34. data/public/images/fancygrid/dn.png +0 -0
  35. data/public/images/fancygrid/dots.png +0 -0
  36. data/public/images/fancygrid/loading.gif +0 -0
  37. data/public/images/fancygrid/magnifier.png +0 -0
  38. data/public/images/fancygrid/next.png +0 -0
  39. data/public/images/fancygrid/order.png +0 -0
  40. data/public/images/fancygrid/prev.png +0 -0
  41. data/public/images/fancygrid/reload.png +0 -0
  42. data/public/images/fancygrid/remove.png +0 -0
  43. data/public/images/fancygrid/spacer.gif +0 -0
  44. data/public/images/fancygrid/submit.png +0 -0
  45. data/public/images/fancygrid/th_bg.png +0 -0
  46. data/public/images/fancygrid/up.png +0 -0
  47. data/public/images/fancygrid/uup.png +0 -0
  48. data/public/javascripts/fancygrid.js +477 -0
  49. data/public/javascripts/fancygrid.min.js +17 -0
  50. data/public/stylesheets/fancygrid.css +289 -0
  51. data/public/stylesheets/fancygrid.scss +302 -0
  52. data/spec/dummy/Rakefile +7 -0
  53. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  54. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  55. data/spec/dummy/app/models/project.rb +3 -0
  56. data/spec/dummy/app/models/ticket.rb +3 -0
  57. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  58. data/spec/dummy/config.ru +4 -0
  59. data/spec/dummy/config/application.rb +45 -0
  60. data/spec/dummy/config/boot.rb +10 -0
  61. data/spec/dummy/config/database.yml +22 -0
  62. data/spec/dummy/config/environment.rb +5 -0
  63. data/spec/dummy/config/environments/development.rb +26 -0
  64. data/spec/dummy/config/environments/production.rb +49 -0
  65. data/spec/dummy/config/environments/test.rb +35 -0
  66. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  67. data/spec/dummy/config/initializers/inflections.rb +10 -0
  68. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  69. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  70. data/spec/dummy/config/initializers/session_store.rb +8 -0
  71. data/spec/dummy/config/locales/en.yml +5 -0
  72. data/spec/dummy/config/routes.rb +58 -0
  73. data/spec/dummy/db/migrate/20110112183948_create_projects.rb +11 -0
  74. data/spec/dummy/db/migrate/20110112183956_create_tickets.rb +14 -0
  75. data/spec/dummy/db/test.sqlite3 +0 -0
  76. data/spec/dummy/log/development.log +0 -0
  77. data/spec/dummy/log/production.log +0 -0
  78. data/spec/dummy/log/server.log +0 -0
  79. data/spec/dummy/log/test.log +1026 -0
  80. data/spec/dummy/public/404.html +26 -0
  81. data/spec/dummy/public/422.html +26 -0
  82. data/spec/dummy/public/500.html +26 -0
  83. data/spec/dummy/public/favicon.ico +0 -0
  84. data/spec/dummy/public/javascripts/application.js +2 -0
  85. data/spec/dummy/public/javascripts/controls.js +965 -0
  86. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  87. data/spec/dummy/public/javascripts/effects.js +1123 -0
  88. data/spec/dummy/public/javascripts/prototype.js +6001 -0
  89. data/spec/dummy/public/javascripts/rails.js +175 -0
  90. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  91. data/spec/dummy/script/rails +6 -0
  92. data/spec/grid_spec.rb +15 -0
  93. data/spec/integration/navigation_spec.rb +9 -0
  94. data/spec/node_spec.rb +326 -0
  95. data/spec/query_generator_spec.rb +358 -0
  96. data/spec/spec_helper.rb +53 -0
  97. metadata +214 -0
@@ -0,0 +1,358 @@
1
+ require "spec_helper"
2
+
3
+ describe Fancygrid::QueryGenerator do
4
+
5
+ def build_generator
6
+ Fancygrid::QueryGenerator.new({
7
+ :pagination => {
8
+ :page => 5,
9
+ :per_page => 10
10
+ },
11
+ :order => {
12
+ :column => "users.name",
13
+ :order => "asc"
14
+ },
15
+ :operator => :all,
16
+ :conditions => {
17
+ :table_name => {
18
+ :a => { :operator => :equal, :value => "value_a" },
19
+ :b => { :operator => :not_equal, :value => "value_b" }
20
+ }
21
+ }
22
+ })
23
+ end
24
+
25
+ def build_generator_with_array
26
+ Fancygrid::QueryGenerator.new({
27
+ :pagination => {
28
+ :page => 5,
29
+ :per_page => 10
30
+ },
31
+ :order => {
32
+ :column => "users.name",
33
+ :order => "asc"
34
+ },
35
+ :operator => :all,
36
+ :conditions => {
37
+ :table_name => {
38
+ :a => [
39
+ { :operator => :equal, :value => "value_a" },
40
+ { :operator => :equal, :value => "value_a2" }
41
+ ],
42
+ :b => { :operator => :not_equal, :value => "value_b" }
43
+ }
44
+ }
45
+ })
46
+ end
47
+
48
+ def build_generator_with_pseudo_array
49
+ Fancygrid::QueryGenerator.new({
50
+ :pagination => {
51
+ :page => 5,
52
+ :per_page => 10
53
+ },
54
+ :order => {
55
+ :column => "users.name",
56
+ :order => "asc"
57
+ },
58
+ :operator => :all,
59
+ :conditions => {
60
+ :table_name => {
61
+ :a => {
62
+ "0" => { :operator => :equal, :value => "value_a" },
63
+ "1" => { :operator => :equal, :value => "value_a2" },
64
+ },
65
+ :b => { :operator => :not_equal, :value => "value_b" }
66
+ }
67
+ }
68
+ })
69
+ end
70
+
71
+ it "should be an instance of Fancygrid::Query" do
72
+ generator = build_generator
73
+ generator.should be_an_instance_of Fancygrid::QueryGenerator
74
+ end
75
+
76
+ it "should initialize with a valid limit" do
77
+ build_generator.limit.should be(10)
78
+ end
79
+
80
+ it "should initialize with a valid offset" do
81
+ build_generator.offset.should be(50)
82
+ end
83
+
84
+ it "should initialize with a valid order" do
85
+ build_generator.order.should == "users.name ASC"
86
+ end
87
+
88
+ it "should initialize with valid conditions" do
89
+ build_generator.conditions.should == ["( table_name.a = (?) ) AND ( table_name.b != (?) )", "value_a", "value_b"]
90
+ end
91
+
92
+ it "should append conditions" do
93
+ generator = build_generator
94
+ generator.conditions(["roles.name = ?", "foo"])
95
+ generator.conditions.should == ["(( table_name.a = (?) ) AND ( table_name.b != (?) )) AND (roles.name = ?)", "value_a", "value_b", "foo"]
96
+ end
97
+
98
+ it "should override order" do
99
+ generator = build_generator
100
+ generator.order("order")
101
+ generator.order.should == "order"
102
+ end
103
+
104
+ it "should override group" do
105
+ generator = build_generator
106
+ generator.group("group")
107
+ generator.group.should == "group"
108
+ end
109
+
110
+ it "should override having" do
111
+ generator = build_generator
112
+ generator.having("having")
113
+ generator.having.should == "having"
114
+ end
115
+
116
+ it "should override limit" do
117
+ generator = build_generator
118
+ generator.limit("limit")
119
+ generator.limit.should == "limit"
120
+ end
121
+
122
+ it "should override offset" do
123
+ generator = build_generator
124
+ generator.offset("offset")
125
+ generator.offset.should == "offset"
126
+ end
127
+
128
+ it "should override joins" do
129
+ generator = build_generator
130
+ generator.joins("joins")
131
+ generator.joins.should == "joins"
132
+ end
133
+
134
+ it "should override include" do
135
+ generator = build_generator
136
+ generator.include("include")
137
+ generator.include.should == "include"
138
+ end
139
+
140
+ it "should append select" do
141
+ generator = build_generator
142
+ generator.select("select")
143
+ generator.select.should == ["select"]
144
+ end
145
+
146
+ it "should override and keep select with star '*'" do
147
+ generator = build_generator
148
+ generator.select("select")
149
+ generator.select.should == ["select"]
150
+ generator.select("*")
151
+ generator.select.should == ["*"]
152
+ generator.select("select")
153
+ generator.select.should == ["*"]
154
+ end
155
+
156
+ it "should override from" do
157
+ generator = build_generator
158
+ generator.from("from")
159
+ generator.from.should == "from"
160
+ end
161
+
162
+ it "should override readonly" do
163
+ generator = build_generator
164
+ generator.readonly("readonly")
165
+ generator.readonly.should == "readonly"
166
+ end
167
+
168
+ it "should override lock" do
169
+ generator = build_generator
170
+ generator.lock("lock")
171
+ generator.lock.should == "lock"
172
+ end
173
+
174
+ it "should be backward compatible with old fancygrid" do
175
+ query = Fancygrid::QueryGenerator.new({
176
+ :pagination => {
177
+ :page => 5,
178
+ :per_page => 10
179
+ },
180
+ :order => {
181
+ :column => "users.name",
182
+ :order => "asc"
183
+ },
184
+ :operator => :all,
185
+ :conditions => {
186
+ :events => {
187
+ :name => "a",
188
+ :id => "b"
189
+ }
190
+ }
191
+ })
192
+ query.conditions.should == ["( events.name LIKE (?) ) AND ( events.id LIKE (?) )", "%a%", "%b%"]
193
+ end
194
+
195
+ it "should generate query using array" do
196
+ build_generator_with_array.conditions.should == ["( table_name.a = (?) ) AND ( table_name.a = (?) ) AND ( table_name.b != (?) )", "value_a", "value_a2", "value_b"]
197
+ end
198
+
199
+ it "should generate query using pseudo array" do
200
+ build_generator_with_pseudo_array.conditions.should == ["( table_name.a = (?) ) AND ( table_name.a = (?) ) AND ( table_name.b != (?) )", "value_a", "value_a2", "value_b"]
201
+ end
202
+
203
+ #it "should evaluate" do
204
+ # @query = {
205
+ # :conditions => {
206
+ # :tickets => {
207
+ # :title => {
208
+ # :operator => "is_equal_to",
209
+ # :value => "a string"
210
+ # }
211
+ # },
212
+ # :projects => {
213
+ # :title => {
214
+ # :operator => "is_equal_to",
215
+ # :value => "a string"
216
+ # }
217
+ # }
218
+ # },
219
+ # :order => 'projects.title ASC',
220
+ # :pagination => {
221
+ # :page => 1,
222
+ # :per_page => 5
223
+ # }
224
+ # }
225
+ # @generator = Fancygrid::QueryGenerator.new
226
+ # @generator.evaluate(@query).should be_a(Hash)
227
+ #end
228
+ #
229
+ #
230
+ #describe "evaluating select" do
231
+ # before(:each) do
232
+ # leafs = [stub(:select_name => 'tickets.title'), stub(:select_name => 'projects.title')]
233
+ # defaults = {
234
+ # :select => leafs.map{|l| l.select_name}
235
+ # }
236
+ # @generator = Fancygrid::QueryGenerator.new(defaults)
237
+ # end
238
+ #
239
+ # it "should evaluate" do
240
+ # @generator.evaluate[:select].should == ["tickets.title", "projects.title"]
241
+ # end
242
+ #
243
+ # describe "overriding select" do
244
+ # it "should evaluate to * overriding with *" do
245
+ # @generator.evaluate(:select => "*")[:select].should == "*"
246
+ # end
247
+ #
248
+ # it "should evaluate with selects" do
249
+ # @generator.evaluate(:select => "tickets.price")[:select].should == ["tickets.price", "tickets.title", "projects.title"]
250
+ # end
251
+ # end
252
+ #end
253
+ #
254
+ #describe "evaluating where" do
255
+ # before(:each) do
256
+ # @query = {
257
+ # :conditions => {
258
+ # :tickets => {
259
+ # :title => {
260
+ # :operator => "is_equal_to",
261
+ # :value => "a string"
262
+ # }
263
+ # }
264
+ # }
265
+ # }
266
+ # @generator = Fancygrid::QueryGenerator.new
267
+ # end
268
+ #
269
+ # it "should evaluate new conditions syntax" do
270
+ # @generator.evaluate(@query)[:conditions].should == ["tickets.title = ?", "a string"]
271
+ # end
272
+ #
273
+ # it "should evaluate old conditions syntax" do
274
+ # query = {
275
+ # :conditions => {
276
+ # :tickets => {
277
+ # :title => "a string"
278
+ # }
279
+ # }
280
+ # }
281
+ # @generator.evaluate(query)[:conditions].should == ["tickets.title LIKE ?", "%a string%"]
282
+ # end
283
+ #
284
+ # it "should append default conditions with params conditions" do
285
+ # defaults = {:conditions => ['tickets.open = ?', 1]}
286
+ # @generator = Fancygrid::QueryGenerator.new(defaults)
287
+ # @generator.evaluate(@query)[:conditions].should == ["(tickets.open = ?) AND (tickets.title = ?)", 1, "a string"]
288
+ # end
289
+ #
290
+ # it "should join conditions with OR by default" do
291
+ # new_condition = {
292
+ # :projects => {
293
+ # :title => {
294
+ # :operator => "is_equal_to",
295
+ # :value => "a project"
296
+ # }
297
+ # }
298
+ # }
299
+ # @query[:conditions].merge!(new_condition)
300
+ # @generator.evaluate(@query)[:conditions].should == ["projects.title = ? OR tickets.title = ?", "a project", "a string"]
301
+ # end
302
+ #
303
+ # it "should join conditions with AND" do
304
+ # new_condition = {
305
+ # :projects => {
306
+ # :title => {
307
+ # :operator => "is_equal_to",
308
+ # :value => "a project"
309
+ # }
310
+ # }
311
+ # }
312
+ # @query[:conditions].merge!(new_condition)
313
+ # @query[:all] = "1"
314
+ # @generator.evaluate(@query)[:conditions].should == ["projects.title = ? AND tickets.title = ?", "a project", "a string"]
315
+ # end
316
+ #end
317
+ #
318
+ #describe "evaluating pagination" do
319
+ # before(:each) do
320
+ # @query = {
321
+ # :pagination => {
322
+ # :page => 2, # pages starts by 0
323
+ # :per_page => 5
324
+ # }
325
+ # }
326
+ # @generator = Fancygrid::QueryGenerator.new
327
+ # end
328
+ #
329
+ # it "should evaluate limit" do
330
+ # @generator.evaluate(@query)[:limit].should == 5
331
+ # end
332
+ # it "should evaluate offset" do
333
+ # @generator.evaluate(@query)[:offset].should == 10
334
+ # end
335
+ #end
336
+ #
337
+ #describe "evaluation order" do
338
+ # before(:each) do
339
+ # defaults = {
340
+ # :order => "title DESC"
341
+ # }
342
+ # @generator = Fancygrid::QueryGenerator.new(defaults)
343
+ # end
344
+ #
345
+ # it "should evaluate order" do
346
+ # @generator.evaluate[:order].should == "title DESC"
347
+ # end
348
+ #
349
+ # describe "overriding order" do
350
+ # it "should override order" do
351
+ # query = {
352
+ # :order => 'title ASC'
353
+ # }
354
+ # @generator.evaluate(query)[:order].should == "title ASC"
355
+ # end
356
+ # end
357
+ #end
358
+ end
@@ -0,0 +1,53 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+ require "rspec/rails"
7
+
8
+ ActionMailer::Base.delivery_method = :test
9
+ ActionMailer::Base.perform_deliveries = true
10
+ ActionMailer::Base.default_url_options[:host] = "test.com"
11
+
12
+ Rails.backtrace_cleaner.remove_silencers!
13
+
14
+ # Configure capybara for integration testing
15
+ require "capybara/rails"
16
+ Capybara.default_driver = :rack_test
17
+ Capybara.default_selector = :css
18
+
19
+ # Run any available migration
20
+ ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
21
+
22
+ # Load support files
23
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
24
+
25
+ RSpec.configure do |config|
26
+ # Remove this line if you don't want RSpec's should and should_not
27
+ # methods or matchers
28
+ require 'rspec/expectations'
29
+ config.include RSpec::Matchers
30
+
31
+ # == Mock Framework
32
+ config.mock_with :rspec
33
+ end
34
+
35
+
36
+ #$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), "../lib"))
37
+ #
38
+ #require 'active_record'
39
+ #require 'fancygrid/query_generator'
40
+ #
41
+ #class Ticket < ActiveRecord::Base
42
+ # belongs_to :project
43
+ #end
44
+ #class Project < ActiveRecord::Base
45
+ # has_many :tickets
46
+ #end
47
+ #
48
+ #class User < ActiveRecord::Base
49
+ # has_and_belongs_to_many :roles
50
+ #end
51
+ #class Role < ActiveRecord::Base
52
+ # has_and_belongs_to_many :users
53
+ #end
metadata ADDED
@@ -0,0 +1,214 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fancygrid
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
11
+ platform: ruby
12
+ authors:
13
+ - "Alexander Gr\xC3\xA4fenstein"
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-08-21 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :development
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 1
29
+ segments:
30
+ - 3
31
+ - 0
32
+ - 3
33
+ version: 3.0.3
34
+ name: rails
35
+ version_requirements: *id001
36
+ prerelease: false
37
+ - !ruby/object:Gem::Dependency
38
+ type: :development
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ name: jeweler
49
+ version_requirements: *id002
50
+ prerelease: false
51
+ description: Enables easy table rendering in rails applications
52
+ email: giniedp@online.de
53
+ executables: []
54
+
55
+ extensions: []
56
+
57
+ extra_rdoc_files:
58
+ - LICENSE
59
+ - README.rdoc
60
+ files:
61
+ - .bundle/config
62
+ - .rspec
63
+ - CHANGELOG
64
+ - Gemfile
65
+ - Gemfile.lock
66
+ - LICENSE
67
+ - README.rdoc
68
+ - ROADMAP
69
+ - Rakefile
70
+ - VERSION
71
+ - app/views/fancygrid/_cells.html.haml
72
+ - app/views/fancygrid/base/controls.html.haml
73
+ - app/views/fancygrid/base/list_frame.html.haml
74
+ - app/views/fancygrid/base/search.html.haml
75
+ - app/views/fancygrid/base/sort.html.haml
76
+ - app/views/fancygrid/base/table_frame.html.haml
77
+ - config/initializers/fancygrid.rb
78
+ - config/locales/fancygrid.de.yml
79
+ - config/locales/fancygrid.en.yml
80
+ - fancygrid.gemspec
81
+ - init.rb
82
+ - lib/fancygrid.rb
83
+ - lib/fancygrid/grid.rb
84
+ - lib/fancygrid/helper.rb
85
+ - lib/fancygrid/node.rb
86
+ - lib/fancygrid/query_generator.rb
87
+ - lib/fancygrid/view.rb
88
+ - lib/generators/install_generator.rb
89
+ - lib/generators/views_generator.rb
90
+ - lib/version.rb
91
+ - public/images/fancygrid/add.png
92
+ - public/images/fancygrid/clear.png
93
+ - public/images/fancygrid/ddn.png
94
+ - public/images/fancygrid/dn.png
95
+ - public/images/fancygrid/dots.png
96
+ - public/images/fancygrid/loading.gif
97
+ - public/images/fancygrid/magnifier.png
98
+ - public/images/fancygrid/next.png
99
+ - public/images/fancygrid/order.png
100
+ - public/images/fancygrid/prev.png
101
+ - public/images/fancygrid/reload.png
102
+ - public/images/fancygrid/remove.png
103
+ - public/images/fancygrid/spacer.gif
104
+ - public/images/fancygrid/submit.png
105
+ - public/images/fancygrid/th_bg.png
106
+ - public/images/fancygrid/up.png
107
+ - public/images/fancygrid/uup.png
108
+ - public/javascripts/fancygrid.js
109
+ - public/javascripts/fancygrid.min.js
110
+ - public/stylesheets/fancygrid.css
111
+ - public/stylesheets/fancygrid.scss
112
+ - spec/dummy/Rakefile
113
+ - spec/dummy/app/controllers/application_controller.rb
114
+ - spec/dummy/app/helpers/application_helper.rb
115
+ - spec/dummy/app/models/project.rb
116
+ - spec/dummy/app/models/ticket.rb
117
+ - spec/dummy/app/views/layouts/application.html.erb
118
+ - spec/dummy/config.ru
119
+ - spec/dummy/config/application.rb
120
+ - spec/dummy/config/boot.rb
121
+ - spec/dummy/config/database.yml
122
+ - spec/dummy/config/environment.rb
123
+ - spec/dummy/config/environments/development.rb
124
+ - spec/dummy/config/environments/production.rb
125
+ - spec/dummy/config/environments/test.rb
126
+ - spec/dummy/config/initializers/backtrace_silencers.rb
127
+ - spec/dummy/config/initializers/inflections.rb
128
+ - spec/dummy/config/initializers/mime_types.rb
129
+ - spec/dummy/config/initializers/secret_token.rb
130
+ - spec/dummy/config/initializers/session_store.rb
131
+ - spec/dummy/config/locales/en.yml
132
+ - spec/dummy/config/routes.rb
133
+ - spec/dummy/db/migrate/20110112183948_create_projects.rb
134
+ - spec/dummy/db/migrate/20110112183956_create_tickets.rb
135
+ - spec/dummy/db/test.sqlite3
136
+ - spec/dummy/log/development.log
137
+ - spec/dummy/log/production.log
138
+ - spec/dummy/log/server.log
139
+ - spec/dummy/log/test.log
140
+ - spec/dummy/public/404.html
141
+ - spec/dummy/public/422.html
142
+ - spec/dummy/public/500.html
143
+ - spec/dummy/public/favicon.ico
144
+ - spec/dummy/public/javascripts/application.js
145
+ - spec/dummy/public/javascripts/controls.js
146
+ - spec/dummy/public/javascripts/dragdrop.js
147
+ - spec/dummy/public/javascripts/effects.js
148
+ - spec/dummy/public/javascripts/prototype.js
149
+ - spec/dummy/public/javascripts/rails.js
150
+ - spec/dummy/public/stylesheets/.gitkeep
151
+ - spec/dummy/script/rails
152
+ - spec/grid_spec.rb
153
+ - spec/integration/navigation_spec.rb
154
+ - spec/node_spec.rb
155
+ - spec/query_generator_spec.rb
156
+ - spec/spec_helper.rb
157
+ has_rdoc: true
158
+ homepage: http://github.com/giniedp/fancygrid
159
+ licenses: []
160
+
161
+ post_install_message:
162
+ rdoc_options: []
163
+
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ none: false
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 0
174
+ version: "0"
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ hash: 3
181
+ segments:
182
+ - 0
183
+ version: "0"
184
+ requirements: []
185
+
186
+ rubyforge_project:
187
+ rubygems_version: 1.5.3
188
+ signing_key:
189
+ specification_version: 3
190
+ summary: Table rendering for rails applications
191
+ test_files:
192
+ - spec/dummy/app/controllers/application_controller.rb
193
+ - spec/dummy/app/helpers/application_helper.rb
194
+ - spec/dummy/app/models/project.rb
195
+ - spec/dummy/app/models/ticket.rb
196
+ - spec/dummy/config/application.rb
197
+ - spec/dummy/config/boot.rb
198
+ - spec/dummy/config/environment.rb
199
+ - spec/dummy/config/environments/development.rb
200
+ - spec/dummy/config/environments/production.rb
201
+ - spec/dummy/config/environments/test.rb
202
+ - spec/dummy/config/initializers/backtrace_silencers.rb
203
+ - spec/dummy/config/initializers/inflections.rb
204
+ - spec/dummy/config/initializers/mime_types.rb
205
+ - spec/dummy/config/initializers/secret_token.rb
206
+ - spec/dummy/config/initializers/session_store.rb
207
+ - spec/dummy/config/routes.rb
208
+ - spec/dummy/db/migrate/20110112183948_create_projects.rb
209
+ - spec/dummy/db/migrate/20110112183956_create_tickets.rb
210
+ - spec/grid_spec.rb
211
+ - spec/integration/navigation_spec.rb
212
+ - spec/node_spec.rb
213
+ - spec/query_generator_spec.rb
214
+ - spec/spec_helper.rb