slurper 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slurper/client.rb +3 -1
- data/lib/slurper/story.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d8c9606d6a4e60047eb18f20e82c1cb297684e7618de50ebe6231af6e507ecc
|
4
|
+
data.tar.gz: 763ab69af3627aa4a6de2a64a183d0472b0bb0ee7c17c207c3fd573fedb057b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10d64486b4dc4d584df565e8be9fcb116132f063e6df4aaa513d0f08885558ab1482fe4887007fbfb4d106e9c4c08889ee93b6f411664ccc2c0f806923f16097
|
7
|
+
data.tar.gz: '0508b34ea35fbc32ff6d62abdfeefd33866bd6a851ce0b565e29fad2bb793c9e3c757b0c531d7f73d8d9be0c62e0344eaaecfed4da97493578c2c76eca60860c'
|
data/lib/slurper/client.rb
CHANGED
@@ -6,7 +6,7 @@ module Slurper
|
|
6
6
|
USERS_URL = "https://www.pivotaltracker.com/services/v5/projects/#{Slurper::Config.project_id}/memberships"
|
7
7
|
|
8
8
|
def self.create(story)
|
9
|
-
RestClient.post(
|
9
|
+
result = RestClient.post(
|
10
10
|
CREATE_STORY_URL,
|
11
11
|
story.to_json,
|
12
12
|
{
|
@@ -14,6 +14,8 @@ module Slurper
|
|
14
14
|
"X-TrackerToken" => Slurper::Config.token
|
15
15
|
}
|
16
16
|
)
|
17
|
+
|
18
|
+
return result
|
17
19
|
end
|
18
20
|
|
19
21
|
def self.users
|
data/lib/slurper/story.rb
CHANGED