teamcity-ruby-client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +18 -0
  3. data/.rvmrc +48 -0
  4. data/CHANGELOG.md +7 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +153 -0
  8. data/Rakefile +16 -0
  9. data/lib/faraday/null_response_body.rb +17 -0
  10. data/lib/teamcity/api.rb +19 -0
  11. data/lib/teamcity/client/build_types.rb +93 -0
  12. data/lib/teamcity/client/builds.rb +36 -0
  13. data/lib/teamcity/client/common.rb +24 -0
  14. data/lib/teamcity/client/projects.rb +46 -0
  15. data/lib/teamcity/client.rb +14 -0
  16. data/lib/teamcity/configuration.rb +47 -0
  17. data/lib/teamcity/connection.rb +27 -0
  18. data/lib/teamcity/request.rb +40 -0
  19. data/lib/teamcity/version.rb +3 -0
  20. data/lib/teamcity.rb +24 -0
  21. data/spec/cassettes/BuildTypes/GET/_buildtype/should_fetch_the_details_of_a_buildtype_by_id.yml +49 -0
  22. data/spec/cassettes/BuildTypes/GET/_buildtype/should_raise_an_error_if_the_buildtype_does_not_exist.yml +50 -0
  23. data/spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_fetch_the_build_configuration_agent_requirements_for_a_buildtype.yml +44 -0
  24. data/spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_an_array.yml +44 -0
  25. data/spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_nil_if_there_are_no_agent_requirements_defined.yml +44 -0
  26. data/spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_fetch_the_build_configuration_artifact_dependencies_for_a_buildtype.yml +44 -0
  27. data/spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_an_array.yml +44 -0
  28. data/spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_nil_if_there_are_no_artifact_dependencies_defined.yml +44 -0
  29. data/spec/cassettes/BuildTypes/GET/_buildtype_features/should_fetch_the_build_configuration_features_for_a_buildtype.yml +44 -0
  30. data/spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_an_array.yml +44 -0
  31. data/spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_nil_if_there_are_no_features_defined.yml +44 -0
  32. data/spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_fetch_the_build_configuration_parameters_for_a_buildtype.yml +44 -0
  33. data/spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_an_array.yml +44 -0
  34. data/spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_nil_if_there_are_no_parameters_defined.yml +44 -0
  35. data/spec/cassettes/BuildTypes/GET/_buildtype_settings/should_fetch_the_settings_for_a_given_buildtype.yml +44 -0
  36. data/spec/cassettes/BuildTypes/GET/_buildtype_settings/should_return_an_array.yml +44 -0
  37. data/spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_fetch_the_build_configuration_snapshot_dependencies_for_a_buildtype.yml +44 -0
  38. data/spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_an_array.yml +44 -0
  39. data/spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_nil_if_there_are_no_snapshot_dependencies_defined.yml +44 -0
  40. data/spec/cassettes/BuildTypes/GET/_buildtype_steps/should_fetch_the_build_configuration_steps_for_a_buildtype.yml +46 -0
  41. data/spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_an_array.yml +46 -0
  42. data/spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_nil_if_there_are_no_steps_defined.yml +44 -0
  43. data/spec/cassettes/BuildTypes/GET/_buildtype_template/should_raise_an_exception_if_the_response_is_not_due_to_a_template_not_assigned.yml +50 -0
  44. data/spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_nil_if_the_buildtype_is_not_associated_with_a_template.yml +50 -0
  45. data/spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_the_attributes_of_the_associated_template.yml +45 -0
  46. data/spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_fetch_the_build_configuration_triggers_for_a_buildtype.yml +44 -0
  47. data/spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_an_array.yml +44 -0
  48. data/spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_nil_if_there_are_no_triggers_defined.yml +44 -0
  49. data/spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_fetch_the_build_configuration_vcs_root_entries_for_a_buildtype.yml +45 -0
  50. data/spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_an_array.yml +45 -0
  51. data/spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_nil_if_there_are_no_vcs_root_entries_defined.yml +44 -0
  52. data/spec/cassettes/BuildTypes/GET/_buildtypes/should_fetch_all_the_buildtypes.yml +49 -0
  53. data/spec/cassettes/Builds/GET/_build/should_fetch_the_build_details.yml +49 -0
  54. data/spec/cassettes/Builds/GET/_build/should_raise_an_error_if_the_build_does_not_exist.yml +50 -0
  55. data/spec/cassettes/Builds/GET/_build_tags/should_fetch_the_build_tags.yml +44 -0
  56. data/spec/cassettes/Builds/GET/_build_tags/should_return_nil_if_there_are_no_build_tags_defined_for_a_build.yml +44 -0
  57. data/spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_by_multiple_build_locators.yml +44 -0
  58. data/spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_results_by_build_locators.yml +44 -0
  59. data/spec/cassettes/Builds/GET/_builds/should_allow_you_to_search_by_locator.yml +44 -0
  60. data/spec/cassettes/Builds/GET/_builds/should_fetch_all_the_builds.yml +44 -0
  61. data/spec/cassettes/Projects/GET/_project/should_fetch_a_single_project_by_id.yml +47 -0
  62. data/spec/cassettes/Projects/GET/_project/should_raise_an_error_if_the_project_does_not_exist.yml +50 -0
  63. data/spec/cassettes/Projects/GET/_project_buildtypes/should_fetch_all_the_buildTypes_for_a_project.yml +45 -0
  64. data/spec/cassettes/Projects/GET/_project_buildtypes/should_return_nil_if_the_project_does_not_have_any_build_build_types.yml +44 -0
  65. data/spec/cassettes/Projects/GET/_project_parameters/should_fetch_all_the_paramters_for_a_given_project.yml +44 -0
  66. data/spec/cassettes/Projects/GET/_project_parameters/should_return_nil_if_there_are_no_parameters_defined_for_a_project.yml +44 -0
  67. data/spec/cassettes/Projects/GET/_projects/should_fetch_projects.yml +46 -0
  68. data/spec/cassettes/Projects/GET/_projects/should_return_nil_if_there_are_no_projects.yml +44 -0
  69. data/spec/faraday/null_response_body_spec.rb +18 -0
  70. data/spec/spec_helper.rb +13 -0
  71. data/spec/support/vcr_setup.rb +9 -0
  72. data/spec/teamcity/api_spec.rb +63 -0
  73. data/spec/teamcity/client/builds_spec.rb +62 -0
  74. data/spec/teamcity/client/buildtypes_spec.rb +106 -0
  75. data/spec/teamcity/client/projects_spec.rb +82 -0
  76. data/spec/teamcity/client_spec.rb +10 -0
  77. data/spec/teamcity/version_spec.rb +7 -0
  78. data/spec/teamcity_spec.rb +90 -0
  79. data/teamcity-ruby-client.gemspec +32 -0
  80. metadata +334 -0
@@ -0,0 +1,90 @@
1
+ require "spec_helper.rb"
2
+
3
+ describe TeamCity do
4
+ after do
5
+ TeamCity.reset
6
+ end
7
+
8
+ context "when delegating to a client" do
9
+ before(:each) do
10
+ @url = "#{TeamCity::Configuration::DEFAULT_ENDPOINT}projects/id:project1"
11
+ stub_request(:get, @url).to_return(:body => "", :headers => {:content_type => "application/json; charset=utf-8"})
12
+ end
13
+
14
+ it "should get the correct resource" do
15
+ VCR.turned_off do
16
+ TeamCity.project(id: "project1")
17
+ a_request(:get, @url).should have_been_made
18
+ end
19
+ end
20
+ end
21
+
22
+ describe ".client" do
23
+ it "should be a TeamCity::Client" do
24
+ TeamCity.client.should be_a TeamCity::Client
25
+ end
26
+ end
27
+
28
+ describe ".adapter" do
29
+ it "should return the default adapter" do
30
+ TeamCity.adapter.should == TeamCity::Configuration::DEFAULT_ADAPTER
31
+ end
32
+ end
33
+
34
+ describe ".adapter=" do
35
+ it "should set the adapter" do
36
+ TeamCity.adapter = :faraday
37
+ TeamCity.adapter.should == :faraday
38
+ end
39
+ end
40
+
41
+ describe ".endpoint" do
42
+ it "should return the default endpoint" do
43
+ TeamCity.endpoint.should == TeamCity::Configuration::DEFAULT_ENDPOINT
44
+ end
45
+ end
46
+
47
+ describe ".endpoint=" do
48
+ it "should set the endpoint" do
49
+ TeamCity.endpoint = "http://teamcity.mydomain.net:8111"
50
+ TeamCity.endpoint.should == "http://teamcity.mydomain.net:8111"
51
+ end
52
+ end
53
+
54
+ describe ".format" do
55
+ it "should return the default format" do
56
+ TeamCity.format.should == TeamCity::Configuration::DEFAULT_FORMAT
57
+ end
58
+ end
59
+
60
+ describe ".format=" do
61
+ it "should set the format" do
62
+ TeamCity.format = :xml
63
+ TeamCity.format.should == :xml
64
+ end
65
+ end
66
+
67
+ describe ".user_agent" do
68
+ it "should return the default user agent" do
69
+ TeamCity.user_agent.should == TeamCity::Configuration::DEFAULT_USER_AGENT
70
+ end
71
+ end
72
+
73
+ describe ".user_agent=" do
74
+ it "should set the user_agent" do
75
+ TeamCity.user_agent = "My User Agent"
76
+ TeamCity.user_agent.should == "My User Agent"
77
+ end
78
+ end
79
+
80
+ describe ".configure" do
81
+ TeamCity::Configuration::VALID_OPTIONS_KEYS.each do |key|
82
+ it "should set the #{key}" do
83
+ TeamCity.configure do |config|
84
+ config.send("#{key}=", key)
85
+ TeamCity.send(key).should == key
86
+ end
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'teamcity/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "teamcity-ruby-client"
8
+ gem.version = TeamCity::VERSION
9
+ gem.authors = ['Jason Perry"']
10
+ gem.email = ['bosoxjay@gmail.com']
11
+ gem.description = %q{A Ruby wrapper for the TeamCity Rest API}
12
+ gem.summary = %q{Ruby wrapper for the TeamCity API}
13
+ gem.homepage = 'https://github.com/jperry/teamcity-ruby-client'
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ['lib']
19
+
20
+ # Dependencies
21
+ gem.add_development_dependency('rspec', '~> 2.12')
22
+ gem.add_development_dependency('webmock', '~> 1.11.0')
23
+ gem.add_development_dependency('rake', '~> 10.0.3')
24
+ gem.add_development_dependency('pry', '~> 0.9.12')
25
+ gem.add_development_dependency('vcr', '~> 2.4.0')
26
+ gem.add_development_dependency('yard', '~> 0.8.5.2')
27
+ gem.add_development_dependency('redcarpet', '~> 2.2.2')
28
+ gem.add_runtime_dependency('faraday', '~> 0.8.5')
29
+ gem.add_runtime_dependency('faraday_middleware', '~> 0.9.0')
30
+ gem.add_runtime_dependency('hashie', '~> 2.0.0')
31
+ gem.add_runtime_dependency('linguistics', '~> 2.0.2')
32
+ end
metadata ADDED
@@ -0,0 +1,334 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: teamcity-ruby-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jason Perry"
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-04-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '2.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '2.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: webmock
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.11.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 1.11.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 10.0.3
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 10.0.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.12
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 0.9.12
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 2.4.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 2.4.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: yard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 0.8.5.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 0.8.5.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: redcarpet
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 2.2.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 2.2.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: faraday
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 0.8.5
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: 0.8.5
125
+ - !ruby/object:Gem::Dependency
126
+ name: faraday_middleware
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.9.0
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: hashie
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: 2.0.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: 2.0.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: linguistics
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ~>
158
+ - !ruby/object:Gem::Version
159
+ version: 2.0.2
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ version: 2.0.2
167
+ description: A Ruby wrapper for the TeamCity Rest API
168
+ email:
169
+ - bosoxjay@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - .gitignore
175
+ - .rvmrc
176
+ - CHANGELOG.md
177
+ - Gemfile
178
+ - LICENSE.txt
179
+ - README.md
180
+ - Rakefile
181
+ - lib/faraday/null_response_body.rb
182
+ - lib/teamcity.rb
183
+ - lib/teamcity/api.rb
184
+ - lib/teamcity/client.rb
185
+ - lib/teamcity/client/build_types.rb
186
+ - lib/teamcity/client/builds.rb
187
+ - lib/teamcity/client/common.rb
188
+ - lib/teamcity/client/projects.rb
189
+ - lib/teamcity/configuration.rb
190
+ - lib/teamcity/connection.rb
191
+ - lib/teamcity/request.rb
192
+ - lib/teamcity/version.rb
193
+ - spec/cassettes/BuildTypes/GET/_buildtype/should_fetch_the_details_of_a_buildtype_by_id.yml
194
+ - spec/cassettes/BuildTypes/GET/_buildtype/should_raise_an_error_if_the_buildtype_does_not_exist.yml
195
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_fetch_the_build_configuration_agent_requirements_for_a_buildtype.yml
196
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_an_array.yml
197
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_nil_if_there_are_no_agent_requirements_defined.yml
198
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_fetch_the_build_configuration_artifact_dependencies_for_a_buildtype.yml
199
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_an_array.yml
200
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_nil_if_there_are_no_artifact_dependencies_defined.yml
201
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_fetch_the_build_configuration_features_for_a_buildtype.yml
202
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_an_array.yml
203
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_nil_if_there_are_no_features_defined.yml
204
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_fetch_the_build_configuration_parameters_for_a_buildtype.yml
205
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_an_array.yml
206
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_nil_if_there_are_no_parameters_defined.yml
207
+ - spec/cassettes/BuildTypes/GET/_buildtype_settings/should_fetch_the_settings_for_a_given_buildtype.yml
208
+ - spec/cassettes/BuildTypes/GET/_buildtype_settings/should_return_an_array.yml
209
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_fetch_the_build_configuration_snapshot_dependencies_for_a_buildtype.yml
210
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_an_array.yml
211
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_nil_if_there_are_no_snapshot_dependencies_defined.yml
212
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_fetch_the_build_configuration_steps_for_a_buildtype.yml
213
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_an_array.yml
214
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_nil_if_there_are_no_steps_defined.yml
215
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_raise_an_exception_if_the_response_is_not_due_to_a_template_not_assigned.yml
216
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_nil_if_the_buildtype_is_not_associated_with_a_template.yml
217
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_the_attributes_of_the_associated_template.yml
218
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_fetch_the_build_configuration_triggers_for_a_buildtype.yml
219
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_an_array.yml
220
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_nil_if_there_are_no_triggers_defined.yml
221
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_fetch_the_build_configuration_vcs_root_entries_for_a_buildtype.yml
222
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_an_array.yml
223
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_nil_if_there_are_no_vcs_root_entries_defined.yml
224
+ - spec/cassettes/BuildTypes/GET/_buildtypes/should_fetch_all_the_buildtypes.yml
225
+ - spec/cassettes/Builds/GET/_build/should_fetch_the_build_details.yml
226
+ - spec/cassettes/Builds/GET/_build/should_raise_an_error_if_the_build_does_not_exist.yml
227
+ - spec/cassettes/Builds/GET/_build_tags/should_fetch_the_build_tags.yml
228
+ - spec/cassettes/Builds/GET/_build_tags/should_return_nil_if_there_are_no_build_tags_defined_for_a_build.yml
229
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_by_multiple_build_locators.yml
230
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_results_by_build_locators.yml
231
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_search_by_locator.yml
232
+ - spec/cassettes/Builds/GET/_builds/should_fetch_all_the_builds.yml
233
+ - spec/cassettes/Projects/GET/_project/should_fetch_a_single_project_by_id.yml
234
+ - spec/cassettes/Projects/GET/_project/should_raise_an_error_if_the_project_does_not_exist.yml
235
+ - spec/cassettes/Projects/GET/_project_buildtypes/should_fetch_all_the_buildTypes_for_a_project.yml
236
+ - spec/cassettes/Projects/GET/_project_buildtypes/should_return_nil_if_the_project_does_not_have_any_build_build_types.yml
237
+ - spec/cassettes/Projects/GET/_project_parameters/should_fetch_all_the_paramters_for_a_given_project.yml
238
+ - spec/cassettes/Projects/GET/_project_parameters/should_return_nil_if_there_are_no_parameters_defined_for_a_project.yml
239
+ - spec/cassettes/Projects/GET/_projects/should_fetch_projects.yml
240
+ - spec/cassettes/Projects/GET/_projects/should_return_nil_if_there_are_no_projects.yml
241
+ - spec/faraday/null_response_body_spec.rb
242
+ - spec/spec_helper.rb
243
+ - spec/support/vcr_setup.rb
244
+ - spec/teamcity/api_spec.rb
245
+ - spec/teamcity/client/builds_spec.rb
246
+ - spec/teamcity/client/buildtypes_spec.rb
247
+ - spec/teamcity/client/projects_spec.rb
248
+ - spec/teamcity/client_spec.rb
249
+ - spec/teamcity/version_spec.rb
250
+ - spec/teamcity_spec.rb
251
+ - teamcity-ruby-client.gemspec
252
+ homepage: https://github.com/jperry/teamcity-ruby-client
253
+ licenses: []
254
+ metadata: {}
255
+ post_install_message:
256
+ rdoc_options: []
257
+ require_paths:
258
+ - lib
259
+ required_ruby_version: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ! '>='
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ required_rubygems_version: !ruby/object:Gem::Requirement
265
+ requirements:
266
+ - - ! '>='
267
+ - !ruby/object:Gem::Version
268
+ version: '0'
269
+ requirements: []
270
+ rubyforge_project:
271
+ rubygems_version: 2.0.3
272
+ signing_key:
273
+ specification_version: 4
274
+ summary: Ruby wrapper for the TeamCity API
275
+ test_files:
276
+ - spec/cassettes/BuildTypes/GET/_buildtype/should_fetch_the_details_of_a_buildtype_by_id.yml
277
+ - spec/cassettes/BuildTypes/GET/_buildtype/should_raise_an_error_if_the_buildtype_does_not_exist.yml
278
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_fetch_the_build_configuration_agent_requirements_for_a_buildtype.yml
279
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_an_array.yml
280
+ - spec/cassettes/BuildTypes/GET/_buildtype_agent_requirements/should_return_nil_if_there_are_no_agent_requirements_defined.yml
281
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_fetch_the_build_configuration_artifact_dependencies_for_a_buildtype.yml
282
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_an_array.yml
283
+ - spec/cassettes/BuildTypes/GET/_buildtype_artifact_dependencies/should_return_nil_if_there_are_no_artifact_dependencies_defined.yml
284
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_fetch_the_build_configuration_features_for_a_buildtype.yml
285
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_an_array.yml
286
+ - spec/cassettes/BuildTypes/GET/_buildtype_features/should_return_nil_if_there_are_no_features_defined.yml
287
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_fetch_the_build_configuration_parameters_for_a_buildtype.yml
288
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_an_array.yml
289
+ - spec/cassettes/BuildTypes/GET/_buildtype_parameters/should_return_nil_if_there_are_no_parameters_defined.yml
290
+ - spec/cassettes/BuildTypes/GET/_buildtype_settings/should_fetch_the_settings_for_a_given_buildtype.yml
291
+ - spec/cassettes/BuildTypes/GET/_buildtype_settings/should_return_an_array.yml
292
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_fetch_the_build_configuration_snapshot_dependencies_for_a_buildtype.yml
293
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_an_array.yml
294
+ - spec/cassettes/BuildTypes/GET/_buildtype_snapshot_dependencies/should_return_nil_if_there_are_no_snapshot_dependencies_defined.yml
295
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_fetch_the_build_configuration_steps_for_a_buildtype.yml
296
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_an_array.yml
297
+ - spec/cassettes/BuildTypes/GET/_buildtype_steps/should_return_nil_if_there_are_no_steps_defined.yml
298
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_raise_an_exception_if_the_response_is_not_due_to_a_template_not_assigned.yml
299
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_nil_if_the_buildtype_is_not_associated_with_a_template.yml
300
+ - spec/cassettes/BuildTypes/GET/_buildtype_template/should_return_the_attributes_of_the_associated_template.yml
301
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_fetch_the_build_configuration_triggers_for_a_buildtype.yml
302
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_an_array.yml
303
+ - spec/cassettes/BuildTypes/GET/_buildtype_triggers/should_return_nil_if_there_are_no_triggers_defined.yml
304
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_fetch_the_build_configuration_vcs_root_entries_for_a_buildtype.yml
305
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_an_array.yml
306
+ - spec/cassettes/BuildTypes/GET/_buildtype_vcs_root_entries/should_return_nil_if_there_are_no_vcs_root_entries_defined.yml
307
+ - spec/cassettes/BuildTypes/GET/_buildtypes/should_fetch_all_the_buildtypes.yml
308
+ - spec/cassettes/Builds/GET/_build/should_fetch_the_build_details.yml
309
+ - spec/cassettes/Builds/GET/_build/should_raise_an_error_if_the_build_does_not_exist.yml
310
+ - spec/cassettes/Builds/GET/_build_tags/should_fetch_the_build_tags.yml
311
+ - spec/cassettes/Builds/GET/_build_tags/should_return_nil_if_there_are_no_build_tags_defined_for_a_build.yml
312
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_by_multiple_build_locators.yml
313
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_filter_results_by_build_locators.yml
314
+ - spec/cassettes/Builds/GET/_builds/should_allow_you_to_search_by_locator.yml
315
+ - spec/cassettes/Builds/GET/_builds/should_fetch_all_the_builds.yml
316
+ - spec/cassettes/Projects/GET/_project/should_fetch_a_single_project_by_id.yml
317
+ - spec/cassettes/Projects/GET/_project/should_raise_an_error_if_the_project_does_not_exist.yml
318
+ - spec/cassettes/Projects/GET/_project_buildtypes/should_fetch_all_the_buildTypes_for_a_project.yml
319
+ - spec/cassettes/Projects/GET/_project_buildtypes/should_return_nil_if_the_project_does_not_have_any_build_build_types.yml
320
+ - spec/cassettes/Projects/GET/_project_parameters/should_fetch_all_the_paramters_for_a_given_project.yml
321
+ - spec/cassettes/Projects/GET/_project_parameters/should_return_nil_if_there_are_no_parameters_defined_for_a_project.yml
322
+ - spec/cassettes/Projects/GET/_projects/should_fetch_projects.yml
323
+ - spec/cassettes/Projects/GET/_projects/should_return_nil_if_there_are_no_projects.yml
324
+ - spec/faraday/null_response_body_spec.rb
325
+ - spec/spec_helper.rb
326
+ - spec/support/vcr_setup.rb
327
+ - spec/teamcity/api_spec.rb
328
+ - spec/teamcity/client/builds_spec.rb
329
+ - spec/teamcity/client/buildtypes_spec.rb
330
+ - spec/teamcity/client/projects_spec.rb
331
+ - spec/teamcity/client_spec.rb
332
+ - spec/teamcity/version_spec.rb
333
+ - spec/teamcity_spec.rb
334
+ has_rdoc: