simple-datatable 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datatable/generator.rb +2 -2
- data/simple-datatable.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac634866e44a749fdf82120c334ba9cc615347bf1efa00b5ca029cc9266a9f40
|
4
|
+
data.tar.gz: 9ccf944a3df32336426c263a6e60fef057ffb172c02a383202ec7218e8bc71e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48d3867149fcbaa342c8a541f39c93c558996db05e91f7706d3a93c751e38a525251692474454701bdf9dbbb6c69b5a39996e76a7eab2ef8edeffb78e72d06f0
|
7
|
+
data.tar.gz: b14831cb95f6ba8622d29a99db187b618e8482bc5165aa064df149e269ea348cd68c743e3dedfbc9bc2d405e4f8e9bd2e66a774c6de59a415cff321fc194067e
|
data/lib/datatable/generator.rb
CHANGED
@@ -42,7 +42,7 @@ module Datatable
|
|
42
42
|
def copy_datatable_js
|
43
43
|
result = generate_template('datatable.coffee')
|
44
44
|
puts result
|
45
|
-
File.open("app/assets/
|
45
|
+
File.open("app/assets/javascripts/datatable.coffee", 'w') { |file| file.write(result) }
|
46
46
|
puts "Created new file datatable.coffee in folder :app/assets/stylesheets/"
|
47
47
|
end
|
48
48
|
|
@@ -50,4 +50,4 @@ module Datatable
|
|
50
50
|
ERB.new(File.read("#{templates}/#{name_template}"), nil, '-').result(binding)
|
51
51
|
end
|
52
52
|
end
|
53
|
-
end
|
53
|
+
end
|
data/simple-datatable.gemspec
CHANGED