diff --git a/CHANGELOG.md b/CHANGELOG.md index 618c118..4302e6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ -# Unreleased +# Version 2.0.0 (Unreleased) + +**Breaking Changes*** + +* Remove all deprecated class methods in favor of instance API resources classes + +## Other changes -* Document class usage of ApiResources over class methods approach * Update default API version to `v1.1` +* Implement `:vcs_type` API endpoints for `v1.1` i.e. `/api/project/:vcs_type/:username/:project/follow` # Version 1.1.0 - (2017-03-20) diff --git a/README.md b/README.md index f6dfd90..28a6ec1 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,10 @@ gem 'circleci' ## Usage +### Documentation + +Documentation can be found on [rubydoc][docs] or in this README + ### Configuring #### Global Config @@ -96,6 +100,44 @@ config.proxy_user = ENV['CIRCLECI_PROXY_USER'] config.proxy_pass = ENV['CIRCLECI_PROXY_PASS'] ``` +### API Versioning + +CircleCi is a versioned API. This gem attempts to stay up to date with any +changes between versions. As of now you can change the version on the config +you use to make requests. + +```ruby +config = CircleCi::Config.new token: ENV['CIRCLECI_TOKEN'], version: 'v1.1' +``` + +This will change the requests to be in the format of + +`https://circleci.com/api/v1.1/` + +### VCS Type + +Introduced in `v1.1` of the API is interacting with projects and builds based +on their version control system type. Currently this can be `github` or `bitbucket`. +Please see endpoint documentation for `Project` and `Build` on usage but you can +set a vcs type on either as so + +```ruby +# A bitbucket project +project = CircleCi::Project.new 'username', 'project', 'bitbucket' + +# A github build +build = CircleCi::Build.new 'username', 'project', 'github', '1234' + +# Defaults to github +build = CircleCi::Build.new 'username', 'project', nil, '1234' +build.vcs_type # will be github + +# Non-valid types default to github as well +project = CircleCi::Project.new 'username', 'project', 'gitlab' +project.vcs_type # will be github +``` + + ## API Endpoints * [User](#user) @@ -136,13 +178,6 @@ Endpoint: `/user/heroku-key` Adds your Heroku API key to CircleCI. ```ruby -res = CircleCi::User.heroku_key 'your-api-key' -res.success? # True -res.body -``` - -Using `CircleCi::User` instance and overriding config -```ruby # Use global config with token for user user = CircleCi::User.new user.heroku_key 'your-api-key' @@ -165,13 +200,6 @@ Endpoint: `/me` Provides information about the signed in user. -```ruby -res = CircleCi::User.me -res.success? # True -res.body -``` - -Using `CircleCi::User` instance and overriding config ```ruby # Use global config with token for user user = CircleCi::User.new @@ -199,14 +227,6 @@ Endpoint: `/projects` List of all the repos you have access to on Github, with build information organized by branch. -```ruby -res = CircleCi::Project.all -res.success? -res.body -``` - -Using `CircleCi::Projects` instance and overriding config - ```ruby # Use global config with token for user projects = CircleCi::Projects.new @@ -262,30 +282,23 @@ Endpoint: `/project/:username/:repository/tree/:branch` Build a specific branch of a project ```ruby -res = CircleCi::Project.build_branch 'username', 'reponame', 'branch' -res.body['status'] # Not running -res.body['build_url'] # Get url of build +# Use global config with token for user +project = CircleCi::Project.new 'username', 'reponame' -# Passing build parameters in the post body -build_params = { build_parameters: { 'MY_TOKEN' => '123asd123asd' } } -res = CircleCi::Project.build_branch 'username', 'reponame', 'branch', {}, build_params -res.body['status'] # Not running -res.body['build_url'] # Get url of build +# Get recent failed builds with a filter parameter +failed_builds = project.build_branch 'branch' # Adding URL params for revision or parallel params = { revision: 'fda12345asdf', parallel: 2 } -res = CircleCi::Project.build_branch 'username', 'reponame', 'branch', params +res = project.build_branch 'branch', params res.body['status'] # Not running res.body['build_url'] # Get url of build -``` - -Using `CircleCi::Project` instance and overriding config -```ruby -# Use global config with token for user -project = CircleCi::Project.new 'username', 'reponame' -# Get recent failed builds with a filter parameter -failed_builds = project.build_branch 'branch' +# Passing build parameters in the post body +build_params = { build_parameters: { 'MY_TOKEN' => '123asd123asd' } } +res = project.build_branch 'branch', {}, build_params +res.body['status'] +res.body['build_url'] # Use a different config with another user token project = CircleCi::Project.new 'username', 'reponame', other_project_config @@ -383,12 +396,6 @@ Endpoint: `/project/:username/:repository/:build_num/ssh-users` Adds a user to the build's SSH permissions. -```ruby -res = CircleCi::Project.build_ssh_key 'username', 'repo', 'RSA private key', 'hostname' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -412,12 +419,6 @@ Endpoint: `/project/:username/:repository/build-cache` Clears the cache for a project -```ruby -res = CircleCi::Project.clear_cache -res.body['status'] -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -442,13 +443,6 @@ Endpoint: `/project/:username/:repository/checkout-key/:fingerprint` Delete a checkout key for a project by supplying the fingerprint of the key. ```ruby -res = CircleCi::Project.delete_checkout_key 'username', 'reponame', 'fingerprint' -res.success? -res.body -``` - -Using `CircleCi::Project` instance and overriding config -```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' res = project.delete_checkout_key 'fingerprint' @@ -471,12 +465,6 @@ Endpoint: `/project/:username/:repository/enable` Enable a project in CircleCI. Causes a CircleCI SSH key to be added to the GitHub. Requires admin privilege to the repository. -```ruby -res = CircleCi::Project.enable 'username', 'reponame' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -570,12 +558,6 @@ Endpoint: `/project/:username/:project/envvar` Get a list of environment variables for a project -```ruby -res = CircleCi::Project.envvar 'username', 'repo' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -598,12 +580,6 @@ Endpoint: `/project/:username/:repository/follow` Follow a project -```ruby -res = CircleCi::Build.follow 'username', 'repo' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -628,13 +604,7 @@ Example response Endpoint: `/project/:username/:repository/checkout-key/:fingerprint` Get a checkout key for a project by supplying the fingerprint of the key. -```ruby -res = CircleCi::Project.get_checkout_key 'username', 'reponame', 'fingerprint' -res.success? -res.body -``` -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -663,12 +633,6 @@ Endpoint: `/project/#{username}/#{project}/checkout-key` List checkout keys -```ruby -res = CircleCi::Project.checkout_keys 'username', 'repo' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -699,13 +663,7 @@ Endpoint: `/project/:username/:repository/checkout-key` Create an ssh key used to access external systems that require SSH key-based authentication. Takes a type of key to create which an be `deploy-key` or `github-user-key`. -```ruby -res = CircleCi::Project.new_checkout_key 'username', 'reponame', 'deploy-key' -res.success? -res.body -``` -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -728,30 +686,22 @@ Example response } ``` -#### [recent_builds](#project_recent_builds) +#### [recent_project_builds](#recent_project_builds) Endpoint: `/project/:username/:repository` Build summary for each of the last 30 recent builds, ordered by build_num. ```ruby -res = CircleCi::Project.recent_builds 'username', 'reponame' +# Use global config with token for user +project = CircleCi::Project.new 'username', 'reponame' +res = project.recent_builds # Use params to filter by status -# res = CircleCi::Project.recent_builds 'username', 'reponame', filter: 'failed' +res = project.recent_builds filter: 'failed' # Use params to limit and give an offset -# res = CircleCi::Project.recent_builds 'username', 'reponame', limit: 10, offset: 50 - -res.success? -res.body -``` - -Using `CircleCi::Project` instance and overriding config -```ruby -# Use global config with token for user -project = CircleCi::Project.new 'username', 'reponame' -res = project.recent_builds +res = project.recent_builds limit: 10, offset: 50 # Use a different config with another user token project = CircleCi::Project.new 'username', 'reponame', other_project_config @@ -793,13 +743,6 @@ Endpoint: `/project/:username/:repository/tree/:branch` Build summary for each of the last 30 recent builds for a specific branch, ordered by build_num. -```ruby -res = CircleCi::Project.recent_builds_branch 'username', 'reponame', 'branch' -res.success? -res.body -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -845,12 +788,6 @@ Endpoint: `/project/:username/:repository/settings` Get project settings -```ruby -res = CircleCi::Project.settings 'username', 'repo' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -934,13 +871,6 @@ Endpoint: `/project/:username/:project/envvar` Creates a new environment variable for a project -```ruby -environment = { name: 'foo', value: 'bar' } -res = CircleCi::Project.set_envvar 'username', 'repo', environment -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby environment = { name: 'foo', value: 'bar' } @@ -966,12 +896,6 @@ Endpoint: `/project/:username/:repository/ssh-key` Creates an ssh key that will be used to access the external system identified by the hostname parameter for SSH key-based authentication. -```ruby -res = CircleCi::Project.ssh_key 'username', 'repo', 'RSA private key', 'hostname' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -995,12 +919,6 @@ Endpoint: `/project/:username/:repository/unfollow` Unfollow a project -```ruby -res = CircleCi::Build.unfollow 'username', 'repo' -res.success? -``` - -Using `CircleCi::Project` instance and overriding config ```ruby # Use global config with token for user project = CircleCi::Project.new 'username', 'reponame' @@ -1027,20 +945,13 @@ Endpoint: `/project/:username/:repository/:build/artifacts` Artifacts produced by the build, returns an array of artifact details -```ruby -res = CircleCi::Build.artifacts 'username', 'repo', 'build #' -res.success? -res.body -``` - -Using `CircleCi::Build` instance and overriding config ```ruby # Use global config with token for user -build = CircleCi::Build.new 'username', 'reponame', 'build' +build = CircleCi::Build.new 'username', 'reponame', nil, 'build' res = build.artifacts # Use a different config with another user token -build = CircleCi::Build.new 'username', 'reponame', 'build', other_build_config +build = CircleCi::Build.new 'username', 'reponame', nil, 'build', other_build_config build.artifacts ``` @@ -1067,22 +978,13 @@ Endpoint: `/project/:username/:repository/:build/cancel` Cancels the build, returns a summary of the build. -```ruby -res = CircleCi::Build.cancel 'username', 'repo', 'build #' -res.success? -res.body['status'] # 'canceled' -res.body['outcome'] # 'canceled' -res.body['canceled'] # true -``` - -Using `CircleCi::Build` instance and overriding config ```ruby # Use global config with token for user -build = CircleCi::Build.new 'username', 'reponame', 'build' +build = CircleCi::Build.new 'username', 'reponame', nil, 'build' res = build.cancel # Use a different config with another user token -build = CircleCi::Build.new 'username', 'reponame', 'build', other_build_config +build = CircleCi::Build.new 'username', 'reponame', nil, 'build', other_build_config build.cancel ``` @@ -1125,20 +1027,13 @@ Endpoint: `/project/:username/:repository/:build` Full details for a single build, including the output for all actions. The response includes all of the fields from the build summary. -```ruby -res = CircleCi::Build.get 'username', 'repo', 'build #' -res.success? -res.body -``` - -Using `CircleCi::Build` instance and overriding config ```ruby # Use global config with token for user -build = CircleCi::Build.new 'username', 'reponame', 'build' +build = CircleCi::Build.new 'username', 'reponame', nil, 'build' res = build.get # Use a different config with another user token -build = CircleCi::Build.new 'username', 'reponame', 'build', other_build_config +build = CircleCi::Build.new 'username', 'reponame', nil, 'build', other_build_config build.get ``` @@ -1225,21 +1120,13 @@ Endpoint: `/project/:username/:repository/:build/retry` Retries the build, returns a summary of the new build. -```ruby -res = CircleCi::Build.retry 'username', 'repo', 'build #' -res.success? -res.body['status'] # 'queued' -res.body -``` - -Using `CircleCi::Build` instance and overriding config ```ruby # Use global config with token for user -build = CircleCi::Build.new 'username', 'reponame', 'build' +build = CircleCi::Build.new 'username', 'reponame', nil, 'build' res = build.retry # Use a different config with another user token -build = CircleCi::Build.new 'username', 'reponame', 'build', other_build_config +build = CircleCi::Build.new 'username', 'reponame', nil, 'build', other_build_config build.retry ``` @@ -1279,20 +1166,13 @@ Endpoint: `/project/:username/:repository/:build/tests` Tests endpoint to get the recorded tests for a build. Will return an array of the tests ran and some details. -```ruby -res = CircleCi::Build.tests 'username', 'repo', 'build #' -res.success? -res.body -``` - -Using `CircleCi::Build` instance and overriding config ```ruby # Use global config with token for user -build = CircleCi::Build.new 'username', 'reponame', 'build' +build = CircleCi::Build.new 'username', 'reponame', nil, 'build' res = build.tests # Use a different config with another user token -build = CircleCi::Build.new 'username', 'reponame', 'build', other_build_config +build = CircleCi::Build.new 'username', 'reponame', nil, 'build', other_build_config build.tests ``` @@ -1319,30 +1199,22 @@ build.tests ] ``` -### [Recent Builds](#recent_builds) +### [recent_builds](#recent_builds) -#### [get](#get_recent_builds) +#### [get_recent_builds](#get_recent_builds) Endpoint: `/recent-builds` Build summary for each of the last 30 recent builds, ordered by build_num. -```ruby -res = CircleCi::RecentBuilds.get - -# Params of limit and offset can be passed in -# res = CircleCi::RecentBuilds.get limit: 10, offset: 50 - -res.success? -res.body -``` - -Using `CircleCi::RecentBuilds` instance and overriding config ```ruby # Use global config with token for user recent = CircleCi::RecentBuilds.new res = recent.get +# Params of limit and offset can be passed in +res = recent.get limit: 10, offset: 50 + # Use a different config with another user token recent = CircleCi::RecentBuilds.new other_builds_config recent.get @@ -1387,3 +1259,6 @@ and uses a checked in `.rubocop.yml` for this project. Tests are using a live CircleCi API token for this repository. Any tests should be using this key, which is in the `.env` file. You should not have to do anything outside of writing the tests against this repository. + + +[docs]: http://www.rubydoc.info/gems/circleci diff --git a/lib/circleci.rb b/lib/circleci.rb index a3c3721..662e1bc 100644 --- a/lib/circleci.rb +++ b/lib/circleci.rb @@ -6,6 +6,7 @@ files = %w[ api_resource + api_project_resource build config project diff --git a/lib/circleci/api_project_resource.rb b/lib/circleci/api_project_resource.rb new file mode 100644 index 0000000..b7766af --- /dev/null +++ b/lib/circleci/api_project_resource.rb @@ -0,0 +1,32 @@ +# frozen_string_literal: true +module CircleCi + ## + # + # Class for interacting with project API resources + class ApiProjectResource < ApiResource + VALID_VCS_TYPES = %w[github bitbucket].freeze + DEFAULT_VCS_TYPE = VALID_VCS_TYPES.first.freeze + + attr_reader :build, :vcs_type + + ## + # + # Initialize a new Project API interaction + # + # @param username [String] - The vcs username or org name for project + # @param project [String] - The project name + # @param vcs_type [String] - The vcs type i.e. github or bitbucket + # @param build [String] - The build number for a project + # @param conf [CircleCi::Config] - Optional config to use for request + # @return [CircleCi::Project] + def initialize(username = nil, project = nil, vcs_type = nil, build = nil, conf = nil) + super(username, project, conf) + @vcs_type = VALID_VCS_TYPES.include?(vcs_type) ? vcs_type : DEFAULT_VCS_TYPE + @build = build + end + + def base_path + "/project/#{vcs_type}/#{username}/#{project}" + end + end +end diff --git a/lib/circleci/build.rb b/lib/circleci/build.rb index 22dc510..ee7da53 100644 --- a/lib/circleci/build.rb +++ b/lib/circleci/build.rb @@ -3,104 +3,14 @@ module CircleCi ## # # Class for interacting with and managing builds - class Build < ApiResource - attr_reader :build - ## - # - # Initialize a Build object to interact with the Build API - # - # @param config [CircleCi::Config] - Defaults to [default_config] if not provided - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Build] - A Build object - def initialize(username, project, build, conf = nil) - super(username, project, conf) - @build = build - end - - ## - # - # Deprecated class methods - class << self - ## - # - # Get artifacts for a specific build of a project - # - # @deprecated Please use instance method of [CircleCi::Build] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Response] - Response object - def artifacts(username, project, build) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Build#artifacts instead') - new(username, project, build, default_config).artifacts - end - - ## - # - # Cancel a specific build - # - # @deprecated Please use instance method of [CircleCi::Build] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Response] - Response object - def cancel(username, project, build) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Build#cancel instead') - new(username, project, build, default_config).cancel - end - - ## - # - # Get a specific build for a project - # - # @deprecated Please use instance method of [CircleCi::Build] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Response] - Response object - def get(username, project, build) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Build#get instead') - new(username, project, build, default_config).get - end - - ## - # - # Kick off a retry of a specific build - # - # @deprecated Please use instance method of [CircleCi::Build] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Response] - Response object - def retry(username, project, build) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Build#retry instead') - new(username, project, build, default_config).retry - end - - ## - # - # Get tests for a specific build of a project - # - # @deprecated Please use instance method of [CircleCi::Build] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build ID - # @return [CircleCi::Response] - Response object - def tests(username, project, build) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Build#tests instead') - new(username, project, build, default_config).tests - end - end - + class Build < ApiProjectResource ## # # Get artifacts for a specific build of a project # # @return [CircleCi::Response] - Response object def artifacts - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}/artifacts").get + CircleCi.request(conf, "#{base_path}/#{build}/artifacts").get end ## @@ -109,7 +19,7 @@ def artifacts # # @return [CircleCi::Response] - Response object def cancel - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}/cancel").post + CircleCi.request(conf, "#{base_path}/#{build}/cancel").post end ## @@ -118,7 +28,7 @@ def cancel # # @return [CircleCi::Response] - Response object def get - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}").get + CircleCi.request(conf, "#{base_path}/#{build}").get end ## @@ -127,7 +37,7 @@ def get # # @return [CircleCi::Response] - Response object def retry - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}/retry").post + CircleCi.request(conf, "#{base_path}/#{build}/retry").post end ## @@ -136,7 +46,7 @@ def retry # # @return [CircleCi::Response] - Response object def tests - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}/tests").get + CircleCi.request(conf, "#{base_path}/#{build}/tests").get end end end diff --git a/lib/circleci/config.rb b/lib/circleci/config.rb index aa798e9..8c958a4 100644 --- a/lib/circleci/config.rb +++ b/lib/circleci/config.rb @@ -33,18 +33,18 @@ def uri end def proxy_userinfo? - @proxy_user && @proxy_pass + proxy_user && proxy_pass end - def proxy_port - @proxy_port ? @proxy_port : 80 + def proxy_to_port + proxy_port ? proxy_port : 80 end def proxy_uri - return unless @proxy && @proxy_host - host_uri = URI.parse(@proxy_host) - userinfo = proxy_userinfo? ? "#{@proxy_user}:#{@proxy_pass}@" : '' - URI.parse("#{host_uri.scheme}://#{userinfo}#{host_uri.host}:#{proxy_port}#{host_uri.path}") + return unless @proxy && proxy_host + host_uri = URI.parse(proxy_host) + userinfo = proxy_userinfo? ? "#{proxy_user}:#{proxy_pass}@" : '' + URI.parse("#{host_uri.scheme}://#{userinfo}#{host_uri.host}:#{proxy_to_port}#{host_uri.path}") end end end diff --git a/lib/circleci/project.rb b/lib/circleci/project.rb index 2664908..df18543 100644 --- a/lib/circleci/project.rb +++ b/lib/circleci/project.rb @@ -3,265 +3,18 @@ module CircleCi ## # # Class for interacting with Projects - # rubocop:disable Metrics/ClassLength - class Project < ApiResource + class Project < ApiProjectResource ## # - # Deprecated class methods - class << self - ## - # - # Return all projects for your API key - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @return [CircleCi::Response] - Response object - def all - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Projects#get instead') - CircleCi::Projects.new.get - end - - ## - # - # Build the latest master push for this project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def build(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#build instead') - new(username, project, default_config).build - end - - ## - # - # Build the latest push for this branch of a specific project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param branch [String] - Name of branch - # @param body [Hash] - Optional post body with build parameters - # @return [CircleCi::Response] - Response object - def build_branch(username, project, branch, params = {}, body = {}) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#build_branch instead') - new(username, project, default_config).build_branch(branch, params, body) - end - - ## - # - # Add a ssh key to a build - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param build [String] - Build number - # @param key [String] - The ssh private key - # @param hostname [String] - The hostname identified by the key - # @return [CircleCi::Response] - Response object - def build_ssh_key(username, project, build, key, hostname) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#build_ssh_key instead') - new(username, project, default_config).build_ssh_key(build, key, hostname) - end - - ## - # - # Clear the build cache for a specific project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def clear_cache(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#clear_cache instead') - new(username, project, default_config).clear_cache - end - - ## - # - # Delete a checkout key for a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param fingerprint [String] - Fingerprint of a checkout key - # @return [CircleCi::Response] - Response object - def delete_checkout_key(username, project, fingerprint) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#delete_checkout_key instead') - new(username, project, default_config).delete_checkout_key(fingerprint) - end - - ## - # - # Enable a project in CircleCI. Causes a CircleCI SSH key to be added to - # the GitHub. Requires admin privilege to the repository. - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def enable(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#enable instead') - new(username, project, default_config).enable - end - - ## - # - # Get the project envvars - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def envvar(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#envvar instead') - new(username, project, default_config).envvar - end - - ## - # - # @deprecated Please use [CircleCi::Project#envvar] - def envvars(username, project) - default_config.logger.warn('[Deprecated] CircleCi::Project#envvars is deprecated please use CircleCi::Project#envvar') - envvar username, project - end - - ## - # - # Follow the project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def follow(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#follow instead') - new(username, project, default_config).follow - end - - ## - # - # Get a checkout key for a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param fingerprint [String] - Fingerprint of a checkout key - # @return [CircleCi::Response] - Response object - def get_checkout_key(username, project, fingerprint) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#get_checkout_key instead') - new(username, project, default_config).get_checkout_key(fingerprint) - end - - ## - # - # Get a list of checkout keys for project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def list_checkout_keys(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#list_checkout_keys instead') - new(username, project, default_config).list_checkout_keys - end - - ## - # - # Create a checkout key for a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param type [String] - The type of key to create. Can be 'deploy-key' or 'github-user-key'. - # @return [CircleCi::Response] - Response object - def new_checkout_key(username, project, type) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#new_checkout_key instead') - new(username, project, default_config).new_checkout_key(type) - end - - ## - # - # Get all recent builds for a specific project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param params [Hash] - Parameters for builds (limit, offset, filter) - # @return [CircleCi::Response] - Response object - def recent_builds(username, project, params = {}) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#recent_builds instead') - new(username, project, default_config).recent_builds(params) - end - - ## - # - # Get all recent builds for a specific branch of a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param branch [String] - Name of branch - # @return [CircleCi::Response] - Response object - def recent_builds_branch(username, project, branch) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#recent_builds_branch instead') - new(username, project, default_config).recent_builds_branch(branch) - end - - ## - # - # Get the project configuration - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def settings(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#settings instead') - new(username, project, default_config).settings - end - - ## - # - # Sets an envvar for a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param envvar [Hash] - {name: 'foo', value: 'bar'} - # @return [CircleCi::Response] - Response object - def set_envvar(username, project, envvar) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#add_envvar instead') - new(username, project, default_config).add_envvar(envvar) - end - - ## - # - # Add a ssh key to a project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @param key [String] - The ssh private key - # @param hostname [String] - The hostname identified by the key - # @return [CircleCi::Response] - Response object - def ssh_key(username, project, key, hostname) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#ssh_key instead') - new(username, project, default_config).ssh_key(key, hostname) - end - - ## - # - # Unfollow the project - # - # @deprecated Please use instance method of [CircleCi::Project] instead - # @param username [String] - User or org name who owns project - # @param project [String] - Name of project - # @return [CircleCi::Response] - Response object - def unfollow(username, project) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::Project#unfollow instead') - new(username, project, default_config).unfollow - end + # Initialize a new Project API interaction + # + # @param username [String] - The vcs username or org name for project + # @param project [String] - The project name + # @param vcs_type [String] - The vcs type i.e. github or bitbucket + # @param conf [CircleCi::Config] - Optional config to use for request + # @return [CircleCi::Project] + def initialize(username = nil, project = nil, vcs_type = nil, conf = nil) + super(username, project, vcs_type, nil, conf) end ## @@ -270,7 +23,7 @@ def unfollow(username, project) # # @return [CircleCi::Response] - Response object def build - CircleCi.request(@conf, "/project/#{username}/#{project}").post + CircleCi.request(conf, base_path).post end ## @@ -282,7 +35,7 @@ def build # @param body [Hash] - Optional post body with build parameters # @return [CircleCi::Response] - Response object def build_branch(branch, params = {}, body = {}) - CircleCi.request(@conf, "/project/#{username}/#{project}/tree/#{branch}", params).post(body) + CircleCi.request(conf, "#{base_path}/tree/#{branch}", params).post(body) end ## @@ -295,7 +48,7 @@ def build_branch(branch, params = {}, body = {}) # @return [CircleCi::Response] - Response object def build_ssh_key(build, key, hostname) body = { hostname: hostname, private_key: key } - CircleCi.request(@conf, "/project/#{username}/#{project}/#{build}/ssh-users").post(body) + CircleCi.request(conf, "#{base_path}/#{build}/ssh-users").post(body) end ## @@ -304,7 +57,7 @@ def build_ssh_key(build, key, hostname) # # @return [CircleCi::Response] - Response object def clear_cache - CircleCi.request(@conf, "/project/#{username}/#{project}/build-cache").delete + CircleCi.request(conf, "#{base_path}/build-cache").delete end ## @@ -314,7 +67,7 @@ def clear_cache # @param fingerprint [String] - Fingerprint of a checkout key # @return [CircleCi::Response] - Response object def delete_checkout_key(fingerprint) - CircleCi.request(@conf, "/project/#{username}/#{project}/checkout-key/#{fingerprint}").delete + CircleCi.request(conf, "#{base_path}/checkout-key/#{fingerprint}").delete end ## @@ -324,7 +77,7 @@ def delete_checkout_key(fingerprint) # # @return [CircleCi::Response] - Response object def enable - CircleCi.request(@conf, "/project/#{username}/#{project}/enable").post + CircleCi.request(conf, "#{base_path}/enable").post end ## @@ -333,7 +86,7 @@ def enable # # @return [CircleCi::Response] - Response object def envvar - CircleCi.request(@conf, "/project/#{username}/#{project}/envvar").get + CircleCi.request(conf, "#{base_path}/envvar").get end ## @@ -342,7 +95,7 @@ def envvar # # @return [CircleCi::Response] - Response object def follow - CircleCi.request(@conf, "/project/#{username}/#{project}/follow").post + CircleCi.request(conf, "#{base_path}/follow").post end ## @@ -352,7 +105,7 @@ def follow # @param fingerprint [String] - Fingerprint of a checkout key # @return [CircleCi::Response] - Response object def get_checkout_key(fingerprint) - CircleCi.request(@conf, "/project/#{username}/#{project}/checkout-key/#{fingerprint}").get + CircleCi.request(conf, "#{base_path}/checkout-key/#{fingerprint}").get end ## @@ -361,7 +114,7 @@ def get_checkout_key(fingerprint) # # @return [CircleCi::Response] - Response object def list_checkout_keys - CircleCi.request(@conf, "/project/#{username}/#{project}/checkout-key").get + CircleCi.request(conf, "#{base_path}/checkout-key").get end ## @@ -371,7 +124,7 @@ def list_checkout_keys # @param type [String] - The type of key to create. Can be 'deploy-key' or 'github-user-key'. # @return [CircleCi::Response] - Response object def new_checkout_key(type) - CircleCi.request(@conf, "/project/#{username}/#{project}/checkout-key").post(type: type) + CircleCi.request(conf, "#{base_path}/checkout-key").post(type: type) end ## @@ -381,7 +134,7 @@ def new_checkout_key(type) # @param params [Hash] - Parameters for builds (limit, offset, filter) # @return [CircleCi::Response] - Response object def recent_builds(params = {}) - CircleCi.request(@conf, "/project/#{username}/#{project}", params).get + CircleCi.request(conf, base_path, params).get end ## @@ -391,7 +144,7 @@ def recent_builds(params = {}) # @param branch [String] - Name of branch # @return [CircleCi::Response] - Response object def recent_builds_branch(branch) - CircleCi.request(@conf, "/project/#{username}/#{project}/tree/#{branch}").get + CircleCi.request(conf, "#{base_path}/tree/#{branch}").get end ## @@ -400,7 +153,7 @@ def recent_builds_branch(branch) # # @return [CircleCi::Response] - Response object def settings - CircleCi.request(@conf, "/project/#{username}/#{project}/settings").get + CircleCi.request(conf, "#{base_path}/settings").get end ## @@ -410,7 +163,7 @@ def settings # @param envvar [Hash] - {name: 'foo', value: 'bar'} # @return [CircleCi::Response] - Response object def add_envvar(envvar) - CircleCi.request(@conf, "/project/#{username}/#{project}/envvar").post(envvar) + CircleCi.request(conf, "#{base_path}/envvar").post(envvar) end ## @@ -422,7 +175,7 @@ def add_envvar(envvar) # @return [CircleCi::Response] - Response object def ssh_key(key, hostname) body = { hostname: hostname, private_key: key } - CircleCi.request(@conf, "/project/#{username}/#{project}/ssh-key").post(body) + CircleCi.request(conf, "#{base_path}/ssh-key").post(body) end ## @@ -431,8 +184,7 @@ def ssh_key(key, hostname) # # @return [CircleCi::Response] - Response object def unfollow - CircleCi.request(@conf, "/project/#{username}/#{project}/unfollow").post + CircleCi.request(conf, "#{base_path}/unfollow").post end end - # rubocop:enable Metrics/ClassLength end diff --git a/lib/circleci/projects.rb b/lib/circleci/projects.rb index 3bd4fc4..410febd 100644 --- a/lib/circleci/projects.rb +++ b/lib/circleci/projects.rb @@ -20,7 +20,7 @@ def initialize(conf = nil) # # @return [CircleCi::Response] - Response object def get - CircleCi.request(@conf, '/projects').get + CircleCi.request(conf, '/projects').get end end end diff --git a/lib/circleci/recent_builds.rb b/lib/circleci/recent_builds.rb index 6d5e960..7810cfb 100644 --- a/lib/circleci/recent_builds.rb +++ b/lib/circleci/recent_builds.rb @@ -14,23 +14,6 @@ def initialize(conf = nil) super(nil, nil, conf) end - ## - # - # Deprecated class methods - class << self - ## - # - # Get get recent builds for your account - # - # @deprecated Please use instance method of [CircleCi::RecentBuilds] instead - # @param params [Hash] - Params to send for recent builds (limit, offset) - # @return [CircleCi::Response] - Response object - def get(params = {}) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::RecentBuilds#get instead') - new(default_config).get(params) - end - end - ## # # Get get recent builds for your account @@ -38,7 +21,7 @@ def get(params = {}) # @param params [Hash] - Params to send for recent builds (limit, offset) # @return [CircleCi::Response] - Response object def get(params = {}) - CircleCi.request(@conf, '/recent-builds', params).get + CircleCi.request(conf, '/recent-builds', params).get end end end diff --git a/lib/circleci/user.rb b/lib/circleci/user.rb index f8d558c..9a593d1 100644 --- a/lib/circleci/user.rb +++ b/lib/circleci/user.rb @@ -14,38 +14,13 @@ def initialize(conf = nil) super(nil, nil, conf) end - class << self - ## - # - # Get user account details - # - # @deprecated Please use instance method of [CircleCi::User] instead - # @return [CircleCi::Response] - Response object - def me - default_config.logger.warn('[Deprecated] Use instance method CircleCi::User#me instead') - new(default_config).me - end - - ## - # - # Add a Heroku API key to CircleCI - # - # @deprecated Please use instance method of [CircleCi::User] instead - # @param apikey [String] - The Heroku API key - # @return [CircleCi::Response] - Response object - def heroku_key(apikey) - default_config.logger.warn('[Deprecated] Use instance method CircleCi::User#heroku_key instead') - new(default_config).heroku_key(apikey) - end - end - ## # # Get user account details # # @return [CircleCi::Response] - Response object def me - CircleCi.request(@conf, '/me').get + CircleCi.request(conf, '/me').get end ## @@ -55,7 +30,7 @@ def me # @param apikey [String] - The Heroku API key # @return [CircleCi::Response] - Response object def heroku_key(apikey) - CircleCi.request(@conf, '/user/heroku-key').post(apikey: apikey) + CircleCi.request(conf, '/user/heroku-key').post(apikey: apikey) end end end diff --git a/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/are_returned.yml b/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/are_returned.yml index c65ab21..b60c3ac 100644 --- a/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/are_returned.yml +++ b/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/are_returned.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/artifacts?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/artifacts?circle-token= body: encoding: UTF-8 string: "{}" @@ -63,4 +63,240 @@ http_interactions: string: '[{"path":"/tmp/circle-junit.vCFLHp7/rspec/junit.xml","pretty_path":"$CIRCLE_TEST_REPORTS/rspec/junit.xml","node_index":0,"url":"https://140-9485764-gh.circle-artifacts.com/0//tmp/circle-junit.vCFLHp7/rspec/junit.xml"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:07:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:56 GMT + Server: + - nginx + Set-Cookie: + - ring-session=LYIjwXzENETwIhlk38yj03eah0LAEKDq%2BirOnijlcSJbj23ooFtymu55Q4SqZVwWRZ0xRJEErqA%2F5Cv6A917AUO7%2FVoxkynxZez6KeeqIVpJ0M9OwNPCn80y4UV0A8iQvIOt%2FeA3w4XlU8Juw5Ymv3Z0DAo7sIGD%2FvBySOERKrYT10wDy3BZrUjWW7NOA91MYHMfwKge1oaNP1SqVzxwJLSN6a8AHG7EWK4AijAgkIw%3D--%2BoKW6X4vIr0kT6SkwOtFqXMqFaJ%2BBMm9ESaP8WyMrfA%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:24 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0573dc9326fd97809 + X-Circleci-Request-Id: + - 68456c0c-b281-4ce2-885c-537eac69ef54 + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:07:59 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:41 GMT + Server: + - nginx + Set-Cookie: + - ring-session=qwpbNsOEGRLITBaaCDnCPaCAnc9%2F8wWzDFStr2Np6RyxfyQsk9lQi2HzkHpC1c7k9qTwQGwSSNWQ3UK%2BoTjZBAwAckzk0uC0uLdLNfXosH%2BssDypulkk5pP3%2BqeK2eefagGi3IXK34RuCYtfX%2FWd5EEtXcsVcCtuYq291oZfFuep6CuJXKsI2rKmT%2By9dZmkw8LkHZ86AzCHWgnNP5uQxFN4q%2Fv0XcRPnFRby8GHc1Q%3D--X2U60xzwMquGABMfE2Zp6DmHwJajiMrZUljGHKzd1Ak%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:07:20 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-06dbc4a4d26016f35 + X-Circleci-Request-Id: + - 0f17e3ca-5ee9-4290-9d98-269c9c710705 + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:02 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/first_artifact/has_metadata.yml b/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/first_artifact/has_metadata.yml index f29d531..585f0ec 100644 --- a/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/first_artifact/has_metadata.yml +++ b/spec/cassettes/CircleCi_Build/artifacts/successfully/artifacts/first_artifact/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/artifacts?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/artifacts?circle-token= body: encoding: UTF-8 string: "{}" @@ -63,4 +63,240 @@ http_interactions: string: '[{"path":"/tmp/circle-junit.vCFLHp7/rspec/junit.xml","pretty_path":"$CIRCLE_TEST_REPORTS/rspec/junit.xml","node_index":0,"url":"https://140-9485764-gh.circle-artifacts.com/0//tmp/circle-junit.vCFLHp7/rspec/junit.xml"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:07:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:10:06 GMT + Server: + - nginx + Set-Cookie: + - ring-session=JjYqHxSsjUn7h3b8qlAvXYdAtqSW%2FWTK0FIzy3fmNyBbdrHZfpIUegqtx1VU0k7dQKBRqBenssaBnQBstH2ppSqFmLqypOegh%2BJz5cPcZQSZmWdlF%2BaTYDFreU2bXFvJIbEu39tTe8KAAMuwNt3yRBtVfQKjdff0R2UGA6ky6q7io16FBtupn9RW2Iw3sLT%2Bk6uFhAwvkHhjwZelaqG7hutAqpiSe0wNOQ3wVspYRWc%3D--SeUJIIMUCkk4KapLFZ%2Fk72MKdpS%2FkXkDGL94w20Fr5E%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:09 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-076e3d4ca847c11ef + X-Circleci-Request-Id: + - ddd42d34-1959-44c8-9cae-a7f864f76cac + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:07:59 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:11:00 GMT + Server: + - nginx + Set-Cookie: + - ring-session=DknUdoMlyqhWeP8z0vrSCfh2E3nADKlo%2FqaAKwV2EIx60YraUPYBxdKKDlK2Bbn8IVxkmhkl%2Bv3zEpUyVsqFKQUvZYZ26OEHUbVbc6YOOezOexMsL4Wx8UQGAejFS5cSSA1P%2FREMsZPI4ODdDh%2BXwlDilatSNBNhmCsTyhIMxJJ9djWKJ%2BXRk9cfp1T3ruwnz7FSi7ZdXU3zYc0WTRcWAEkRLNdugQ9AE3%2Fvltz5ItU%3D--Fja%2BK%2FT86rEhgwnXfAkYJmMPJ%2BqCgrdV1Gj4OHUd%2Bs0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:49 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-035ce08054c9b2cc3 + X-Circleci-Request-Id: + - f7aad5cc-0cb9-4e96-bab4-6765ff8e7289 + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:02 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/artifacts/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Build/artifacts/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 8e70e92..247aecc 100644 --- a/spec/cassettes/CircleCi_Build/artifacts/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Build/artifacts/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/artifacts?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/artifacts?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/artifacts/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Build/artifacts/successfully/is_verified_by_response.yml index 8c8dfac..21c4735 100644 --- a/spec/cassettes/CircleCi_Build/artifacts/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Build/artifacts/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/artifacts?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/artifacts?circle-token= body: encoding: UTF-8 string: "{}" @@ -63,4 +63,240 @@ http_interactions: string: '[{"path":"/tmp/circle-junit.vCFLHp7/rspec/junit.xml","pretty_path":"$CIRCLE_TEST_REPORTS/rspec/junit.xml","node_index":0,"url":"https://140-9485764-gh.circle-artifacts.com/0//tmp/circle-junit.vCFLHp7/rspec/junit.xml"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:07:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:21 GMT + Server: + - nginx + Set-Cookie: + - ring-session=myTqM6U0dVKytbHDN9iQ%2Flc9QU60LxGB1D0M9FpfpsKOBqqSy4beIKAsZrgyXoquNiirKCWLWUbTDRGxZPIPBw5f50jk9A8hc%2FULIxPBNoNHGuR%2B5fTAMCZWq2NdmU%2BLCBmWUy6H%2BbRNlcPenHnswdtyzAFcmTwfndcImjRHne8OtHshF8x0wW%2BFbAFXCY%2FvJPeXH1vwadzBFDH6IDbNJPqMBp7NfKxzBjiS1P51w6o%3D--RKuHuXiRyavrcI68sFddCUdxz8O9QHVnSPos2YvcHn4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:10 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a5430c36 + X-Circleci-Request-Id: + - 8e70bf0c-ad78-4dcd-b731-7a7f391be2b3 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:07:58 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/artifacts?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:11:02 GMT + Server: + - nginx + Set-Cookie: + - ring-session=bmvpdtbvxFY1yk7%2BYNcjbTjXX0TMJfBAUhcMnLQ9Ufzy6zv55krPUc1gN3FUsOTrbPyL5ImDHU8lw0zK%2Fexa85ep19z2KfbDuaNJXEfMtZVEV0poRAK2f6kT2njbmQ7ShMVM7DrzWnONJp1wI2jiOer9CzQaZ1vpTnUGCVyNCqc92Afe1IpBNXc1xCzjembnfvYBA6Kb6WEgeMY%2BulXe8PjGYVvbeW0ppc7uQDekz3Y%3D--uVU%2BNrWtNiq2f17LdL%2FmEnWZwze%2F9yVwbmlH1wu4ox0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:43 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-14bad887 + X-Circleci-Request-Id: + - fab42bcf-b4e4-4071-8e81-7e7ac647c659 + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:02 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/cancel/successfully/canceled_build/has_metadata.yml b/spec/cassettes/CircleCi_Build/cancel/successfully/canceled_build/has_metadata.yml index 7811b55..4106ae0 100644 --- a/spec/cassettes/CircleCi_Build/cancel/successfully/canceled_build/has_metadata.yml +++ b/spec/cassettes/CircleCi_Build/cancel/successfully/canceled_build/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/145/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/145/cancel?circle-token= body: encoding: UTF-8 string: "{}" @@ -70,7 +70,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:07:47 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/cancel?circle-token= body: encoding: UTF-8 string: "{}" @@ -135,4 +135,240 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":[{"public_ip_addr":"54.191.221.156","port":64561,"username":"ubuntu","image_id":"s3://lxc-images-us-west-2/circletar-1741-cc586-20160424T232626Z","ssh_enabled":null}],"queued_at":"2016-07-25T17:03:48.067Z","canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Sat, 18 Feb 2017 19:33:46 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//cancel?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:19 GMT + Server: + - nginx + Set-Cookie: + - ring-session=KQyraYlGrD8BQsO%2Fh6Vo8koq9dUsG1lfRG7ZLGhCYOPehETP0dgbyu7COKXVauaYrJutyq7h%2F2TgAAuuqpF60LNVQHO0tIY80QfuYCplSMzjx03oaw%2BWlSBm%2Fj3UxYZvx%2B7t7jGed6%2BGXSOGaiOQg4poMGDIMU38VmY3OXMPFk68T5ZlL9kXRn9OO0X6VgLg8NOhx8qBIS8GIPqtmIXi41wSAGmvVyJlvvAXE3iMrrQ%3D--uYJdqWSOCSnPJrJWB0O1Mql08Xp0ekcshYWLPtyiYd8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:57:05 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-06dd862830c183515 + X-Circleci-Request-Id: + - d1878194-49df-4185-94af-d453b30e970c + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:00 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/145/cancel?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:25 GMT + Server: + - nginx + Set-Cookie: + - ring-session=ZjySxNSuoGSaDuV7oXVWd%2ByBlnTiOkmRfXryOnQqZXKkPxAfKQHdicjCM38sFw6YDqjzR9iwPTVF5qfyh2IeP9OWokSmjXm5y67jli9oVwRy8k513E8O8RUgFf8skT2MCJBIzQSh5I4YPC1bMsdHaouuRsI2Tzq%2FcWReatbxqkEZU9aKT6I2JDST6EIZqILwwIBdro7ZunIcKu5oPMjJaTIJAOB004hn4pZfNdhahCk%3D--deuhJl9ZT%2Bk97JzQ7ug%2B2JBhzCFdernnSUyBQF9JCn4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:10 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a5430c36 + X-Circleci-Request-Id: + - 8b1730ce-6a51-49e9-9d91-6e7aa7e9bf22 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:03 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/cancel/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Build/cancel/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 9924f22..45f93c6 100644 --- a/spec/cassettes/CircleCi_Build/cancel/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Build/cancel/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/cancel?circle-token= body: encoding: UTF-8 string: "{}" @@ -69,7 +69,7 @@ http_interactions: recorded_at: Sat, 18 Feb 2017 19:33:45 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/145/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/145/cancel?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/cancel/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Build/cancel/successfully/is_verified_by_response.yml index 6958d14..952d60b 100644 --- a/spec/cassettes/CircleCi_Build/cancel/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Build/cancel/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/145/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/145/cancel?circle-token= body: encoding: UTF-8 string: "{}" @@ -70,7 +70,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:07:47 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/cancel?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/cancel?circle-token= body: encoding: UTF-8 string: "{}" @@ -135,4 +135,240 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":[{"public_ip_addr":"54.191.221.156","port":64561,"username":"ubuntu","image_id":"s3://lxc-images-us-west-2/circletar-1741-cc586-20160424T232626Z","ssh_enabled":null}],"queued_at":"2016-07-25T17:03:48.067Z","canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Sat, 18 Feb 2017 19:33:45 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//cancel?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:51 GMT + Server: + - nginx + Set-Cookie: + - ring-session=RczXCPPNQ8%2F5KphZl0daqMCUSJnJcwxgDiWmoPuzt8y%2F2s9u3WKq%2BrmDheJtRDBmXyESuugPn3%2Fr%2BqpAGoY%2BNM6BI5D7PJmB52utWNdO%2BioWRuakeGEWcC6794UdbKgoK4mh%2FlosRrQD5wS%2FAPvfseLB8vcGmpC7RJAS5HdjP7OT%2F5L4PfRMd3AaM%2BJlM6nDM37vSs9murtBY2mT0R%2FYXMqixZ5P6Ppydvz6J9qoHuQ%3D--ptOCcP%2FHKbrHGV%2FnII%2BaiDoBnklwGd5%2BQmlhRjnzkH8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:41 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0e355275ab070b277 + X-Circleci-Request-Id: + - 5e8e801b-fe31-44e2-9d7c-3987605806e3 + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:00 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/145/cancel?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:12:13 GMT + Server: + - nginx + Set-Cookie: + - ring-session=bKg2qESNSs3PDZzGBogbl6P27AStIHZNPLyrxV2QRpsWBw%2F6dAO3Pt%2F7OShlQoBKuLduf0M5zA2vvgZcZh7N924t6T%2FZ5LjnFankOAiCmcGExfNUUCM3W7AF69DLyBE9szMbomcu0H2xWmF9k1XGSAM0NzpYPibP%2FdM0i3CNWBEaQK0ZwRZTjrgP6RsFiGnqJ9Js8KEuoAlo5ksTrR0MkJTiXHSDZLeoFF7OP0IzdvA%3D--JRu5A7oiCCjc5xGlXNmDwXvQ9TfCAfO%2BiHugX0yen8c%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:57:54 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-06a3c1f5f8d5a204d + X-Circleci-Request-Id: + - 97ae21c6-44e4-4e79-82aa-09b280c142cb + X-Frame-Options: + - DENY + Content-Length: + - '3571' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:03 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/get/successfully/build/has_metadata.yml b/spec/cassettes/CircleCi_Build/get/successfully/build/has_metadata.yml index 0e9ebb5..475eda0 100644 --- a/spec/cassettes/CircleCi_Build/get/successfully/build/has_metadata.yml +++ b/spec/cassettes/CircleCi_Build/get/successfully/build/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140?circle-token= body: encoding: UTF-8 string: "{}" @@ -107,4 +107,166 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":[{"public_ip_addr":"54.191.221.156","port":64561,"username":"ubuntu","image_id":"s3://lxc-images-us-west-2/circletar-1741-cc586-20160424T232626Z","ssh_enabled":null}],"queued_at":"2016-07-25T17:03:48.067Z","canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:48 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 302 + message: Found + headers: + Date: + - Tue, 23 May 2017 20:06:44 GMT + Location: + - https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + Server: + - nginx + Set-Cookie: + - ring-session=PsYvCTf2CkLkJWVbLxRM%2B6Tn3HlerruXQvig7Su0EcvVf2FUWq49K3JJCsdUKMz0jRlOnk97fYuxI8DGxOSECA0DSjFJkv7lKdRn8rLFHLs%3D--odEpneqfIr1K1eASVSgKWf9pFIiz77JUGfmbXGWfP20%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:31 +0000;Max-Age=31536000;Secure + Strict-Transport-Security: + - max-age=15724800 + X-Circleci-Request-Id: + - e40d0af6-1598-436c-b3da-7133ae758317 + Content-Length: + - '0' + Connection: + - keep-alive + body: + encoding: UTF-8 + string: '' + http_version: + recorded_at: Tue, 23 May 2017 20:08:01 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:10:08 GMT + Server: + - nginx + Set-Cookie: + - ring-session=34gLJJbaUaebRU5g2jUtoHfniHhb1gkXy7fbTwpGMkcrbfNmVrzFw3Yaf93qxRKXe7GnzgtkAA0n2VnjADxZetCRdKEn%2Fl%2FCwSjmVXsa9yaj5ArbPnrPOVgrUYNspW59MQ75vN8P0Qa9aa7A5AobJWjN%2B8aMTB96vA0ypVoBV47de6oIs%2F%2Bi7PyoTJZ5%2FP9v0Cc07pAGpFnrd8CVaMiNryugBCGSMhcaUWqp5BIjavk%3D--9hSck5qNzq7bPOLAYnbcXwB0aXNzu1sxaiYXeS5QQDM%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:04:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-02f248afdf090c289 + X-Circleci-Request-Id: + - 5981e3f3-5564-4409-b40b-a98d04da2904 + X-Frame-Options: + - DENY + Content-Length: + - '3572' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:04 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/get/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Build/get/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 4177598..95bf4ae 100644 --- a/spec/cassettes/CircleCi_Build/get/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Build/get/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/get/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Build/get/successfully/is_verified_by_response.yml index de0f443..6094161 100644 --- a/spec/cassettes/CircleCi_Build/get/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Build/get/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140?circle-token= body: encoding: UTF-8 string: "{}" @@ -107,4 +107,166 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":[{"public_ip_addr":"54.191.221.156","port":64561,"username":"ubuntu","image_id":"s3://lxc-images-us-west-2/circletar-1741-cc586-20160424T232626Z","ssh_enabled":null}],"queued_at":"2016-07-25T17:03:48.067Z","canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:48 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 302 + message: Found + headers: + Date: + - Tue, 23 May 2017 20:08:52 GMT + Location: + - https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + Server: + - nginx + Set-Cookie: + - ring-session=LWE3L1DCU3DdZ0qm7H3GqIrJusYNhKM6WbX0cuNY1Jn7tnytf0hVLcgEjxPdDCwwRNxbylsfW5ueIw65M%2BfIL7mKieEaN3i0t%2FOR9n9dUIE%3D--3E2TGriJ128YT5l2UyI%2F%2FGtuTQqrpzMOZgnOx0cpZyg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:18:24 +0000;Max-Age=31536000;Secure + Strict-Transport-Security: + - max-age=15724800 + X-Circleci-Request-Id: + - d2e660ce-9d6a-4d17-89ee-64ef5348d8b5 + Content-Length: + - '0' + Connection: + - keep-alive + body: + encoding: UTF-8 + string: '' + http_version: + recorded_at: Tue, 23 May 2017 20:08:00 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:13:05 GMT + Server: + - nginx + Set-Cookie: + - ring-session=8S7PYMoB554mR%2BAJysBQgf07hUbs8ncqB6AuXBt11eBQLhJ4LrDryFpM3y6rcrTS1DWNCiLry87p%2BuRYZtumSt0ZtTiy9QSkt4fYXmirCe84oziHl1bVKmyT6JP20qVog7TSLYLAM%2FZl3HovW8XQeHfNQpbJL%2FC6Sh1%2BUiJhWjYhitcvIVi7gOMMIlVh3vEtnqsgScUPLDc11fkTtXFKKPA6978cDQLcs%2FmVPNhC%2Bnk%3D--z%2BXR2mWrt5CMyLv2VfCQ%2F9iLlYNBsvJQzJNqO0wHAW4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:02:50 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-1e214d10 + X-Circleci-Request-Id: + - 78a0f5ac-125d-47e3-9731-215c1704fe14 + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:04 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/retry/successfully/build/has_metadata.yml b/spec/cassettes/CircleCi_Build/retry/successfully/build/has_metadata.yml index 5bb9156..6358bef 100644 --- a/spec/cassettes/CircleCi_Build/retry/successfully/build/has_metadata.yml +++ b/spec/cassettes/CircleCi_Build/retry/successfully/build/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/retry?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/retry?circle-token= body: encoding: UTF-8 string: "{}" @@ -67,4 +67,240 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:49 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//retry?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:17 GMT + Server: + - nginx + Set-Cookie: + - ring-session=6oe4k%2Fl2HobPGfIj8%2BndGFrQ0rU%2FyVRy5RjzyMhqR%2FY1Hf8bSVIXulW14OFwmuloCGXchbHkc1OJ8GkxKiitFqYR%2B3E94oW4QBb6Shy2C2e%2BwAr0MNpIoUNHV1HRixPvzL3XVS0ac39vjwMA%2F2oEMKLH%2FeBHJLG%2BUQXmsOU%2FBbdJsXDS%2FYWQutWzcHjl1CdxC8SUw2bHDgJJjl4%2Bozhq3Eg4bENMDAnOewzPrKC0v8I%3D--z4Uxop7aEPMUtdjqH3JNG564LTsWeydYZ0moZJg3mKM%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:57:02 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0b711875eec421ac6 + X-Circleci-Request-Id: + - 45a54d6b-a110-4e54-be10-ff65e1960406 + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:02 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/retry?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:10:52 GMT + Server: + - nginx + Set-Cookie: + - ring-session=iBfisOTgPE32G%2BxntzetpMN3JrQUhM3OEoDZdsSTayTR8fioy5gRavqXUkibW%2BvME6v2AQ8g8Gqtn4PqNcnkv7rG%2Bg3wOKIXU9Pa7it5GJZkX3oRylIncDPPnnOF%2F9jH4%2FJ2%2Bwex1EF2QMKFNLPmC6XOmCZqaKfmEACuMu7DbatXbcfu6rLnlBplHGNlmhLp0EYcwLDwABu17gN8KfnIwDIdcjNJKonD7VeOMve0x1o%3D--Yig0KzBrJ7g725ASmD%2BOQVDM1XdhkSfzcRetkh7OuD8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:39 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0e264352beb679cc8 + X-Circleci-Request-Id: + - b1df46db-02c2-453f-9dc2-09808d1a008b + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:05 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/retry/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Build/retry/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index fc187af..201a997 100644 --- a/spec/cassettes/CircleCi_Build/retry/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Build/retry/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/retry?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/retry?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/retry/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Build/retry/successfully/is_verified_by_response.yml index 1787293..ae87292 100644 --- a/spec/cassettes/CircleCi_Build/retry/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Build/retry/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/retry?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/retry?circle-token= body: encoding: UTF-8 string: "{}" @@ -67,4 +67,240 @@ http_interactions: method naming fix","commit_url":"https://github.com/mtchavez/circleci/commit/d9a5a207e10209eecef8ed02289824a8630ed67d","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:49 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//retry?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:26 GMT + Server: + - nginx + Set-Cookie: + - ring-session=OoU80wvEyc9JyRmzUwSSoN%2F5e%2FblvE2osXRcbk7EwBmzYJtG4n2MW6hrBNwSUaWuS9bbtvkYhr0jHzIaSHzpkISRoDQilLM2hNm6V7LcyhHe5c3B2FM1SNA%2FFBIXmzRkYw%2FU0anIdJRFjnoDuBaxD8tx3z2sBttmpVwU68kO1rFoljs6bZwzuJGOSio026haIUx8b1IJ2sRNDc7xXxvh1XxlgdswbvXtNzLcJDCv%2BI4%3D--DxfC6Y0LgrmgVaLbCJR%2FNYUqZAe%2FWKuWfjar2sb%2Bq4M%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:08 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0fee7654fc14398b9 + X-Circleci-Request-Id: + - 75c2f4cd-c15f-4f24-b738-0f2923872063 + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:01 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/retry?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:10:29 GMT + Server: + - nginx + Set-Cookie: + - ring-session=6TTsjYXzCoesIbYq%2B58YxbKu4PN1AhI4i9SmE%2BaTXoFvgZCNVnQguf7fUlOB75YBrb8bM3KjGkNmDADOgS7NIDWCOnzNUxSmiJcjDjOZaUyTABBBBrEBtwKIPqI9SA%2FYndljzTXxb%2BsT8S5gp31UOTmC4YBMFYklIyOmQraLWAF59um46N3ynSj9GeapFrgrI9Hy6qI77D%2BR6QLWEimuQqPu2KsPdkEq3DG0oF9ayEE%3D--pycgfO3GUD361u6yUQz065i%2F2cJmI40w9Gb4s6ed5o4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:08 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0fee7654fc14398b9 + X-Circleci-Request-Id: + - 929ac1a8-5d25-4120-9700-8766ed3d4065 + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:04 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Build/tests/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 5a5ae59..3df4a7f 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_2_1.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_2_1.yml index 90a81b4..f8310f9 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_2_1.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_2_1.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:50 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:02 GMT + Server: + - nginx + Set-Cookie: + - ring-session=zvXr9%2Bu3KDCuywrV1RNx5npTj93Yfw3IeDPHggJR1DiY3J8kXVUp0rll8t4m9xAw7rj9fIpFhNk9MeccUshAOxrGQlWYZeNwCp2hdbRzslDKJhAcfYRffGnn9esbdf7LuzPtcTYlXY%2BKvmAxlpamlYbjrvBebS0%2F9JpmJBUYOG0ld0Okj5MQ1VjTBp76JJN6jrudtE4tQDWBr2XuYxlSJe52Bs50PMEQkp5eqKBsNVo%3D--e9YFRIPzlLsTWKq4spWV3kp0ipDx5Y4FMNAGxZD1srQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:48 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-09ae5146eab9f3ca9 + X-Circleci-Request-Id: + - 4c7a006f-de1c-47dd-b476-9d617cec83af + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:03 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:11:51 GMT + Server: + - nginx + Set-Cookie: + - ring-session=UKzvnvpnTBdjl%2Fbp%2FwFoXrIzzNwHAfyrp4WIdkUYWOLBazJroJ5T8%2BEpbsEi5TPSDkrIfFr627GQ2bV8uMr0MVblv2eXTymCtFuJIh37SNkVuBxCbzK0rUkHD2cjkrCfjXiVTWGPUkKLDlVL%2Fe%2FRvrECbmzUeMhRaeNFZ0Ro3ZTmjawVj2sv4AmCkIBBJ%2BtLrns4cK5r61rZ%2BMzG2wls6EX9u0zX9g0zbTL5T%2Fv5vRA%3D--bruTMHt0qB%2BXzd267gD3z%2Fk9z7PXsyEl7%2B3kvYfWyds%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:57:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0450eb66c04022a4f + X-Circleci-Request-Id: + - dae6e0c5-264a-45ad-8626-a8cee350a798 + X-Frame-Options: + - DENY + Content-Length: + - '3569' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_3_1.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_3_1.yml index 8c62d1a..eebb8be 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_3_1.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/1_5_1_3_1.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_1.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_1.yml index 838c2fe..fe16f6e 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_1.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_1.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:51 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:01 GMT + Server: + - nginx + Set-Cookie: + - ring-session=kuLcRApav9JWJnSbN97jgirIBFRqrl3tMYTdmuH7iaDhO987r%2Fah%2BXgjz%2FBS780r5hd7%2BkqpwPV1bqWbHaVOGPPQ3oRZAz%2Fznbn%2FjhslM8kg6s29U1qoIElu3e1Zic%2BkC3Sq465Y7c138WvNOcu%2BHUdogXGZRDtGk%2BcN5%2FathZeh5KQ3m7t8upYEjSu9LUnVL2ByMD%2FvQ4HLpzg9h16D4kn0Chm2d2yMKd73NqabkDk%3D--yPuzNpQbUhmfW5pHl3Pxvc1E4SEVhn2bc80ZkNCq5Ew%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:49 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-035ce08054c9b2cc3 + X-Circleci-Request-Id: + - '049eda47-b8a5-412c-a572-91abce2f4cff' + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:04 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:11:36 GMT + Server: + - nginx + Set-Cookie: + - ring-session=lhd0La%2FT1dzAsbpHJ5yyahvvtg968W9w%2BntIEa60jMc3drX4L9Du%2F3%2FWJqkkA2u7tfXdZdMLsbm83IH7Wqfv8novgOw%2F1%2FGYVgO%2F6Pj1v6%2FIcMGRfoIJnfjZaqtPZTkQMyhLR1r0twLdDawiiff0YaYEkMdfOvKgTsYvq0x1ciC1vzFkuu9IPUTy%2FpWDCD3GbozoKGZzawaG3pd49nRIkgb9V41VqLc75tYnrFJtu8k%3D--k3Jusk3Rj2WljfmhTQhBdFHp6JYglxUxfqafSE%2BZCZI%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-07a61a007e8c01b80 + X-Circleci-Request-Id: + - 7e2b8efb-b933-4f16-83cf-90189b2ca535 + X-Frame-Options: + - DENY + Content-Length: + - '3576' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_2.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_2.yml index 01db2b2..1fec002 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_2.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_2.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -39,7 +39,7 @@ http_interactions: X-Circleci-Identity: - i-4cfa44b4 X-Circleci-Request-Id: - - 052692dc-fea8-4535-a357-8d23a8b22663 + - '052692dc-fea8-4535-a357-8d23a8b22663' X-Circleci-Scopes: - ":all" - ":none" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:52 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:05 GMT + Server: + - nginx + Set-Cookie: + - ring-session=e%2Bhkc19Xxa6ewsmmkcD276xjhROYYqI5Co5H7cEKW1YMW71PJghRAiOWDkX2vHdyG7gDL5NKZ%2B60DWYEJDvn2fdfs%2Bk%2Bb0BilYYLhYMN388drsIHmARQVevno8K3%2F%2FdBqdV9k75snK7a%2B9D4HxHk534wpdPHeDxrXCzjNf%2BJoqYUnBLsgKV4PsB0hTrNNew0SOM7d6h4FkZmGvBncMCj0WjP3QBWHS4KZlXlnoZonCw%3D--V9MUK%2BBKXzmJ1VjNpQu17s2tZHmltF1BYQprZZsH3bw%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:58:54 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-d796d444 + X-Circleci-Request-Id: + - 6ee16a7c-cdf6-4b39-9653-5daa3ca73e4f + X-Frame-Options: + - DENY + Content-Length: + - '3565' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:04 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:11:29 GMT + Server: + - nginx + Set-Cookie: + - ring-session=edUw9rcHROsbheqtykIFQBl4OzGrygCCaq71sQsViV5YlD4X8cGjOSfTnjBjhRHM3oa%2BWFtvuNBHWrsYedRj94QvMS4OOp4CXh4zlfUUQHr%2BqwnscohnJ6mrppxYAbs5EAGz%2FmLBwaffYfhY2Q3VkghFSmkPPtbWaHqsVoTQMgNDRCP3wrzdZ5cdKLCgyTWuQtqd4%2FvjfJYOTAwLNmxifbRG7amgYqy%2B7PvVRm%2BHehk%3D--azQBpc8Rs22fVkFV6XzT4MdY51oG7Gc5ErgvYn%2BqdrQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:22 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-02a5821a59a245804 + X-Circleci-Request-Id: + - 3c6b169c-8a33-44ec-8693-2ae42cc06325 + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_3.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_3.yml index 0c02c88..53ec931 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_3.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_3.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:52 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:05:18 GMT + Server: + - nginx + Set-Cookie: + - ring-session=fwPd51s70wYRHLKBzaTUZg7YqMMoLbsYIxFO9%2Bimq9TYZQmJBJy2pdUGBuBzhhzk5dNwiu90%2Fj5kaewNRsz%2BIsUC2coglaP02ThLFnopI8%2FR1moYLR1P2PzFClJZC59axlKg7OCSOKNH8t8JtjaOZEMrpItOjWWUF%2FYO7UVrh1L%2B94HwhUR76qr%2B68VKoPoOq9HBki30SvRdWHIQs%2BlPmIoGdyD%2BJZZzjmF1FI8%2BCHU%3D--SwB1Dyu2cnTxPWvfytexTjQTYX1zgUW6w0a54m244X0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:02:53 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-da4c22d4 + X-Circleci-Request-Id: + - 1f337463-9c42-43b6-8575-e612d9bdb1aa + X-Frame-Options: + - DENY + Content-Length: + - '3563' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:04 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:52 GMT + Server: + - nginx + Set-Cookie: + - ring-session=tG3QN%2FqQSn%2FLHY4ZH6bnywWiezlHg17LtHzU4pmwnw09TiCGcaa4vDPrVojxcWOBS1JfUghdwp3zcQQqMFcPcN57wLUCAURw1ThalmKJjP3hrpoSYUfZXO3Ua3Lu3wfXdhNV0M7GF5ZFFcinCIYF8fvjrEDrQULz9Mh0twqy%2FwCoQn%2BduTPPkqjYYXX1O9F7Mrxk17eLynv6G7MLHRtPWXAMszPAnII8InVeu2CngFA%3D--E%2FSxoxwh7gegffisz%2F4OBKJArHCWb1L2tiusTpb8gTs%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:39 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0f79eb58d1804b56d + X-Circleci-Request-Id: + - cbce7d62-2263-4b22-a861-a69b39c8f1d0 + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:07 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_4.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_4.yml index d29c5f2..e66a78b 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_4.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_2_2_4.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:53 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:41 GMT + Server: + - nginx + Set-Cookie: + - ring-session=96pIvz%2FyEDyeaGbrY5xXHWKhgwVoHlhEU8F%2BMxPPUZ29ilBCYHyl2iHuogKiu45iyGJlLA1TLdjctyYX0AzcLTdp5GHmlroW3GxBhFnuMdR%2BnIUImhu3JbFt4vQ%2BHxiu18QlDfulR1r7u0NSsi2ySmRtdzp1T0W2dE39vgTa5L%2FbxaEnNSSiIIQLYQY2sDj2n15EoE0zORgGEURcsJOlT2fjS2kK31LmHxpt83y00bk%3D--Fzg7RXo9nWMe03TRZ4W0w9iz6zu03wRNVWPy2b39gsg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:47 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-076acc7b8166120f4 + X-Circleci-Request-Id: + - ea467329-cb31-4199-9b8b-747b19fcb95b + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:05 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:13:14 GMT + Server: + - nginx + Set-Cookie: + - ring-session=A4LFSHFlMYrhGdpahd2zxjWLzV8K0Y%2FOBVcjcdjOg763EPHfagtpnkp8L6DpUrEPMrf5q%2F6%2FXeAPWErhnFE9m9lNRPv2Rh0cp7TA9tYpBUIZCdpus6pwA2wnqperrzQLN9q7t8vZt8b%2FVLCg1faPiRdWIiSNvsEYOGD8I8UV0uLt7ACNK8Qgy3RL%2B%2BQx%2ByvNWQkgnFW25lspD%2Fn5KnijDFjog0pZWdNmGJ8Vgo8jWo8%3D--qwrTRK%2Ff5EXdzt6xK392XTuNO7Ao2bw9ll%2BncQ3XBm4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:09 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-076e3d4ca847c11ef + X-Circleci-Request-Id: + - 1bb46cae-212a-48c3-b09b-a45a46bc33b1 + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:07 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_1.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_1.yml index 3efd357..f50e67e 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_1.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_1.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_2.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_2.yml index c56a8cf..cd411f1 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_2.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_2.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_3.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_3.yml index aeae257..6f140b7 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_3.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_3.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_4.yml b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_4.yml index 963cc32..ce1b7b6 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_4.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/for_build/a_test/1_5_1_3_2_4.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Build/tests/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Build/tests/successfully/is_verified_by_response.yml index 873a6e0..1c06841 100644 --- a/spec/cassettes/CircleCi_Build/tests/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Build/tests/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/140/tests?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/140/tests?circle-token= body: encoding: UTF-8 string: "{}" @@ -141,4 +141,240 @@ http_interactions: configuration can be accessed after being set","result":"success","run_time":1.03E-4,"message":null,"source":"rspec","source_type":"rspec"}],"exceptions":[]}' http_version: recorded_at: Fri, 29 Jul 2016 00:07:50 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci//tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:12:31 GMT + Server: + - nginx + Set-Cookie: + - ring-session=4J8k0nBMGrn%2BLJOUosLss8r8B6HmTKgKcSqGw2tiZa%2FU7W6I5PdtUsPUfBGBrWyXhRtQESQS9DdW1CGkwY6OGh2d%2F3xq2o1Iv8OiEr4YP22OWnD8uYWtJUy8QUldtd7tjFvIO0JlV6QirydU7ZFKdnS3R505b2Rx9B61dR0xkx7qttATIBa1PAslfGchRVeyOXtmigwaAwibUKZbMnpU7rqcvmPVIypgXXIkMKbziXg%3D--ZrJckmM5zUb1yhYcY%2By94zlJlPAlZk1gXxULF8D%2BWMI%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:09:51 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-36cfaa38 + X-Circleci-Request-Id: + - 3fb3f106-85e9-44c8-85ae-b5d838907ceb + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:03 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/140/tests?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:38 GMT + Server: + - nginx + Set-Cookie: + - ring-session=NlvdDmn8%2FxqYDb%2BZw70qOxQQOis5Jb15zuz1g4gMkjXmdk1SXe6C7Ktxatakx7Gll4vvKjflQQIzOH9obtZXg4pcWWizxD3%2FsxzMen1%2FyYXLDF7%2B3Ea6hEj4cNO9zVpREo8VhxB3hyvGqt4L%2Fa1aMoM2GiGhCvRlB%2BQ%2F%2BHMHEsG4w%2FjjBOB0AuPtP4gqZ9vs%2B8vljHvfCpH81ho96sv1Mutni3o2LMuoXWF6vmNjOk0%3D--FJ8jX1wUS5EZhPuzdyJBf2kWUhQ3QVNAr85D9LbqbZk%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:49 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-099c494ada9070374 + X-Circleci-Request-Id: + - 3e164537-1b5a-45f0-bded-aceb0426d2c9 + X-Frame-Options: + - DENY + Content-Length: + - '3574' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:11:05 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/add_envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/add_envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 4d10ebe..ccded52 100644 --- a/spec/cassettes/CircleCi_Project/add_envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/add_envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 23:56:55 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar/TESTENV + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar/TESTENV Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/add_envvar/successfully/envvar/has_metadata.yml b/spec/cassettes/CircleCi_Project/add_envvar/successfully/envvar/has_metadata.yml index f56663d..efe1668 100644 --- a/spec/cassettes/CircleCi_Project/add_envvar/successfully/envvar/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/add_envvar/successfully/envvar/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 23:55:33 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar/TESTENV + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar/TESTENV Server: - nginx Set-Cookie: @@ -60,4 +60,122 @@ http_interactions: string: '{"name":"TESTENV","value":"xxxxalue"}' http_version: recorded_at: Sat, 18 Feb 2017 23:55:50 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/envvar?circle-token= + body: + encoding: UTF-8 + string: '{"name":"TESTENV","value":"testvalue"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:39 GMT + Server: + - nginx + Set-Cookie: + - ring-session=5xbSFDquS0xdsBEIhoYYJ%2Bac70Uln0W4g22UbwEyS%2F4yJILxkTBSqVDAnE1sn6lSbyfwX%2BZQM5TqlsSwZ9yEAICjCakKtiB%2Fc0eILJL%2F7tzFymnuWc%2FYTvpiDEKOEqgqRDfY8jK09vVCX4NJL3qnYPqvhs6sWcXcflwjmYR61J6iYjkfhzjnRpS0XVuv1gyv14fKN1px4rgRho2QN%2BPGolZYdcn0xR2XGkX7RoyjOJY%3D--hZ9KFM9i3JOY3DT9XmgHzOXeHIXKQ2MjI9CdhI4lGH8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:23:24 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-012b6602d82214655 + X-Circleci-Request-Id: + - 1290f10b-af9e-4bff-8b89-f56e890fd1f8 + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:23 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/add_envvar/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/add_envvar/successfully/is_verified_by_response.yml index 9077f04..4d406d7 100644 --- a/spec/cassettes/CircleCi_Project/add_envvar/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/add_envvar/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 23:59:04 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar/TESTENV + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar/TESTENV Server: - nginx Set-Cookie: @@ -60,4 +60,122 @@ http_interactions: string: '{"name":"TESTENV","value":"xxxxalue"}' http_version: recorded_at: Sat, 18 Feb 2017 23:55:49 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/envvar?circle-token= + body: + encoding: UTF-8 + string: '{"name":"TESTENV","value":"testvalue"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:08 GMT + Server: + - nginx + Set-Cookie: + - ring-session=z9wKcJKDAmPFPnWG9v63bSo%2BDpNCPCntGZPiQ3dxx54maNAMN8e3wYBUGQGHVKrtO5dOUCMzPX%2BaBUK12PFlWujXqxHa3vjlcGJDYYZoU2QJhYW5ycyaXoctS1gSdYZ57ot4TDkcEI51DjwxCmySG34%2BMLfRl%2F5pjNz55t1FFfrJd92z4nkaA0%2BiVC7uCXj1LeQoqi3WrCXWhNDZ%2FgzqTLBsJ21vTqEwxU7axgIM9mA%3D--llCmRaW7kKLF8NB%2BHJU05xgo0ynZ8sZU656cjjOsk88%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:50 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0c802f9692ccd6a1f + X-Circleci-Request-Id: + - fc87cf59-e4cf-4ed9-a68e-9ea047aa3622 + X-Frame-Options: + - DENY + Content-Length: + - '3572' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:23 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/is_verified_by_response.yml index b979876..28aa162 100644 --- a/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -48,4 +48,122 @@ http_interactions: string: '{"message":"Project not found"}' http_version: recorded_at: Sat, 18 Feb 2017 23:55:50 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/asdf-bogus/envvar?circle-token= + body: + encoding: UTF-8 + string: '{"name":"TESTENV","value":"testvalue"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:12:10 GMT + Server: + - nginx + Set-Cookie: + - ring-session=y77LlmkDLQoXEoYU0rcbbERT%2BmZl7OyCyk%2FkkSIOf1oVxo9%2BXqGX3m4JvIUztUkmuamqcSjvJx3jI%2BNwcU6oqgzozxOM22%2B5gadIBle7%2Fa15ouly0Vq3UW%2FwyMnP31PxbWg0dRP5EwdRz%2Bfq0UD7%2BY8s75bJfAQhBS2LDmzlb1XlqzltFsuZWoZG2JQp%2FXU62ddWke5HUNi4uVNqp2jhTikjUgmrWQycJolzJKGVxCA%3D--ueC5cwzz6eyR%2Bd5UrQCQQdHLFU3oFQxGKS78NaWfDKE%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:04:43 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a9968330 + X-Circleci-Request-Id: + - 75c090f5-f80b-43bb-ae9d-342b904e61a7 + X-Frame-Options: + - DENY + Content-Length: + - '3563' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:24 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/message/returns_an_error_message.yml b/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/message/returns_an_error_message.yml index f87f6fc..6eb926d 100644 --- a/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/message/returns_an_error_message.yml +++ b/spec/cassettes/CircleCi_Project/add_envvar/unsuccessfully/message/returns_an_error_message.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -48,4 +48,122 @@ http_interactions: string: '{"message":"Project not found"}' http_version: recorded_at: Sat, 18 Feb 2017 23:55:51 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/asdf-bogus/envvar?circle-token= + body: + encoding: UTF-8 + string: '{"name":"TESTENV","value":"testvalue"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:23 GMT + Server: + - nginx + Set-Cookie: + - ring-session=Sa96se2ueSTLiLbY%2FCyt5HKI0SyRMr%2B%2Bxr0E0JW0I8BNPITpbPLq5wUn44gMWhDYAAEY%2F2aacM1Mfu69FPxUIRWaslbRTIJF4aspzXumFVNTTC3NIS6eJzhYPvNbLvxhPcsPU0%2Bf92sc1xxSF0YIV4SLHHTGshR%2Bj%2Bl7yEvFayCzrE3MqgnzdQWP1jq9%2FBqs6b%2BMy7S8C5e7mIgfPcaJltVmDCSWwMYAjS4PyS9t17E%3D--4D2wLx8f7AJcvTtTBG9t52vo5OQ85IAQuB8o5Qhy0lM%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:48 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-09ae5146eab9f3ca9 + X-Circleci-Request-Id: + - '018c960b-e694-4102-ae50-6f17c716d6c0' + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:24 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build/successfully/build/has_metadata.yml b/spec/cassettes/CircleCi_Project/build/successfully/build/has_metadata.yml index 42eb349..a5bb266 100644 --- a/spec/cassettes/CircleCi_Project/build/successfully/build/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/build/successfully/build/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:22:25 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/234 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/234 Server: - nginx Set-Cookie: @@ -64,4 +64,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:34 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:18 GMT + Server: + - nginx + Set-Cookie: + - ring-session=xhyXss5Iz6N5h6EcZmBmx9WxXFt99nSFsY1syCh7VX7wqs0TBibZ47%2F1Hxq0BwVZWbA6mg5e31SGUAvbvwHcC6hUgD5%2B8at4Wpre9ydzQlLXkJTw58GpYHHCqIXtMRke4Ygb4sBvpzMfSr4B73beFZLbwdDZ%2BjjNu4DrEe8b8wonnA0AVSrbSMTb%2BDoLu9ZXuAvntpAVzov4z4MF8%2BIK7a4qMY95WTFlCYbov8vVZOk%3D--gaKdCyGabNYd3A1BafRPJTx7C9LZyUSuqtASr2CZcDs%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:00 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-018e7cebeb6294d1f + X-Circleci-Request-Id: + - fdeaa1fb-b1f6-421b-975c-2e6e1388c4a4 + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/build/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 72a2b52..9f075cb 100644 --- a/spec/cassettes/CircleCi_Project/build/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/build/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -52,7 +52,7 @@ http_interactions: recorded_at: Sat, 18 Feb 2017 20:07:46 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -77,7 +77,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 20:10:22 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/318 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/318 Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/build/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/build/successfully/is_verified_by_response.yml index 914f442..24b7fa6 100644 --- a/spec/cassettes/CircleCi_Project/build/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/build/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:23:09 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/233 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/233 Server: - nginx Set-Cookie: @@ -64,4 +64,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:33 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:06 GMT + Server: + - nginx + Set-Cookie: + - ring-session=fp8JXCi%2FNzugaZADPe696z0yDbGRHs1kzKT4K%2BshgRXEtZQY0Rza4Zek6oy7CshwcP6%2FuVHwa3CKtjMPCLXcC2yFckal45ptW5OYrw7QDZ6N17Ik3g9MlXfHMJNAUmNQ%2BnXm5ZNq2g0nikwdUtp0VJeLS0LsAYnnOY%2BnKJvnOmbw%2FkY13pZri3k9Arl%2B67RqYeTvyMeBeGFLN589Ik1aBQEJwOSVWaoTHbEQHm6QusI%3D--qRXW35Zdjh3xkhT0ldxHBlq5L153kx4hHIAm%2Bpl5wpQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:58:54 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-d796d444 + X-Circleci-Request-Id: + - 2103dd2e-360a-4d32-a981-350997402003 + X-Frame-Options: + - DENY + Content-Length: + - '3565' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:05 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build_branch/experimental_api/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/build_branch/experimental_api/is_verified_by_response.yml index ede688c..eae6aeb 100644 --- a/spec/cassettes/CircleCi_Project/build_branch/experimental_api/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/build_branch/experimental_api/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: '{"SOME_VAR":"123"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:22:52 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/237 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/237 Server: - nginx Set-Cookie: @@ -66,4 +66,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:37 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: '{"SOME_VAR":"123"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:04:33 GMT + Server: + - nginx + Set-Cookie: + - ring-session=W4sVQJxornQkeHWeU6Xe5viltzBCoGZauvOTzU86M969PG8ywUHxQEbFiyaV4J0EzSZu7VILbA9RqEde3VotKtvErUZ4fM0h9dQminnwNbb%2B0icrUp%2FBdO1%2FIIFQDSK1XmEl5PLYNZl3anlDPeAjPXCXpbTnLGa5E2zdMGccwTSrS6u5JIhPfxdGiz7Nx0ch5pxnnEPu3VPs03ziPpefrZxnq9FGX8Qet%2BvQyqRSKGE%3D--3L%2BzvMHdGiwWGrE7Y6WGJ9Wfb%2FOj7YmWqF%2Fia6CkjY4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:53:36 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0fca4506c1027ce0a + X-Circleci-Request-Id: + - 1769e43f-060e-4575-bd02-9cb35003bef0 + X-Frame-Options: + - DENY + Content-Length: + - '3576' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:07 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build_branch/successfully/build/returns_newly_created_build.yml b/spec/cassettes/CircleCi_Project/build_branch/successfully/build/returns_newly_created_build.yml index 46b60f9..cd4e8f5 100644 --- a/spec/cassettes/CircleCi_Project/build_branch/successfully/build/returns_newly_created_build.yml +++ b/spec/cassettes/CircleCi_Project/build_branch/successfully/build/returns_newly_created_build.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:22:33 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/236 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/236 Server: - nginx Set-Cookie: @@ -66,4 +66,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:35 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:19 GMT + Server: + - nginx + Set-Cookie: + - ring-session=%2BK49eDspi0FTZgEAHj8PeNjOxgVmsCCkeUlYr%2Bp4N1tb72TagJnk9p6N8IsQ4AEYyaP2V9GYFeIJq2vjVki5ABYIFCNP%2FbQBN4iqS7Nk7UKY4mwMy3pqCSYsJMzAyChyQ32j0YDEc1jJSwgU0Sf1zTCGG7AHbOWkkaWsqo4fHZakMRVode6bFFZITuGp5VZn%2Bg3BUfBq5i2nmLCcgXE9J5zwx5%2Bz87snpvqQqHE9CGI%3D--tSTtX7jgqfEYd63drFcztJJ7STFcA27XMB7sKJ%2FjVSI%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:00 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-018e7cebeb6294d1f + X-Circleci-Request-Id: + - ef99ee30-cd4d-476e-b44b-704107e39f3f + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/build_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index b084d7f..fbeacd7 100644 --- a/spec/cassettes/CircleCi_Project/build_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/build_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -27,7 +27,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 20:17:04 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/319 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/319 Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/build_branch/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/build_branch/successfully/is_verified_by_response.yml index 04ac2e4..50aa041 100644 --- a/spec/cassettes/CircleCi_Project/build_branch/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/build_branch/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:22:55 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/235 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/235 Server: - nginx Set-Cookie: @@ -66,4 +66,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:35 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:58 GMT + Server: + - nginx + Set-Cookie: + - ring-session=r45fFdKLAgmPCJJaJA7%2BBUZWuQtzlpbRKQYI%2FcT36SFsyfaubvXi%2FgyMvyU7HI9P11WjXXnJO6HXl%2F6ldISf1KSA6EKUDHPOBzpUGw0mvQjwSxxUwYkrXDvUJSRFIESM2bC%2F6DGnBQZ4NjBTf6UF5Bf0Kg0ogdOwRlxcs209KOoK%2F7Wb8FU%2FmWzlV0CJBLbQxSg55GWcGynXgj4DjaghLcIvY%2FeVrmSZ2dotoTh0ZB8%3D--ojles9YUKcqVoeO9slAhjxZFntuKMLNIUxqz8rTj93Q%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-068bf61ae1f2a8d02 + X-Circleci-Request-Id: + - 71130d84-ba5c-46fd-9316-a14d279b3ac5 + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:06 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 3546110..8322135 100644 --- a/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/65/ssh-users?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/65/ssh-users?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"RSA Private Key"}' diff --git a/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/is_verified_by_response.yml index 52727f6..a295eb4 100644 --- a/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/build_ssh_key/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/65/ssh-users?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/65/ssh-users?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"RSA Private Key"}' @@ -63,4 +63,122 @@ http_interactions: CHANGELOG","commit_url":"https://github.com/mtchavez/circleci/commit/43904cc4b93e79af83cddd6b2195e031759d665f","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":[{"public_ip_addr":"54.144.251.237","port":64712,"username":"ubuntu","image_id":"circletar-1347-b4bf5-20151130T080640Z","ssh_enabled":null}],"queued_at":"2015-12-06T21:37:16.459Z","canceled":false,"author_email":"matthew@el-chavez.me"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:37 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/65/ssh-users?circle-token= + body: + encoding: UTF-8 + string: '{"hostname":"hostname","private_key":"RSA Private Key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:03:54 GMT + Server: + - nginx + Set-Cookie: + - ring-session=WJPjdQrL%2BmtmaCTN8f7ayY8yRW4sMf%2B9mPg1rqLO%2BtF05%2Fr6fz43wAeI1nUpqWw4lc5%2FP6m1Xe%2BndIMfjTgiYJ5WMBX3dyx8KUIDNeZiDwq4I8dOWGrgD96QMj9AaPwHhoc8%2FKszT9%2FvxbROOwqVLaWc3Gjgzkmn2bvejbhjnGU4Yag22u3KNKFRzutbJLB4yHwJqYlmEdxp1dL2QLNzxMK2oYZrWiRvSPSVQ1WFv6Y%3D--FgujiDPg%2Bjg4dEp%2Bq7bZRp9Hns4rc3uA04eHXScr4DI%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-765169ef + X-Circleci-Request-Id: + - 7d30a14a-45a2-4c3c-92d2-f9ce883f540a + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:07 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/clear_cache/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/clear_cache/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index cf6b298..3dd06cc 100644 --- a/spec/cassettes/CircleCi_Project/clear_cache/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/clear_cache/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/build-cache?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/build-cache?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/clear_cache/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/clear_cache/successfully/is_verified_by_response.yml index 92c6ac0..2dde05b 100644 --- a/spec/cassettes/CircleCi_Project/clear_cache/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/clear_cache/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/build-cache?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/build-cache?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"status":"build dependency caches deleted"}' http_version: recorded_at: Fri, 29 Jul 2016 00:23:37 GMT +- request: + method: delete + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/build-cache?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:06 GMT + Server: + - nginx + Set-Cookie: + - ring-session=AyoLO1tQiLCnlGX0JXHswN3hDvd36MxC9C3puf%2FE%2B%2FpVfelEcZvaahZge0u82eSf2iwg%2Bq8txyN6LI%2FqOI8%2BnHCa1D0ND3wcabdyfYCfmMW2ghSpaL0ymi5zFy%2B%2BoR27v1r9i6K8l4CmDR9OYFDkctxxxZR%2FC%2BNyj3C1Re%2BqjALBealp2xuSKBbMd1VNoQUVZiPCELRY1lfCHpvWMsFFMWu0pRg9LAomimIedGf9PbE%3D--zDAovaWTX%2FmpQB92Zy9vc0IZinhG%2FH6of7VG%2F5VEe8M%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:48 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-09ae5146eab9f3ca9 + X-Circleci-Request-Id: + - 15095228-e5b3-4b79-b125-e9023b25bd25 + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:08 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/clear_cache/successfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/clear_cache/successfully/message/has_metadata.yml index 9fd1039..c9fc047 100644 --- a/spec/cassettes/CircleCi_Project/clear_cache/successfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/clear_cache/successfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/build-cache?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/build-cache?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"status":"build dependency caches deleted"}' http_version: recorded_at: Fri, 29 Jul 2016 00:23:38 GMT +- request: + method: delete + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/build-cache?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:44 GMT + Server: + - nginx + Set-Cookie: + - ring-session=rlrPhtYaDG3Dyv7P7mHmCmZi%2B4leRsXTEC3MTIHwzZCyWUsLnUq5QAhue1ujjSYTl81ztY7o0sV2Or8UUSJv5ImJ36VdGjzUxLVSPh%2FhWS31zNJqqP9wOUSSerEgnFKBMRTIfFtdI7UwpDeQqxEvKl%2FwIhAYhgLQ5mu1Xu1NLfGaGYuzWPbEMnnZK8xuBCgbP0HJLZr10USBQC30PGTYBPQxuddyWueOhT0V4amNWDo%3D--axLEmAHSQ7PBoVW0kXs%2BupJkemCntk0w7vdzquGh%2Be4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:05:13 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-014891d1fdb3ec931 + X-Circleci-Request-Id: + - cedc9639-f0f7-4793-a973-8ea49b258e01 + X-Frame-Options: + - DENY + Content-Length: + - '3574' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:08 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index ba2a043..ed28492 100644 --- a/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/is_verified_by_response.yml index 4ab8339..f52a88c 100644 --- a/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/delete_checkout_key/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/46:0f:2a:f3:ed:58:b6:dd:60:27:bb:94:d4:04:84:a6?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/46:0f:2a:f3:ed:58:b6:dd:60:27:bb:94:d4:04:84:a6?circle-token= body: encoding: UTF-8 string: "{}" @@ -51,7 +51,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:29:46 GMT - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73?circle-token= body: encoding: UTF-8 string: "{}" @@ -108,4 +108,122 @@ http_interactions: string: '{"message":"ok"}' http_version: recorded_at: Fri, 29 Jul 2016 00:34:03 GMT +- request: + method: delete + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:00 GMT + Server: + - nginx + Set-Cookie: + - ring-session=OF9nWEaSGWbpRcJwkqMasBVmVCTQSh6jVQPIbcaEgBDCfUat86aISELjKmcF4HOW4kSIciuEul3q7%2FExohEYWF7MSLSDUvrCQkC7tcKRTzRfH%2FJQPvL5jexmvGrMgwgUJ08TfP24bQwiwRERq1KxXRo5FmcGYhnByGY%2Bot73r8gmECm5EYR5QkaZeuZGgxGfEAD%2B8D%2BeKLMS1S2xnyKyTWjQnrgbF4jQBlXXYfrD%2BPo%3D--MzXFmUK%2BcxiVOx%2B0v5vKZg4wcLxXzXATfV9PtsFJUX8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-068bf61ae1f2a8d02 + X-Circleci-Request-Id: + - dd56dcbb-b1e3-4c43-bc11-9dbc892fc81d + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:08 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/is_verified_by_response.yml index 5b1b50f..5abfd31 100644 --- a/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= body: encoding: UTF-8 string: "{}" @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"checkout key not found"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:46 GMT +- request: + method: delete + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:57 GMT + Server: + - nginx + Set-Cookie: + - ring-session=iZBSd1%2BPJEaFgZ5IIARhV%2BbmTMX1F%2F0ujOiyhDjj2Bv7PdErTn4ED6O0Yx%2FnQ0ifnJaAK4psfrjFEdw6Hct5JNMvnylh7sqve4ec3t7pkPgCB3FCFxli6H%2BYhbHWfZ5H%2BSA9%2BgDc87KMFrcSCph5bUkR4as2jUMQgxbaBgTwX5M9LMiZvnsiJrFBLYWNFUQTxbuPeV1sYEVG%2FRPXjJcBvHaHkRMpiJiVb5rvaSqmg4I%3D--bY8IXSKXcTeZNTF9IrgQeF1q6EDuUD%2FKtJn1eUoSPUE%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:43 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-00bf4a8fdca45e038 + X-Circleci-Request-Id: + - 66a4abb6-9197-445e-9524-c4bc95f929a7 + X-Frame-Options: + - DENY + Content-Length: + - '3580' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:09 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/message/has_metadata.yml index 37ea44b..7c374ba 100644 --- a/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/delete_checkout_key/unsuccessfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= body: encoding: UTF-8 string: "{}" @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"checkout key not found"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:46 GMT +- request: + method: delete + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:55 GMT + Server: + - nginx + Set-Cookie: + - ring-session=9c2QfyOIc6XXMO7mjwiYmSc8NN3pSZrYckOnndY2RV6J4VxmCg5HGl3S7ecCNq7gcsnCKwVM2J0xg8kBbAJ1gv4T2kYxkmqTu9ZzNAvYZg8GQdxJoy4FwlwMrAJu2cUIOv6aNTMuhiPL9ohGYwkFsH8Ky5adl7aAeyte5A3cNAodOucSIfByGkVIPr0LCHAO5a7pNWkrJ7AersmelAjdzdHBMgEqagO1Mty6MW3snFk%3D--YwebLDmv8babImBvogS2Ysnrh9DE25Q4uAprJZ7SnyQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:50 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0c802f9692ccd6a1f + X-Circleci-Request-Id: + - 9fb9b4f7-6d08-424a-b9c0-7867894614e9 + X-Frame-Options: + - DENY + Content-Length: + - '3572' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:09 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/enable/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/enable/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 00a9d85..4badc24 100644 --- a/spec/cassettes/CircleCi_Project/enable/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/enable/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/enable?circle-token= body: encoding: UTF-8 string: "{}" @@ -52,7 +52,7 @@ http_interactions: recorded_at: Sat, 18 Feb 2017 22:47:14 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/dotfiles/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/dotfiles/enable?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/enable/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/enable/successfully/is_verified_by_response.yml index 2e9366d..e17897d 100644 --- a/spec/cassettes/CircleCi_Project/enable/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/enable/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: delete - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/enable?circle-token= body: encoding: UTF-8 string: "{}" @@ -67,7 +67,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:23:38 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/enable?circle-token= body: encoding: UTF-8 string: "{}" @@ -118,7 +118,7 @@ http_interactions: recorded_at: Wed, 14 Sep 2016 19:24:55 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/dotfiles/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/dotfiles/enable?circle-token= body: encoding: UTF-8 string: "{}" @@ -175,4 +175,122 @@ http_interactions: string: '{"irc_server":null,"scopes":["write-settings","view-builds","read-settings","trigger-builds","all","status","none"],"irc_keyword":null,"followed":false,"vcs-type":"github","aws":{"keypair":null},"slack_webhook_url":null,"flowdock_api_token":null,"parallel":1,"username":"mtchavez","campfire_room":null,"extra":"","branches":{},"slack_subdomain":null,"setup":"","campfire_subdomain":null,"slack_notify_prefs":null,"irc_password":null,"vcs_url":"https://github.com/mtchavez/dotfiles","default_branch":"master","hipchat_api_token":null,"irc_username":null,"language":null,"slack_channel_override":null,"hipchat_notify":null,"slack_api_token":null,"has_usable_key":true,"irc_notify_prefs":null,"campfire_token":null,"slack_channel":null,"feature_flags":{"trusty-beta":false,"osx":false,"set-github-status":true,"build-prs-only":false,"fleet":null,"build-fork-prs":false,"autocancel-builds":false,"junit":true,"oss":true},"campfire_notify_prefs":null,"hipchat_room":null,"heroku_deploy_user":null,"irc_channel":null,"oss":true,"reponame":"dotfiles","hipchat_notify_prefs":null,"compile":"","dependencies":"","test":"","ssh_keys":[]}' http_version: recorded_at: Wed, 14 Sep 2016 19:28:37 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/dotfiles/enable?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:03:31 GMT + Server: + - nginx + Set-Cookie: + - ring-session=mitAuJpNYIyvkCPuJJu%2BN4XZXjelSCrAe%2F7NB5p%2BwuK4qft4KeU2u5OT0bNscdAAjDJ98Tw6V58diFUkSY%2BKX4jYyGioXA64g3vsdsAcFQTtZ3wE4wyW2zG6aWQAZjY70m5nNVAc1nlQx0fx0M99mNTYeau8mr45aurnSZ%2BZNdh7e47y5VVFdD4XuSzKllrcoeUvqQ7Q9K1nVGmuHCJO%2Fh2WrNk4rJnHJq2hTFO9wXY%3D--zQmDkIxINns50t6cZ4svY2Y3kPZObo%2B9Z1nrJwQMUvs%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:52:04 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-8c486415 + X-Circleci-Request-Id: + - 3fca9bd8-38bd-4f29-beb4-a42a3c9e6328 + X-Frame-Options: + - DENY + Content-Length: + - '3563' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:10 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/enable/successfully/project/returns_the_circleci_project_settings.yml b/spec/cassettes/CircleCi_Project/enable/successfully/project/returns_the_circleci_project_settings.yml index c1622a1..742e77b 100644 --- a/spec/cassettes/CircleCi_Project/enable/successfully/project/returns_the_circleci_project_settings.yml +++ b/spec/cassettes/CircleCi_Project/enable/successfully/project/returns_the_circleci_project_settings.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/dotfiles/enable?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/dotfiles/enable?circle-token= body: encoding: UTF-8 string: "{}" @@ -61,7 +61,7 @@ http_interactions: recorded_at: Wed, 14 Sep 2016 19:31:20 GMT - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/dotfiles/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/dotfiles/checkout-key?circle-token= body: encoding: UTF-8 string: "{}" @@ -121,4 +121,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"a4:17:20:b9:02:7f:19:93:84:b8:41:be:be:d3:29:b9","login":null,"preferred":true,"time":"2016-09-14T19:29:40.055Z"}]' http_version: recorded_at: Wed, 14 Sep 2016 19:37:14 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/dotfiles/checkout-key?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:04:45 GMT + Server: + - nginx + Set-Cookie: + - ring-session=sNmbsNZvz7zoLr4IrnLJ9f3TegQIua9Nposs1vJiwhqTBg2uWUSzmKwpdJeK%2BaTskZxESB2KJl9sbt6TwP141DvGczrDAO6yuh%2BFjRtP2CO4qaa9QcrFenFyCI8M%2Bn90PtdZv0dXXgSMLhFD9xyaKBMu5mEVQaYXvD9UCvI6bMDhUgokfxKX57LGi6am6kV4FXTn16dvn2sQ%2F7%2FQTXSOCbjrzp3sK2RiSBl%2FhPFl3wI%3D--2t1a6g5uLlilKJVVzftYFINs%2B6FEksBFNYWNpp%2BWjHg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:53:23 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-25464cbc + X-Circleci-Request-Id: + - 389a80b3-8967-4e50-a3fd-5c3fd65af55a + X-Frame-Options: + - DENY + Content-Length: + - '3560' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:10 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/envvar/envvars_deprecation/logs_warning.yml b/spec/cassettes/CircleCi_Project/envvar/envvars_deprecation/logs_warning.yml index 37abeb2..71e3e7c 100644 --- a/spec/cassettes/CircleCi_Project/envvar/envvars_deprecation/logs_warning.yml +++ b/spec/cassettes/CircleCi_Project/envvar/envvars_deprecation/logs_warning.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 58275e1..1caa256 100644 --- a/spec/cassettes/CircleCi_Project/envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/envvar/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/first_envvar/returns_a_response_hash.yml b/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/first_envvar/returns_a_response_hash.yml index efdb22a..19c2e4c 100644 --- a/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/first_envvar/returns_a_response_hash.yml +++ b/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/first_envvar/returns_a_response_hash.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: "{}" @@ -61,4 +61,122 @@ http_interactions: string: '[{"name":"COVERALLS_REPO_TOKEN","value":"xxxxskJS"},{"name":"TESTENV","value":"xxxxalue"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:54 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/envvar?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:46 GMT + Server: + - nginx + Set-Cookie: + - ring-session=VlzEGZK74f%2BhKjYilnWESJhvxY5s95KaL0pNtA1l3PYPPHE%2FwDYNrsQIn1YrUtmi%2BdzLKdXsyOD2qo5iA18XJHtMnnt2D%2BSfmA2397l8trz8M%2FgJYFnf2xriOvtXgPFkLQbh67Ktk0Lx3hb5CJMdm5b%2BMBsIoipLkANfji5uyjLh2OsNfdZZBcrCo3i2Ebc15N3fdCvLUL6YsAM8YMgwIQajOmT3sZrhWS5VsgAZ%2B%2Fc%3D--5H%2Fs23qvuJQPsErxNSkIe1thGjugL3wx0am1Xdt54xg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-03c1431922d8afc0a + X-Circleci-Request-Id: + - 4664cb02-f311-4f3b-aed8-0e421d823ac9 + X-Frame-Options: + - DENY + Content-Length: + - '3574' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:11 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/has_list.yml b/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/has_list.yml index fe6c933..5cc8c14 100644 --- a/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/has_list.yml +++ b/spec/cassettes/CircleCi_Project/envvar/successfully/envvars/has_list.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: "{}" @@ -61,4 +61,122 @@ http_interactions: string: '[{"name":"COVERALLS_REPO_TOKEN","value":"xxxxskJS"},{"name":"TESTENV","value":"xxxxalue"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:54 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/envvar?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:03 GMT + Server: + - nginx + Set-Cookie: + - ring-session=R0xvM72rU7fa%2BkmS9RB8B7Ykdez7Yti3dW%2Btrmn%2FB8R9Fj0zMgRyYVREe%2BjPWYnaSdLzICVY%2BVzogKbdB0jLLmKOQL3aSrv0secDeYCJqEnZUYY8IJsKSyRuEG9q6TqZwF7aS20ySdZK8t9SrC7sSoBhomOUmvBjsqJ4vDyFUV%2FVMoQ89UEomrvq7QI8ovszART%2Bqn0mZGI2nUiN%2B47VwLEmKYJak0GsFHnGqQDaTGc%3D--5rty3DgXzYahg%2BmdOfJ4JhuqHeCOGXl3g2X0Z1pYxCQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-068bf61ae1f2a8d02 + X-Circleci-Request-Id: + - f97d7c06-5b96-43e2-971c-c1570ce1b97f + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:11 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/envvar/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/envvar/successfully/is_verified_by_response.yml index d8877f6..da67d5f 100644 --- a/spec/cassettes/CircleCi_Project/envvar/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/envvar/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: "{}" @@ -61,4 +61,122 @@ http_interactions: string: '[{"name":"COVERALLS_REPO_TOKEN","value":"xxxxskJS"},{"name":"TESTENV","value":"xxxxalue"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:53 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/envvar?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:15 GMT + Server: + - nginx + Set-Cookie: + - ring-session=R10vIy5dTNafmpjA4CdqM7sUgDMmXf9wUAZ9f8Pv7BUy918BEW%2BMFynIeWzAkn4zAvK38xaDKJ7oFvQpC%2BNxRVKSn2NOBfQm9xC4z2FRk5stzyOr%2FbOMyTfiCbDo7t1KQ4uzbEGIM03JS29j5JtisxNkAT5HvWahMrsHKv12G56wlYO3O%2FJ%2Bu2tgfhQe03QD2M3d%2BVHKcjB2thKZRCMmsDtA1VOrKiJo1ztB9dLAHwM%3D--Pn2ZVmqD0UmaegMsAI7eWlUoSNXqfuPGhNG9T7uSe38%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:16:35 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-29422c27 + X-Circleci-Request-Id: + - 5b5ff52f-8529-4250-b5e1-147dbf7a1c1f + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:10 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/is_verified_by_response.yml index 6dbf6b8..c064436 100644 --- a/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: "{}" @@ -51,4 +51,122 @@ http_interactions: string: '{"message":"{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3\"}"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:54 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/asdf-bogus/envvar?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:16 GMT + Server: + - nginx + Set-Cookie: + - ring-session=MeCbj2DpmHbYjcwGa4og%2B%2FHX5eeik48KuEc9olwpdP%2BJB0c%2FjF2ylnhuBqi242fDjZpUxAJEAF4O4TC6Jm%2BLXTldtxvxJoMSpMrIKBK8lX1AHinbBS%2FCt%2F4PjU8tYcuiW%2BOaoYORoZ63qJ%2BYbk05VQssfYaFZTdeHdpyBUdQ9Z%2FEVe7fVOg%2BcUF1oQ27e7RB5QijRRUv4mHnd8lz02vBdqgMh6o8IyK2LnNJv00FPdY%3D--yzhpo4HM8UD%2BQveyCl9o8DcYIAcRHpyRb5qBVl%2FpBrg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:04:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-02f248afdf090c289 + X-Circleci-Request-Id: + - 74c80bb7-d0c5-452d-82ae-6e8b862154ba + X-Frame-Options: + - DENY + Content-Length: + - '3572' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:12 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/message/returns_an_error_message.yml b/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/message/returns_an_error_message.yml index 58673ab..dc56e1c 100644 --- a/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/message/returns_an_error_message.yml +++ b/spec/cassettes/CircleCi_Project/envvar/unsuccessfully/message/returns_an_error_message.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: "{}" @@ -51,4 +51,122 @@ http_interactions: string: '{"message":"{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3\"}"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:55 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/asdf-bogus/envvar?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:33 GMT + Server: + - nginx + Set-Cookie: + - ring-session=C%2F4tojoBmcjGHVr58ONoovTyQhjNbfPdWjgqhkJAw53%2FtXp2E1OvS0T%2BwgMLNjJZWiOkDI9gO5mdNfr9I%2Fx7Phvb56LlBZhX8C90xxhlaStzV9BQKOd5vK2BsYAIiEPTuHb6hYz5jAYOw1R0k%2FcBPs74A2%2F7glkBq58%2FYzEjGZHdSO8RV8NZKF%2BaqFhXSSHQE6%2F%2FXlVTV1hF6PcI95JqiL6alNQP4EMC7pTYCFEnvhE%3D--%2FmSYZ7QFZifmxFEgfJkMtiKsLy7qvXCTO8BCocJc%2FGc%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:05:47 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-000ca6c6a9cdb8826 + X-Circleci-Request-Id: + - aace3622-dfd2-44df-9240-d9cbb6008064 + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:12 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/follow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/follow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 14695dd..60a6999 100644 --- a/spec/cassettes/CircleCi_Project/follow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/follow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/follow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/follow?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/follow/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/follow/successfully/is_verified_by_response.yml index 2535b8c..184781b 100644 --- a/spec/cassettes/CircleCi_Project/follow/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/follow/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/follow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/follow?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"followed":true,"first_build":null}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:50 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/follow?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:04 GMT + Server: + - nginx + Set-Cookie: + - ring-session=V1YZklFN1Zypon6%2FEpfXzXehjHyI%2F2iGwH%2FmqvI3YOggigDbT0X9WM5kZAQk%2FZoGDV%2BdsSAw8KMJJJCbL2jzLVg1mLWZG6vUaOoead%2BRHf4eNHOJP%2B9R55wt79S2luym96SaZiGdRN4TwV4NL489x4lIXnfqPaGg26A4y%2F1cd554gER0c0uMeZeCw5sZH5BmIhzYDJhsKZ0%2FJoge5e7Mpbae3F%2FnKWsOt%2FDQHW1Sg3Q%3D--17L8bPb4FwA1F8ORQcU1gFDbaJpffwYn8h76YQttiYs%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-068bf61ae1f2a8d02 + X-Circleci-Request-Id: + - e9a703b0-b29c-4f83-9705-3b8aba7f1ae4 + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:12 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/follow/successfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/follow/successfully/message/has_metadata.yml index 006a3fd..b9b13aa 100644 --- a/spec/cassettes/CircleCi_Project/follow/successfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/follow/successfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/follow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/follow?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"followed":true,"first_build":null}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:51 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/follow?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:35 GMT + Server: + - nginx + Set-Cookie: + - ring-session=s957We9EH9VcZrtbQJvZiFNem6kS1X%2FkV2GCxUGoCEgXxKYfIP1vy%2FDx76nVuB0FxwPY4XyTbD8u2Gd%2BMLNjEhbvtzJDXsoOLoKPj2881rsmu9yO3JVIqXJpqHNWfIT%2FZy6ft%2FxCrbF6TsHZ3OJU1R%2FHh4r%2BLBRfyJH3p4zPVvKE96shnUJDV05QYHTecrFcCQ3KWULgNaMCa%2B9AvZ7JYH8Rkdv1ZXtsSTpijd2eY7Q%3D--gBpvEuJkl4IpAWifr0yDA5IZ20DK4qXrIFi1oj8kqoI%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:10 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a5430c36 + X-Circleci-Request-Id: + - 30dba0f6-6201-4f61-8e05-1661c9e90274 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:13 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 7db4f1e..fc8b1a4 100644 --- a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/is_verified_by_response.yml index 03e821d..3cad8f5 100644 --- a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/56:c8:49:a4:55:b8:2a:ec:9b:0f:b8:69:33:54:32:0b?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/56:c8:49:a4:55:b8:2a:ec:9b:0f:b8:69:33:54:32:0b?circle-token= body: encoding: UTF-8 string: "{}" @@ -53,7 +53,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:29:47 GMT - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= body: encoding: UTF-8 string: "{}" @@ -113,4 +113,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05","login":null,"preferred":false,"time":"2016-07-29T00:28:24.797Z"}' http_version: recorded_at: Fri, 29 Jul 2016 00:33:41 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:45 GMT + Server: + - nginx + Set-Cookie: + - ring-session=mHMk098%2BMVKO5QuQAf%2FMMdt14SzWEzTb2ktr%2Bpe66NXd5ywO%2Fap0ParGDAN%2BDCzIaeMGCTpLHiGKoEkK8JsxFfgS3yk9XDv1Tp%2Brim9%2F300fQRdOqIuhWBe6b%2BZ8iufN8Z5kPm%2BZviHavEaJ6Mbhj0rWQCv3qVM0g93xJJXn5OWDpiZfNffUq1hJs8ZwDmfuGfJfL74xSJFo8V3CC6qr1pF8k%2FxBcjkpfzblVQ5u4H0%3D--uJUPISviXuYg0nKEysjGfu3L5MvbBE8B%2BtFJw2X3pDY%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:00 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-006e5a6e04ac7857b + X-Circleci-Request-Id: + - 2efeec4a-e71c-44ab-bda0-5d2bdf545bfc + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:13 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/key/has_metadata.yml b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/key/has_metadata.yml index 3dec1b8..5edc8b1 100644 --- a/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/key/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/get_checkout_key/successfully/key/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/56:c8:49:a4:55:b8:2a:ec:9b:0f:b8:69:33:54:32:0b?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/56:c8:49:a4:55:b8:2a:ec:9b:0f:b8:69:33:54:32:0b?circle-token= body: encoding: UTF-8 string: "{}" @@ -53,7 +53,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:29:47 GMT - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= body: encoding: UTF-8 string: "{}" @@ -113,4 +113,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05","login":null,"preferred":false,"time":"2016-07-29T00:28:24.797Z"}' http_version: recorded_at: Fri, 29 Jul 2016 00:33:41 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:06:53 GMT + Server: + - nginx + Set-Cookie: + - ring-session=Q4AZJFpFqech%2FRhIOYtR2MpmdcAXQ%2FqkKQCsAYAAmpyfG%2FQDiOTDNAT8R%2BJdI1dcg%2BZtokgeohNX6QVUljZ2Z5pBTKAHB9p2ab1gtKLcF2%2FQY%2F%2FkjkkESxF%2BciZIZbg2el0EL%2Fudwt1359sGDv9e9VuntGgYBbtKhvI5nl3j0Nx%2Bf7b6sufkOIKTs3Pa5ooZNna5f63Rem5gYgwMNsqqWD1B6adN%2BV8fB6bZyhj%2BSIU%3D--rQDBOHiGcdAnY5mACN7NHPD%2B10q6wu2iGugQ0aDRZHE%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:26 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-90989e68 + X-Circleci-Request-Id: + - 5237688d-fac4-41e1-86a1-833044a6181d + X-Frame-Options: + - DENY + Content-Length: + - '3564' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:13 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/is_verified_by_response.yml index 39cf1cf..67ac24b 100644 --- a/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= body: encoding: UTF-8 string: "{}" @@ -53,7 +53,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:29:48 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/follow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/follow?circle-token= body: encoding: UTF-8 string: "{}" @@ -109,4 +109,122 @@ http_interactions: string: '{"first_build":null,"followed":true}' http_version: recorded_at: Sat, 18 Feb 2017 23:24:59 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:52 GMT + Server: + - nginx + Set-Cookie: + - ring-session=tEgNX27Y9gjmne8MYBhx8%2FaAm6SPCbsylG%2FijPh7GY1gp5rPfig3VpiiLpFhZ8QyCDsGIjZnR705NDJTiHWCCrWKMUBJ41gDaGms3wdigutEbr006%2FiI%2BEbAjNr%2BXJmQOn%2FvmLahPN8g%2FecJFCN0xs%2FinXKk4F9mT6QzUeoYwWcd58PEEEhScLNC%2BMo3j1XdoJ9KM3YDgDj6COjNMYdgb%2BjHh4HNdz%2B%2FTOU4F4LwDJU%3D--Yn6RZAqiywujkN2szMR7QI4dOQJQvtkIHxmYqwk%2BtUo%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:02:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-05b1074fd2c9a4cfd + X-Circleci-Request-Id: + - f8c9ce02-d92f-4224-b0c7-f15943dd9a1c + X-Frame-Options: + - DENY + Content-Length: + - '3576' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:14 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/message/has_metadata.yml index 7b83f96..75962cb 100644 --- a/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/get_checkout_key/unsuccessfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= body: encoding: UTF-8 string: "{}" @@ -53,7 +53,7 @@ http_interactions: recorded_at: Fri, 29 Jul 2016 00:29:48 GMT - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/follow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/follow?circle-token= body: encoding: UTF-8 string: "{}" @@ -109,4 +109,122 @@ http_interactions: string: '{"first_build":null,"followed":true}' http_version: recorded_at: Sat, 18 Feb 2017 23:24:59 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key/asdf-bogus?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:00 GMT + Server: + - nginx + Set-Cookie: + - ring-session=t48FAN%2F0nkVbRbP%2FJ5T%2FXVUhzwDmZGPO6ObYPBzXPxhBGccrGny%2BkccrYnsCShBc0n2NTJbOTLxrRycjnM6B4C%2BGRUASg8a1CiNWOkalX8SrUAyIj3Dizyucqo6kyZWm60Rdyb1XOfMICs%2BI%2BouAHMkDoSqbxmLj7gyZEMUxlnHHyHl0qXwe2Gc7673cSzTDuyH8m%2BDP9IYlWY%2F4Sv2dFLQ2g5RLNuagYVqQjfjjXzs%3D--HzjlDX%2B6o2AIfoFAdInQbvJpAfawNscfWq9wnApsTKs%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:39 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0f79eb58d1804b56d + X-Circleci-Request-Id: + - 14a6e7e5-9dfd-49b1-a8d6-f5197b67ba5e + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:14 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 1e74927..1ac5456 100644 --- a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/is_verified_by_response.yml index 3d7d04a..dc5156d 100644 --- a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: "{}" @@ -62,4 +62,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05","login":null,"preferred":true,"time":"2016-07-29T00:28:24.797Z"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:29:48 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:30 GMT + Server: + - nginx + Set-Cookie: + - ring-session=XtjTr839%2F2LCOEE9M5XtcX39sSU61KIsq720P8gvIt%2BuiB0jM36EcS4YaBjaM1UMH9ZYVWNbvGuwQSIMECBOc98uc%2BVnhy%2B0jjrV4IwVuh%2FNTpdl%2FyXvYQ3VDjzkHEauZlm9X%2FtirjJmAt0s4zRSxrfXOymsZdiOEO7Fl1nZ23s6ZW0EzaEZ7xIlp3EgbKbajP%2Fz8zy8yd6aN1u9VYY%2F4%2FHB1rBiZBDbrU1AVJaKpwQ%3D--fXRaOEyDm33wjBbC7hDCW9IGYUzUo5MPCo7eyLr%2FaEE%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:23:24 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-012b6602d82214655 + X-Circleci-Request-Id: + - ad89c8a5-6e36-4146-81f3-d1ea7c2df3f7 + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:15 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/are_returned.yml b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/are_returned.yml index 30caa2a..d6fd156 100644 --- a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/are_returned.yml +++ b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/are_returned.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: "{}" @@ -62,4 +62,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05","login":null,"preferred":true,"time":"2016-07-29T00:28:24.797Z"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:29:49 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:12 GMT + Server: + - nginx + Set-Cookie: + - ring-session=u81Hc5edHPHnxGkoha4mwLVEftc23%2BgENr2gZi0dyhMj9aWF5TyXBvE1QJZc9Pm6kRsZl0%2B8Tu1HSt6TlQ2%2BRLI%2B8coa42Ew%2ByiSorQ%2B6MlmXXd%2FbTha8O04LjtmOblasXUXsaJZu2jSKhjepIFk8PjjZfuYZ9qCJWEvMLPNfFroY9TJW7LGB8Fqxtqrep%2BrbzKFwJj8F2QRCJbXmkGf2Q2h9EfZ2ZAFlu9ln2fxMzs%3D--QciUeP4n%2FKLi516cDvNMMWf%2BqGHm0hGKjuRqaOUjn4w%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:24 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0573dc9326fd97809 + X-Circleci-Request-Id: + - 57868da2-1bad-4068-8c5a-d8f4f38d808e + X-Frame-Options: + - DENY + Content-Length: + - '3578' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:15 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/first_key/has_metadata.yml b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/first_key/has_metadata.yml index 952fd23..c9ecab7 100644 --- a/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/first_key/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/list_checkout_keys/successfully/keys/first_key/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: "{}" @@ -62,4 +62,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"3e:35:e0:96:f7:c8:23:9c:b8:2f:50:9e:d0:16:f7:05","login":null,"preferred":true,"time":"2016-07-29T00:28:24.797Z"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:29:49 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:21 GMT + Server: + - nginx + Set-Cookie: + - ring-session=lGvxFyyYNDqSMf%2BE1asil%2BPuy2O32SDvGzmeQyI7OEjC6rh%2FHTCAL1NDP9tGh0FQ%2FdM2VFsJtKDo0eyTXHg6GJJZQcL8UtUiDrpD%2BDoV27RpXehkPLbBqfmvIMNIW7ChBBcTaiIXBjNHNHNQwR3qLJOSBK7ABWbbphQKaQlW8UT0U%2Fv5mMMWZowInWoorEPda6XkHjav7%2B26R5jTM2JVozDQ3647eM8Il3xbgU4MNWY%3D--OpNe7eUx6cHhBSJXxe9CtdAWXgA7GbqJej3R0uK2MvQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:16:35 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-29422c27 + X-Circleci-Request-Id: + - 82027ab0-47c0-4bf6-9e40-4932e5e08f58 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:15 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 3d6dbc8..d3a7bd0 100644 --- a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: '{"type":"deploy-key"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Sat, 18 Feb 2017 23:39:07 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/5d:7b:86:4d:e0:9c:aa:1c:f2:11:91:85:2b:e0:0c:4a + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/5d:7b:86:4d:e0:9c:aa:1c:f2:11:91:85:2b:e0:0c:4a Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/is_verified_by_response.yml index 4291d0b..6a7ad19 100644 --- a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: '{"type":"deploy-key"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:30:25 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73 + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73 Server: - nginx Set-Cookie: @@ -62,4 +62,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"29:15:12:e8:f7:f4:17:7a:8f:cc:db:de:43:53:f4:73","login":null,"preferred":true,"time":"2016-07-29T00:30:25.914Z"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:50 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key?circle-token= + body: + encoding: UTF-8 + string: '{"type":"deploy-key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:40 GMT + Server: + - nginx + Set-Cookie: + - ring-session=PntOXoHRuZV%2F7jWjAfmss6UcN8t1Y7Vo%2FMRksXNX2%2FMP1%2BhRxc2O%2FhZ0OA8mNNYe0u1WktBpkDX03ko1bk7Wzu9%2FMyc%2FIwRDp1IE%2ByvxUHRPbJ87BUoysqlwxh4HVI7QezG9ba5TzTsV5oP3mpwR5dI18zheb7lCYmCP91TENu8EL6j%2BUDMF0LkWPPnND3XotD%2BuoqSXl7XXvK9h3K6I%2Fhin3%2BL2H4D00NCk01LHdBM%3D--towbODNGvnfSl0bRjFoWtayjV11BfGp5MLMM1h8f3fg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:14 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0977dfdbfcd03b377 + X-Circleci-Request-Id: + - a76dcc0c-28be-49b3-a461-62aa26b1db1f + X-Frame-Options: + - DENY + Content-Length: + - '3569' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:16 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/key/has_metadata.yml b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/key/has_metadata.yml index abee341..531337a 100644 --- a/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/key/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/new_checkout_key/successfully/key/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key?circle-token= body: encoding: UTF-8 string: '{"type":"deploy-key"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:30:10 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/checkout-key/51:95:3d:9a:8d:fc:94:1d:6d:3e:14:d4:37:51:ec:ec + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/checkout-key/51:95:3d:9a:8d:fc:94:1d:6d:3e:14:d4:37:51:ec:ec Server: - nginx Set-Cookie: @@ -62,4 +62,122 @@ http_interactions: \n","type":"deploy-key","fingerprint":"51:95:3d:9a:8d:fc:94:1d:6d:3e:14:d4:37:51:ec:ec","login":null,"preferred":true,"time":"2016-07-29T00:30:10.226Z"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:51 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/checkout-key?circle-token= + body: + encoding: UTF-8 + string: '{"type":"deploy-key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:09:27 GMT + Server: + - nginx + Set-Cookie: + - ring-session=1Y6%2F6Y9S9rz2BeV6Znc49itoXYgCgxApGpHpHemlSGlSIKBj4H2BbctwsXmDpoqY97Dg%2FW434yqkAftmo8CIigP5%2FtGGq4Y%2F24lchgBHiuRJkczh54adSGIqXbmJugw5LTFRssYISCnjfOyuDp3T1VGK3ZXIcaWpZKsgWBr94pS%2Bpc76DU6Bi40IoT2pMuazJAz0RGTtKQoYKQbFTMdjBRZzl2qFPAFkVA1M6riAm9Q%3D--1vhJP0Xs7qtOl0grZZZ2t8NLFsisWQFlzSRJqtJ0K%2B8%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:57:54 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-06a3c1f5f8d5a204d + X-Circleci-Request-Id: + - 45fc7c0e-f448-42cc-a8dd-3a85ec5582f7 + X-Frame-Options: + - DENY + Content-Length: + - '3571' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:16 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/is_verified_by_response.yml index d685077..25c3ebb 100644 --- a/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/github/hub/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/github/hub/checkout-key?circle-token= body: encoding: UTF-8 string: '{"type":"deploy-key"}' @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"Permission denied"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:52 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/github/hub/checkout-key?circle-token= + body: + encoding: UTF-8 + string: '{"type":"deploy-key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:22 GMT + Server: + - nginx + Set-Cookie: + - ring-session=f8gV39x89THACPB6MioSYnE1V2NrARQgriQwQswnH%2FH7WoQUe9KPt9j8pa9ySFpw43VEjmHHyth67yeHP%2BrUD9HWv804RvWqfzVMFuAsOAOE9FK4h3VDiVX7cxADyJTz8yQyJ813pTDLWNLJ0ys%2BLYEzyoCxodAnbyPbw%2BShlhypXi5LWz%2BnUD%2BNrRLvhYlqazV9MaUzzk8wwWaR6yqyoDBvX0UiF6Ma0%2FrWATZK%2Fs0%3D--sAMFO9fjBJsz32vpHGvW1AhtoayNPWBN%2ByOF%2BRBV7C0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:49 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0b91c63a28eb6edbd + X-Circleci-Request-Id: + - af61b4d1-ed24-4dcb-9145-eea5ba174816 + X-Frame-Options: + - DENY + Content-Length: + - '3569' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:17 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/message/has_metadata.yml index ceef3eb..3961721 100644 --- a/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/new_checkout_key/unsuccessfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/github/hub/checkout-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/github/hub/checkout-key?circle-token= body: encoding: UTF-8 string: '{"type":"deploy-key"}' @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"Permission denied"}' http_version: recorded_at: Fri, 29 Jul 2016 00:29:52 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/github/hub/checkout-key?circle-token= + body: + encoding: UTF-8 + string: '{"type":"deploy-key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:59 GMT + Server: + - nginx + Set-Cookie: + - ring-session=oJyTcgFgmRtwKEDm55%2FhgodV3W%2F1YC%2FAeDSJWiVwzL9lzGlfG%2BHi9HMfc81%2FjPbX2%2F0b0bV4uxBCUxsU7DlUEYMw6jtNp0sfz%2F2C%2BecEcvi6%2Fkw%2BWdJGXfnLy3SlgR3zE7dbEJ45Yn8OqkWk4eiI0Ajcb61WNLfj%2FfxeWS4VT5obiaDplhml4lRIxEaQV6IkopA%2Fsg%2B90%2FvZkczvuu7KKKKaWb1c7lOvs0HPEk7hbk0%3D--8qzrVxJIcyTL%2B01ITK5cyK57p0UZgTKnL55V6nqbjkM%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:05:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-51c688c2 + X-Circleci-Request-Id: + - afc5c5e0-a066-49ef-85ae-b7970668cd17 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:17 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 887ed89..9c8ddad 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/is_verified_by_response.yml index d125046..4bb7468 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -224,4 +224,122 @@ http_interactions: Fighting the tools","commit_url":"https://github.com/mtchavez/circleci/commit/47bb21c7fcda000d234a0f84ceeb4ccf8a2945a9","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-26T00:26:32.064Z","canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:44 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:15 GMT + Server: + - nginx + Set-Cookie: + - ring-session=sVR8qxsTJSLz9IK0dEXGx4JaG5omZgdpHSH5M6sPwm4myc1T0onUQDQzQFYNjG%2B%2BJfAQDVMGz62bVRKW452i9T0NmifetYEUzHMlQO2os4xImZ7U0isszTkNX6v%2B7%2F3cVqlaC3AxRpGZskOX9s54%2FZl5bNBjvJLfhEJFSTm%2FbZlYMmM0sMC5e5DI%2FbTSTobyVf7w8Kp3xqv%2FduxDK2Nblpe3DjLSd9wN3UqwH8oeM%2Fg%3D--YEDswupKlQRwpWMVUpgCLeQvIcK56xVV9EUcRthJcd0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:49 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-035ce08054c9b2cc3 + X-Circleci-Request-Id: + - 2245982c-492b-4ddc-9f3e-75ff47ec0ddd + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:17 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/is_verified_by_response.yml index 2e71a8a..6de733b 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token=&filter=failed&limit=5 + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token=&filter=failed&limit=5 body: encoding: UTF-8 string: "{}" @@ -91,4 +91,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"no_tests","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-29T00:17:28.298Z","canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token=&filter=failed&limit=5 + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:04:07 GMT + Server: + - nginx + Set-Cookie: + - ring-session=1hrkStqP%2B4PV09s%2FYA9ZT3boeQAL6Th7jE9xmOxxUrpMLxBLkQimN1E1VcQW9rITpbA13EWtqpE2rQDzJcHnSIse%2FPM8xniSNo62COA6tRahAA%2BHA6Glm%2BeabkUCAXGJCqNHOXVj4ZFEd2XnFrEjHbVeiWE1wr5jAp0paz%2BWuO7R%2BkK6m40TsnikoHm8AzG77r1DZeHW7xNwajjP4H%2B11xrZrIEXKst3FIqL6U9ywCM%3D--h9Z8lnoNgHbuvWhH4dY2ab0Avf8czEY6W%2FHHOCG0dwg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:28 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-765169ef + X-Circleci-Request-Id: + - ee605e90-82ab-46bd-9bf7-d25db63dc69f + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:19 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/returns_builds_filtered_by_status.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/returns_builds_filtered_by_status.yml index 225e224..ffa0542 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/returns_builds_filtered_by_status.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/filter/returns_builds_filtered_by_status.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token=&filter=failed&limit=5 + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token=&filter=failed&limit=5 body: encoding: UTF-8 string: "{}" @@ -91,4 +91,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"no_tests","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-29T00:17:28.298Z","canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:47 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token=&filter=failed&limit=5 + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:18 GMT + Server: + - nginx + Set-Cookie: + - ring-session=eCKNLTriI1eguyNZK6x7SPyntDBvEQS%2BV5EQDeAwrmU%2FsiXcQZR1TjykujmtTj3uFvGK9nrc0bhl77YRDoGaPaq5mIU8Im9HBc93nuGviS43Rj5aUSLsMPNMtwEHIlwWdmYh2IAWL8HwKXCwxCIFH%2B8naygmI8J%2BEWBO%2FdqVO4PHYLQBttrsbLaGpTfhDtdtHjooi8ExgEL57YTGR01IL2uoD2pF8hhaC2pLOuLB12U%3D--XA2hNa6G%2FAbR3XQ7U95lKLAWE%2BLXrElAYWf%2B%2Bta4Zgo%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:00:48 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-09ae5146eab9f3ca9 + X-Circleci-Request-Id: + - 953794b7-0a31-49eb-a8e4-5fdb98bf92d6 + X-Frame-Options: + - DENY + Content-Length: + - '3566' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:20 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/is_verified_by_response.yml index add5e21..5b35edb 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token=&limit=5 + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token=&limit=5 body: encoding: UTF-8 string: "{}" @@ -76,4 +76,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token=&limit=5 + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:55 GMT + Server: + - nginx + Set-Cookie: + - ring-session=OcJKN8dGgZAP24Hixl4hQd6MPI%2BRsVN%2BrIFANL3A4L5cZncx7YOZgbWsrUrBf8hylVg81XdvyoXNx2d2kKRbBO1ggyLRz%2B4xtKc2GaPtZozSeCYw6E%2BTrIwQHBttv1s3IZW0kWh16TsoF%2FjthaPagEW1XKSClDgqHEk2gjj1HBOr4GBsb0Uo5B6UHJnuKuVTiv42%2F2cMBlINqlTacz7T9ng3a4XNtpidtAMqMZlX2oM%3D--qwcVt6UYsXgFIzxBnrZQcNS8WQfmZxWsxGmogaTcUV4%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:47 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-076acc7b8166120f4 + X-Circleci-Request-Id: + - 78e21f64-0e91-442e-acc9-d1c6b1d35761 + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:19 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/returns_correct_total_of_builds.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/returns_correct_total_of_builds.yml index 6fd3d0c..21cadb2 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/returns_correct_total_of_builds.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/params/limit/returns_correct_total_of_builds.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token=&limit=5 + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token=&limit=5 body: encoding: UTF-8 string: "{}" @@ -76,4 +76,122 @@ http_interactions: note for minimum ruby version","commit_url":"https://github.com/mtchavez/circleci/commit/b601b390c86a917d6615f160f2dc1de11b62b7c8","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":null,"vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:46 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token=&limit=5 + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:48 GMT + Server: + - nginx + Set-Cookie: + - ring-session=6Bu4r%2Ba5eYsVXhTnX4fcr%2BjRY0vJsYeO6XOewSvfiz0jpYkQqJcVEpOnHzZI0x1YXWyOnWwC6gRhVHM8SreK8IseH7nzHIEca4G67ywb1EKnQUP0xdTYIZlkSVy%2F0NxCoZyHMke5h9woqpj5YirZ6%2BLj%2BEXP8gATBGcBIKa2%2Bo92GXg6dV4JzIrQDCYV797SILJ5LVmbKI1MQR%2BZQ4tKAuivgf0eJ162TWGSsH5vIqA%3D--cvtYBYGkaINqtY8AqNg602fJagDfIf9iu8zkRoC5Eqk%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:06:03 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0beb1ff064b6d40c7 + X-Circleci-Request-Id: + - ff34ee7f-6076-4ea7-8d50-62b91a01f68f + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:19 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/are_returned_in_a_list.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/are_returned_in_a_list.yml index 06e56af..02e39a0 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/are_returned_in_a_list.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/are_returned_in_a_list.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -224,4 +224,122 @@ http_interactions: Fighting the tools","commit_url":"https://github.com/mtchavez/circleci/commit/47bb21c7fcda000d234a0f84ceeb4ccf8a2945a9","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-26T00:26:32.064Z","canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:45 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:31 GMT + Server: + - nginx + Set-Cookie: + - ring-session=Au02sKpkGMODe%2FkxwuZm53Aes6jqIxw5rGjR8A0UQwxXhXXGH0nAcThFEGgvYlUm1CkaXh9LbyiaC0dkw1yukAt6AqYR2T%2BVL9dc9tvINLnAjsorg3O35mvL2Ii%2Bve1dSpSuxoMPOXSLGCDNB4%2BPJwxYGd2Oxs1CpAmxGbm4Ync53kb8ecR90FSkiV%2FrUzqOOoPP9S54LyKsgHQeAVygYvXkkc6eazU5%2FnxlYD%2FdAbw%3D--%2FtFaIgg2PzvDsZLlsKmYsH7aLJYONHtoNCcQPT0yLTc%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:00 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-018e7cebeb6294d1f + X-Circleci-Request-Id: + - 47820ad5-f459-4159-b2f1-c02ae8bb515d + X-Frame-Options: + - DENY + Content-Length: + - '3570' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:18 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/first_project/has_metadata.yml b/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/first_project/has_metadata.yml index 6b3576a..c3537d2 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/first_project/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds/successfully/projects/first_project/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci?circle-token= body: encoding: UTF-8 string: "{}" @@ -224,4 +224,122 @@ http_interactions: Fighting the tools","commit_url":"https://github.com/mtchavez/circleci/commit/47bb21c7fcda000d234a0f84ceeb4ccf8a2945a9","author_login":"mtchavez","author_name":"Chavez","author_email":"matthew@el-chavez.me"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-26T00:26:32.064Z","canceled":false,"author_email":"matthew@el-chavez.me"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:22:45 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:23 GMT + Server: + - nginx + Set-Cookie: + - ring-session=Mtd%2F2RESHYCYrIu6vzKPZOy9VgjeGvncVARBD%2BT%2Fts55tPcrmARTAWot3hrzJQwrwiXtr%2FuelfaTLoDS9tnOwGkuXgulFXmmYyQ1ZB8W7C1ocXq%2FuO3PYLs4uv1SqjvVWfGhqkAOkbeYLYBaIKJnpL41%2B7ekEMtbGd319HeEjYqrxrN8FZEguRHUYHSkaLgjBqZIQIaGDrC0Aat9ZLI0JJpJTCqxbdR4OCCPYJxciTc%3D--H5uStSejhb%2B%2F%2FBR2NZxtuVuB%2F36hV%2Bcnv7AfRksV6h0%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:16:35 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-29422c27 + X-Circleci-Request-Id: + - 2363aa05-1a5e-4745-9ed2-b9b92aa3b0b6 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:18 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 87bc5d1..a7168b3 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/is_verified_by_response.yml index 9a144e7..b01ca99 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -238,4 +238,122 @@ http_interactions: dependencies (#72)","commit_url":"https://github.com/mtchavez/circleci/commit/cc1e87745e2ffcf5d20dec47c4bcf3dd5ebc3f56","author_login":"mtchavez","author_name":"Chavez","author_email":"mtchavez@users.noreply.github.com"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-25T20:09:01.220Z","canceled":false,"author_email":"mtchavez@users.noreply.github.com"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:36:00 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:00 GMT + Server: + - nginx + Set-Cookie: + - ring-session=gaWo6qLTKG1Gqf8Yy4PCfKdKK1y0HlHwviRDEUrB%2Be5UO0NU1L6hrFwzBqTDsaIaBzsq38YIYV5yTz2N7Tax6Hq1kBfs9MBFRjV82dVLMThsV3pTdgvjKadf4xCvmBwoJ5N6gy1iVAH0f56ej%2FlhnSI1i7TXYfvki5kOjlX%2BqnWFs969pM%2BN3VZBTesP8%2FVolXx6vjnKo7VSruAa3jnw3s4%2FewpPl8DSFVozLFUDDKQ%3D--6i1O0Oi%2F%2BjkmfvBuuyX17zVcDXOg9qaMKG1tjtl6JXQ%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:26 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-90989e68 + X-Circleci-Request-Id: + - 9a9ab2a3-371b-4fc1-b112-1cf0a573a0d3 + X-Frame-Options: + - DENY + Content-Length: + - '3564' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:21 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/are_returned_in_a_list.yml b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/are_returned_in_a_list.yml index 7d48eaa..45373a3 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/are_returned_in_a_list.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/are_returned_in_a_list.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -238,4 +238,122 @@ http_interactions: dependencies (#72)","commit_url":"https://github.com/mtchavez/circleci/commit/cc1e87745e2ffcf5d20dec47c4bcf3dd5ebc3f56","author_login":"mtchavez","author_name":"Chavez","author_email":"mtchavez@users.noreply.github.com"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-25T20:09:01.220Z","canceled":false,"author_email":"mtchavez@users.noreply.github.com"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:36:01 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:56 GMT + Server: + - nginx + Set-Cookie: + - ring-session=KhueGllGjJD0%2FCobpJWI1yy9M4%2F7IUnb0YJf0kL5EA%2F%2BB%2Fp0qaYnlXX6Hsi5DdbydQN7GXhNJTqvvo9w%2BCiI05K3uOS32F4V0MPsceQiyqT%2BSHowE2m2jie9LPoNJqTBpdS8sDFVMLVGeSfPMw5Mxq0RRyDlDlAApRenNQnCejnJ4FjU8dO957k8Ao94k6cKAEEG83ob4KwmFOPkubuO89gKoyxaiSKVxS7%2F3%2F6BIN8%3D--3HYXRm02XfFz3CL9BTyfP9pfBFIgnQV8axBa0SimH90%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:56:22 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0c804402ab3fa050d + X-Circleci-Request-Id: + - 0f6d994b-c3a9-4dd7-bc1b-2a9fc5973dcb + X-Frame-Options: + - DENY + Content-Length: + - '3573' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:21 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/first_project/has_metadata.yml b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/first_project/has_metadata.yml index 7961edf..a8e6874 100644 --- a/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/first_project/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/recent_builds_branch/successfully/projects/first_project/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/tree/master?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/tree/master?circle-token= body: encoding: UTF-8 string: "{}" @@ -238,4 +238,122 @@ http_interactions: dependencies (#72)","commit_url":"https://github.com/mtchavez/circleci/commit/cc1e87745e2ffcf5d20dec47c4bcf3dd5ebc3f56","author_login":"mtchavez","author_name":"Chavez","author_email":"mtchavez@users.noreply.github.com"}],"outcome":"success","vcs_url":"https://github.com/mtchavez/circleci","author_name":"Chavez","node":null,"queued_at":"2016-07-25T20:09:01.220Z","canceled":false,"author_email":"mtchavez@users.noreply.github.com"}]' http_version: recorded_at: Fri, 29 Jul 2016 00:36:01 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/tree/master?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:01 GMT + Server: + - nginx + Set-Cookie: + - ring-session=U9MrcLGH5eY52ELdQRbmtIa7MRJEuroJmTtdgm8KFRr0Ienb4TlcaMf5oDNOtApVyyKJfG0hnImDtKgmScpTBMX9Zag8sM4VH7hNT98NErZUi6jex5a1AGHAEBLf1gqWjtP3cWqkUMCjuZvJojBoLK6tH43ncEtNZfyzQEMYhig%2FNJeX0BFxwYs4ctssRDf29sAK%2FRtOIPSZJnO1wO98UJAS%2B2nT5DvF4XHUYRsjeCw%3D--ThyMctaoWmnIHnf3FCIqX5Lqs52tGrvlST9nQVVbkXo%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:59:26 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-90989e68 + X-Circleci-Request-Id: + - 5e12e01b-a0f5-400f-9b9a-d702e4871451 + X-Frame-Options: + - DENY + Content-Length: + - '3564' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:22 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/set_envvar/successfully/envvar/has_metadata.yml b/spec/cassettes/CircleCi_Project/set_envvar/successfully/envvar/has_metadata.yml index 6e8b18c..39fa8c7 100644 --- a/spec/cassettes/CircleCi_Project/set_envvar/successfully/envvar/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/set_envvar/successfully/envvar/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:23:15 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar/TESTENV + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar/TESTENV Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/set_envvar/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/set_envvar/successfully/is_verified_by_response.yml index a87528c..2db3561 100644 --- a/spec/cassettes/CircleCi_Project/set_envvar/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/set_envvar/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' @@ -27,7 +27,7 @@ http_interactions: Date: - Fri, 29 Jul 2016 00:22:41 GMT Location: - - https://circleci.com/api/v1.1/project/mtchavez/circleci/envvar/TESTENV + - https://circleci.com/api/v1.1/project/github/mtchavez/circleci/envvar/TESTENV Server: - nginx Set-Cookie: diff --git a/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/is_verified_by_response.yml index 560df33..295f91a 100644 --- a/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' diff --git a/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/message/returns_an_error_message.yml b/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/message/returns_an_error_message.yml index 16cfced..347b04f 100644 --- a/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/message/returns_an_error_message.yml +++ b/spec/cassettes/CircleCi_Project/set_envvar/unsuccessfully/message/returns_an_error_message.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/asdf-bogus/envvar?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/asdf-bogus/envvar?circle-token= body: encoding: UTF-8 string: '{"name":"TESTENV","value":"testvalue"}' diff --git a/spec/cassettes/CircleCi_Project/settings/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/settings/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 0c4d257..ae1191c 100644 --- a/spec/cassettes/CircleCi_Project/settings/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/settings/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/settings?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/settings?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/settings/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/settings/successfully/is_verified_by_response.yml index 87d1adf..d7bb51a 100644 --- a/spec/cassettes/CircleCi_Project/settings/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/settings/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/settings?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/settings?circle-token= body: encoding: UTF-8 string: "{}" @@ -67,4 +67,122 @@ http_interactions: AAAAB3NzaC1yc2EAAAADAQABAAABAQDDC7Ca3FXm9nAC5kpIQ+uB2a7ShJkj4PvjNJSsI1rmz2Z8eXDMLOEW08qGXBjFWlDtZkGtAw2U8UmaHKPcJ3YM+Ss5sw0sRURW3pPpqF0JzKvDaNg8UxDLBk8CFxb2YLjjSpM2G5BMY5w38Af/U/8Hhb284lg7sdbtM9rRLlDeYVEx+T/nVOWsH+j3SAICZfpKb7GCz1OCbH2lhEXQqPMin+0UYw4ePrB0NvtC/x55fQ+cK1K3jbyVkZIXRw1KZAhUjEGCLu3CYsqkWCpLUsAABv36Vdb7KH9/kWXhUGKsS8LeiVLrJQDFaENDbvBo4rum1ORhgbD72DtBZKON4r6/","fingerprint":"83:3d:57:76:98:96:f6:ae:20:57:18:84:a6:4d:58:9d"}]}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:52 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/settings?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:27 GMT + Server: + - nginx + Set-Cookie: + - ring-session=AHuVp46B5c3wx%2FaMg1eI3N%2FMy8sYfymS%2F89I4d7tNo8TP9u1at8x8iZ4SlQHXtOHX3BwtmSO%2F9%2Fur%2FGAzOl3qKCyVwC6Uh1xphhbWp2KWxvDjnSIopxiJa3NYQDLkwrU6gPyxNe4mCIGuI79Dog29C%2Fyr5nBmbHfHVDvA24iob7tt320nhouBwJQuSeKSvWDb166GsnTQzJOc%2Be6KGCv38U9nALNot2jD97%2F8QMvUtk%3D--C4ZpTyh4wcW1vhry7NXJTN6jHLv7CmxkZCStRRavs3g%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:16:35 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-29422c27 + X-Circleci-Request-Id: + - 57f3bd86-81cc-47bd-89af-3114ff70ac79 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:22 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/settings/successfully/project/has_metadata.yml b/spec/cassettes/CircleCi_Project/settings/successfully/project/has_metadata.yml index 9e6ab00..590dd4f 100644 --- a/spec/cassettes/CircleCi_Project/settings/successfully/project/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/settings/successfully/project/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/settings?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/settings?circle-token= body: encoding: UTF-8 string: "{}" @@ -67,4 +67,122 @@ http_interactions: AAAAB3NzaC1yc2EAAAADAQABAAABAQDDC7Ca3FXm9nAC5kpIQ+uB2a7ShJkj4PvjNJSsI1rmz2Z8eXDMLOEW08qGXBjFWlDtZkGtAw2U8UmaHKPcJ3YM+Ss5sw0sRURW3pPpqF0JzKvDaNg8UxDLBk8CFxb2YLjjSpM2G5BMY5w38Af/U/8Hhb284lg7sdbtM9rRLlDeYVEx+T/nVOWsH+j3SAICZfpKb7GCz1OCbH2lhEXQqPMin+0UYw4ePrB0NvtC/x55fQ+cK1K3jbyVkZIXRw1KZAhUjEGCLu3CYsqkWCpLUsAABv36Vdb7KH9/kWXhUGKsS8LeiVLrJQDFaENDbvBo4rum1ORhgbD72DtBZKON4r6/","fingerprint":"83:3d:57:76:98:96:f6:ae:20:57:18:84:a6:4d:58:9d"}]}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:53 GMT +- request: + method: get + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/settings?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:12:09 GMT + Server: + - nginx + Set-Cookie: + - ring-session=Q25H6v6Uz4TE9opZlvuqV6MCqkgprxPPMjRSNFI6FGy%2BW8GxiMU%2FmNxnMcy7O0WY1mpCGbEqy%2BDiVaDyVS%2BR7NJUVpg%2BREXJ15i1jqDWveq%2FWtIzYFBOokknouGErbU2YKQCMSvp8BWyCHN0tHMMH7XAWpJUrJZXb7jRmmppwkQQjw7SQqjV25iDKhIUDY9gNV8niTx06aPEEDJDIGSbcmMZbjAnsqAPmcsURCn85PM%3D--8NoAcnOgueZvZfW6dskkE6LzYQp%2F9pwIb9lSQfMpq3Y%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:04:43 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a9968330 + X-Circleci-Request-Id: + - 700138e4-fa99-4672-b2ab-b081017a8dff + X-Frame-Options: + - DENY + Content-Length: + - '3563' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:23 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 465957d..1865ccc 100644 --- a/spec/cassettes/CircleCi_Project/ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/ssh_key/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/ssh-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/ssh-key?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwwuwmtxV5vZwAuZKSEPrgdmu0oSZI+D74zSUrCNa5s9mfHlw\nzCzhFtPKhlwYxVpQ7WZBrQMNlPFJmhyj3Cd2DPkrObMNLEVEVt6T6ahdCcyrw2jY\nPFMQywZPAhcW9mC440qTNhuQTGOcN/AH/1P/B4W9vOJYO7HW7TPa0S5Q3mFRMfk/\n51TlrB/o90gCAmX6Sm+xgs9Tgmx9pYRF0KjzIp/tFGMOHj6wdDb7Qv8eeX0PnCtS\nt428lZGSF0cNSmQIVIxBgi7twmLKpFgqS1LAAAb9+lXW+yh/f5Fl4VBirEvC3olS\n6yUAxWhDQ27waOK7ptTkYYGw+9g7QWSjjeK+vwIDAQABAoIBAG+oa4vcA1lbTzh5\nuaCxMUt+4PQncLv3envRiCMbgliL9vHfW9GnB5zX1iMg6hVg5N9jIMn463eOwkH1\nj2DjPlOi+Tno5OupI7xPY4HqHokToGkXxmKScxSnIefibATTzkRgVvIsyWjRxYbI\nZOuonGEkEUDmmvhhkNbuTqBd0XHcZxG8EJaeGsTLiJG4fG9x3ib/o4w7Lrfh2usb\nCjQt52L5Hg3JHXNokpwFOvhTN4uXUmjZKTQGmJceRz0Rqcemwn0ulcTYrQwQGyw/\nzncwkaNbiWRLJZJtRbMoTd3Mhr8ZvKp91vZGGLhn/BE2s7D5d/OXgz5N11T8iyN8\nSCW5YaECgYEA+Rlrlhui+tan9vo39VXh7wqJujrxlNTLP70ImpAfIoVVhAuPg+pL\naEPs/HIzSJOYppyI3fv6Bz8lKK46gO5VouokxmNQFNz2bxHn2FaXt37k/ye4tbqQ\nCuou+UvAlR/r4OT0Yj9wla0P5wo7IWRrdwWiAhj1DSkvkyGL3VLxF8kCgYEAyHLt\no43wRg50l63gectGCSRfyXuml3o38BLwQhToqbqPQFVncur+lNar9Xh5FRO9T+am\nd8ET+GLdCUXxfpu6eytEUgG3yndsHgXJz5Ta2hQdQT4lkkOlirO4ozYrBIilSrZh\nr8CQP2GKrDZ0QZkZRsBYKUZ0OnNPQXyboCfa9kcCgYB79mCJ9ProZYZ07BSI7NJg\nyRe9K7QpYrQ65fGwKWS1IzFpYu9qsGASZSs8fgBzb7AZyfB6t/i3Pn9ZfUrz+qd3\nSZo/eBDUMRoaMAj2qjEaSfXf3H6ZQVyJcf0qZr5R9+7EnmvXsMZwVg2B5p+CgJzS\nQGVdMdpRUFuylpEp9SqxsQKBgDkuB7obOEpTv1.1CxahJ0ORNMjAKGwlv9ok1aqazA\nGCqqrEiW1D7E6EB/CGiqqCeqDNvpGN2ad17onNMTX7NVKxoNmpymHs6jyHS8A/iy\nJsgE6t98oe0aXPO3FtmADz9o13X7ltwy2zMpWQyNMBayXLKBFeUYUvmFgTtWF3LV\nS7HrAoGBANhxhjIHYrsAy008UAHHebsyoteIPv2i/5uaRqgkEAVA+6lgTGBxK/Hq\nJ0WRSY+9eJAJn29Br0TO6pCbXS9PUwilFxfEs2iUvDkjYjpR/p3FMNfuzHf0eqoz\nCbCL2YiGWojMIyPkfhOn/vGeE8O7qAJ2xsNFARXes5tYY8h+MmR2\n-----END diff --git a/spec/cassettes/CircleCi_Project/ssh_key/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/ssh_key/successfully/is_verified_by_response.yml index 8fe1dd2..1a59307 100644 --- a/spec/cassettes/CircleCi_Project/ssh_key/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/ssh_key/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/ssh-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/ssh-key?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwwuwmtxV5vZwAuZKSEPrgdmu0oSZI+D74zSUrCNa5s9mfHlw\nzCzhFtPKhlwYxVpQ7WZBrQMNlPFJmhyj3Cd2DPkrObMNLEVEVt6T6ahdCcyrw2jY\nPFMQywZPAhcW9mC440qTNhuQTGOcN/AH/1P/B4W9vOJYO7HW7TPa0S5Q3mFRMfk/\n51TlrB/o90gCAmX6Sm+xgs9Tgmx9pYRF0KjzIp/tFGMOHj6wdDb7Qv8eeX0PnCtS\nt428lZGSF0cNSmQIVIxBgi7twmLKpFgqS1LAAAb9+lXW+yh/f5Fl4VBirEvC3olS\n6yUAxWhDQ27waOK7ptTkYYGw+9g7QWSjjeK+vwIDAQABAoIBAG+oa4vcA1lbTzh5\nuaCxMUt+4PQncLv3envRiCMbgliL9vHfW9GnB5zX1iMg6hVg5N9jIMn463eOwkH1\nj2DjPlOi+Tno5OupI7xPY4HqHokToGkXxmKScxSnIefibATTzkRgVvIsyWjRxYbI\nZOuonGEkEUDmmvhhkNbuTqBd0XHcZxG8EJaeGsTLiJG4fG9x3ib/o4w7Lrfh2usb\nCjQt52L5Hg3JHXNokpwFOvhTN4uXUmjZKTQGmJceRz0Rqcemwn0ulcTYrQwQGyw/\nzncwkaNbiWRLJZJtRbMoTd3Mhr8ZvKp91vZGGLhn/BE2s7D5d/OXgz5N11T8iyN8\nSCW5YaECgYEA+Rlrlhui+tan9vo39VXh7wqJujrxlNTLP70ImpAfIoVVhAuPg+pL\naEPs/HIzSJOYppyI3fv6Bz8lKK46gO5VouokxmNQFNz2bxHn2FaXt37k/ye4tbqQ\nCuou+UvAlR/r4OT0Yj9wla0P5wo7IWRrdwWiAhj1DSkvkyGL3VLxF8kCgYEAyHLt\no43wRg50l63gectGCSRfyXuml3o38BLwQhToqbqPQFVncur+lNar9Xh5FRO9T+am\nd8ET+GLdCUXxfpu6eytEUgG3yndsHgXJz5Ta2hQdQT4lkkOlirO4ozYrBIilSrZh\nr8CQP2GKrDZ0QZkZRsBYKUZ0OnNPQXyboCfa9kcCgYB79mCJ9ProZYZ07BSI7NJg\nyRe9K7QpYrQ65fGwKWS1IzFpYu9qsGASZSs8fgBzb7AZyfB6t/i3Pn9ZfUrz+qd3\nSZo/eBDUMRoaMAj2qjEaSfXf3H6ZQVyJcf0qZr5R9+7EnmvXsMZwVg2B5p+CgJzS\nQGVdMdpRUFuylpEp9SqxsQKBgDkuB7obOEpTv1.1CxahJ0ORNMjAKGwlv9ok1aqazA\nGCqqrEiW1D7E6EB/CGiqqCeqDNvpGN2ad17onNMTX7NVKxoNmpymHs6jyHS8A/iy\nJsgE6t98oe0aXPO3FtmADz9o13X7ltwy2zMpWQyNMBayXLKBFeUYUvmFgTtWF3LV\nS7HrAoGBANhxhjIHYrsAy008UAHHebsyoteIPv2i/5uaRqgkEAVA+6lgTGBxK/Hq\nJ0WRSY+9eJAJn29Br0TO6pCbXS9PUwilFxfEs2iUvDkjYjpR/p3FMNfuzHf0eqoz\nCbCL2YiGWojMIyPkfhOn/vGeE8O7qAJ2xsNFARXes5tYY8h+MmR2\n-----END @@ -52,4 +52,123 @@ http_interactions: string: '""' http_version: recorded_at: Fri, 29 Jul 2016 00:22:49 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/ssh-key?circle-token= + body: + encoding: UTF-8 + string: '{"hostname":"hostname","private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwwuwmtxV5vZwAuZKSEPrgdmu0oSZI+D74zSUrCNa5s9mfHlw\nzCzhFtPKhlwYxVpQ7WZBrQMNlPFJmhyj3Cd2DPkrObMNLEVEVt6T6ahdCcyrw2jY\nPFMQywZPAhcW9mC440qTNhuQTGOcN/AH/1P/B4W9vOJYO7HW7TPa0S5Q3mFRMfk/\n51TlrB/o90gCAmX6Sm+xgs9Tgmx9pYRF0KjzIp/tFGMOHj6wdDb7Qv8eeX0PnCtS\nt428lZGSF0cNSmQIVIxBgi7twmLKpFgqS1LAAAb9+lXW+yh/f5Fl4VBirEvC3olS\n6yUAxWhDQ27waOK7ptTkYYGw+9g7QWSjjeK+vwIDAQABAoIBAG+oa4vcA1lbTzh5\nuaCxMUt+4PQncLv3envRiCMbgliL9vHfW9GnB5zX1iMg6hVg5N9jIMn463eOwkH1\nj2DjPlOi+Tno5OupI7xPY4HqHokToGkXxmKScxSnIefibATTzkRgVvIsyWjRxYbI\nZOuonGEkEUDmmvhhkNbuTqBd0XHcZxG8EJaeGsTLiJG4fG9x3ib/o4w7Lrfh2usb\nCjQt52L5Hg3JHXNokpwFOvhTN4uXUmjZKTQGmJceRz0Rqcemwn0ulcTYrQwQGyw/\nzncwkaNbiWRLJZJtRbMoTd3Mhr8ZvKp91vZGGLhn/BE2s7D5d/OXgz5N11T8iyN8\nSCW5YaECgYEA+Rlrlhui+tan9vo39VXh7wqJujrxlNTLP70ImpAfIoVVhAuPg+pL\naEPs/HIzSJOYppyI3fv6Bz8lKK46gO5VouokxmNQFNz2bxHn2FaXt37k/ye4tbqQ\nCuou+UvAlR/r4OT0Yj9wla0P5wo7IWRrdwWiAhj1DSkvkyGL3VLxF8kCgYEAyHLt\no43wRg50l63gectGCSRfyXuml3o38BLwQhToqbqPQFVncur+lNar9Xh5FRO9T+am\nd8ET+GLdCUXxfpu6eytEUgG3yndsHgXJz5Ta2hQdQT4lkkOlirO4ozYrBIilSrZh\nr8CQP2GKrDZ0QZkZRsBYKUZ0OnNPQXyboCfa9kcCgYB79mCJ9ProZYZ07BSI7NJg\nyRe9K7QpYrQ65fGwKWS1IzFpYu9qsGASZSs8fgBzb7AZyfB6t/i3Pn9ZfUrz+qd3\nSZo/eBDUMRoaMAj2qjEaSfXf3H6ZQVyJcf0qZr5R9+7EnmvXsMZwVg2B5p+CgJzS\nQGVdMdpRUFuylpEp9SqxsQKBgDkuB7obOEpTv1CxahJ0ORNMjAKGwlv9ok1aqazA\nGCqqrEiW1D7E6EB/CGiqqCeqDNvpGN2ad17onNMTX7NVKxoNmpymHs6jyHS8A/iy\nJsgE6t98oe0aXPO3FtmADz9o13X7ltwy2zMpWQyNMBayXLKBFeUYUvmFgTtWF3LV\nS7HrAoGBANhxhjIHYrsAy008UAHHebsyoteIPv2i/5uaRqgkEAVA+6lgTGBxK/Hq\nJ0WRSY+9eJAJn29Br0TO6pCbXS9PUwilFxfEs2iUvDkjYjpR/p3FMNfuzHf0eqoz\nCbCL2YiGWojMIyPkfhOn/vGeE8O7qAJ2xsNFARXes5tYY8h+MmR2\n-----END + RSA PRIVATE KEY-----\n"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:04:07 GMT + Server: + - nginx + Set-Cookie: + - ring-session=R0Sz0j85rwwZpAREJ%2FylpPpiF0HvmkiTkzEifuxNg5mZ05Vn%2F4l8IK6I55NkmBwgKKxcXF%2BXRdxEn%2BCz2Yu96KbfKVT7WCikY%2F28aw5WKNcp13EEEcE%2B6cIOuDNk7hh5pxYyhKSHVfO9HNL9uKQnxV%2F91ORleBoOC6RIP5owpDFpZ%2FMQX1dXrf2Si1hqNN8nAqmcVneGPHllH1Dba3m%2BSmEmGm%2FtDr0mCDw5kLgtwmU%3D--8i0FjHgqFtpuIPzebBA8UW2jWWE3ZxuEDuChBhBsVrM%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:01:10 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-a83e713b + X-Circleci-Request-Id: + - e23a5a13-0421-4671-8280-fb6eb30dcfc5 + X-Frame-Options: + - DENY + Content-Length: + - '3568' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:25 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/is_verified_by_response.yml index f0f0052..b1af189 100644 --- a/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/ssh-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/ssh-key?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"RSA Private Key"}' @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"it looks like private key is invalid key. Double check"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:49 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/ssh-key?circle-token= + body: + encoding: UTF-8 + string: '{"hostname":"hostname","private_key":"RSA Private Key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:08:05 GMT + Server: + - nginx + Set-Cookie: + - ring-session=ylc3ZnaWlFX7c8HyQNQTs12KV9TuOumsbsrf6XRTgnB6%2ByOojO%2BlaWnt49Xfj3YGYPGtiFoDCmgdqpugIwTQw4WCIMPKMSgZUMVt%2FFr3qqqmDl2P7DMbUnW1d%2FVR545VoK3dXjg7u2DVpDuhbwoB2bWfaLi2dkdYJSApEr5ZCu%2FeGDGPWJ3H1hDcHnYdizHw6kk2fPi%2FTMvSoMSyBr%2BcoDRbW4fk1yWyyjjR2f5GAfg%3D--PYa7JwqeZrHqdHETaM03H1vv%2Fr5ZSj%2F6uTLdazxE46M%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:05:08 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-032cce080c5335813 + X-Circleci-Request-Id: + - 90ca5a06-cd97-4cb7-8bc5-fff8852b484b + X-Frame-Options: + - DENY + Content-Length: + - '3574' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:25 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/message/has_metadata.yml index fa4b6b1..358301e 100644 --- a/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/ssh_key/unsuccessfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/ssh-key?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/ssh-key?circle-token= body: encoding: UTF-8 string: '{"hostname":"hostname","private_key":"RSA Private Key"}' @@ -49,4 +49,122 @@ http_interactions: string: '{"message":"it looks like private key is invalid key. Double check"}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:50 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/ssh-key?circle-token= + body: + encoding: UTF-8 + string: '{"hostname":"hostname","private_key":"RSA Private Key"}' + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:07:17 GMT + Server: + - nginx + Set-Cookie: + - ring-session=RpNrm%2FJ4p7l%2BQSDl9QQ89xbTjVQ1vNPqq%2B%2FpRdealm4I4Sv6zfcTUpnLslOSEoT%2BBLLlPITVIjRZdnr%2FDOakTioAabRfXB8lH837RhlOv6kUWgpvqa5AVqKOgf9yaey74IpvIRRPJWMcqrSi%2Bn9KOHHdrnumROEDjVyYx8V84GGgWHaZlARd7rAyBSSM372Qn%2FGs9S%2Bq2iK9EqUshjTqGtmGr%2FB646EcFsf4ZtZd7P0%3D--00ZK0xGhOhRWSJHOGmGlcc7Q65PswldS%2BSqbE4pLB7M%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 19:55:32 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-068bf61ae1f2a8d02 + X-Circleci-Request-Id: + - 73275b0e-65f6-4000-aafb-efa75f8254a8 + X-Frame-Options: + - DENY + Content-Length: + - '3577' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:25 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/unfollow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml b/spec/cassettes/CircleCi_Project/unfollow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml index 36090cc..bd8368f 100644 --- a/spec/cassettes/CircleCi_Project/unfollow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml +++ b/spec/cassettes/CircleCi_Project/unfollow/successfully/deprecated_class_method/logs_deprecation_and_calls_instance_method.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/unfollow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/unfollow?circle-token= body: encoding: UTF-8 string: "{}" diff --git a/spec/cassettes/CircleCi_Project/unfollow/successfully/is_verified_by_response.yml b/spec/cassettes/CircleCi_Project/unfollow/successfully/is_verified_by_response.yml index 2b82c2a..8f1225d 100644 --- a/spec/cassettes/CircleCi_Project/unfollow/successfully/is_verified_by_response.yml +++ b/spec/cassettes/CircleCi_Project/unfollow/successfully/is_verified_by_response.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/unfollow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/unfollow?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"followed":false}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:51 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/unfollow?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:10:43 GMT + Server: + - nginx + Set-Cookie: + - ring-session=YSlfi0bDw7meD7itqD%2FY%2F2b5DW4RL93zi8DFxitg3BJuNKQiuuwbRhbmHsgp190QoFZV2ncqZLwdIaGgvAUvN5855K%2Be%2FMG8PguUtg81i77N5EesNAjPK82LpRVUqjVFrmZLL%2Fsjn5V5mS8B1mi%2FVJEm8Tx3RqM3zYID1mm2gdNUOmkck4cH0SRIJhBA%2FvA16UwI%2FgzbtmAUwnmYJtDADJ9d5EjZaBYuORM5aGhCPTQ%3D--621dla%2BOrnuZiub7VuV89S9fgRKXD9cv1DTMnOUXzBA%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:03:05 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-0372866acd6942747 + X-Circleci-Request-Id: + - 8b350e52-19e5-4448-87f9-368d44b8c101 + X-Frame-Options: + - DENY + Content-Length: + - '3575' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:26 GMT recorded_with: VCR 3.0.3 diff --git a/spec/cassettes/CircleCi_Project/unfollow/successfully/message/has_metadata.yml b/spec/cassettes/CircleCi_Project/unfollow/successfully/message/has_metadata.yml index 43d191b..55524d9 100644 --- a/spec/cassettes/CircleCi_Project/unfollow/successfully/message/has_metadata.yml +++ b/spec/cassettes/CircleCi_Project/unfollow/successfully/message/has_metadata.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://circleci.com/api/v1.1/project/mtchavez/circleci/unfollow?circle-token= + uri: https://circleci.com/api/v1.1/project/github/mtchavez/circleci/unfollow?circle-token= body: encoding: UTF-8 string: "{}" @@ -59,4 +59,122 @@ http_interactions: string: '{"followed":false}' http_version: recorded_at: Fri, 29 Jul 2016 00:22:52 GMT +- request: + method: post + uri: https://circleci.com/api/v1.1/project/github/github/mtchavez/circleci/unfollow?circle-token= + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/json + Content-Type: + - application/json + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + User-Agent: + - Ruby + Host: + - circleci.com + response: + status: + code: 404 + message: Not Found + headers: + Content-Type: + - text/html; charset=utf-8 + Date: + - Tue, 23 May 2017 20:05:22 GMT + Server: + - nginx + Set-Cookie: + - ring-session=8edBlv82g1yMPlkVjKruZsvSxPnfHzx4skkbnOXghZFndsGkNmfaVFRtm8NjBn6gOh%2Brojt%2Br0om3Bk%2FmnL%2BRcgihUQMS4QcJEqcNClXYOLTMjlxi9DV%2FuWylmpXK3KfNUCWnNwcCETCXGqzml%2FEjboh7oOZEKfp%2B7jkfXPfY4PnnFMf1aemqo1B4IL7n5XwdZpNDQRr6wZZTKzxOgxazj6C9YyfrsnzRLpmvfwma7U%3D--PjHWRp2%2B5x3%2B6xEOxJ3rVT4wJ2%2FcubQ0y9NHsqgeKyg%3D;Path=/;HttpOnly;Expires=Wed, + 23 May 2018 20:02:23 +0000;Max-Age=31536000;Secure + X-Circleci-Identity: + - i-9eb38766 + X-Circleci-Request-Id: + - 9aa7405a-a443-4165-a48e-9d44af5d280d + X-Frame-Options: + - DENY + Content-Length: + - '3563' + Connection: + - keep-alive + body: + encoding: ASCII-8BIT + string: |- + + Continuous Integration and Deployment + + + + + + + +
+ + + + + http_version: + recorded_at: Tue, 23 May 2017 20:08:26 GMT recorded_with: VCR 3.0.3 diff --git a/spec/circleci/api_project_resource_spec.rb b/spec/circleci/api_project_resource_spec.rb new file mode 100644 index 0000000..6138d2f --- /dev/null +++ b/spec/circleci/api_project_resource_spec.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true +require 'spec_helper' + +RSpec.describe CircleCi::ApiProjectResource do + let(:username) { 'mtchavez' } + let(:project) { 'circleci' } + let(:vcs) { described_class::DEFAULT_VCS_TYPE } + let(:build) { nil } + subject { described_class.new username, project, vcs, build } + + describe 'initialize' do + context 'vcs type' do + describe 'default' do + it 'sets to github' do + expect(subject.vcs_type).to eq(described_class::DEFAULT_VCS_TYPE) + end + end + + describe 'valid alternate' do + let(:vcs) { 'bitbucket' } + + it 'sets vcs type' do + expect(subject.vcs_type).to eq(vcs) + end + end + + describe 'invalid' do + let(:vcs) { 'gitlab' } + + it 'uses default' do + expect(subject.vcs_type).to eq(described_class::DEFAULT_VCS_TYPE) + end + end + end + + context 'build' do + let(:build) { '12345' } + + it 'can be set' do + expect(subject.build).to eq(build) + end + end + + context 'custom config' do + let(:custom_port) { 9090 } + let(:new_config) { CircleCi::Config.new(port: custom_port) } + subject { described_class.new username, project, vcs, build, new_config } + + it 'can be set' do + expect(subject.conf).not_to eq(CircleCi.config) + expect(subject.conf).to eq(new_config) + expect(subject.conf.port).to eq(custom_port) + end + end + end + + describe 'default_config' do + it 'returns global config' do + expect(subject.conf).to eq(CircleCi.config) + end + end +end diff --git a/spec/circleci/build_spec.rb b/spec/circleci/build_spec.rb index 641b04b..8743589 100644 --- a/spec/circleci/build_spec.rb +++ b/spec/circleci/build_spec.rb @@ -4,8 +4,9 @@ RSpec.describe CircleCi::Build, :vcr do let(:username) { 'mtchavez' } let(:project) { 'circleci' } + let(:vcs) { CircleCi::ApiProjectResource::DEFAULT_VCS_TYPE } let(:build_num) { 140 } - let(:new_build) { described_class.new username, project, build_num } + let(:new_build) { described_class.new username, project, vcs, build_num } describe 'artifacts' do context 'successfully' do @@ -16,17 +17,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.artifacts username, project, build_num } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Build#artifacts instead') - expect(described_class).to receive(:new).with(username, project, build_num, CircleCi.config).and_return(new_build) - expect(new_build).to receive(:artifacts).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'artifacts' do subject(:artifacts) { res.body } @@ -60,17 +50,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.cancel username, project, build_num } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Build#cancel instead') - expect(described_class).to receive(:new).with(username, project, build_num, CircleCi.config).and_return(new_build) - expect(new_build).to receive(:cancel).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'canceled build' do subject { res.body } @@ -93,17 +72,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.get username, project, build_num } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Build#get instead') - expect(described_class).to receive(:new).with(username, project, build_num, CircleCi.config).and_return(new_build) - expect(new_build).to receive(:get).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'build' do subject { res.body } @@ -130,17 +98,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.retry username, project, build_num } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Build#retry instead') - expect(described_class).to receive(:new).with(username, project, build_num, CircleCi.config).and_return(new_build) - expect(new_build).to receive(:retry).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'build' do subject { res.body } @@ -167,17 +124,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.tests username, project, build_num } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Build#tests instead') - expect(described_class).to receive(:new).with(username, project, build_num, CircleCi.config).and_return(new_build) - expect(new_build).to receive(:tests).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'for build' do subject { res.body['tests'] } diff --git a/spec/circleci/config_spec.rb b/spec/circleci/config_spec.rb index aa8a9ec..adccfb6 100644 --- a/spec/circleci/config_spec.rb +++ b/spec/circleci/config_spec.rb @@ -2,8 +2,12 @@ require 'spec_helper' RSpec.describe CircleCi::Config do - let(:test_host) { 'https://mycircle.com' } - let(:test_port) { 1234 } + let(:test_host) { 'https://mycircle.com' } + let(:test_port) { 1234 } + let(:proxy_user) { 'proxyuser' } + let(:proxy_pass) { 'proxypass' } + let(:proxy_port) { 6000 } + let(:proxy_host) { 'https://circleproxy.org' } describe 'initialize' do it { expect(subject.host).to eql described_class::DEFAULT_HOST } @@ -31,4 +35,83 @@ expect(uri).to match(/#{test_port}/) end end + + describe 'proxy_userinfo' do + context 'without user and password' do + it 'is false' do + expect(subject).not_to be_proxy_userinfo + end + end + + context 'with user and password' do + before do + subject.proxy_user = proxy_user + subject.proxy_pass = proxy_pass + end + + it 'is true' do + expect(subject).to be_proxy_userinfo + end + end + end + + describe 'proxy_to_port' do + context 'when not set' do + it 'defaults to 80' do + expect(subject.proxy_to_port).to eq(80) + end + end + + context 'when set' do + before do + subject.proxy_port = proxy_port + end + + it 'returns configured port' do + expect(subject.proxy_to_port).to eq(proxy_port) + end + end + end + + describe 'proxy_uri' do + context 'proxy set to true' do + before { subject.proxy = true } + + describe 'no proxy host' do + it 'returns nil' do + expect(subject.proxy_uri).to be_nil + end + end + + describe 'with proxy host' do + let(:uri) { subject.proxy_uri.to_s } + + before do + subject.proxy_host = proxy_host + end + + it 'returns uri with proxy info' do + expect(uri).to match(proxy_host) + expect(uri).to match(/#{subject.proxy_to_port}/) + end + + context 'and user info' do + before do + subject.proxy_user = proxy_user + subject.proxy_pass = proxy_pass + end + + it 'returns uri with proxy info' do + expect(uri).to match("#{subject.proxy_user}:#{subject.proxy_pass}") + end + end + end + end + + context 'proxy set to false' do + it 'returns nil' do + expect(subject.proxy_uri).to be_nil + end + end + end end diff --git a/spec/circleci/project_spec.rb b/spec/circleci/project_spec.rb index 290a813..f62d948 100644 --- a/spec/circleci/project_spec.rb +++ b/spec/circleci/project_spec.rb @@ -7,25 +7,6 @@ let(:branch) { 'master' } let(:new_project) { described_class.new username, project } - describe 'all' do - let(:username) { nil } - let(:project) { nil } - - context 'successfully' do - describe 'deprecated class method' do - let(:res) { described_class.all } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Projects#get instead') - projects = CircleCi::Projects.new - expect(CircleCi::Projects).to receive(:new).and_return(projects) - expect(projects).to receive(:get).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - end - end - describe 'build' do context 'successfully' do let(:res) { new_project.build } @@ -35,17 +16,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.build username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#build instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:build).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'build' do subject { res.body } @@ -73,17 +43,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.build_branch username, project, branch } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#build_branch instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:build_branch).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'build' do subject { res.body } @@ -123,17 +82,6 @@ expect(res).to be_instance_of(CircleCi::Response) expect(res).to be_success end - - describe 'deprecated class method' do - let(:res) { described_class.build_ssh_key username, project, build_num, ssh_key, ssh_host } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#build_ssh_key instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:build_ssh_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end end end @@ -146,17 +94,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.clear_cache username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#clear_cache instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:clear_cache).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'message' do subject { res.body } @@ -178,17 +115,6 @@ expect(res.body).to be_instance_of(Hash) expect(res.body['message']).to eql 'ok' end - - describe 'deprecated class method' do - let(:res) { described_class.delete_checkout_key username, project, test_delete_checkout_key_fingerprint } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#delete_checkout_key instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:delete_checkout_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end end context 'unsuccessfully' do @@ -221,17 +147,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.enable username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#enable instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:enable).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'project' do let(:res) { new_project.list_checkout_keys } let(:project_res) { res.body } @@ -254,17 +169,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.envvar username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#envvar instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:envvar).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'envvars' do let(:envvars) { res.body } @@ -305,16 +209,6 @@ end end end - - context 'envvars deprecation' do - let(:res) { described_class.envvars username, project } - - it 'logs warning' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] CircleCi::Project#envvars is deprecated please use CircleCi::Project#envvar') - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#envvar instead') - expect(res).to be_instance_of(CircleCi::Response) - end - end end describe 'follow' do @@ -326,17 +220,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.follow username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#follow instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:follow).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'message' do subject { res.body } @@ -357,17 +240,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.get_checkout_key username, project, test_checkout_key_fingerprint } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#get_checkout_key instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:get_checkout_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'key' do let(:key) { res.body } @@ -409,17 +281,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.list_checkout_keys username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#list_checkout_keys instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:list_checkout_keys).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'keys' do let(:keys) { res.body } @@ -451,17 +312,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.new_checkout_key username, project, 'deploy-key' } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#new_checkout_key instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:new_checkout_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'key' do let(:key) { res.body } @@ -505,17 +355,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.recent_builds username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#recent_builds instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:recent_builds).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'projects' do let(:projects) { res.body } @@ -580,17 +419,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.recent_builds_branch username, project, branch } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#recent_builds_branch instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:recent_builds_branch).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'projects' do let(:projects) { res.body } @@ -624,17 +452,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.settings username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#settings instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:settings).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'project' do let(:project_res) { res.body } @@ -657,17 +474,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.set_envvar username, project, name: 'TESTENV', value: 'testvalue' } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#add_envvar instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:add_envvar).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'envvar' do let(:envvar) { res.body } @@ -709,17 +515,6 @@ expect(res).to be_instance_of(CircleCi::Response) expect(res).to be_success end - - describe 'deprecated class method' do - let(:res) { described_class.ssh_key username, project, test_rsa_private_key, 'hostname' } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#ssh_key instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:ssh_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end end context 'unsuccessfully' do @@ -750,17 +545,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.unfollow username, project } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::Project#unfollow instead') - expect(described_class).to receive(:new).with(username, project, CircleCi.config).and_return(new_project) - expect(new_project).to receive(:unfollow).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'message' do subject { res.body } diff --git a/spec/circleci/recent_builds_spec.rb b/spec/circleci/recent_builds_spec.rb index bfa6324..7b5f556 100644 --- a/spec/circleci/recent_builds_spec.rb +++ b/spec/circleci/recent_builds_spec.rb @@ -11,17 +11,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.get } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::RecentBuilds#get instead') - expect(described_class).to receive(:new).with(CircleCi.config).and_return(subject) - expect(subject).to receive(:get).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'recent builds' do let(:builds) { res.body } diff --git a/spec/circleci/user_spec.rb b/spec/circleci/user_spec.rb index ae45b9b..487d9b5 100644 --- a/spec/circleci/user_spec.rb +++ b/spec/circleci/user_spec.rb @@ -11,17 +11,6 @@ expect(res).to be_success end - describe 'deprecated class method' do - let(:res) { described_class.me } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::User#me instead') - expect(described_class).to receive(:new).with(CircleCi.config).and_return(subject) - expect(subject).to receive(:me).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end - describe 'user' do let(:body) { res.body } @@ -57,17 +46,6 @@ expect(res).to be_instance_of(CircleCi::Response) expect(res).to be_success end - - describe 'deprecated class method' do - let(:res) { described_class.heroku_key test_heroku_key } - - it 'logs deprecation and calls instance method' do - expect(CircleCi.config.logger).to receive(:warn).with('[Deprecated] Use instance method CircleCi::User#heroku_key instead') - expect(described_class).to receive(:new).with(CircleCi.config).and_return(subject) - expect(subject).to receive(:heroku_key).with(test_heroku_key).and_call_original - expect(res).to be_instance_of(CircleCi::Response) - end - end end end end