towsta 0.3.10 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/towsta/version.rb +1 -1
  2. data/lib/towsta.rb +3 -0
  3. metadata +4 -4
@@ -1,3 +1,3 @@
1
1
  module Towsta
2
- VERSION = "0.3.10"
2
+ VERSION = "0.4.0"
3
3
  end
data/lib/towsta.rb CHANGED
@@ -6,5 +6,8 @@ module Towsta
6
6
  end
7
7
 
8
8
  def sync_with_towsta params=nil
9
+ params ||= {} if $towsta_sync
10
+ $towsta_sync ||= {}
11
+ params = $towsta_sync.merge(params) if params
9
12
  Towsta::Synchronizer.new :secret => $towsta_secret, :path => $towsta_path, :params => params
10
13
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 10
9
- version: 0.3.10
7
+ - 4
8
+ - 0
9
+ version: 0.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mortaro
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-05-10 00:00:00 -03:00
17
+ date: 2011-06-24 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency