rails-datatable 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f71cde90643548ca257324d3a30e9c7a136e358c17279a59feb13a4e6a8c1cf2
4
- data.tar.gz: 2241d5b9963030510f7715f70fae37c9f089d95b29426ae9c5a91fba79fdc5be
3
+ metadata.gz: e79e8c3d89ddfa0294088089a1eddedbab6b4ca76ada17c4595ab737ef38be9d
4
+ data.tar.gz: d8b4f5447ecf4ee63acd2a5ace4c6dec2804ee04262f59e64e497276cfb21789
5
5
  SHA512:
6
- metadata.gz: 1268b49b0e96905018eb8d9ccc5e71014a37c10bac73a0a3d25ff04bce57c845c9b2c27100e956d5e5523f6a7cd317745b59724bcc96893f8b83e3bd1160e95f
7
- data.tar.gz: 46cb758453a272f7fd99ae1c7cdadd05691c458f2ad6ecc6668a535f884a437a8194366f798fff7f7c03cb23cd19376d5d1b3716cb303505afb644fdb940812a
6
+ metadata.gz: 258df0c4879102ee3402e32ec53386071ace32bb2f0e4e41ac01bb74ead88c10d5a6665fcffb03d19fc034c3e11ed0544d71f4322ca4fb6d7e5c0876a70d11e5
7
+ data.tar.gz: 56d0099ed368a4aa90f1fc777e0f0ce844ddffb79a0c8a5ae9b8e42114e2d7867dbc6ab2f230f3620daea7cce2565f80700a483917d50d8f50c3bc71a72e40af
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-datatable (0.1.0)
4
+ rails-datatable (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -11,11 +11,13 @@ gem 'rails-datatable'
11
11
  ```
12
12
 
13
13
  And then execute:
14
- $ bundle
14
+
15
+ $ bundle
15
16
 
16
17
  Or install it yourself as:
17
- $ gem install rails-datatable
18
18
 
19
+ $ gem install rails-datatable
20
+
19
21
  ## Usage
20
22
 
21
23
  ### 1. Install RailsDatatable
@@ -38,7 +40,7 @@ end
38
40
 
39
41
  #### 2.3 Set json path for your table in view
40
42
  ```html
41
- %table.table{data: { url: users_path(format: :json) }}
43
+ %table.datatable{data: { url: users_path(format: :json) }}
42
44
  %thead
43
45
  %tr
44
46
  %th #
@@ -13,7 +13,7 @@ module Rails
13
13
  def insert_jquery_datatable_js
14
14
  insert_into_file(
15
15
  'app/assets/javascripts/application.js',
16
- "\n//= require jquery\n//= require jquery.dataTables.min"
16
+ "\n//= require jquery\n//= require jquery.dataTables.min\n//= require datatable"
17
17
  )
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Datatable
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-datatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacky