pivotal_sync 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,13 +44,11 @@ module PivotalSync
44
44
  has_many :integrations, Integration
45
45
 
46
46
  def iterations
47
- @iterations ||= {}
48
- @iterations[id] ||= Iteration.all(id)
47
+ Iteration.all(id)
49
48
  end
50
49
 
51
50
  def stories
52
- @stories ||= {}
53
- @stories[id] ||= iterations.map { |i| i.stories }.flatten
51
+ iterations.map { |i| i.stories }.flatten
54
52
  end
55
53
 
56
54
  end
@@ -40,13 +40,11 @@ module PivotalSync
40
40
  end
41
41
 
42
42
  def comments
43
- @comments ||= {}
44
- @comments[id] ||= Comment.all(project_id, id)
43
+ Comment.all(project_id, id)
45
44
  end
46
45
 
47
46
  def tasks
48
- @tasks ||= {}
49
- @tasks[id] ||= Task.all(project_id, id)
47
+ Task.all(project_id, id)
50
48
  end
51
49
 
52
50
  end
@@ -1,3 +1,3 @@
1
1
  module PivotalSync
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: