html_mockup 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Version 0.7.3
4
+ * Set a sensible `load_path` for sass in release mode (defaults to `build_path + "stylesheets"`)
5
+ * Also automatically require the rsync finalizers
6
+
3
7
  ## Version 0.7.2
4
8
  * Add zip finalizers
5
9
  * Instead of complaining about existing build path, just clean it up
data/html_mockup.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "html_mockup"
5
- s.version = "0.7.2"
5
+ s.version = "0.7.3"
6
6
 
7
7
  s.authors = ["Flurin Egger", "Edwin van der Graaf"]
8
8
  s.email = ["info@digitpaint.nl", "flurin@digitpaint.nl"]
@@ -14,4 +14,5 @@ end
14
14
 
15
15
  require File.dirname(__FILE__) + "/finalizers/zip"
16
16
  require File.dirname(__FILE__) + "/finalizers/dir"
17
+ require File.dirname(__FILE__) + "/finalizers/rsync"
17
18
 
@@ -17,6 +17,14 @@ module HtmlMockup::Release::Processors
17
17
  match = options.delete(:match)
18
18
  skip = options.delete(:skip)
19
19
 
20
+ unless options.has_key?(:load_paths)
21
+ if ::Sass::Plugin.options[:template_location].kind_of?(Hash)
22
+ options[:load_paths] = ::Sass::Plugin.template_location_array.map{|k,v| k }
23
+ else
24
+ options[:load_paths] = [(release.build_path + "stylesheets").to_s]
25
+ end
26
+ end
27
+
20
28
  # Sassify SCSS files
21
29
  files = release.get_files(match)
22
30
  files.each do |f|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_mockup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-11 00:00:00.000000000 Z
13
+ date: 2013-02-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
17
- requirement: &70143904951280 !ruby/object:Gem::Requirement
17
+ requirement: &70152738374760 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.16.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70143904951280
25
+ version_requirements: *70152738374760
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rack
28
- requirement: &70143904943300 !ruby/object:Gem::Requirement
28
+ requirement: &70152738373760 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70143904943300
36
+ version_requirements: *70152738373760
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: tilt
39
- requirement: &70143904942120 !ruby/object:Gem::Requirement
39
+ requirement: &70152738372620 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70143904942120
47
+ version_requirements: *70152738372620
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: hpricot
50
- requirement: &70143904941420 !ruby/object:Gem::Requirement
50
+ requirement: &70152738371820 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: 0.6.4
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70143904941420
58
+ version_requirements: *70152738371820
59
59
  description:
60
60
  email:
61
61
  - info@digitpaint.nl