effective_datatables 1.4.1 → 1.4.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
  SHA1:
3
- metadata.gz: 140075ec3989bbddf8597bd70513f9f054715418
4
- data.tar.gz: cd5c5bfede755aa85162f1f3e109450e47aff3ab
3
+ metadata.gz: 602fa7eaf9f2651d3eb006eb0429f0b556f2299e
4
+ data.tar.gz: 7be8486ef756e02a8593a2cae680ba5a3679b1dd
5
5
  SHA512:
6
- metadata.gz: d34312c3bfc7eabcb21971f112bb543b24866c7b235be12eb1d0f58b45d493cd01ffacba2b7ba5f7cd00e136479018f319561246ab2fe1542eb7ba7aa385f56c
7
- data.tar.gz: 6f0e1048cdce85e2380c0851adab3ffe27be1da5f4a7535445f0064c5c07b12c3c2a43ccbaec6fe9e9af7364c00981ba0d56c00627ecc7c3bc6c0251a395215b
6
+ metadata.gz: 0a6c4c9d225ce923e048b2d85207c4094dc1c69dc5bcd46a7a919b8492b498565d93b22339ab24688b94f0978f37590b0cc3c2f43f455e2201a8be1231ec935e
7
+ data.tar.gz: dd67c7efed037d645eebbd3766249c4e9eed0313de0923737f0aef6c19d589f0756caa396894fc38892bc44d9551e282a160d0ceda2f7a7d7e69546ea7302950
@@ -28,7 +28,7 @@ initializeDataTables = ->
28
28
  aoColumnDefs: aoColumnDefs
29
29
  aoColumns: datatable.data('widths')
30
30
  oTableTools:
31
- sSwfPath: '/assets/effective_datatables/copy_csv_xls_pdf.swf',
31
+ sSwfPath: "<%= asset_path('effective_datatables/copy_csv_xls_pdf.swf') %>",
32
32
  aButtons: ['csv', {'sExtends': 'xls', 'sButtonText': 'Excel'}, 'print']
33
33
  colVis:
34
34
  showAll: 'Show all'
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '1.4.1'.freeze
2
+ VERSION = '1.4.2'.freeze
3
3
  end
@@ -1,17 +1 @@
1
- namespace :effective_datatables do
2
- desc 'Create nondigest versions of some effective_datatables assets'
3
- task :create_nondigest_assets do
4
- fingerprint = /\-[0-9a-f]{32}\./
5
- for file in Dir['public/assets/dataTables/*.*', 'public/assets/effective_datatables/*.*']
6
- next unless file =~ fingerprint
7
- nondigest = file.sub fingerprint, '.' # contents-0d8ffa186a00f5063461bc0ba0d96087.css => contents.css
8
- FileUtils.cp file, nondigest, verbose: true
9
- end
10
- end
11
- end
12
1
 
13
- # auto run ckeditor:create_nondigest_assets after assets:precompile
14
- Rake::Task['assets:precompile'].enhance do
15
- puts 'undigesting required effective_datatables assets'
16
- Rake::Task['effective_datatables:create_nondigest_assets'].invoke
17
- 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: 1.4.1
4
+ version: 1.4.2
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: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -109,7 +109,7 @@ files:
109
109
  - app/assets/images/effective_datatables/copy_csv_xls_pdf.swf
110
110
  - app/assets/javascripts/effective_datatables.bootstrap2.js
111
111
  - app/assets/javascripts/effective_datatables.js
112
- - app/assets/javascripts/effective_datatables/initialize.js.coffee
112
+ - app/assets/javascripts/effective_datatables/initialize.js.coffee.erb
113
113
  - app/assets/javascripts/vendor/jquery.dataTables.columnFilter.js
114
114
  - app/assets/stylesheets/effective_datatables.bootstrap2.scss
115
115
  - app/assets/stylesheets/effective_datatables.scss