Skip to content

Commit 0f6d2eb

Browse files
author
Matt Callaway
committed
Initial commit
0 parents  commit 0f6d2eb

File tree

59 files changed

+18726
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+18726
-0
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source "http://rubygems.org"
2+
3+
# Specify your gem's dependencies in jquery-datatables-rails.gemspec
4+
gemspec

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require "bundler/gem_tasks"

Readme.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# jquery-datatables-editable-rails
2+
3+
This gem packages the jQuery [DataTables](http://datatables.net/) Editable plugin for easy use with the Rails 3.1+ asset pipleine.
4+
5+
## Installation
6+
7+
1. Add `gem 'jquery-datatables-editable-rails'` to the assets group in your Gemfile and run `bundle install`.
8+
1. Add the JavaScript to `application.js`:
9+
10+
`//= require dataTables/jquery.dataTables.editable`
11+
12+
1. Add the stylesheets to `application.css`:
13+
14+
`*= require dataTables/jquery.dataTables.editable`
15+

jquery-datatables-editable-rails.gemspec

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require "jquery/datatables/editable/rails/version"
2+
require "jquery/datatables/editable/rails/engine"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Configure for Rails 3.1
2+
module Jquery
3+
module Datatables
4+
module Editable
5+
if defined?(::Rails) and ::Rails.version >= "3.1"
6+
module Rails
7+
class Engine < ::Rails::Engine
8+
end
9+
end
10+
end
11+
end
12+
end
13+
end
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module Jquery
2+
module Datatables
3+
module Editable
4+
module Rails
5+
VERSION = "1.3"
6+
end
7+
end
8+
end
9+
end
3.47 KB
Loading
612 Bytes
Loading
807 Bytes
Loading

0 commit comments

Comments
 (0)