asset 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +9 -3
- data/asset.gemspec +1 -1
- data/lib/asset.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6ee8f223a33a0b57d92f6f666dcf28a4fb1363f
|
4
|
+
data.tar.gz: 25db355089625598c210b8d16d1500cb8b26cb96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e4304ed4eac14a5db1d629d3900f2dd71d8f809b93794c21c375d62176993b03c0e0fe76a1334ec3e144b947dc725824ee0fe25a83077dcb89f92b5a78a5632
|
7
|
+
data.tar.gz: aefbaa827599e186c4fcd71d8d14194e7796773872b73bbcaaee0e735f3f184f08e4e11d8f7f11a94a1eed87c224a2d9be482667f5145a82d7eb34c7910d0223
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -21,13 +21,13 @@ helpers Asset::Router
|
|
21
21
|
|
22
22
|
### Settings
|
23
23
|
```ruby
|
24
|
-
# Default is
|
25
|
-
@mode = ENV['RACK_ENV'] || '
|
24
|
+
# Default is production
|
25
|
+
@mode = ENV['RACK_ENV'] || 'production'
|
26
26
|
|
27
27
|
# Where your assets live
|
28
28
|
@path = File.join(Dir.pwd, 'app', 'assets')
|
29
29
|
|
30
|
-
# Where to write the cache, default to
|
30
|
+
# Where to write the cache, default to ./tmp
|
31
31
|
@cache = File.join(Dir.pwd, 'tmp')
|
32
32
|
|
33
33
|
# Automatically bounce (404) for browser /favicon.ico requests
|
@@ -36,6 +36,12 @@ helpers Asset::Router
|
|
36
36
|
# Send /robots.txt to a standard robots txt with reference to /sitemap.xml
|
37
37
|
@robots = true
|
38
38
|
|
39
|
+
# Reload the assets on change in development mode
|
40
|
+
@listener = true
|
41
|
+
|
42
|
+
# Follow symlinks in assets
|
43
|
+
@symlinks = true
|
44
|
+
|
39
45
|
# Debug option
|
40
46
|
@debug = false
|
41
47
|
```
|
data/asset.gemspec
CHANGED
data/lib/asset.rb
CHANGED
@@ -28,11 +28,11 @@ module Asset
|
|
28
28
|
# Send /robots.txt to a standard robots txt with reference to /sitemap.xml
|
29
29
|
@robots = true
|
30
30
|
|
31
|
-
#
|
31
|
+
# Reload the assets on change in development mode
|
32
32
|
@listener = true
|
33
33
|
|
34
34
|
# Follow symlinks in assets
|
35
|
-
@symlinks =
|
35
|
+
@symlinks = true
|
36
36
|
|
37
37
|
# Debug option
|
38
38
|
@debug = false
|