go_api_client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/go_api_client/atom/feed.rb +2 -1
- data/lib/go_api_client/version.rb +1 -1
- data/test/go_api_client/integration_test.rb +1 -0
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -54,7 +54,7 @@ module GoApiClient
|
|
54
54
|
end
|
55
55
|
|
56
56
|
class Pipeline
|
57
|
-
attr_reader :details_link, :id
|
57
|
+
attr_reader :details_link, :id, :commit_messages
|
58
58
|
attr_accessor :stages
|
59
59
|
|
60
60
|
def initialize(details_link)
|
@@ -66,6 +66,7 @@ module GoApiClient
|
|
66
66
|
doc = Nokogiri::XML(open(self.details_link))
|
67
67
|
@label = doc.root.attributes["label"].value
|
68
68
|
@id = doc.root.xpath("//id").first.content
|
69
|
+
@commit_messages = doc.root.xpath("//message").map(&:content)
|
69
70
|
self
|
70
71
|
end
|
71
72
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-24 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &70178996118820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70178996118820
|
25
25
|
description: This gem parses atom feed generated by the Go Continuous Integration
|
26
26
|
server and provides an OO representation of the pipelines and stages.
|
27
27
|
email:
|