spar 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -196,7 +196,7 @@ Spar supports three different deployment methods out of the box:
196
196
  To deploy your app, run:
197
197
 
198
198
  ```bash
199
- spar deploy poduction
199
+ spar deploy production
200
200
  ```
201
201
 
202
202
  You can pass any environment name to the deploy command, typically `staging` or `production`.
data/lib/spar.rb CHANGED
@@ -79,6 +79,9 @@ module Spar
79
79
  HamlCoffeeAssets.config.namespace = "window.HAML"
80
80
  HamlCoffeeAssets.config.escapeHtml = false
81
81
 
82
+ Compass.configuration.project_path = "app"
83
+ Compass.configuration.images_path = "app/images"
84
+
82
85
  if settings['compress']
83
86
  env.js_compressor = Compressor::JS.new
84
87
  env.css_compressor = Compressor::CSS.new
@@ -61,6 +61,7 @@ class S3Deployer < Spar::Deployer
61
61
  else
62
62
  @bucket.objects[asset.write_path].write(asset.headers.merge(:data => asset.data))
63
63
  end
64
+ logger "Uploaded #{file} to S3"
64
65
  end
65
66
 
66
67
  def finish
data/lib/spar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spar
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-27 00:00:00.000000000 Z
12
+ date: 2012-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber