middleman-sync 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -10,7 +10,7 @@ The after_build hook is `false` by default, to allow for a more 'opt-in' extensi
10
10
 
11
11
  If you already have a Middleman project:
12
12
 
13
- Add `gem "middleman-sync", "~> 3.0.0"` to your `Gemfile` then open up your `config.rb` and add:
13
+ Add `gem "middleman-sync", "~> 3.0.4"` to your `Gemfile` then open up your `config.rb` and add:
14
14
 
15
15
  ### AWS
16
16
 
@@ -21,8 +21,8 @@ module Middleman
21
21
 
22
22
  shared_inst = ::Middleman::Application.server.inst
23
23
 
24
- after_build = shared_inst.options.after_build
25
- if (!after_build)
24
+ fog_provider = shared_inst.options.fog_provider
25
+ if (!fog_provider)
26
26
  raise Thor::Error.new "You need to activate the sync extension in config.rb"
27
27
  end
28
28
 
@@ -25,7 +25,7 @@ module Middleman
25
25
 
26
26
  app.after_configuration do
27
27
 
28
- options.after_build ||= false
28
+ options.after_build ||= true
29
29
  options.prefix = "**"
30
30
  options.public_path = build_dir
31
31
 
@@ -1,7 +1,7 @@
1
1
  module Middleman
2
2
 
3
3
  module Sync
4
- VERSION = "3.0.4"
4
+ VERSION = "3.0.5"
5
5
  end
6
6
 
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
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-15 00:00:00.000000000 Z
12
+ date: 2012-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core
@@ -74,18 +74,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  - - ! '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
- segments:
78
- - 0
79
- hash: 4555721958482037397
80
77
  required_rubygems_version: !ruby/object:Gem::Requirement
81
78
  none: false
82
79
  requirements:
83
80
  - - ! '>='
84
81
  - !ruby/object:Gem::Version
85
82
  version: '0'
86
- segments:
87
- - 0
88
- hash: 4555721958482037397
89
83
  requirements: []
90
84
  rubyforge_project: middleman-sync
91
85
  rubygems_version: 1.8.23