effective_datatables 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 619baaf788e1e0e7522bc2327fef27a997dba06e
4
- data.tar.gz: 61e406f431079e6d251fd4d9ad55a76fd5a77da0
3
+ metadata.gz: f242f95da0c3da3bedc59eb1ddc845041d578c65
4
+ data.tar.gz: 7ec0fcbf0907f03c917270e8f2230a7882fb52c7
5
5
  SHA512:
6
- metadata.gz: fac7b347fac1755ca7a49780d038c561b7588bcd8955192cdd7af37f1ff29549758fbfcc4d92d35fc5c4b7b77e1f750d16c048e35317ffbbc32e960e82742306
7
- data.tar.gz: 3683794e47ae401d6313213bd4ccad4d139fd250f8667cf17e71664853b28ed0756e071914e17f7005b27b516558a0215689e891daa33193ba7f3844b34f2512
6
+ metadata.gz: edf0c4b29cbd491fab3cbbb2dca0911dfe091f27c3dd06659418cab0d32eb63a6c21a0451dad4c8f52ebf2031f94e3463cc1c1e430a2469e8592616fde1a28c1
7
+ data.tar.gz: 98ddf66e1433b990cb0ec0a11cf6d0a0f8746eaf6f9ada95a568a8fd99f5f5bc7919cbbfe9f60156c1000cb5802b2171f41fc87e6aea3da826532d6651fe63ea
data/README.md CHANGED
@@ -16,33 +16,19 @@ For use with any Rails 3, 4, 5 application already using Twitter Bootstrap 3.
16
16
 
17
17
  Works with postgres, mysql, sqlite3 and arrays.
18
18
 
19
- ## effective_datatables 3.0
19
+ ## Bootstrap3
20
20
 
21
- This is the 3.0 release of effective_datatables. It's a complete rewrite, with a similar but totally changed DSL.
21
+ This is the `bootstrap3` branch of effective_datatables which supports Twitter Bootstrap 3.
22
22
 
23
- [Effective Datatables 2.0 README](https://github.com/code-and-effect/effective_datatables/tree/2.12.2)
23
+ All published effective_datatables 3.x gems will support Twitter Bootstrap 3 and SimpleForm.
24
24
 
25
- Previous versions of the gem were excellent, but the 3.0 release has stepped things up.
26
-
27
- Internally, all columns now have separate compute and format methods, removing the need for a ton of internal parsing and type conversions.
28
- This allows things like filters, aggregates and searching/sorting to work effectively.
29
-
30
- Column rendering has been improved so all datatable and view methods are callable from anywhere in the DSL.
31
- This allows the developer to do things like: include/exclude/configure columns based on the current_user, apply logic around current filters
32
- to change columns dynamically, to use regular ifs instead of procs in toggling visibility, and generally removes all weirdness.
33
-
34
- This release adds a dependency on [effective_resources](https://github.com/code-and-effect/effective_resources) for ActiveRecord resource discovery,
35
- full sql table fuzzy searching/sorting, attribute parsing, and checking availability & authorization of edit/show actions.
36
-
37
- A cookie has been added to persist the user's selected filters, search, sort, length, column visibility and pagination settings.
38
-
39
- A lot has changed. See below for full details.
25
+ For Bootstrap 4 please see the master branch and/or effective_datatables 4.x gems.
40
26
 
41
27
  # Getting Started
42
28
 
43
29
  ```ruby
44
30
  gem 'haml-rails' # or try using gem 'hamlit-rails'
45
- gem 'effective_datatables'
31
+ gem 'effective_datatables', github: 'code-and-effect/effective_datatables', branch: 'bootstrap3'
46
32
  ```
47
33
 
48
34
  Run the bundle command to install it:
@@ -7,9 +7,6 @@ module EffectiveDatatables
7
7
  # Include Helpers to base application
8
8
  initializer 'effective_datatables.action_controller' do |app|
9
9
  ActiveSupport.on_load :action_controller do
10
- helper EffectiveDatatablesHelper
11
- helper EffectiveDatatablesPrivateHelper
12
-
13
10
  ActionController::Base.send :include, ::EffectiveDatatablesControllerHelper
14
11
  end
15
12
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '3.4.0'.freeze
2
+ VERSION = '3.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails