rally_api 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rally_api/rally_rest_json.rb +2 -2
- data/lib/rally_api/version.rb +1 -1
- metadata +4 -4
@@ -134,7 +134,7 @@ module RallyAPI
|
|
134
134
|
end
|
135
135
|
|
136
136
|
|
137
|
-
def create(type, fields)
|
137
|
+
def create(type, fields, params = {})
|
138
138
|
type = check_type(type)
|
139
139
|
if (fields["Workspace"].nil? && fields["Project"].nil?)
|
140
140
|
fields["Workspace"] = @rally_default_workspace._ref unless @rally_default_workspace.nil?
|
@@ -143,7 +143,7 @@ module RallyAPI
|
|
143
143
|
|
144
144
|
ws_ref = fields["Workspace"]
|
145
145
|
ws_ref = ws_ref["_ref"] unless ws_ref.class == String || ws_ref.nil?
|
146
|
-
params
|
146
|
+
params[:workspace] = ws_ref
|
147
147
|
|
148
148
|
fields = RallyAPI::RallyRestJson.fix_case(fields) if @rally_rest_api_compat
|
149
149
|
object2create = { type => make_ref_fields(fields) }
|
data/lib/rally_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rally_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-22 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httpclient
|
16
|
-
requirement: &
|
16
|
+
requirement: &70310939122360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.2.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70310939122360
|
25
25
|
description: API wrapper for Rally's JSON REST web services api
|
26
26
|
email:
|
27
27
|
- dsmith@rallydev.com
|