middleman-automatic-clowncar 0.0.3 → 0.0.4

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: 1db98172ad4981d3e25b47af2bb7965303a9fea2
4
- data.tar.gz: 927c278f26c6ec397d5c2e7d98817e4707953d86
3
+ metadata.gz: d89dafa2bff458ff5a70f1eba877d3075e4d1309
4
+ data.tar.gz: c20c51ec82da48d292bf55fd3162eeaaad94f695
5
5
  SHA512:
6
- metadata.gz: 69b6c8f1547011bd61f9d82348dbe001655c6ba1ad87fb71b34f5246ba0d29d61ac207f18bcfae4bf27417db0ca3298ecdb9f82dcd304aa06deb9ea5b48be86d
7
- data.tar.gz: 61a32cf7d0528c64590e8c3159d94f87420cf94b909f9cabf45890f74e0534cdb43826564d4b1ab90224c64a4a1fc985bf111ce6f7e9cc813ba5288dad87f608
6
+ metadata.gz: c33018469c8c46fb6896bada8868784cefca57b96380d4b95b7ecda9608496e67bc350d2a5f2c32de9ff5d50a7fd236849558b7de9edc837d45da713bb551d8e
7
+ data.tar.gz: 0d1f00b7dbd72fb91a77b72c7e37124faa47e711cdc3e9cab41e410c0f547749bf1fe37d31b8e5bbac88b12c4f42b2d85c348cd5dd52492634b09045e3635348
data/README.md CHANGED
@@ -69,6 +69,34 @@ responsive image.
69
69
  directory. Middleman automatically does some things with `images`
70
70
  that interfere with the operation of `middleman-automatic-clowncar`.
71
71
 
72
+ ### Setting the host
73
+
74
+ Background images in SVG require a full absolute path with host. You
75
+ have two options for setting this.
76
+
77
+ 1. You can set the `:host` option in the call to `automatic_clowncar_tag`.
78
+
79
+ ```
80
+ <%= automatic_clowncar_tag 'photos/my-photo.jpg', :host => 'http://localhost:4567' %>
81
+ ```
82
+
83
+ 2. You can set the `:asset_host` configuration variable in `config.rb`.
84
+
85
+ ```
86
+ activate :asset_host
87
+ set :asset_host, 'http://localhost:4567'
88
+ ```
89
+
90
+ Then you'll probably need a different host for your deployed site, so
91
+ you can change the `:asset_host` variable for your build.
92
+
93
+ ```
94
+ configure :build do
95
+ set :asset_host, 'http://www.octolabs.com'
96
+ end
97
+ ```
98
+
99
+
72
100
 
73
101
  ## Contributing
74
102
 
@@ -1,3 +1,3 @@
1
1
  module MiddlemanAutomaticClowncar
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  # These are here to make sure that we don't have any collisions with sprockets
27
27
  spec.add_dependency "middleman-sprockets", "> 3.2.0"
28
- spec.add_dependency "sass", "~> 3.2.14"
28
+ spec.add_dependency "sass", "~> 3.4.0"
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 1.5"
31
31
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-automatic-clowncar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-07 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.2.14
75
+ version: 3.4.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 3.2.14
82
+ version: 3.4.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement