table_me 0.0.1
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.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/assets/images/table_me/orderable.png +0 -0
- data/app/assets/stylesheets/table_me/table_me.sass +171 -0
- data/config/routes.rb +2 -0
- data/lib/table_me/builder.rb +36 -0
- data/lib/table_me/column.rb +19 -0
- data/lib/table_me/engine.rb +28 -0
- data/lib/table_me/filter.rb +81 -0
- data/lib/table_me/table_for_helper/table_for_helper.rb +112 -0
- data/lib/table_me/table_for_presenter.rb +229 -0
- data/lib/table_me/table_me_helper/table_me_helper.rb +28 -0
- data/lib/table_me/table_me_presenter.rb +105 -0
- data/lib/table_me/table_pagination.rb +110 -0
- data/lib/table_me/table_vo.rb +48 -0
- data/lib/table_me/url_builder.rb +33 -0
- data/lib/table_me/url_parser.rb +38 -0
- data/lib/table_me/version.rb +3 -0
- data/lib/table_me.rb +15 -0
- data/lib/tasks/table_me_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/users.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +56 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +46 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120223225814_create_users.rb +9 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +52 -0
- data/test/dummy/log/test.log +6 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/users.yml +9 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/integration/table_for_spec.rb +97 -0
- data/test/table_me_test.rb +7 -0
- data/test/test_helper.rb +10 -0
- data/test/unit/table_me_presenter_test.rb +7 -0
- metadata +225 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation:
|
3
|
+
# first created -> highest priority.
|
4
|
+
|
5
|
+
# Sample of regular route:
|
6
|
+
# match 'products/:id' => 'catalog#view'
|
7
|
+
# Keep in mind you can assign values other than :controller and :action
|
8
|
+
|
9
|
+
# Sample of named route:
|
10
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
+
|
13
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
+
# resources :products
|
15
|
+
|
16
|
+
# Sample resource route with options:
|
17
|
+
# resources :products do
|
18
|
+
# member do
|
19
|
+
# get 'short'
|
20
|
+
# post 'toggle'
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# collection do
|
24
|
+
# get 'sold'
|
25
|
+
# end
|
26
|
+
# end
|
27
|
+
|
28
|
+
# Sample resource route with sub-resources:
|
29
|
+
# resources :products do
|
30
|
+
# resources :comments, :sales
|
31
|
+
# resource :seller
|
32
|
+
# end
|
33
|
+
|
34
|
+
# Sample resource route with more complex sub-resources
|
35
|
+
# resources :products do
|
36
|
+
# resources :comments
|
37
|
+
# resources :sales do
|
38
|
+
# get 'recent', :on => :collection
|
39
|
+
# end
|
40
|
+
# end
|
41
|
+
|
42
|
+
# Sample resource route within a namespace:
|
43
|
+
# namespace :admin do
|
44
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
+
# # (app/controllers/admin/products_controller.rb)
|
46
|
+
# resources :products
|
47
|
+
# end
|
48
|
+
|
49
|
+
# You can have the root of your site routed with "root"
|
50
|
+
# just remember to delete public/index.html.
|
51
|
+
# root :to => 'welcome#index'
|
52
|
+
|
53
|
+
# See how all your routes lay out with "rake routes"
|
54
|
+
|
55
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
+
# match ':controller(/:action(/:id))(.:format)'
|
58
|
+
end
|
Binary file
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20120223225814) do
|
15
|
+
|
16
|
+
create_table "users", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.string "email"
|
19
|
+
t.datetime "created_at"
|
20
|
+
t.datetime "updated_at"
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
Binary file
|
@@ -0,0 +1,52 @@
|
|
1
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateUsers (20120223225814)
|
7
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
10
|
+
Migrating to CreateUsers (20120223225814)
|
11
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
12
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
+
Migrating to CreateUsers (20120223225814)
|
16
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
20
|
+
Migrating to CreateUsers (20120223225814)
|
21
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
22
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
24
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
|
+
Migrating to CreateUsers (20120223225814)
|
26
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120223225814')[0m
|
30
|
+
[1m[35m (1.9ms)[0m commit transaction
|
31
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
32
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
33
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
34
|
+
[1m[36m (22.0ms)[0m [1mselect sqlite_version(*)[0m
|
35
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
36
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
37
|
+
[1m[35m (11.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
39
|
+
Migrating to CreateUsers (20120223225814)
|
40
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime)
|
41
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120223225814')[0m
|
42
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
43
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
44
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
45
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
46
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
47
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
48
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
49
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
50
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
51
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
52
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120223225814')
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,97 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'table_for helper html' do
|
4
|
+
let(:table_me_presenter) {TableMe::TableMePresenter.new(User)}
|
5
|
+
let(:table_for_presenter) {TableMe::TableForPresenter.new(:user)}
|
6
|
+
before(:each) do
|
7
|
+
30.times { FactoryGirl.create(:user) }
|
8
|
+
table_me_presenter
|
9
|
+
end
|
10
|
+
|
11
|
+
let(:table_me_data) {TableMe::TableMePresenter.data}
|
12
|
+
let(:table_me_options) {TableMe::TableMePresenter.options}
|
13
|
+
|
14
|
+
describe 'TableForPresenter' do
|
15
|
+
# before(:each) {visit '/test_page'}
|
16
|
+
context '#build_tablewith a table name' do
|
17
|
+
describe 'table_for_presenter.data' do
|
18
|
+
it 'should be a ActiveRecord::Relation' do
|
19
|
+
table_for_presenter.data.class.should eq ActiveRecord::Relation
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
context 'without columns' do
|
24
|
+
let(:table_html){Capybara::Node::Simple.new( table_for_presenter.build_table ) }
|
25
|
+
|
26
|
+
it 'should have <table></table>' do
|
27
|
+
table_html.should have_selector 'table'
|
28
|
+
end
|
29
|
+
|
30
|
+
describe '<table></table>'
|
31
|
+
it 'should have <thead></thead>' do
|
32
|
+
table_html.should have_selector 'table thead'
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'should have <tbody></tbody>' do
|
36
|
+
table_html.should have_selector 'table tbody'
|
37
|
+
end
|
38
|
+
|
39
|
+
describe '<thead></thead>' do
|
40
|
+
|
41
|
+
it 'should have <tr></tr>' do
|
42
|
+
table_html.should have_selector 'table thead tr'
|
43
|
+
end
|
44
|
+
|
45
|
+
describe '<tr></tr>' do
|
46
|
+
let(:table_head) do
|
47
|
+
table_for_presenter.data.first.attribute_names.map do |name|
|
48
|
+
"<th>#{name}</th>"
|
49
|
+
end.join.html_safe
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'should have <th></th>' do
|
53
|
+
table_html.should have_selector 'table thead tr th'
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'should have table heads should have an attribute from an item in table_for_presenter.data
|
57
|
+
' do
|
58
|
+
table_for_presenter.build_table.should match /#{table_head}/
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
|
63
|
+
end# <thead></thead>
|
64
|
+
|
65
|
+
describe '<tbody></tbody>' do
|
66
|
+
it 'should have <tr></tr>' do
|
67
|
+
table_html.should have_selector 'table tbody tr'
|
68
|
+
end
|
69
|
+
|
70
|
+
describe '<tr></tr>' do
|
71
|
+
# this seems like the wrong thing to do to me.
|
72
|
+
let(:table_rows) do
|
73
|
+
cols = table_for_presenter.data.first.attribute_names
|
74
|
+
table_for_presenter.data.map do |data|
|
75
|
+
row = "<tr>"
|
76
|
+
row << cols.map {|col| "<td>#{data[col]}</td>"}.join
|
77
|
+
row << '</tr>'
|
78
|
+
end.join
|
79
|
+
end
|
80
|
+
|
81
|
+
# loop assertions to check in tds for the string value
|
82
|
+
it 'should have <td></td>' do
|
83
|
+
table_html.should have_selector 'table tbody tr td'
|
84
|
+
end
|
85
|
+
|
86
|
+
it 'should have table data which contain DB column values for each item in table_for_presenter.data' do
|
87
|
+
table_for_presenter.build_table.should match /#{table_rows}/
|
88
|
+
end
|
89
|
+
|
90
|
+
end#<tr></tr>
|
91
|
+
end
|
92
|
+
|
93
|
+
end# <table></table>
|
94
|
+
end# without columns
|
95
|
+
end#with table name
|
96
|
+
|
97
|
+
end#TableForPresenter
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
metadata
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: table_me
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Adam Rensel
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-27 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70155239708420 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.1.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70155239708420
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jquery-rails
|
27
|
+
requirement: &70155239708000 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70155239708000
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: sqlite3
|
38
|
+
requirement: &70155239707540 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70155239707540
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec-rails
|
49
|
+
requirement: &70155239707120 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70155239707120
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: capybara
|
60
|
+
requirement: &70155239706700 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70155239706700
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: factory_girl_rails
|
71
|
+
requirement: &70155239706280 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70155239706280
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: pry
|
82
|
+
requirement: &70155239705860 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70155239705860
|
91
|
+
description: Widget table gem for Rails 3.1.3+
|
92
|
+
email:
|
93
|
+
- adamrensel@gmail.com
|
94
|
+
executables: []
|
95
|
+
extensions: []
|
96
|
+
extra_rdoc_files: []
|
97
|
+
files:
|
98
|
+
- app/assets/images/table_me/orderable.png
|
99
|
+
- app/assets/stylesheets/table_me/table_me.sass
|
100
|
+
- config/routes.rb
|
101
|
+
- lib/table_me/builder.rb
|
102
|
+
- lib/table_me/column.rb
|
103
|
+
- lib/table_me/engine.rb
|
104
|
+
- lib/table_me/filter.rb
|
105
|
+
- lib/table_me/table_for_helper/table_for_helper.rb
|
106
|
+
- lib/table_me/table_for_presenter.rb
|
107
|
+
- lib/table_me/table_me_helper/table_me_helper.rb
|
108
|
+
- lib/table_me/table_me_presenter.rb
|
109
|
+
- lib/table_me/table_pagination.rb
|
110
|
+
- lib/table_me/table_vo.rb
|
111
|
+
- lib/table_me/url_builder.rb
|
112
|
+
- lib/table_me/url_parser.rb
|
113
|
+
- lib/table_me/version.rb
|
114
|
+
- lib/table_me.rb
|
115
|
+
- lib/tasks/table_me_tasks.rake
|
116
|
+
- MIT-LICENSE
|
117
|
+
- Rakefile
|
118
|
+
- README.rdoc
|
119
|
+
- test/dummy/app/assets/javascripts/application.js
|
120
|
+
- test/dummy/app/assets/stylesheets/application.css
|
121
|
+
- test/dummy/app/controllers/application_controller.rb
|
122
|
+
- test/dummy/app/helpers/application_helper.rb
|
123
|
+
- test/dummy/app/models/users.rb
|
124
|
+
- test/dummy/app/views/layouts/application.html.erb
|
125
|
+
- test/dummy/config/application.rb
|
126
|
+
- test/dummy/config/boot.rb
|
127
|
+
- test/dummy/config/database.yml
|
128
|
+
- test/dummy/config/environment.rb
|
129
|
+
- test/dummy/config/environments/development.rb
|
130
|
+
- test/dummy/config/environments/production.rb
|
131
|
+
- test/dummy/config/environments/test.rb
|
132
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
133
|
+
- test/dummy/config/initializers/inflections.rb
|
134
|
+
- test/dummy/config/initializers/mime_types.rb
|
135
|
+
- test/dummy/config/initializers/secret_token.rb
|
136
|
+
- test/dummy/config/initializers/session_store.rb
|
137
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
138
|
+
- test/dummy/config/locales/en.yml
|
139
|
+
- test/dummy/config/routes.rb
|
140
|
+
- test/dummy/config.ru
|
141
|
+
- test/dummy/db/development.sqlite3
|
142
|
+
- test/dummy/db/migrate/20120223225814_create_users.rb
|
143
|
+
- test/dummy/db/schema.rb
|
144
|
+
- test/dummy/db/test.sqlite3
|
145
|
+
- test/dummy/log/development.log
|
146
|
+
- test/dummy/log/test.log
|
147
|
+
- test/dummy/public/404.html
|
148
|
+
- test/dummy/public/422.html
|
149
|
+
- test/dummy/public/500.html
|
150
|
+
- test/dummy/public/favicon.ico
|
151
|
+
- test/dummy/Rakefile
|
152
|
+
- test/dummy/README.rdoc
|
153
|
+
- test/dummy/script/rails
|
154
|
+
- test/fixtures/users.yml
|
155
|
+
- test/integration/navigation_test.rb
|
156
|
+
- test/integration/table_for_spec.rb
|
157
|
+
- test/table_me_test.rb
|
158
|
+
- test/test_helper.rb
|
159
|
+
- test/unit/table_me_presenter_test.rb
|
160
|
+
homepage: https://github.com/renz45/table_me
|
161
|
+
licenses: []
|
162
|
+
post_install_message:
|
163
|
+
rdoc_options: []
|
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
|
+
version: '0'
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ! '>='
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 1.8.15
|
181
|
+
signing_key:
|
182
|
+
specification_version: 3
|
183
|
+
summary: Widget table gem for Rails 3.1.3+
|
184
|
+
test_files:
|
185
|
+
- test/dummy/app/assets/javascripts/application.js
|
186
|
+
- test/dummy/app/assets/stylesheets/application.css
|
187
|
+
- test/dummy/app/controllers/application_controller.rb
|
188
|
+
- test/dummy/app/helpers/application_helper.rb
|
189
|
+
- test/dummy/app/models/users.rb
|
190
|
+
- test/dummy/app/views/layouts/application.html.erb
|
191
|
+
- test/dummy/config/application.rb
|
192
|
+
- test/dummy/config/boot.rb
|
193
|
+
- test/dummy/config/database.yml
|
194
|
+
- test/dummy/config/environment.rb
|
195
|
+
- test/dummy/config/environments/development.rb
|
196
|
+
- test/dummy/config/environments/production.rb
|
197
|
+
- test/dummy/config/environments/test.rb
|
198
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
199
|
+
- test/dummy/config/initializers/inflections.rb
|
200
|
+
- test/dummy/config/initializers/mime_types.rb
|
201
|
+
- test/dummy/config/initializers/secret_token.rb
|
202
|
+
- test/dummy/config/initializers/session_store.rb
|
203
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
204
|
+
- test/dummy/config/locales/en.yml
|
205
|
+
- test/dummy/config/routes.rb
|
206
|
+
- test/dummy/config.ru
|
207
|
+
- test/dummy/db/development.sqlite3
|
208
|
+
- test/dummy/db/migrate/20120223225814_create_users.rb
|
209
|
+
- test/dummy/db/schema.rb
|
210
|
+
- test/dummy/db/test.sqlite3
|
211
|
+
- test/dummy/log/development.log
|
212
|
+
- test/dummy/log/test.log
|
213
|
+
- test/dummy/public/404.html
|
214
|
+
- test/dummy/public/422.html
|
215
|
+
- test/dummy/public/500.html
|
216
|
+
- test/dummy/public/favicon.ico
|
217
|
+
- test/dummy/Rakefile
|
218
|
+
- test/dummy/README.rdoc
|
219
|
+
- test/dummy/script/rails
|
220
|
+
- test/fixtures/users.yml
|
221
|
+
- test/integration/navigation_test.rb
|
222
|
+
- test/integration/table_for_spec.rb
|
223
|
+
- test/table_me_test.rb
|
224
|
+
- test/test_helper.rb
|
225
|
+
- test/unit/table_me_presenter_test.rb
|