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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97797bb9b02ffca18a74539c99311a5e340428cb
4
- data.tar.gz: fbca1ddac3acb66ee358d6eca68aa48f3928fbf1
3
+ metadata.gz: f6ee8f223a33a0b57d92f6f666dcf28a4fb1363f
4
+ data.tar.gz: 25db355089625598c210b8d16d1500cb8b26cb96
5
5
  SHA512:
6
- metadata.gz: 54f28fa505aea145ffddec9353083f98c6a68eb16330e67ebed7747faafa684a846dc60d4df6240af3becaf77cc61dc3f631f7b3d3b09a2c2dbc866b259ff621
7
- data.tar.gz: f105cdbb7c3d3db7643768ac4fe6059ae86667837fd532e9491d81ea0bdb7823c0adc52bbdc44dbad1471a9bc5a07ecee6b4ccbe41ed6a18698fd8ae4ec4b8c4
6
+ metadata.gz: 0e4304ed4eac14a5db1d629d3900f2dd71d8f809b93794c21c375d62176993b03c0e0fe76a1334ec3e144b947dc725824ee0fe25a83077dcb89f92b5a78a5632
7
+ data.tar.gz: aefbaa827599e186c4fcd71d8d14194e7796773872b73bbcaaee0e735f3f184f08e4e11d8f7f11a94a1eed87c224a2d9be482667f5145a82d7eb34c7910d0223
@@ -1,3 +1,11 @@
1
+ **Version 0.2.2** - *2017-06-12*
2
+
3
+ - Follow symlinks is default
4
+
5
+ **Version 0.2.1** - *2017-06-12*
6
+
7
+ - Added support for symlinks in assets
8
+
1
9
  **Version 0.2.0** - *2017-02-01*
2
10
 
3
11
  - Using atomic_write, adding activesupport as dependency
data/README.md CHANGED
@@ -21,13 +21,13 @@ helpers Asset::Router
21
21
 
22
22
  ### Settings
23
23
  ```ruby
24
- # Default is development
25
- @mode = ENV['RACK_ENV'] || 'development'
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 APP_ROOT/tmp
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
  ```
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'asset'
3
- s.version = '0.2.1'
3
+ s.version = '0.2.2'
4
4
  s.date = '2017-06-12'
5
5
  s.summary = "Compress and serve your CSS and JS assets automatically"
6
6
  s.description = "The only thing you need for your assets."
@@ -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
- # Reset the assets on change in development mode
31
+ # Reload the assets on change in development mode
32
32
  @listener = true
33
33
 
34
34
  # Follow symlinks in assets
35
- @symlinks = false
35
+ @symlinks = true
36
36
 
37
37
  # Debug option
38
38
  @debug = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited