web_assets 0.0.4 → 0.0.5

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: 86f6e11ff8d37590421286122c253206c08a6109
4
- data.tar.gz: 550279a2af50f36629a68b2617470950203eff89
3
+ metadata.gz: 8c5be7fbda862c5d57dc111e26b961567c16bc06
4
+ data.tar.gz: 69149cca161bd5ff8e9eda3b17a246601d00e1bc
5
5
  SHA512:
6
- metadata.gz: ac8aa27d7f17ea4751001c0b792207b1b97c035350afd31554b1fc553a9ec47c7e20e4344224ea17a032ffeb13122eced09c4fdb5957dffaccf0dd461945574e
7
- data.tar.gz: 6e0e07709c222f796f007cc62f9500def83cd4659c00dcfe81aa0334b0303c2846d2e1f881df532afd3e3c08c6731f6e0624919fb5e02fd22ee3cece65f79561
6
+ metadata.gz: 0ceb6ab14f7532929db35751d8ae462ae64ae250cf27d7760922d47a855bab434a05fd321fe7ededc4304f59b60f58470968068831bda86a1970f88981ab35b6
7
+ data.tar.gz: 87cf7ed11aefd06dcc06f461eae392742226bbf00d5d6bb57b58164056353b864e5004e9da9d83bfdc107adfbcff526a184d71fdc3c797af9da8118a713734fb
@@ -54,7 +54,7 @@ module WebAssets
54
54
  reply request, [:filename, name]
55
55
  end
56
56
 
57
- request.when [:script_content, Array] do |filename, options|
57
+ request.when [:script_content, Array] do |(filename, options)|
58
58
  WebAssets.logger.debug "ClientInterface#process: script_content = #{filename.inspect}, #{options.inspect}"
59
59
  content = api.script_content(filename, Hash[options])
60
60
  reply request, [:content, content]
@@ -66,7 +66,7 @@ module WebAssets
66
66
  reply request, [:filename, name]
67
67
  end
68
68
 
69
- request.when [:stylesheet_content, Array] do |filename, options|
69
+ request.when [:stylesheet_content, Array] do |(filename, options)|
70
70
  WebAssets.logger.debug "ClientInterface#process: stylesheet_content = #{filename.inspect}, #{options.inspect}"
71
71
  content = api.stylesheet_content(filename, Hash[options])
72
72
  reply request, [:content, content]
@@ -76,7 +76,7 @@ module WebAssets
76
76
  end
77
77
 
78
78
  def reply request, response
79
- WebAssets.logger.debug "ClientInterface#reply: #send! #{response.inspect}"
79
+ WebAssets.logger.debug "ClientInterface#reply: #send!"
80
80
  request.send! response
81
81
  request.receive_loop
82
82
  end
@@ -36,7 +36,7 @@ module WebAssets
36
36
 
37
37
  def content filename, options
38
38
  filepath = full_path filename.sub(RE_EXTENSION, '')
39
- WebAssets.logger.debug "StylesheetProcessor#content #{path.inspect}"
39
+ WebAssets.logger.debug "StylesheetProcessor#content #{filepath.inspect}"
40
40
  content = case
41
41
  when File.exists?("#{filepath}.css")
42
42
  WebAssets.logger.debug "StylesheetProcessor#content: File.read"
@@ -1,3 +1,3 @@
1
1
  module WebAssets
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathieu Lajugie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass