waz-sync 0.0.3.2 → 0.0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/waz_sync.rb +1 -1
  3. data/waz-sync.gemspec +1 -1
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -46,7 +46,7 @@ Then you can use the rake task
46
46
  By default it does sync your images, javascripts and stylesheets folders, but you can specify which folder to sync
47
47
  rake waz:sync folders=images,foo,bar
48
48
 
49
- === capistrano recipe
49
+ === Capistrano recipe
50
50
 
51
51
  If you use capistrano to deploy you app it's a good idea to sync you assets during each deploy.
52
52
  Add this line to your deploy.rb
data/lib/waz_sync.rb CHANGED
@@ -21,7 +21,7 @@ class WazSync
21
21
  obj = container[filename] rescue nil
22
22
 
23
23
  if !obj || (obj.railsetag != Digest::MD5.hexdigest(File.read(file)))
24
- logger.info("Create / Updating : #{filename}")
24
+ Rails.logger.info("Create / Updating : #{filename}")
25
25
  content_type = MIME::Types.type_for(file).to_s.blank? ? "text/plain" : MIME::Types.type_for(file).to_s
26
26
  container.store(filename, File.read(file), content_type) rescue 'error'
27
27
  end
data/waz-sync.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = 'waz-sync'
4
- gem.version = '0.0.3.2'
4
+ gem.version = '0.0.3.3'
5
5
  gem.date = '2012-04-20'
6
6
  gem.description = %q{A simple client library aim to sync assets to Windows Azure CDN, using a modified version of the great waz-storage gem}
7
7
  gem.summary = %q{Client library for Syncing assets to Windows Azure CDN}
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.0.3.2
9
+ - 3
10
+ version: 0.0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guillaume MONTARD