materialize-sass 0.97.8 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitattributes +1 -0
- data/.gitignore +1 -0
- data/README.md +34 -32
- data/Rakefile +38 -21
- data/assets/javascripts/materialize/anime.min.js +417 -0
- data/assets/javascripts/materialize/autocomplete.js +504 -0
- data/assets/javascripts/materialize/buttons.js +409 -0
- data/assets/javascripts/materialize/cards.js +34 -0
- data/assets/javascripts/materialize/carousel.js +797 -0
- data/assets/javascripts/materialize/cash.js +990 -0
- data/assets/javascripts/materialize/characterCounter.js +180 -0
- data/assets/javascripts/materialize/chips.js +564 -0
- data/assets/javascripts/materialize/collapsible.js +337 -0
- data/assets/javascripts/materialize/component.js +57 -0
- data/assets/javascripts/materialize/datepicker.js +935 -0
- data/assets/javascripts/materialize/dropdown.js +659 -0
- data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
- data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
- data/assets/javascripts/materialize/forms.js +244 -0
- data/assets/javascripts/materialize/global.js +408 -0
- data/assets/javascripts/materialize/materialbox.js +513 -0
- data/assets/javascripts/materialize/modal.js +449 -0
- data/assets/javascripts/materialize/parallax.js +173 -0
- data/assets/javascripts/materialize/pushpin.js +179 -0
- data/assets/javascripts/materialize/range.js +310 -0
- data/assets/javascripts/materialize/scrollspy.js +328 -0
- data/assets/javascripts/materialize/select.js +497 -0
- data/assets/javascripts/materialize/sidenav.js +655 -0
- data/assets/javascripts/materialize/slider.js +424 -0
- data/assets/javascripts/materialize/tabs.js +476 -0
- data/assets/javascripts/materialize/tapTarget.js +364 -0
- data/assets/javascripts/materialize/timepicker.js +647 -0
- data/assets/javascripts/materialize/toasts.js +355 -0
- data/assets/javascripts/materialize/tooltip.js +351 -0
- data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
- data/{app/assets → assets}/javascripts/materialize-sprockets.js +12 -13
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_buttons.scss +99 -58
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +14 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_carousel.scss +12 -7
- data/{app/assets → assets}/stylesheets/materialize/components/_chips.scss +13 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +16 -15
- data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
- data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +2 -44
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_dropdown.scss +35 -15
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +96 -125
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +45 -36
- data/{app/assets → assets}/stylesheets/materialize/components/_icons-material-design.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +13 -12
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +7 -3
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +29 -11
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +2 -2
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/{app/assets/stylesheets/materialize/components/_sideNav.scss → assets/stylesheets/materialize/components/_sidenav.scss} +47 -47
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/{app/assets → assets}/stylesheets/materialize/components/_tabs.scss +10 -10
- data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
- data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +7 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_tooltip.scss +3 -3
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +8 -9
- data/{app/assets → assets}/stylesheets/materialize/components/_variables.scss +65 -29
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_checkboxes.scss +26 -46
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_file-input.scss +6 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_forms.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_input-fields.scss +131 -63
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_range.scss +35 -33
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_select.scss +88 -19
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_switches.scss +32 -21
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +10 -9
- data/lib/materialize-sass/engine.rb +9 -7
- data/lib/materialize-sass/helpers.rb +38 -0
- data/lib/materialize-sass/version.rb +1 -1
- data/lib/materialize-sass.rb +13 -28
- data/materialize-sass.gemspec +5 -5
- metadata +97 -119
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize/animation.js +0 -9
- data/app/assets/javascripts/materialize/buttons.js +0 -267
- data/app/assets/javascripts/materialize/cards.js +0 -26
- data/app/assets/javascripts/materialize/carousel.js +0 -454
- data/app/assets/javascripts/materialize/character_counter.js +0 -72
- data/app/assets/javascripts/materialize/chips.js +0 -289
- data/app/assets/javascripts/materialize/collapsible.js +0 -160
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
- data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
- data/app/assets/javascripts/materialize/dropdown.js +0 -265
- data/app/assets/javascripts/materialize/extras/nouislider.js +0 -1666
- data/app/assets/javascripts/materialize/extras/nouislider.min.js +0 -1
- data/app/assets/javascripts/materialize/forms.js +0 -682
- data/app/assets/javascripts/materialize/global.js +0 -98
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -174
- data/app/assets/javascripts/materialize/initial.js +0 -11
- data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
- data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
- data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
- data/app/assets/javascripts/materialize/materialbox.js +0 -269
- data/app/assets/javascripts/materialize/modal.js +0 -184
- data/app/assets/javascripts/materialize/parallax.js +0 -58
- data/app/assets/javascripts/materialize/prism.js +0 -8
- data/app/assets/javascripts/materialize/pushpin.js +0 -71
- data/app/assets/javascripts/materialize/scrollFire.js +0 -48
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -370
- data/app/assets/javascripts/materialize/slider.js +0 -321
- data/app/assets/javascripts/materialize/tabs.js +0 -164
- data/app/assets/javascripts/materialize/toasts.js +0 -137
- data/app/assets/javascripts/materialize/tooltip.js +0 -236
- data/app/assets/javascripts/materialize/transitions.js +0 -169
- data/app/assets/javascripts/materialize/velocity.min.js +0 -5
- data/app/assets/javascripts/materialize.js +0 -5
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -424
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -384
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -49
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -177
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
- data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
- data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -125
- data/app/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +0 -117
- data/app/assets/stylesheets/materialize/extras/nouislider.css +0 -259
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 399746b482a8e1e904d3bcb3b19687a53cfc6c733f53ea1b08a89654606e4418
|
4
|
+
data.tar.gz: a37994aac1585629354f79f2721dad29ef778582ec92554e326ea3f0c6c207d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bd6c2888e737a5efffa08a6fb1579c9c48366886c2bdda158a6c69f4a97e64938003711dd3a9b09b280d822d54caed541f6d3ad74d1b4e957987d930ec7388e
|
7
|
+
data.tar.gz: 16056cadcbcc50683ee48918cbddad10dad4e62f1da6e829d14c2a03edd98d50b8c7faa4c477514466f599cad3e6b86a1e6bfe95abdce7c3765206bc7bfeca4e
|
data/.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
assets/* linguist-vendored
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,17 +1,24 @@
|
|
1
|
-
# Materialize
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/materialize-sass.svg)](http://badge.fury.io/rb/materialize-sass)
|
1
|
+
# Materialize sass ruby gem [![Gem Version](https://badge.fury.io/rb/materialize-sass.svg)](http://badge.fury.io/rb/materialize-sass)
|
3
2
|
|
4
3
|
`materialize-sass` is a Sass powered version of [Materialize](http://materializecss.com), a modern responsive front-end framework based on Material Design.
|
5
4
|
|
5
|
+
example: http://materialize.labs.my/
|
6
|
+
|
7
|
+
source: https://github.com/mkhairi/materialize-rails
|
8
|
+
|
9
|
+
# Notices
|
10
|
+
This master branch now v1.0.0
|
11
|
+
|
12
|
+
Documentation for previous releases (v0.100.*) are available [this branch.](https://github.com/mkhairi/materialize-sass/tree/v0.100)
|
13
|
+
|
6
14
|
## Installation
|
7
15
|
|
8
16
|
In your Gemfile you need to add the `materialize-sass` gem:
|
9
17
|
|
10
18
|
```ruby
|
11
|
-
gem 'materialize-sass'
|
19
|
+
gem 'materialize-sass', '~> 1.0.0'
|
12
20
|
```
|
13
21
|
|
14
|
-
**NOTE:** Ensure that the `sass-rails` gem is presented in your Gemfile.
|
15
22
|
|
16
23
|
And then run the bundler and restart your server to make the files available through the pipeline:
|
17
24
|
|
@@ -46,62 +53,57 @@ $ rm app/assets/stylesheets/application.css
|
|
46
53
|
Since materialize color scheme are declared in color.scss you should import the color.scss first. then you can override color variable just like this:
|
47
54
|
|
48
55
|
```scss
|
49
|
-
@import "materialize/components/color";
|
56
|
+
@import "materialize/components/color-variables";
|
50
57
|
$primary-color: color("blue", "lighten-2") !default;
|
51
|
-
$secondary-color: color("yellow") !default;
|
58
|
+
$secondary-color: color("yellow", "base") !default;
|
52
59
|
@import 'materialize';
|
53
60
|
```
|
54
61
|
|
55
62
|
or
|
56
63
|
|
57
64
|
You can import each component just like in this file below:
|
58
|
-
https://github.com/mkhairi/materialize-sass/blob/master/
|
65
|
+
https://github.com/mkhairi/materialize-sass/blob/master/assets/stylesheets/materialize.scss
|
59
66
|
|
60
67
|
### b. JavaScript
|
61
68
|
|
62
69
|
Require Materialize javascripts in `app/assets/javascripts/application.js`:
|
63
70
|
|
64
|
-
For turbolinks 5 users
|
65
71
|
```js
|
66
|
-
//= require
|
67
|
-
//= require turbolinks
|
68
|
-
//= require materialize-sprockets
|
72
|
+
//= require materialize
|
69
73
|
```
|
70
74
|
|
71
|
-
|
72
|
-
|
73
|
-
Add [`jquery-turbolinks`](https://github.com/kossnocorp/jquery.turbolinks) gem to Gemfile
|
75
|
+
or
|
74
76
|
|
75
|
-
|
77
|
+
Require materialize-sprockets to provide individual Materialize components for ease of debugging
|
76
78
|
|
77
79
|
```js
|
78
|
-
//= require
|
79
|
-
//= require jquery.turbolinks
|
80
|
-
//= require materialize
|
81
|
-
//= require turbolinks
|
80
|
+
//= require materialize-sprockets
|
82
81
|
```
|
83
82
|
|
84
|
-
|
85
|
-
```js
|
86
|
-
//= require jquery
|
87
|
-
//= require materialize
|
88
|
-
```
|
83
|
+
### c. Icons
|
89
84
|
|
90
|
-
|
85
|
+
Include this line in the portion of your HTML code
|
91
86
|
|
92
|
-
|
87
|
+
```html
|
88
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
89
|
+
```
|
93
90
|
|
94
|
-
in your application.scss
|
95
|
-
|
96
|
-
|
91
|
+
or import this line in your application.scss
|
92
|
+
|
93
|
+
```css
|
94
|
+
@import "https://fonts.googleapis.com/icon?family=Material+Icons";
|
97
95
|
```
|
98
|
-
|
99
|
-
|
100
|
-
|
96
|
+
|
97
|
+
or install this gem for offline icons
|
98
|
+
|
99
|
+
```ruby
|
100
|
+
gem 'material_icons'
|
101
101
|
```
|
102
102
|
|
103
|
+
see [docs](https://github.com/Angelmmiguel/material_icons)
|
103
104
|
|
104
105
|
## Contributing
|
106
|
+
note: Any changes or Pull Request regarding materialize assets should be made in official [materialize](https://github.com/Dogfalo/materialize) repo.
|
105
107
|
|
106
108
|
1. Fork it ( https://github.com/mkhairi/materialize-sass/fork )
|
107
109
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
data/Rakefile
CHANGED
@@ -6,16 +6,16 @@ namespace :javascripts do
|
|
6
6
|
|
7
7
|
desc "Cleaning javascripts directory"
|
8
8
|
task :clean do
|
9
|
-
rm_rf "
|
9
|
+
rm_rf "assets/javascripts/materialize"
|
10
10
|
end
|
11
11
|
|
12
|
-
desc "Copy #{source_dir}/js
|
12
|
+
desc "Copy #{source_dir}/dist/src/js"
|
13
13
|
task :copy do
|
14
|
-
src_dir = "#{source_dir}/js/."
|
15
|
-
tgt_dir = "
|
14
|
+
src_dir = "#{source_dir}/dist/src/js/."
|
15
|
+
tgt_dir = "assets/javascripts/materialize/"
|
16
16
|
mkdir_p tgt_dir
|
17
17
|
cp_r src_dir, tgt_dir
|
18
|
-
cp "#{source_dir}/
|
18
|
+
cp "#{source_dir}/dist/js/materialize.js", "assets/javascripts"
|
19
19
|
end
|
20
20
|
|
21
21
|
##todo
|
@@ -24,21 +24,20 @@ namespace :javascripts do
|
|
24
24
|
desc "Copy #{source_dir}/extras/"
|
25
25
|
task :copy_extras do
|
26
26
|
src_dir = Dir.glob("#{source_dir}/extras/noUiSlider/*").reject { |file| file.end_with?(".css") }
|
27
|
-
tgt_dir = "
|
27
|
+
tgt_dir = "assets/javascripts/materialize/extras/"
|
28
28
|
mkdir_p tgt_dir
|
29
29
|
cp_r src_dir, tgt_dir
|
30
30
|
end
|
31
31
|
|
32
32
|
task :turbolinks_init do
|
33
|
-
files = Dir.glob('
|
33
|
+
files = Dir.glob('assets/javascripts/materialize/**/*.js').reject { |file| file.end_with?(".min.js") and File.file?(file) }
|
34
34
|
files.each do |file|
|
35
|
-
selected_files = %w(
|
36
|
-
dropdown.js forms.js materialbox.js scrollspy.js tabs.js tooltip.js transitions.js)
|
35
|
+
selected_files = %w(forms.js chips.js)
|
37
36
|
file_name = File.basename file
|
38
37
|
#only selected file
|
39
38
|
if selected_files.include?(file_name)
|
40
39
|
content = File.read(file)
|
41
|
-
fixed_content = content.gsub("$(document).ready(", "$(document).on('turbolinks:load', ")
|
40
|
+
fixed_content = content.gsub("$(document).ready(", "$(document).on('ready turbolinks:load', ")
|
42
41
|
File.open(file, "w") { |f| f.puts fixed_content}
|
43
42
|
end
|
44
43
|
end
|
@@ -46,50 +45,50 @@ namespace :javascripts do
|
|
46
45
|
|
47
46
|
|
48
47
|
desc "Setup javascript assets"
|
49
|
-
task setup: [:clean, :copy, :copy_extras
|
48
|
+
task setup: [:clean, :copy, :copy_extras]
|
50
49
|
#task setup: [:clean, :copy, :copy_extras]
|
51
50
|
end
|
52
51
|
|
53
52
|
namespace :stylesheets do
|
54
53
|
desc "Cleaning stylesheets directory"
|
55
54
|
task :clean do
|
56
|
-
rm_rf "
|
55
|
+
rm_rf "assets/stylesheets/materialize"
|
57
56
|
end
|
58
57
|
|
59
58
|
desc "Copy #{source_dir}/sass/"
|
60
59
|
task :copy do
|
61
60
|
src_dir = "#{source_dir}/sass/."
|
62
|
-
tgt_dir = "
|
61
|
+
tgt_dir = "assets/stylesheets/materialize/"
|
63
62
|
mkdir_p tgt_dir
|
64
63
|
cp_r src_dir, tgt_dir
|
65
64
|
rm tgt_dir+"ghpages-materialize.scss"
|
66
|
-
rm tgt_dir+"
|
67
|
-
mv tgt_dir+"materialize.scss", "
|
65
|
+
rm tgt_dir+"_style.scss"
|
66
|
+
mv tgt_dir+"materialize.scss", "assets/stylesheets/"
|
68
67
|
end
|
69
68
|
|
70
69
|
desc "Copy #{source_dir}/extras/"
|
71
70
|
task :copy_extras do
|
72
71
|
src_dir = Dir.glob("#{source_dir}/extras/noUiSlider/*").reject { |file| file.end_with?(".js") }
|
73
|
-
tgt_dir = "
|
72
|
+
tgt_dir = "assets/stylesheets/materialize/extras/"
|
74
73
|
mkdir_p tgt_dir
|
75
74
|
cp_r src_dir, tgt_dir
|
76
75
|
end
|
77
76
|
|
78
77
|
desc "Fix url in stylesheets"
|
79
78
|
task :fix_urls do
|
80
|
-
Dir.glob('
|
79
|
+
Dir.glob('assets/stylesheets/**/*.scss').each do |file|
|
81
80
|
content = File.read(file)
|
82
81
|
fixed_content = content.gsub('url("#{$roboto-font-path}', 'font-url("#{$roboto-font-path}').gsub('url(\'#{$roboto-font-path}', 'font-url(\'#{$roboto-font-path}')
|
83
82
|
File.open(file, "w") { |f| f.puts fixed_content}
|
84
83
|
end
|
85
84
|
#changes path
|
86
|
-
file = "
|
85
|
+
file = "assets/stylesheets/materialize.scss"
|
87
86
|
content = File.read(file)
|
88
87
|
fixed_content = content.gsub(/components/, 'materialize/components')
|
89
88
|
File.open(file, "w") { |f| f.puts fixed_content}
|
90
89
|
|
91
90
|
|
92
|
-
file = "
|
91
|
+
file = "assets/stylesheets/materialize/components/_variables.scss"
|
93
92
|
content = File.read(file)
|
94
93
|
fixed_content = content.gsub(/..\/fonts\/roboto\//, 'roboto/')
|
95
94
|
File.open(file, "w") { |f| f.puts fixed_content}
|
@@ -101,12 +100,30 @@ namespace :stylesheets do
|
|
101
100
|
task setup: [:clean, :copy, :copy_extras, :fix_urls]
|
102
101
|
end
|
103
102
|
|
103
|
+
namespace :fonts do
|
104
|
+
desc "Cleaning fonts directory"
|
105
|
+
task :clean do
|
106
|
+
rm_rf "assets/fonts"
|
107
|
+
end
|
108
|
+
|
109
|
+
desc "Copy #{source_dir}/dist/fonts/"
|
110
|
+
task :copy do
|
111
|
+
src_dir = "#{source_dir}/dist/fonts/."
|
112
|
+
tgt_dir = "assets/fonts/"
|
113
|
+
mkdir_p tgt_dir
|
114
|
+
cp_r src_dir, tgt_dir
|
115
|
+
end
|
116
|
+
|
117
|
+
desc "Setup fonts assets"
|
118
|
+
task setup: [:clean, :copy]
|
119
|
+
end
|
120
|
+
|
104
121
|
#desc "Remove minified file .min"
|
105
122
|
#task :cleanup do
|
106
|
-
# Dir.glob('
|
123
|
+
# Dir.glob('assets/**/*.min.*').each do |file|
|
107
124
|
# rm file
|
108
125
|
# end
|
109
126
|
#end
|
110
127
|
|
111
128
|
desc "Setup or update assets files"
|
112
|
-
task setup: ["javascripts:setup", "stylesheets:setup"]
|
129
|
+
task setup: ["javascripts:setup", "stylesheets:setup", "fonts:setup"]
|