{"action":"created","comment":{"url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/comments/39878778","id":39878778,"diff_hunk":"@@ -0,0 +1,41 @@\n+require 'vcr'\n+require 'rspec'\n+\n+module BlockScore\n+  VCR.configure do |c|\n+    c.cassette_library_dir = 'spec/cassettes'\n+    c.hook_into :webmock\n+    c.configure_rspec_metadata!\n+    c.ignore_hosts 'codeclimate.com'\n+\n+    c.filter_sensitive_data('BLOCKSCORE_TEST_KEY') { ENV['BLOCKSCORE_TEST_KEY'] }\n+  end\n+\n+  RSpec.configure do |config|\n+    config.before(:suite) do\n+      BlockScore.api_key = ENV.fetch('BLOCKSCORE_TEST_KEY', 'BLOCKSCORE_TEST_KEY')\n+    end\n+\n+    config.around(:each) do |example|\n+      options = example.metadata[:vcr] || {\n+        record: (ENV['VCR_RECORD_MODE'] ? ENV['VCR_RECORD_MODE'].to_sym : :none)\n+      }\n+\n+      if options[:record] == :skip\n+        VCR.turned_off(&example)\n+      else\n+        name = example.metadata[:full_description]\n+          .split(/\\s+/, 2)\n+          .join('/')\n+          .underscore\n+          .gsub(/[.#?]/, '/')\n+          .gsub(%r(\\/+), '/')\n+          .strip\n+          .tr(' ', '_')","path":"spec/vcr_setup.rb","position":34,"original_position":34,"commit_id":"79564fd4340acee3c86b761a77fbe8d93685d67c","original_commit_id":"79564fd4340acee3c86b761a77fbe8d93685d67c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Style/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.","created_at":"2015-09-18T17:17:54Z","updated_at":"2015-09-18T17:17:54Z","html_url":"https://github.com/BlockScore/blockscore-ruby/pull/43#discussion_r39878778","pull_request_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/comments/39878778"},"html":{"href":"https://github.com/BlockScore/blockscore-ruby/pull/43#discussion_r39878778"},"pull_request":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43","id":45331358,"html_url":"https://github.com/BlockScore/blockscore-ruby/pull/43","diff_url":"https://github.com/BlockScore/blockscore-ruby/pull/43.diff","patch_url":"https://github.com/BlockScore/blockscore-ruby/pull/43.patch","issue_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/43","number":43,"state":"open","locked":false,"title":"Feature/vcr based testing","user":{"login":"sirwolfgang","id":722517,"avatar_url":"https://avatars.githubusercontent.com/u/722517?v=3","gravatar_id":"","url":"https://api.github.com/users/sirwolfgang","html_url":"https://github.com/sirwolfgang","followers_url":"https://api.github.com/users/sirwolfgang/followers","following_url":"https://api.github.com/users/sirwolfgang/following{/other_user}","gists_url":"https://api.github.com/users/sirwolfgang/gists{/gist_id}","starred_url":"https://api.github.com/users/sirwolfgang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirwolfgang/subscriptions","organizations_url":"https://api.github.com/users/sirwolfgang/orgs","repos_url":"https://api.github.com/users/sirwolfgang/repos","events_url":"https://api.github.com/users/sirwolfgang/events{/privacy}","received_events_url":"https://api.github.com/users/sirwolfgang/received_events","type":"User","site_admin":false},"body":"- Updated supported ruby version to maintained versions\r\n- Removed webmock based request stubbing and testing\r\n- Created VCR based request replaying and testing [resolves #42]\r\n- Updated Readme","created_at":"2015-09-17T19:29:19Z","updated_at":"2015-09-18T17:17:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"923265cee18d6e262726deb188eaf9d3bb9b7b0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43/commits","review_comments_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43/comments","review_comment_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/43/comments","statuses_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/statuses/79564fd4340acee3c86b761a77fbe8d93685d67c","head":{"label":"BlockScore:feature/vcr-based-testing","ref":"feature/vcr-based-testing","sha":"79564fd4340acee3c86b761a77fbe8d93685d67c","user":{"login":"BlockScore","id":4524125,"avatar_url":"https://avatars.githubusercontent.com/u/4524125?v=3","gravatar_id":"","url":"https://api.github.com/users/BlockScore","html_url":"https://github.com/BlockScore","followers_url":"https://api.github.com/users/BlockScore/followers","following_url":"https://api.github.com/users/BlockScore/following{/other_user}","gists_url":"https://api.github.com/users/BlockScore/gists{/gist_id}","starred_url":"https://api.github.com/users/BlockScore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlockScore/subscriptions","organizations_url":"https://api.github.com/users/BlockScore/orgs","repos_url":"https://api.github.com/users/BlockScore/repos","events_url":"https://api.github.com/users/BlockScore/events{/privacy}","received_events_url":"https://api.github.com/users/BlockScore/received_events","type":"Organization","site_admin":false},"repo":{"id":17101801,"name":"blockscore-ruby","full_name":"BlockScore/blockscore-ruby","owner":{"login":"BlockScore","id":4524125,"avatar_url":"https://avatars.githubusercontent.com/u/4524125?v=3","gravatar_id":"","url":"https://api.github.com/users/BlockScore","html_url":"https://github.com/BlockScore","followers_url":"https://api.github.com/users/BlockScore/followers","following_url":"https://api.github.com/users/BlockScore/following{/other_user}","gists_url":"https://api.github.com/users/BlockScore/gists{/gist_id}","starred_url":"https://api.github.com/users/BlockScore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlockScore/subscriptions","organizations_url":"https://api.github.com/users/BlockScore/orgs","repos_url":"https://api.github.com/users/BlockScore/repos","events_url":"https://api.github.com/users/BlockScore/events{/privacy}","received_events_url":"https://api.github.com/users/BlockScore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlockScore/blockscore-ruby","description":":gem: An API wrapper for the BlockScore API using Ruby.","fork":false,"url":"https://api.github.com/repos/BlockScore/blockscore-ruby","forks_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/forks","keys_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/teams","hooks_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/hooks","issue_events_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/events","assignees_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/tags","blobs_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/languages","stargazers_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/stargazers","contributors_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/contributors","subscribers_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/subscribers","subscription_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/subscription","commits_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/merges","archive_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/downloads","issues_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/labels{/name}","releases_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/releases{/id}","created_at":"2014-02-23T04:46:11Z","updated_at":"2015-08-06T23:27:29Z","pushed_at":"2015-09-18T17:17:47Z","git_url":"git://github.com/BlockScore/blockscore-ruby.git","ssh_url":"git@github.com:BlockScore/blockscore-ruby.git","clone_url":"https://github.com/BlockScore/blockscore-ruby.git","svn_url":"https://github.com/BlockScore/blockscore-ruby","homepage":"http://docs.blockscore.com/ruby/","size":1511,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":6,"default_branch":"master"}},"base":{"label":"BlockScore:master","ref":"master","sha":"a0ddc70c0d5efaff25e5667fad1528943c51ae84","user":{"login":"BlockScore","id":4524125,"avatar_url":"https://avatars.githubusercontent.com/u/4524125?v=3","gravatar_id":"","url":"https://api.github.com/users/BlockScore","html_url":"https://github.com/BlockScore","followers_url":"https://api.github.com/users/BlockScore/followers","following_url":"https://api.github.com/users/BlockScore/following{/other_user}","gists_url":"https://api.github.com/users/BlockScore/gists{/gist_id}","starred_url":"https://api.github.com/users/BlockScore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlockScore/subscriptions","organizations_url":"https://api.github.com/users/BlockScore/orgs","repos_url":"https://api.github.com/users/BlockScore/repos","events_url":"https://api.github.com/users/BlockScore/events{/privacy}","received_events_url":"https://api.github.com/users/BlockScore/received_events","type":"Organization","site_admin":false},"repo":{"id":17101801,"name":"blockscore-ruby","full_name":"BlockScore/blockscore-ruby","owner":{"login":"BlockScore","id":4524125,"avatar_url":"https://avatars.githubusercontent.com/u/4524125?v=3","gravatar_id":"","url":"https://api.github.com/users/BlockScore","html_url":"https://github.com/BlockScore","followers_url":"https://api.github.com/users/BlockScore/followers","following_url":"https://api.github.com/users/BlockScore/following{/other_user}","gists_url":"https://api.github.com/users/BlockScore/gists{/gist_id}","starred_url":"https://api.github.com/users/BlockScore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlockScore/subscriptions","organizations_url":"https://api.github.com/users/BlockScore/orgs","repos_url":"https://api.github.com/users/BlockScore/repos","events_url":"https://api.github.com/users/BlockScore/events{/privacy}","received_events_url":"https://api.github.com/users/BlockScore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlockScore/blockscore-ruby","description":":gem: An API wrapper for the BlockScore API using Ruby.","fork":false,"url":"https://api.github.com/repos/BlockScore/blockscore-ruby","forks_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/forks","keys_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/teams","hooks_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/hooks","issue_events_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/events","assignees_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/tags","blobs_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/languages","stargazers_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/stargazers","contributors_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/contributors","subscribers_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/subscribers","subscription_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/subscription","commits_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/merges","archive_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/downloads","issues_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/labels{/name}","releases_url":"https://api.github.com/repos/BlockScore/blockscore-ruby/releases{/id}","created_at":"2014-02-23T04:46:11Z","updated_at":"2015-08-06T23:27:29Z","pushed_at":"2015-09-18T17:17:47Z","git_url":"git://github.com/BlockScore/blockscore-ruby.git","ssh_url":"git@github.com:BlockScore/blockscore-ruby.git","clone_url":"https://github.com/BlockScore/blockscore-ruby.git","svn_url":"https://github.com/BlockScore/blockscore-ruby","homepage":"http://docs.blockscore.com/ruby/","size":1511,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43"},"html":{"href":"https://github.com/BlockScore/blockscore-ruby/pull/43"},"issue":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/43"},"comments":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/BlockScore/blockscore-ruby/statuses/79564fd4340acee3c86b761a77fbe8d93685d67c"}}}}