teambox-things-sync 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -58,7 +58,7 @@ module TeamboxThingsSync
58
58
 
59
59
  # update tasks marked as done in Things
60
60
  def mark_as_done_at_remote(project)
61
- @client.tasks.each do |task|
61
+ @client.project_tasks(project.permalink).each do |task|
62
62
  things_todo = Things::Todo.find(task.name)
63
63
 
64
64
  #TODO: clean it up
@@ -80,7 +80,7 @@ module TeamboxThingsSync
80
80
  task_list_cache = Cache::TaskListCache.new(@client,
81
81
  {:project_permalink => project.permalink})
82
82
  @user_name_cache = Cache::UserNameCache.new(@client)
83
- @client.tasks.each do |task|
83
+ @client.project_tasks(project.permalink).each do |task|
84
84
  # grab only tasks assigned to current user
85
85
  if task.assigned_id == person_id
86
86
  things_todo = Base.find_or_create_todo_in_things(task.name)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{teambox-things-sync}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Arkadiusz Holko"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Arkadiusz Holko