cartomodel 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: def3abed8f01159d97c5a7b1db53e41928c59a36
4
- data.tar.gz: 128b0d8c6ed6bd34c91322d44a428855b1d8f090
3
+ metadata.gz: 8f8c3d48364cf34824e9eb9dcca3c1d431dfb6f2
4
+ data.tar.gz: 6f08009c3c1796322774ef5f6ee5e134c81076b4
5
5
  SHA512:
6
- metadata.gz: ab911b7e60230402d01e33000b2d365d92bf882be676e982bfa5f6aa616abe5414ef32e82d642a82db3180b9ea96ec9191456a507b98462fc63e3d1211815a29
7
- data.tar.gz: 8cc73daab626fe6b3bc2fe500efc2357915c0dfd1c352165709d672ace31bba262e1b4ae7a639e44abeab493068fcb9235c5d19903f2568c21978d22121f9fb4
6
+ metadata.gz: 418759be6ecb9f4af6d6860cf4af545547729d96e564749dcc026445fc16e8468cbb1c97c457b88791176348a948140310f69fc0feb699579dfb243240bfd5ea
7
+ data.tar.gz: ec302cc856f99891adeeb2c07334b10f4116ada966561a31ec9a48e535f7128370fd7b6940fa0014d222774b1400a20e1d9d7fd833a40ffa8a31f279c1ec56d2
@@ -1,3 +1,3 @@
1
1
  module Cartomodel
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/tasks/sync.rake ADDED
@@ -0,0 +1,9 @@
1
+ require 'active_record'
2
+ require 'cartomodel/synchronizer'
3
+
4
+ namespace :cartomodel do
5
+ desc "Sync CartoDB local entities to server"
6
+ task :sync do
7
+ Cartomodel::Synchronizer.sync_all
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartomodel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Garcia
@@ -137,6 +137,7 @@ files:
137
137
  - lib/cartomodel/query_generator.rb
138
138
  - lib/cartomodel/synchronizer.rb
139
139
  - lib/cartomodel/version.rb
140
+ - tasks/sync.rake
140
141
  homepage: http://vizzuality.com
141
142
  licenses:
142
143
  - MIT