worochi 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +28 -0
- data/circle.yml +19 -0
- data/lib/worochi/version.rb +1 -1
- data/spec/spec_helper.rb +22 -10
- data/spec/worochi/agent/dropbox_spec.rb +3 -4
- data/spec/worochi/agent/github_spec.rb +6 -5
- data/spec/worochi/agent/google_drive_spec.rb +1 -1
- data/worochi.gemspec +6 -3
- metadata +8 -154
- data/spec/cassettes/Worochi/_push/pushes_with_agents.yml +0 -512
- data/spec/cassettes/Worochi_Agent_Dropbox/_list/works_with_absolute_paths.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_a_single_item.yml +0 -303
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_it_chunked_if_size_exceeds_limit.yml +0 -1049
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/pushes_a_single_item_in_chunks.yml +0 -349
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/raises_an_error.yml +0 -44
- data/spec/cassettes/Worochi_Agent_Dropbox/_push_items/pushes_multiple_items.yml +0 -165
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -38
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -155
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -60
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -79
- data/spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/_repos/lists_the_repos.yml +0 -207
- data/spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml +0 -68
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -263
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -133
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml +0 -989
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_the_file_to_the_right_place.yml +0 -687
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_blob/pushes_the_blob_even_when_it_is_larger_than_block_size.yml +0 -181
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_item/pushes_a_single_item_and_makes_a_commit.yml +0 -687
- data/spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_stream_blob/streams_the_file_as_an_Base64_JSON_field.yml +0 -181
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_delete/deletes_a_file.yml +0 -4248
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_delete/raises_error_on_bad_token.yml +0 -7889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/retrieves_the_item_ID.yml +0 -4148
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/returns_the_root_ID.yml +0 -3889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/creates_a_new_folder_to_root.yml +0 -4753
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/uploads_a_file.yml +0 -4492
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/creates_new_directories_as_needed.yml +0 -5961
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/pushes_a_single_item.yml +0 -3887
- data/spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/raises_error_on_bad_token.yml +0 -7833
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_default_options/has_the_required_options.yml +0 -3889
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml +0 -4294
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/contains_file1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml +0 -4583
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml +0 -4294
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml +0 -4236
- data/spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_init_client/returns_the_client.yml +0 -7775
- data/spec/cassettes/Worochi_Item/_content_type/detects_the_MIME_type.yml +0 -105
- data/spec/cassettes/Worochi_Item/_content_type/falls_back_to_file_name_when_ruby-filemagic_is_not_loaded.yml +0 -105
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_Hash_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_String_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_Hash_parameters.yml +0 -211
- data/spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_String_parameters.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_Hash_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_String_parameter.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_Hash_parameters.yml +0 -211
- data/spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_String_parameters.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open_single/accepts_a_String.yml +0 -107
- data/spec/cassettes/Worochi_Item/_open_single/works_with_AWS_S3_paths.yml +0 -46
- data/spec/cassettes/Worochi_OAuth/_flow_end/rejects_bad_code.yml +0 -56
- data/spec/cassettes/Worochi_OAuth/_refresh/tries_to_refresh_the_access_token.yml +0 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15a828e1461ed0863f1d9997d2b0bc5006c9895e
|
4
|
+
data.tar.gz: f1b93a83bb7acf24139e21fcffa63e0792235678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70335c53978ac43a6a431551622ea7847ba5368a61cfa5c13457903701a6a44c821e6c820cbabb08d2dfbd78dbc4c1a86ada52a6cbe121d0528002c910469dce
|
7
|
+
data.tar.gz: 7fc6f4cdfbe6b574f5fb71c963b740fd4a494fe02b5ec25047f530eb52c5434f4176c43e03e088a052b2d81564452f8ee9cee77a40770dc0796c990ff9c04cf6
|
data/Rakefile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
Bundler.setup
|
5
|
+
Bundler::GemHelper.install_tasks
|
6
|
+
|
7
|
+
require 'rspec/core/rake_task'
|
8
|
+
RSpec::Core::RakeTask.new(:spec)
|
9
|
+
|
10
|
+
task default: :spec
|
11
|
+
task test: :spec
|
12
|
+
|
13
|
+
task :yard do
|
14
|
+
begin
|
15
|
+
require 'yard'
|
16
|
+
YARD::Rake::YardocTask.new do |task|
|
17
|
+
task.files = ['lib/**/*.rb']
|
18
|
+
task.options = [
|
19
|
+
'--output-dir', 'doc',
|
20
|
+
'--markup', 'markdown',
|
21
|
+
'--markup-provider', 'redcarpet'
|
22
|
+
]
|
23
|
+
end
|
24
|
+
rescue LoadError
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
task doc: :yard
|
data/circle.yml
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
machine:
|
2
|
+
ruby:
|
3
|
+
version: 2.0.0
|
4
|
+
# Fake tokens work for testing because HTTP responses are played back using
|
5
|
+
# VCR. Set the relevant tokens to real ones if recording new responses.
|
6
|
+
environment:
|
7
|
+
AWS_ACCESS_KEY_ID: abc
|
8
|
+
AWS_SECRET_ACCESS_KEY: abc
|
9
|
+
BOX_ID: abc
|
10
|
+
BOX_SECRET: abc
|
11
|
+
GOOGLE_ID: abc
|
12
|
+
GOOGLE_SECRET: abc
|
13
|
+
GITHUB_ID: abc
|
14
|
+
GITHUB_SECRET: abc
|
15
|
+
DROPBOX_ID: abc
|
16
|
+
DROPBOX_SECRET: abc
|
17
|
+
GITHUB_TEST_TOKEN: abc
|
18
|
+
DROPBOX_TEST_TOKEN: abc
|
19
|
+
GOOGLE_TEST_TOKEN: abc
|
data/lib/worochi/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -25,19 +25,23 @@ VCR.configure do |c|
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Service manifest
|
29
|
+
test_token_prefix = {
|
30
|
+
google_drive: 'GOOGLE',
|
31
|
+
dropbox: 'DROPBOX',
|
32
|
+
github: 'GITHUB'
|
33
|
+
}
|
34
|
+
|
28
35
|
# Removes sensitive keys from recordings
|
29
36
|
VCR.configure do |c|
|
30
37
|
c.filter_sensitive_data('<AWS_KEY>') { ENV['AWS_SECRET_ACCESS_KEY'] }
|
31
38
|
c.filter_sensitive_data('<AWS_ID>') { ENV['AWS_ACCESS_KEY_ID'] }
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
c.filter_sensitive_data('<GOOGLE_TOKEN>') { ENV['GOOGLE_TEST_TOKEN'] }
|
39
|
-
c.filter_sensitive_data('<GOOGLE_ID>') { ENV['GOOGLE_ID'] }
|
40
|
-
c.filter_sensitive_data('<GOOGLE_SECRET>') { ENV['GOOGLE_SECRET'] }
|
39
|
+
|
40
|
+
test_token_prefix.each do |service, prefix|
|
41
|
+
c.filter_sensitive_data("<#{prefix}_TOKEN>") { ENV["#{prefix}_TEST_TOKEN"] }
|
42
|
+
c.filter_sensitive_data("<#{prefix}_ID>") { ENV["#{prefix}_ID"] }
|
43
|
+
c.filter_sensitive_data("<#{prefix}_SECRET>") { ENV["#{prefix}_SECRET"] }
|
44
|
+
end
|
41
45
|
end
|
42
46
|
|
43
47
|
RSpec.configure do |c|
|
@@ -57,7 +61,15 @@ RSpec.configure do |c|
|
|
57
61
|
end
|
58
62
|
|
59
63
|
# Exclude tests involving AWS if secret key is not set
|
60
|
-
if
|
64
|
+
if ENV['AWS_SECRET_ACCESS_KEY'].nil?
|
61
65
|
c.filter_run_excluding :aws
|
62
66
|
end
|
67
|
+
|
68
|
+
test_token_prefix.each do |service, prefix|
|
69
|
+
if ENV["#{prefix}_TEST_TOKEN"].nil?
|
70
|
+
c.filter_run_excluding service
|
71
|
+
service_name = Worochi::Config.service_display_name(service)
|
72
|
+
puts "#{prefix}_TEST_TOKEN not found. Skipping Google Drive tests."
|
73
|
+
end
|
74
|
+
end
|
63
75
|
end
|
@@ -1,14 +1,13 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe Worochi::Agent::Dropbox do
|
3
|
+
describe Worochi::Agent::Dropbox, :dropbox do
|
4
4
|
let(:required_keys) { [:chunk_size, :overwrite] }
|
5
5
|
let(:client_class) { DropboxClient }
|
6
6
|
|
7
7
|
let(:agent) do
|
8
|
-
Worochi::Agent::Dropbox.new(
|
8
|
+
Worochi::Agent::Dropbox.new(
|
9
9
|
token: ENV['DROPBOX_TEST_TOKEN'],
|
10
|
-
dir: '/Dev/test'
|
11
|
-
})
|
10
|
+
dir: '/Dev/test')
|
12
11
|
end
|
13
12
|
|
14
13
|
it_should_behave_like 'a service agent'
|
@@ -1,18 +1,17 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe Worochi::Agent::Github do
|
3
|
+
describe Worochi::Agent::Github, :github do
|
4
4
|
let(:required_keys) { [:repo, :source, :target, :block_size, :commit_msg] }
|
5
5
|
let(:client_class) { Octokit::Client }
|
6
6
|
let(:master_branch) { 'cdddc3941866854cdb41c023d0f5240ed10df053' }
|
7
7
|
|
8
8
|
let(:agent) do
|
9
|
-
Worochi::Agent::Github.new(
|
9
|
+
Worochi::Agent::Github.new(
|
10
10
|
token: ENV['GITHUB_TEST_TOKEN'],
|
11
11
|
repo: 'darkmirage/test',
|
12
12
|
source: 'master',
|
13
13
|
target: 'rspec',
|
14
|
-
commit_msg: "RSpec Test"
|
15
|
-
})
|
14
|
+
commit_msg: "RSpec Test")
|
16
15
|
end
|
17
16
|
|
18
17
|
it_should_behave_like 'a service agent'
|
@@ -20,7 +19,9 @@ describe Worochi::Agent::Github do
|
|
20
19
|
context 'modifies the repo' do
|
21
20
|
before do
|
22
21
|
@client = agent.init_client
|
23
|
-
@item = Worochi::Item.open_single(
|
22
|
+
@item = Worochi::Item.open_single(
|
23
|
+
path: local.path,
|
24
|
+
source: local.source)
|
24
25
|
delete_target
|
25
26
|
end
|
26
27
|
|
data/worochi.gemspec
CHANGED
@@ -17,7 +17,11 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
s.files = %w(README.md LICENSE worochi.gemspec)
|
19
19
|
s.files += Dir.glob('lib/**/*.{rb,yml}')
|
20
|
-
|
20
|
+
|
21
|
+
s.test_files = %w(circle.yml Rakefile)
|
22
|
+
s.test_files += Dir.glob('spec/**/*').reject do |path|
|
23
|
+
/^spec\/cassettes.*/.match(path)
|
24
|
+
end
|
21
25
|
|
22
26
|
s.require_paths = ['lib']
|
23
27
|
|
@@ -34,10 +38,9 @@ Gem::Specification.new do |s|
|
|
34
38
|
s.add_development_dependency('vcr', ['~> 2.5.0'])
|
35
39
|
s.add_development_dependency('webmock', ['~> 1.9.3'])
|
36
40
|
s.add_development_dependency('yard')
|
41
|
+
s.add_development_dependency('redcarpet')
|
37
42
|
s.add_development_dependency('simplecov')
|
38
43
|
s.add_development_dependency('coveralls')
|
39
|
-
s.add_development_dependency('rake')
|
40
|
-
s.add_development_dependency('redcarpet')
|
41
44
|
s.add_development_dependency('awesome_print')
|
42
45
|
|
43
46
|
s.post_install_message = <<-MESSAGE
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: worochi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raven Jiang
|
@@ -179,21 +179,7 @@ dependencies:
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - '>='
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - '>='
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: coveralls
|
182
|
+
name: redcarpet
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
198
184
|
requirements:
|
199
185
|
- - '>='
|
@@ -207,7 +193,7 @@ dependencies:
|
|
207
193
|
- !ruby/object:Gem::Version
|
208
194
|
version: '0'
|
209
195
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
196
|
+
name: simplecov
|
211
197
|
requirement: !ruby/object:Gem::Requirement
|
212
198
|
requirements:
|
213
199
|
- - '>='
|
@@ -221,7 +207,7 @@ dependencies:
|
|
221
207
|
- !ruby/object:Gem::Version
|
222
208
|
version: '0'
|
223
209
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
210
|
+
name: coveralls
|
225
211
|
requirement: !ruby/object:Gem::Requirement
|
226
212
|
requirements:
|
227
213
|
- - '>='
|
@@ -279,6 +265,8 @@ files:
|
|
279
265
|
- lib/worochi/config/github.yml
|
280
266
|
- lib/worochi/config/dropbox.yml
|
281
267
|
- lib/worochi/config/#example.yml
|
268
|
+
- circle.yml
|
269
|
+
- Rakefile
|
282
270
|
- spec/spec_helper.rb
|
283
271
|
- spec/worochi/helper_spec.rb
|
284
272
|
- spec/worochi/log_spec.rb
|
@@ -295,74 +283,6 @@ files:
|
|
295
283
|
- spec/support/shared_exampes_for_agents.rb
|
296
284
|
- spec/support/test_files.rb
|
297
285
|
- spec/support/test_file
|
298
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/raises_an_error.yml
|
299
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/pushes_a_single_item_in_chunks.yml
|
300
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_list/works_with_absolute_paths.yml
|
301
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing.yml
|
302
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
303
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
304
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
305
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
306
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
307
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
308
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
309
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
310
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
311
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_items/pushes_multiple_items.yml
|
312
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_a_single_item.yml
|
313
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_it_chunked_if_size_exceeds_limit.yml
|
314
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_the_file_to_the_right_place.yml
|
315
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml
|
316
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_stream_blob/streams_the_file_as_an_Base64_JSON_field.yml
|
317
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_blob/pushes_the_blob_even_when_it_is_larger_than_block_size.yml
|
318
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_item/pushes_a_single_item_and_makes_a_commit.yml
|
319
|
-
- spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml
|
320
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
321
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
322
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
323
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
324
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
325
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
326
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
327
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
328
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
329
|
-
- spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml
|
330
|
-
- spec/cassettes/Worochi_Agent_Github/_repos/lists_the_repos.yml
|
331
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_init_client/returns_the_client.yml
|
332
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
333
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
334
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
335
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
336
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
337
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
338
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_default_options/has_the_required_options.yml
|
339
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
340
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
341
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
342
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/uploads_a_file.yml
|
343
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/creates_a_new_folder_to_root.yml
|
344
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/retrieves_the_item_ID.yml
|
345
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/returns_the_root_ID.yml
|
346
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/pushes_a_single_item.yml
|
347
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/raises_error_on_bad_token.yml
|
348
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/creates_new_directories_as_needed.yml
|
349
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_delete/deletes_a_file.yml
|
350
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_delete/raises_error_on_bad_token.yml
|
351
|
-
- spec/cassettes/Worochi/_push/pushes_with_agents.yml
|
352
|
-
- spec/cassettes/Worochi_Item/_open_single/accepts_a_String.yml
|
353
|
-
- spec/cassettes/Worochi_Item/_open_single/works_with_AWS_S3_paths.yml
|
354
|
-
- spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_String_parameters.yml
|
355
|
-
- spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_Hash_parameters.yml
|
356
|
-
- spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_Hash_parameter.yml
|
357
|
-
- spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_String_parameter.yml
|
358
|
-
- spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_String_parameters.yml
|
359
|
-
- spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_Hash_parameters.yml
|
360
|
-
- spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_String_parameter.yml
|
361
|
-
- spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_Hash_parameter.yml
|
362
|
-
- spec/cassettes/Worochi_Item/_content_type/detects_the_MIME_type.yml
|
363
|
-
- spec/cassettes/Worochi_Item/_content_type/falls_back_to_file_name_when_ruby-filemagic_is_not_loaded.yml
|
364
|
-
- spec/cassettes/Worochi_OAuth/_flow_end/rejects_bad_code.yml
|
365
|
-
- spec/cassettes/Worochi_OAuth/_refresh/tries_to_refresh_the_access_token.yml
|
366
286
|
homepage: https://github.com/Pixelapse/worochi
|
367
287
|
licenses:
|
368
288
|
- MIT
|
@@ -388,6 +308,8 @@ signing_key:
|
|
388
308
|
specification_version: 4
|
389
309
|
summary: Worochi
|
390
310
|
test_files:
|
311
|
+
- circle.yml
|
312
|
+
- Rakefile
|
391
313
|
- spec/spec_helper.rb
|
392
314
|
- spec/worochi/helper_spec.rb
|
393
315
|
- spec/worochi/log_spec.rb
|
@@ -404,72 +326,4 @@ test_files:
|
|
404
326
|
- spec/support/shared_exampes_for_agents.rb
|
405
327
|
- spec/support/test_files.rb
|
406
328
|
- spec/support/test_file
|
407
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/raises_an_error.yml
|
408
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item_chunked/pushes_a_single_item_in_chunks.yml
|
409
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_list/works_with_absolute_paths.yml
|
410
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing.yml
|
411
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
412
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
413
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
414
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
415
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
416
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
417
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
418
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
419
|
-
- spec/cassettes/Worochi_Agent_Dropbox/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
420
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_items/pushes_multiple_items.yml
|
421
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_a_single_item.yml
|
422
|
-
- spec/cassettes/Worochi_Agent_Dropbox/_push_item/pushes_it_chunked_if_size_exceeds_limit.yml
|
423
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_the_file_to_the_right_place.yml
|
424
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_all/pushes_a_list_of_items_to_create_a_new_commit.yml
|
425
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_stream_blob/streams_the_file_as_an_Base64_JSON_field.yml
|
426
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_blob/pushes_the_blob_even_when_it_is_larger_than_block_size.yml
|
427
|
-
- spec/cassettes/Worochi_Agent_Github/modifies_the_repo/_push_item/pushes_a_single_item_and_makes_a_commit.yml
|
428
|
-
- spec/cassettes/Worochi_Agent_Github/_list/works_with_absolute_paths.yml
|
429
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
430
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
431
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
432
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
433
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
434
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
435
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
436
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
437
|
-
- spec/cassettes/Worochi_Agent_Github/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
438
|
-
- spec/cassettes/Worochi_Agent_Github/_source_branch/retrieves_the_master_branch_correctly.yml
|
439
|
-
- spec/cassettes/Worochi_Agent_Github/_repos/lists_the_repos.yml
|
440
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_init_client/returns_the_client.yml
|
441
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/shows_detailed_listing_including_the_required_fields.yml
|
442
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files_and_folders/contains_folder1_and_file1.yml
|
443
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/raises_error_on_invalid_path.yml
|
444
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/does_not_contain_folder1.yml
|
445
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/contains_file1.yml
|
446
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_files/accepts_a_different_relative_path.yml
|
447
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_default_options/has_the_required_options.yml
|
448
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/contains_folder1.yml
|
449
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/does_not_contain_file1.yml
|
450
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/it_should_behave_like_a_service_agent/_folders/accepts_a_different_relative_path.yml
|
451
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/uploads_a_file.yml
|
452
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_insert_file/creates_a_new_folder_to_root.yml
|
453
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/retrieves_the_item_ID.yml
|
454
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_get_item_id/returns_the_root_ID.yml
|
455
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/pushes_a_single_item.yml
|
456
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/raises_error_on_bad_token.yml
|
457
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_push_item/creates_new_directories_as_needed.yml
|
458
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_delete/deletes_a_file.yml
|
459
|
-
- spec/cassettes/Worochi_Agent_GoogleDrive/_delete/raises_error_on_bad_token.yml
|
460
|
-
- spec/cassettes/Worochi/_push/pushes_with_agents.yml
|
461
|
-
- spec/cassettes/Worochi_Item/_open_single/accepts_a_String.yml
|
462
|
-
- spec/cassettes/Worochi_Item/_open_single/works_with_AWS_S3_paths.yml
|
463
|
-
- spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_String_parameters.yml
|
464
|
-
- spec/cassettes/Worochi_Item/_open/opens_multiple_files/with_Hash_parameters.yml
|
465
|
-
- spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_Hash_parameter.yml
|
466
|
-
- spec/cassettes/Worochi_Item/_open/with_a_single_file/accepts_String_parameter.yml
|
467
|
-
- spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_String_parameters.yml
|
468
|
-
- spec/cassettes/Worochi_Item/_open/with_multiple_files/accepts_Hash_parameters.yml
|
469
|
-
- spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_String_parameter.yml
|
470
|
-
- spec/cassettes/Worochi_Item/_open/opens_a_single_file/with_Hash_parameter.yml
|
471
|
-
- spec/cassettes/Worochi_Item/_content_type/detects_the_MIME_type.yml
|
472
|
-
- spec/cassettes/Worochi_Item/_content_type/falls_back_to_file_name_when_ruby-filemagic_is_not_loaded.yml
|
473
|
-
- spec/cassettes/Worochi_OAuth/_flow_end/rejects_bad_code.yml
|
474
|
-
- spec/cassettes/Worochi_OAuth/_refresh/tries_to_refresh_the_access_token.yml
|
475
329
|
has_rdoc:
|
@@ -1,512 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Octokit Ruby Gem 1.25.0
|
12
|
-
Accept:
|
13
|
-
- application/vnd.github.beta+json
|
14
|
-
Authorization:
|
15
|
-
- token <GITHUB_TOKEN>
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Server:
|
24
|
-
- GitHub.com
|
25
|
-
Date:
|
26
|
-
- Thu, 15 Aug 2013 20:40:35 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
X-Ratelimit-Limit:
|
34
|
-
- '5000'
|
35
|
-
X-Ratelimit-Remaining:
|
36
|
-
- '4999'
|
37
|
-
X-Ratelimit-Reset:
|
38
|
-
- '1376602835'
|
39
|
-
X-Oauth-Scopes:
|
40
|
-
- user, public_repo, repo, gist
|
41
|
-
X-Accepted-Oauth-Scopes:
|
42
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
43
|
-
X-Github-Media-Type:
|
44
|
-
- github.beta; format=json
|
45
|
-
X-Content-Type-Options:
|
46
|
-
- nosniff
|
47
|
-
Access-Control-Allow-Credentials:
|
48
|
-
- 'true'
|
49
|
-
Access-Control-Expose-Headers:
|
50
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
51
|
-
X-Accepted-OAuth-Scopes
|
52
|
-
Access-Control-Allow-Origin:
|
53
|
-
- '*'
|
54
|
-
Etag:
|
55
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
56
|
-
Cache-Control:
|
57
|
-
- max-age=0, private, must-revalidate
|
58
|
-
Vary:
|
59
|
-
- Accept-Encoding
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
63
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
64
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
65
|
-
subfolder testing","tree":{"sha":"6553d302dfc55bf5cd09c07a6125753af023c7a5","url":"https://api.github.com/repos/darkmirage/test/git/trees/6553d302dfc55bf5cd09c07a6125753af023c7a5"},"url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","comment_count":0},"url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commit/cdddc3941866854cdb41c023d0f5240ed10df053","comments_url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053/comments","author":{"login":"darkmirage","id":1635019,"avatar_url":"https://0.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"committer":{"login":"darkmirage","id":1635019,"avatar_url":"https://0.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"parents":[{"sha":"9da46c5d5e0758a759f80de6283eba05c1f04735","url":"https://api.github.com/repos/darkmirage/test/commits/9da46c5d5e0758a759f80de6283eba05c1f04735","html_url":"https://github.com/darkmirage/test/commit/9da46c5d5e0758a759f80de6283eba05c1f04735"}]},"_links":{"self":"https://api.github.com/repos/darkmirage/test/branches/master","html":"https://github.com/darkmirage/test/tree/master"}}'
|
66
|
-
http_version:
|
67
|
-
recorded_at: Thu, 15 Aug 2013 20:40:35 GMT
|
68
|
-
- request:
|
69
|
-
method: post
|
70
|
-
uri: https://api.github.com/repos/darkmirage/test/git/blobs
|
71
|
-
body:
|
72
|
-
encoding: UTF-8
|
73
|
-
string: '{"content":"VGhpcyBpcyBhIGZpbGUgdXNlZCBmb3IgUlNwZWMgdGVzdHMgaW52b2x2aW5nIFdvcm9jaGk6Okl0ZW0u","encoding":"base64"}'
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- Octokit Ruby Gem 1.25.0
|
77
|
-
Accept:
|
78
|
-
- application/vnd.github.beta+json
|
79
|
-
Authorization:
|
80
|
-
- token <GITHUB_TOKEN>
|
81
|
-
Content-Type:
|
82
|
-
- application/json
|
83
|
-
Accept-Encoding:
|
84
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
85
|
-
response:
|
86
|
-
status:
|
87
|
-
code: 201
|
88
|
-
message: Created
|
89
|
-
headers:
|
90
|
-
Server:
|
91
|
-
- GitHub.com
|
92
|
-
Date:
|
93
|
-
- Thu, 15 Aug 2013 20:40:36 GMT
|
94
|
-
Content-Type:
|
95
|
-
- application/json; charset=utf-8
|
96
|
-
Status:
|
97
|
-
- 201 Created
|
98
|
-
X-Ratelimit-Limit:
|
99
|
-
- '5000'
|
100
|
-
X-Ratelimit-Remaining:
|
101
|
-
- '4998'
|
102
|
-
X-Ratelimit-Reset:
|
103
|
-
- '1376602835'
|
104
|
-
X-Oauth-Scopes:
|
105
|
-
- user, public_repo, repo, gist
|
106
|
-
X-Accepted-Oauth-Scopes:
|
107
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
108
|
-
Location:
|
109
|
-
- https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b
|
110
|
-
X-Github-Media-Type:
|
111
|
-
- github.beta; format=json
|
112
|
-
X-Content-Type-Options:
|
113
|
-
- nosniff
|
114
|
-
Content-Length:
|
115
|
-
- '154'
|
116
|
-
Access-Control-Allow-Credentials:
|
117
|
-
- 'true'
|
118
|
-
Access-Control-Expose-Headers:
|
119
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
120
|
-
X-Accepted-OAuth-Scopes
|
121
|
-
Access-Control-Allow-Origin:
|
122
|
-
- '*'
|
123
|
-
Etag:
|
124
|
-
- '"0e380113ab3ae5bd4b7290693137935d"'
|
125
|
-
Cache-Control:
|
126
|
-
- max-age=0, private, must-revalidate
|
127
|
-
body:
|
128
|
-
encoding: UTF-8
|
129
|
-
string: '{"sha":"5df468c4497e072139462b88cb78e1df4357534b","url":"https://api.github.com/repos/darkmirage/test/git/blobs/5df468c4497e072139462b88cb78e1df4357534b"}'
|
130
|
-
http_version:
|
131
|
-
recorded_at: Thu, 15 Aug 2013 20:40:36 GMT
|
132
|
-
- request:
|
133
|
-
method: post
|
134
|
-
uri: https://api.github.com/repos/darkmirage/test/git/trees
|
135
|
-
body:
|
136
|
-
encoding: UTF-8
|
137
|
-
string: '{"base_tree":"cdddc3941866854cdb41c023d0f5240ed10df053","tree":[{"path":"folder2/test_file","sha":"5df468c4497e072139462b88cb78e1df4357534b","type":"blob","mode":"100644"}]}'
|
138
|
-
headers:
|
139
|
-
User-Agent:
|
140
|
-
- Octokit Ruby Gem 1.25.0
|
141
|
-
Accept:
|
142
|
-
- application/vnd.github.beta+json
|
143
|
-
Authorization:
|
144
|
-
- token <GITHUB_TOKEN>
|
145
|
-
Content-Type:
|
146
|
-
- application/json
|
147
|
-
Accept-Encoding:
|
148
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
149
|
-
response:
|
150
|
-
status:
|
151
|
-
code: 201
|
152
|
-
message: Created
|
153
|
-
headers:
|
154
|
-
Server:
|
155
|
-
- GitHub.com
|
156
|
-
Date:
|
157
|
-
- Thu, 15 Aug 2013 20:40:36 GMT
|
158
|
-
Content-Type:
|
159
|
-
- application/json; charset=utf-8
|
160
|
-
Status:
|
161
|
-
- 201 Created
|
162
|
-
X-Ratelimit-Limit:
|
163
|
-
- '5000'
|
164
|
-
X-Ratelimit-Remaining:
|
165
|
-
- '4997'
|
166
|
-
X-Ratelimit-Reset:
|
167
|
-
- '1376602835'
|
168
|
-
X-Oauth-Scopes:
|
169
|
-
- user, public_repo, repo, gist
|
170
|
-
X-Accepted-Oauth-Scopes:
|
171
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
172
|
-
Location:
|
173
|
-
- https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a
|
174
|
-
X-Github-Media-Type:
|
175
|
-
- github.beta; format=json
|
176
|
-
X-Content-Type-Options:
|
177
|
-
- nosniff
|
178
|
-
Content-Length:
|
179
|
-
- '1407'
|
180
|
-
Access-Control-Allow-Credentials:
|
181
|
-
- 'true'
|
182
|
-
Access-Control-Expose-Headers:
|
183
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
184
|
-
X-Accepted-OAuth-Scopes
|
185
|
-
Access-Control-Allow-Origin:
|
186
|
-
- '*'
|
187
|
-
Etag:
|
188
|
-
- '"ee74a42523ad470d771f65bbe384ac8e"'
|
189
|
-
Cache-Control:
|
190
|
-
- max-age=0, private, must-revalidate
|
191
|
-
body:
|
192
|
-
encoding: UTF-8
|
193
|
-
string: '{"sha":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","url":"https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a","tree":[{"mode":"100644","type":"blob","sha":"398cd945a422cff4321d613a3c5aef57b0b27da2","path":"LICENSE","size":1078,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/398cd945a422cff4321d613a3c5aef57b0b27da2"},{"mode":"100644","type":"blob","sha":"453312977f72f7e37d96bdc6c5b5e4c9c59072f1","path":"README.md","size":20,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/453312977f72f7e37d96bdc6c5b5e4c9c59072f1"},{"mode":"100644","type":"blob","sha":"38a226454dab3931dbb694b3c3ae94e02d110dcf","path":"file1","size":18,"url":"https://api.github.com/repos/darkmirage/test/git/blobs/38a226454dab3931dbb694b3c3ae94e02d110dcf"},{"mode":"040000","type":"tree","sha":"ec677e6fb544f1f197f8f02bcbaaededaac23bb8","path":"folder1","url":"https://api.github.com/repos/darkmirage/test/git/trees/ec677e6fb544f1f197f8f02bcbaaededaac23bb8"},{"mode":"040000","type":"tree","sha":"d6c5d03064924906afd8288388dd9102380c6fe4","path":"folder2","url":"https://api.github.com/repos/darkmirage/test/git/trees/d6c5d03064924906afd8288388dd9102380c6fe4"},{"mode":"040000","type":"tree","sha":"d750655104da52a0f691c399528a29cf5fa594c2","path":"folder3","url":"https://api.github.com/repos/darkmirage/test/git/trees/d750655104da52a0f691c399528a29cf5fa594c2"}]}'
|
194
|
-
http_version:
|
195
|
-
recorded_at: Thu, 15 Aug 2013 20:40:36 GMT
|
196
|
-
- request:
|
197
|
-
method: get
|
198
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/rspec
|
199
|
-
body:
|
200
|
-
encoding: US-ASCII
|
201
|
-
string: ''
|
202
|
-
headers:
|
203
|
-
User-Agent:
|
204
|
-
- Octokit Ruby Gem 1.25.0
|
205
|
-
Accept:
|
206
|
-
- application/vnd.github.beta+json
|
207
|
-
Authorization:
|
208
|
-
- token <GITHUB_TOKEN>
|
209
|
-
Accept-Encoding:
|
210
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
211
|
-
response:
|
212
|
-
status:
|
213
|
-
code: 404
|
214
|
-
message: Not Found
|
215
|
-
headers:
|
216
|
-
Server:
|
217
|
-
- GitHub.com
|
218
|
-
Date:
|
219
|
-
- Thu, 15 Aug 2013 20:40:37 GMT
|
220
|
-
Content-Type:
|
221
|
-
- application/json; charset=utf-8
|
222
|
-
Transfer-Encoding:
|
223
|
-
- chunked
|
224
|
-
Status:
|
225
|
-
- 404 Not Found
|
226
|
-
X-Ratelimit-Limit:
|
227
|
-
- '5000'
|
228
|
-
X-Ratelimit-Remaining:
|
229
|
-
- '4996'
|
230
|
-
X-Ratelimit-Reset:
|
231
|
-
- '1376602835'
|
232
|
-
X-Oauth-Scopes:
|
233
|
-
- user, public_repo, repo, gist
|
234
|
-
X-Accepted-Oauth-Scopes:
|
235
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
236
|
-
X-Github-Media-Type:
|
237
|
-
- github.beta; format=json
|
238
|
-
X-Content-Type-Options:
|
239
|
-
- nosniff
|
240
|
-
Access-Control-Allow-Credentials:
|
241
|
-
- 'true'
|
242
|
-
Access-Control-Expose-Headers:
|
243
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
244
|
-
X-Accepted-OAuth-Scopes
|
245
|
-
Access-Control-Allow-Origin:
|
246
|
-
- '*'
|
247
|
-
body:
|
248
|
-
encoding: UTF-8
|
249
|
-
string: '{"message":"Branch not found"}'
|
250
|
-
http_version:
|
251
|
-
recorded_at: Thu, 15 Aug 2013 20:40:37 GMT
|
252
|
-
- request:
|
253
|
-
method: get
|
254
|
-
uri: https://api.github.com/repos/darkmirage/test/branches/master
|
255
|
-
body:
|
256
|
-
encoding: US-ASCII
|
257
|
-
string: ''
|
258
|
-
headers:
|
259
|
-
User-Agent:
|
260
|
-
- Octokit Ruby Gem 1.25.0
|
261
|
-
Accept:
|
262
|
-
- application/vnd.github.beta+json
|
263
|
-
Authorization:
|
264
|
-
- token <GITHUB_TOKEN>
|
265
|
-
Accept-Encoding:
|
266
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
267
|
-
response:
|
268
|
-
status:
|
269
|
-
code: 200
|
270
|
-
message: OK
|
271
|
-
headers:
|
272
|
-
Server:
|
273
|
-
- GitHub.com
|
274
|
-
Date:
|
275
|
-
- Thu, 15 Aug 2013 20:40:37 GMT
|
276
|
-
Content-Type:
|
277
|
-
- application/json; charset=utf-8
|
278
|
-
Transfer-Encoding:
|
279
|
-
- chunked
|
280
|
-
Status:
|
281
|
-
- 200 OK
|
282
|
-
X-Ratelimit-Limit:
|
283
|
-
- '5000'
|
284
|
-
X-Ratelimit-Remaining:
|
285
|
-
- '4995'
|
286
|
-
X-Ratelimit-Reset:
|
287
|
-
- '1376602835'
|
288
|
-
X-Oauth-Scopes:
|
289
|
-
- user, public_repo, repo, gist
|
290
|
-
X-Accepted-Oauth-Scopes:
|
291
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
292
|
-
X-Github-Media-Type:
|
293
|
-
- github.beta; format=json
|
294
|
-
X-Content-Type-Options:
|
295
|
-
- nosniff
|
296
|
-
Access-Control-Allow-Credentials:
|
297
|
-
- 'true'
|
298
|
-
Access-Control-Expose-Headers:
|
299
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
300
|
-
X-Accepted-OAuth-Scopes
|
301
|
-
Access-Control-Allow-Origin:
|
302
|
-
- '*'
|
303
|
-
Etag:
|
304
|
-
- '"1e9a35ec492ea865f92a1b38b774b076"'
|
305
|
-
Cache-Control:
|
306
|
-
- max-age=0, private, must-revalidate
|
307
|
-
Vary:
|
308
|
-
- Accept-Encoding
|
309
|
-
body:
|
310
|
-
encoding: UTF-8
|
311
|
-
string: '{"name":"master","commit":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","commit":{"author":{"name":"Raven
|
312
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"committer":{"name":"Raven
|
313
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-09T23:23:24Z"},"message":"Added
|
314
|
-
subfolder testing","tree":{"sha":"6553d302dfc55bf5cd09c07a6125753af023c7a5","url":"https://api.github.com/repos/darkmirage/test/git/trees/6553d302dfc55bf5cd09c07a6125753af023c7a5"},"url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","comment_count":0},"url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commit/cdddc3941866854cdb41c023d0f5240ed10df053","comments_url":"https://api.github.com/repos/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053/comments","author":{"login":"darkmirage","id":1635019,"avatar_url":"https://0.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"committer":{"login":"darkmirage","id":1635019,"avatar_url":"https://0.gravatar.com/avatar/5111569f6bba258cfe81d12af3ba99a2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"5111569f6bba258cfe81d12af3ba99a2","url":"https://api.github.com/users/darkmirage","html_url":"https://github.com/darkmirage","followers_url":"https://api.github.com/users/darkmirage/followers","following_url":"https://api.github.com/users/darkmirage/following{/other_user}","gists_url":"https://api.github.com/users/darkmirage/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmirage/subscriptions","organizations_url":"https://api.github.com/users/darkmirage/orgs","repos_url":"https://api.github.com/users/darkmirage/repos","events_url":"https://api.github.com/users/darkmirage/events{/privacy}","received_events_url":"https://api.github.com/users/darkmirage/received_events","type":"User"},"parents":[{"sha":"9da46c5d5e0758a759f80de6283eba05c1f04735","url":"https://api.github.com/repos/darkmirage/test/commits/9da46c5d5e0758a759f80de6283eba05c1f04735","html_url":"https://github.com/darkmirage/test/commit/9da46c5d5e0758a759f80de6283eba05c1f04735"}]},"_links":{"self":"https://api.github.com/repos/darkmirage/test/branches/master","html":"https://github.com/darkmirage/test/tree/master"}}'
|
315
|
-
http_version:
|
316
|
-
recorded_at: Thu, 15 Aug 2013 20:40:37 GMT
|
317
|
-
- request:
|
318
|
-
method: post
|
319
|
-
uri: https://api.github.com/repos/darkmirage/test/git/refs
|
320
|
-
body:
|
321
|
-
encoding: UTF-8
|
322
|
-
string: '{"ref":"refs/heads/rspec","sha":"cdddc3941866854cdb41c023d0f5240ed10df053"}'
|
323
|
-
headers:
|
324
|
-
User-Agent:
|
325
|
-
- Octokit Ruby Gem 1.25.0
|
326
|
-
Accept:
|
327
|
-
- application/vnd.github.beta+json
|
328
|
-
Authorization:
|
329
|
-
- token <GITHUB_TOKEN>
|
330
|
-
Content-Type:
|
331
|
-
- application/json
|
332
|
-
Accept-Encoding:
|
333
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
334
|
-
response:
|
335
|
-
status:
|
336
|
-
code: 201
|
337
|
-
message: Created
|
338
|
-
headers:
|
339
|
-
Server:
|
340
|
-
- GitHub.com
|
341
|
-
Date:
|
342
|
-
- Thu, 15 Aug 2013 20:40:38 GMT
|
343
|
-
Content-Type:
|
344
|
-
- application/json; charset=utf-8
|
345
|
-
Status:
|
346
|
-
- 201 Created
|
347
|
-
X-Ratelimit-Limit:
|
348
|
-
- '5000'
|
349
|
-
X-Ratelimit-Remaining:
|
350
|
-
- '4994'
|
351
|
-
X-Ratelimit-Reset:
|
352
|
-
- '1376602835'
|
353
|
-
X-Oauth-Scopes:
|
354
|
-
- user, public_repo, repo, gist
|
355
|
-
X-Accepted-Oauth-Scopes:
|
356
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
357
|
-
Location:
|
358
|
-
- https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
359
|
-
X-Github-Media-Type:
|
360
|
-
- github.beta; format=json
|
361
|
-
X-Content-Type-Options:
|
362
|
-
- nosniff
|
363
|
-
Content-Length:
|
364
|
-
- '282'
|
365
|
-
Access-Control-Allow-Credentials:
|
366
|
-
- 'true'
|
367
|
-
Access-Control-Expose-Headers:
|
368
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
369
|
-
X-Accepted-OAuth-Scopes
|
370
|
-
Access-Control-Allow-Origin:
|
371
|
-
- '*'
|
372
|
-
Etag:
|
373
|
-
- '"0877b16c88453759ce157491732ce0da"'
|
374
|
-
Cache-Control:
|
375
|
-
- max-age=0, private, must-revalidate
|
376
|
-
body:
|
377
|
-
encoding: UTF-8
|
378
|
-
string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053"}}'
|
379
|
-
http_version:
|
380
|
-
recorded_at: Thu, 15 Aug 2013 20:40:38 GMT
|
381
|
-
- request:
|
382
|
-
method: post
|
383
|
-
uri: https://api.github.com/repos/darkmirage/test/git/commits
|
384
|
-
body:
|
385
|
-
encoding: UTF-8
|
386
|
-
string: '{"message":"RSpec Test","tree":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","parents":["cdddc3941866854cdb41c023d0f5240ed10df053"]}'
|
387
|
-
headers:
|
388
|
-
User-Agent:
|
389
|
-
- Octokit Ruby Gem 1.25.0
|
390
|
-
Accept:
|
391
|
-
- application/vnd.github.beta+json
|
392
|
-
Authorization:
|
393
|
-
- token <GITHUB_TOKEN>
|
394
|
-
Content-Type:
|
395
|
-
- application/json
|
396
|
-
Accept-Encoding:
|
397
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
398
|
-
response:
|
399
|
-
status:
|
400
|
-
code: 201
|
401
|
-
message: Created
|
402
|
-
headers:
|
403
|
-
Server:
|
404
|
-
- GitHub.com
|
405
|
-
Date:
|
406
|
-
- Thu, 15 Aug 2013 20:40:39 GMT
|
407
|
-
Content-Type:
|
408
|
-
- application/json; charset=utf-8
|
409
|
-
Status:
|
410
|
-
- 201 Created
|
411
|
-
X-Ratelimit-Limit:
|
412
|
-
- '5000'
|
413
|
-
X-Ratelimit-Remaining:
|
414
|
-
- '4993'
|
415
|
-
X-Ratelimit-Reset:
|
416
|
-
- '1376602835'
|
417
|
-
X-Oauth-Scopes:
|
418
|
-
- user, public_repo, repo, gist
|
419
|
-
X-Accepted-Oauth-Scopes:
|
420
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
421
|
-
Location:
|
422
|
-
- https://api.github.com/repos/darkmirage/test/git/commits/4c9de8c938a3db8d43f3030c70335e8d98c53d29
|
423
|
-
X-Github-Media-Type:
|
424
|
-
- github.beta; format=json
|
425
|
-
X-Content-Type-Options:
|
426
|
-
- nosniff
|
427
|
-
Content-Length:
|
428
|
-
- '895'
|
429
|
-
Access-Control-Allow-Credentials:
|
430
|
-
- 'true'
|
431
|
-
Access-Control-Expose-Headers:
|
432
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
433
|
-
X-Accepted-OAuth-Scopes
|
434
|
-
Access-Control-Allow-Origin:
|
435
|
-
- '*'
|
436
|
-
Etag:
|
437
|
-
- '"15f93c09d6177537ef48bfbbe8e03577"'
|
438
|
-
Cache-Control:
|
439
|
-
- max-age=0, private, must-revalidate
|
440
|
-
body:
|
441
|
-
encoding: UTF-8
|
442
|
-
string: '{"sha":"4c9de8c938a3db8d43f3030c70335e8d98c53d29","url":"https://api.github.com/repos/darkmirage/test/git/commits/4c9de8c938a3db8d43f3030c70335e8d98c53d29","html_url":"https://github.com/darkmirage/test/commits/4c9de8c938a3db8d43f3030c70335e8d98c53d29","author":{"name":"Raven
|
443
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-15T20:40:39Z"},"committer":{"name":"Raven
|
444
|
-
Jiang","email":"raven@cs.stanford.edu","date":"2013-08-15T20:40:39Z"},"tree":{"sha":"9143bc4d904cad09b8bfe5d5f29d2640234b783a","url":"https://api.github.com/repos/darkmirage/test/git/trees/9143bc4d904cad09b8bfe5d5f29d2640234b783a"},"message":"RSpec
|
445
|
-
Test","parents":[{"sha":"cdddc3941866854cdb41c023d0f5240ed10df053","url":"https://api.github.com/repos/darkmirage/test/git/commits/cdddc3941866854cdb41c023d0f5240ed10df053","html_url":"https://github.com/darkmirage/test/commits/cdddc3941866854cdb41c023d0f5240ed10df053"}]}'
|
446
|
-
http_version:
|
447
|
-
recorded_at: Thu, 15 Aug 2013 20:40:39 GMT
|
448
|
-
- request:
|
449
|
-
method: patch
|
450
|
-
uri: https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec
|
451
|
-
body:
|
452
|
-
encoding: UTF-8
|
453
|
-
string: '{"sha":"4c9de8c938a3db8d43f3030c70335e8d98c53d29","force":true}'
|
454
|
-
headers:
|
455
|
-
User-Agent:
|
456
|
-
- Octokit Ruby Gem 1.25.0
|
457
|
-
Accept:
|
458
|
-
- application/vnd.github.beta+json
|
459
|
-
Authorization:
|
460
|
-
- token <GITHUB_TOKEN>
|
461
|
-
Content-Type:
|
462
|
-
- application/json
|
463
|
-
Accept-Encoding:
|
464
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
465
|
-
response:
|
466
|
-
status:
|
467
|
-
code: 200
|
468
|
-
message: OK
|
469
|
-
headers:
|
470
|
-
Server:
|
471
|
-
- GitHub.com
|
472
|
-
Date:
|
473
|
-
- Thu, 15 Aug 2013 20:40:40 GMT
|
474
|
-
Content-Type:
|
475
|
-
- application/json; charset=utf-8
|
476
|
-
Transfer-Encoding:
|
477
|
-
- chunked
|
478
|
-
Status:
|
479
|
-
- 200 OK
|
480
|
-
X-Ratelimit-Limit:
|
481
|
-
- '5000'
|
482
|
-
X-Ratelimit-Remaining:
|
483
|
-
- '4992'
|
484
|
-
X-Ratelimit-Reset:
|
485
|
-
- '1376602835'
|
486
|
-
X-Oauth-Scopes:
|
487
|
-
- user, public_repo, repo, gist
|
488
|
-
X-Accepted-Oauth-Scopes:
|
489
|
-
- repo, public_repo, repo:status, delete_repo, site_admin
|
490
|
-
X-Github-Media-Type:
|
491
|
-
- github.beta; format=json
|
492
|
-
X-Content-Type-Options:
|
493
|
-
- nosniff
|
494
|
-
Access-Control-Allow-Credentials:
|
495
|
-
- 'true'
|
496
|
-
Access-Control-Expose-Headers:
|
497
|
-
- ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes,
|
498
|
-
X-Accepted-OAuth-Scopes
|
499
|
-
Access-Control-Allow-Origin:
|
500
|
-
- '*'
|
501
|
-
Etag:
|
502
|
-
- '"57da406847f3c79cbbb2aa16d2075b86"'
|
503
|
-
Cache-Control:
|
504
|
-
- max-age=0, private, must-revalidate
|
505
|
-
Vary:
|
506
|
-
- Accept-Encoding
|
507
|
-
body:
|
508
|
-
encoding: UTF-8
|
509
|
-
string: '{"ref":"refs/heads/rspec","url":"https://api.github.com/repos/darkmirage/test/git/refs/heads/rspec","object":{"sha":"4c9de8c938a3db8d43f3030c70335e8d98c53d29","type":"commit","url":"https://api.github.com/repos/darkmirage/test/git/commits/4c9de8c938a3db8d43f3030c70335e8d98c53d29"}}'
|
510
|
-
http_version:
|
511
|
-
recorded_at: Thu, 15 Aug 2013 20:40:40 GMT
|
512
|
-
recorded_with: VCR 2.5.0
|