middleman-sync 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,7 +8,7 @@ Middleman-Sync is a [Middleman](https://github.com/middleman/middleman) extensio
8
8
 
9
9
  If you already have a Middleman project:
10
10
 
11
- Add `gem "middleman-sync", "~> 3.0.7"` to your `Gemfile` then open up your `config.rb` and add:
11
+ Add `gem "middleman-sync", "~> 3.0.8"` to your `Gemfile` then open up your `config.rb` and add:
12
12
 
13
13
  ### AWS
14
14
 
@@ -21,7 +21,7 @@ module Middleman
21
21
 
22
22
  shared_inst = ::Middleman::Application.server.inst
23
23
 
24
- if (!shared_inst.respond_to?('options') || !shared_inst.options.fog_provider)
24
+ if (!shared_inst.respond_to?('sync_options') || !shared_inst.sync_options.fog_provider)
25
25
  raise Thor::Error.new "You need to activate the sync extension in config.rb"
26
26
  end
27
27
 
@@ -9,7 +9,7 @@ module Middleman
9
9
  class << self
10
10
 
11
11
  def options
12
- @@options
12
+ @@sync_options
13
13
  end
14
14
 
15
15
  def registered(app, options_hash={}, &block)
@@ -18,8 +18,8 @@ module Middleman
18
18
 
19
19
  options = Options.new(options_hash)
20
20
  yield options if block_given?
21
-
22
- @@options = options
21
+
22
+ @@sync_options = options
23
23
 
24
24
  app.send :include, Helpers
25
25
 
@@ -59,8 +59,8 @@ module Middleman
59
59
  end
60
60
 
61
61
  module Helpers
62
-
63
- def options
62
+
63
+ def sync_options
64
64
  ::Middleman::Sync.options
65
65
  end
66
66
 
@@ -1,7 +1,7 @@
1
1
  module Middleman
2
2
 
3
3
  module Sync
4
- VERSION = "3.0.8"
4
+ VERSION = "3.0.9"
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.8
4
+ version: 3.0.9
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: 2013-01-16 00:00:00.000000000 Z
12
+ date: 2013-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core