Skip to content

Commit

Permalink
Merge pull request #5 from marlinpierce/development
Browse files Browse the repository at this point in the history
Version 3.5.0
  • Loading branch information
marlinpierce committed Jan 13, 2019
2 parents d486b31 + 643657c commit ff67ccf
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 11 deletions.
19 changes: 15 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@
[![Gem Version](https://badge.fury.io/rb/jquery-datatables-rails.svg)](http://badge.fury.io/rb/jquery-datatables-rails)

This gem packages the jQuery [DataTables](http://datatables.net/) plugin for easy use with the Rails 3.1+ asset pipleine.
It provides all the basic DataTables files, and a few of the extras.
It gathers components for datatables for rails.

Datatables is a jquery javascript library for efficient rendering of tables of data fetched from a web service.
This gem does the following:

- Includes the javascript, stylesheets, and other files from database and installs them in the rails asset pipeline.
- Has dependencies to collect the gems needed to use datatables with rails.
- Provides rails generators for datatables and datatables plugins.

This repo is a fork of the official gem repo.


# Important

Expand All @@ -15,15 +25,16 @@ If you encounter any errors, please fork the repository, update the plugin files

## Upgrade Notes

1 - For people upgrading to 3.x.x who are using the responsive extension.
Due to an error displaying the plus icon in a recent version of this gem, the responsive code has now changed and uses the DataTables responsive extension instead. This requires some changes to your responsive configuration. See the Responsive Installation section below and follow the link.
### From rweng/jquery-datatables-rails gem

This version requires no changes to migrate from the `rweng/jquery-datatables-rails` version `3.4.0` gem

## General Installation

1 - Add to your Gemfile:

```ruby
gem 'jquery-datatables-rails', '~> 3.4.0'
gem 'jquery-datatables-rails', '~> 3.5.0', :github => 'marlinpierce/jquery-datatables-rails', :branch => 'master-3.5'
```

2 - Install the gem:
Expand Down
21 changes: 15 additions & 6 deletions jquery-datatables-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ require "jquery/datatables/rails/version"
Gem::Specification.new do |s|
s.name = "jquery-datatables-rails"
s.version = Jquery::Datatables::Rails::VERSION
s.authors = ["Robin Wenglewski"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/rweng/jquery-datatables-rails"
s.authors = ["Marlin W. Pierce"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/marlinpierce/jquery-datatables-rails"
s.summary = %q{jquery datatables for rails}
s.description = %q{}
s.description = <<-HEREDOC
This gem gathers components for datatables for rails.
Datatables is a jquery javascript library for efficient rendering of tables of data fetched from a web service.
This gem does the following:
- Includes the javascript, stylesheets, and other files from database and installs them in the rails asset pipeline.
- Has dependencies to collect the gems needed to use datatables with rails.
- Provides rails generators for datatables and datatables plugins.
HEREDOC
s.license = 'MIT'

s.files = `git ls-files`.split("\n")
Expand All @@ -18,8 +27,8 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency "jquery-rails"
s.add_dependency "sass-rails"
s.add_dependency "jquery-rails", '~> 4.3'
s.add_dependency "sassc-rails", '~> 2.0'
s.add_dependency 'railties', '>= 3.1'
s.add_dependency 'actionpack', '>= 3.1'
s.add_development_dependency 'rake'
Expand Down
2 changes: 1 addition & 1 deletion lib/jquery/datatables/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Jquery
module Datatables
module Rails
VERSION = "3.4.0"
VERSION = "3.5.0"
end
end
end

0 comments on commit ff67ccf

Please sign in to comment.