rallytastic 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/project.rb +3 -1
- data/lib/rallytastic.rb +1 -1
- data/rallytastic.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.8
|
data/lib/project.rb
CHANGED
@@ -35,10 +35,12 @@ class Project
|
|
35
35
|
|
36
36
|
#must be called after refresh, or with has_values passed in
|
37
37
|
def associate hash_values=nil
|
38
|
-
@rally_hash = hash_values
|
38
|
+
@rally_hash = hash_values || RallyAPI.get(self)
|
39
39
|
#TODO: associate with user when users are supported
|
40
40
|
if @rally_hash["Parent"]
|
41
41
|
parent = Project.find_or_create_by(:rally_uri => @rally_hash["Parent"]["_ref"])
|
42
|
+
parent.children << self
|
43
|
+
parent.save
|
42
44
|
self.parent = parent
|
43
45
|
end
|
44
46
|
self.save
|
data/lib/rallytastic.rb
CHANGED
data/rallytastic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rallytastic}
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Clark"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-16}
|
13
13
|
s.description = %q{longer description of your gem}
|
14
14
|
s.email = %q{winescout@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 8
|
9
|
+
version: 1.2.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Matt Clark
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-16 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
160
|
requirements:
|
161
161
|
- - ">="
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
hash:
|
163
|
+
hash: 898372091665900069
|
164
164
|
segments:
|
165
165
|
- 0
|
166
166
|
version: "0"
|