octokit 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  # CHANGELOG
2
2
 
3
+ * [1.4.0 - June 3, 2012](https://github.com/pengwynn/octokit/compare/v1.3.0...v1.4.0)
3
4
  * [1.3.0 - May 17, 2012](https://github.com/pengwynn/octokit/compare/v1.2.1...v1.3.0)
4
5
  * [1.2.0 - May 17, 2012](https://github.com/pengwynn/octokit/compare/v1.1.1...v1.2.0)
5
6
  * [1.1.1 - May 15, 2012](https://github.com/pengwynn/octokit/compare/v1.1.0...v1.1.1)
@@ -21,6 +21,7 @@ require 'octokit/client/timelines'
21
21
  require 'octokit/client/users'
22
22
  require 'octokit/client/events'
23
23
  require 'octokit/client/authorizations'
24
+ require 'octokit/client/refs'
24
25
 
25
26
  module Octokit
26
27
  class Client
@@ -54,5 +55,6 @@ module Octokit
54
55
  include Octokit::Client::Users
55
56
  include Octokit::Client::Events
56
57
  include Octokit::Client::Authorizations
58
+ include Octokit::Client::Refs
57
59
  end
58
60
  end
@@ -0,0 +1,85 @@
1
+ module Octokit
2
+ class Client
3
+ module Refs
4
+
5
+ # List all refs for a given user and repo
6
+ #
7
+ # @param repo [String, Repository, Hash] A GitHub repository
8
+ # @param namespace [String] The ref namespace, e.g. <tt>tag</tt> or <tt>heads</tt>
9
+ # @return [Array] A list of references matching the repo and the namespace
10
+ # @see http://developer.github.com/v3/git/refs/
11
+ # @example Fetch all refs for sferik/rails_admin
12
+ # Octokit.refs("sferik/rails_admin")
13
+ def refs(repo, namespace="", options={})
14
+ get("/repos/#{Repository.new(repo)}/git/refs/#{namespace}", options, 3)
15
+ end
16
+ alias :list_refs :refs
17
+ alias :references :refs
18
+ alias :list_references :refs
19
+
20
+ # Fetch a given reference
21
+ #
22
+ # @param repo [String, Repository, Hash] A GitHub repository
23
+ # @param ref [String] The ref, e.g. <tt>tags/v0.0.3</tt>
24
+ # @return [Reference] The reference matching the given repo and the ref id
25
+ # @see http://developer.github.com/v3/git/refs/
26
+ # @example Fetch tags/v0.0.3 for sferik/rails_admin
27
+ # Octokit.ref("sferik/rails_admin","tags/v0.0.3")
28
+ def ref(repo, ref, options={})
29
+ get("/repos/#{Repository.new(repo)}/git/refs/#{ref}", options, 3)
30
+ end
31
+ alias :reference :ref
32
+
33
+ # Create a reference
34
+ #
35
+ # @param repo [String, Repository, Hash] A GitHub repository
36
+ # @param ref [String] The ref, e.g. <tt>tags/v0.0.3</tt>
37
+ # @param sha [String] A SHA, e.g. <tt>827efc6d56897b048c772eb4087f854f46256132</tt>
38
+ # @return [Array] The list of references, already containing the new one
39
+ # @see http://developer.github.com/v3/git/refs/
40
+ # @example Create refs/heads/master for octocat/Hello-World with sha 827efc6d56897b048c772eb4087f854f46256132
41
+ # Octokit.create_ref("octocat/Hello-World","heads/master", "827efc6d56897b048c772eb4087f854f46256132")
42
+ def create_ref(repo, ref, sha, options={})
43
+ parameters = {
44
+ :ref => "refs/#{ref}",
45
+ :sha => sha
46
+ }
47
+ post("repos/#{Repository.new(repo)}/git/refs", options.merge(parameters))
48
+ end
49
+ alias :create_reference :create_ref
50
+
51
+ # Update a reference
52
+ #
53
+ # @param repo [String, Repository, Hash] A GitHub repository
54
+ # @param ref [String] The ref, e.g. <tt>tags/v0.0.3</tt>
55
+ # @param sha [String] A SHA, e.g. <tt>827efc6d56897b048c772eb4087f854f46256132</tt>
56
+ # @param force [Boolean] A flag indicating one wants to force the update to make sure the update is a fast-forward update.
57
+ # @return [Array] The list of references updated
58
+ # @see http://developer.github.com/v3/git/refs/
59
+ # @example Force update heads/sc/featureA for octocat/Hello-World with sha aa218f56b14c9653891f9e74264a383fa43fefbd
60
+ # Octokit.update_ref("octocat/Hello-World","heads/sc/featureA", "aa218f56b14c9653891f9e74264a383fa43fefbd")
61
+ def update_ref(repo, ref, sha, force=true, options={})
62
+ parameters = {
63
+ :sha => sha,
64
+ :force => force
65
+ }
66
+ patch("repos/#{Repository.new(repo)}/git/refs/#{ref}", options.merge(parameters))
67
+ end
68
+ alias :update_reference :update_ref
69
+
70
+ # Delete a single reference
71
+ #
72
+ # @param repo [String, Repository, Hash] A GitHub repository
73
+ # @param ref [String] The ref, e.g. <tt>tags/v0.0.3</tt>
74
+ # @return [Response] A response object with status
75
+ # @see http://developer.github.com/v3/git/refs/
76
+ # @example Delete tags/v0.0.3 for sferik/rails_admin
77
+ # Octokit.delete_ref("sferik/rails_admin","tags/v0.0.3")
78
+ def delete_ref(repo, ref, options={})
79
+ delete("/repos/#{Repository.new(repo)}/git/refs/#{ref}", options, 3, true, true)
80
+ end
81
+ alias :delete_reference :delete_ref
82
+
83
+ end
84
+ end
85
+ end
@@ -1,3 +1,3 @@
1
1
  module Octokit
2
- VERSION = "1.3.0" unless defined?(Octokit::VERSION)
2
+ VERSION = "1.4.0" unless defined?(Octokit::VERSION)
3
3
  end
@@ -0,0 +1,9 @@
1
+ {
2
+ "object": {
3
+ "sha": "0591c7b765779ea8797f0f0b9222299e600393ca",
4
+ "type": "tag",
5
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/0591c7b765779ea8797f0f0b9222299e600393ca"
6
+ },
7
+ "ref": "refs/tags/v0.0.3",
8
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.3"
9
+ }
@@ -0,0 +1,29 @@
1
+ [
2
+ {
3
+ "ref": "refs/heads/master",
4
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/master",
5
+ "object": {
6
+ "type": "commit",
7
+ "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
8
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
9
+ }
10
+ },
11
+ {
12
+ "ref": "refs/heads/gh-pages",
13
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/gh-pages",
14
+ "object": {
15
+ "type": "commit",
16
+ "sha": "612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac",
17
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac"
18
+ }
19
+ },
20
+ {
21
+ "ref": "refs/tags/v0.0.1",
22
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/tags/v0.0.1",
23
+ "object": {
24
+ "type": "tag",
25
+ "sha": "940bd336248efae0f9ee5bc7b2d5c985887b16ac",
26
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac"
27
+ }
28
+ }
29
+ ]
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "ref": "refs/heads/sc/featureA",
4
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/sc/featureA",
5
+ "object": {
6
+ "type": "commit",
7
+ "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd",
8
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd"
9
+ }
10
+ }
11
+ ]
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "object": {
4
+ "sha": "19453d77913e5cc92dd836294bcb6e7ceb4d2a7f",
5
+ "type": "commit",
6
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/19453d77913e5cc92dd836294bcb6e7ceb4d2a7f"
7
+ },
8
+ "ref": "refs/heads/actions",
9
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/actions"
10
+ },
11
+ {
12
+ "object": {
13
+ "sha": "1cb0628eea5be6120c4bfcbe609b3cea5f246290",
14
+ "type": "commit",
15
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/1cb0628eea5be6120c4bfcbe609b3cea5f246290"
16
+ },
17
+ "ref": "refs/heads/activo",
18
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/activo"
19
+ },
20
+ {
21
+ "object": {
22
+ "sha": "acfa1e5d2bf3c80a511d3d2ea6dcd60169d5c564",
23
+ "type": "commit",
24
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/acfa1e5d2bf3c80a511d3d2ea6dcd60169d5c564"
25
+ },
26
+ "ref": "refs/heads/associated-collection-refact",
27
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/associated-collection-refact"
28
+ },
29
+ {
30
+ "object": {
31
+ "sha": "14cdd3be4ada38f8e6974935f806c8de170abf11",
32
+ "type": "commit",
33
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/commits/14cdd3be4ada38f8e6974935f806c8de170abf11"
34
+ },
35
+ "ref": "refs/heads/dsl-refactoring",
36
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/heads/dsl-refactoring"
37
+ }
38
+ ]
@@ -0,0 +1,29 @@
1
+ [
2
+ {
3
+ "object": {
4
+ "sha": "69edc0b0ac7dfa2780a39c113b54718b6defe081",
5
+ "type": "tag",
6
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/69edc0b0ac7dfa2780a39c113b54718b6defe081"
7
+ },
8
+ "ref": "refs/tags/v0.0.1",
9
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.1"
10
+ },
11
+ {
12
+ "object": {
13
+ "sha": "daa8d377587115484ab4f06272a9242436ab615c",
14
+ "type": "tag",
15
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/daa8d377587115484ab4f06272a9242436ab615c"
16
+ },
17
+ "ref": "refs/tags/v0.0.2",
18
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.2"
19
+ },
20
+ {
21
+ "object": {
22
+ "sha": "0591c7b765779ea8797f0f0b9222299e600393ca",
23
+ "type": "tag",
24
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/tags/0591c7b765779ea8797f0f0b9222299e600393ca"
25
+ },
26
+ "ref": "refs/tags/v0.0.3",
27
+ "url": "https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.3"
28
+ }
29
+ ]
@@ -0,0 +1,79 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'helper'
3
+
4
+ describe Octokit::Client::Refs do
5
+
6
+ before do
7
+ @client = Octokit::Client.new(:login => 'sferik')
8
+ end
9
+
10
+ describe ".refs" do
11
+
12
+ it "should return all refs" do
13
+ stub_get("/repos/sferik/rails_admin/git/refs/").
14
+ to_return(:body => fixture("v3/refs.json"))
15
+ refs = @client.refs("sferik/rails_admin")
16
+ refs.first.ref.should == "refs/heads/actions"
17
+ end
18
+
19
+ it "should return all tag refs" do
20
+ stub_get("/repos/sferik/rails_admin/git/refs/tags").
21
+ to_return(:body => fixture("v3/refs_tags.json"))
22
+ refs = @client.refs("sferik/rails_admin","tags")
23
+ refs.first.ref.should == "refs/tags/v0.0.1"
24
+ end
25
+
26
+ end
27
+
28
+ describe ".ref" do
29
+
30
+ it "should return the tags/v0.0.3 ref" do
31
+ stub_get("/repos/sferik/rails_admin/git/refs/tags/v0.0.3").
32
+ to_return(:body => fixture("v3/ref.json"))
33
+ ref = @client.ref("sferik/rails_admin","tags/v0.0.3")
34
+ ref.object.type.should eq("tag")
35
+ ref.ref.should eq("refs/tags/v0.0.3")
36
+ ref.url.should eq("https://api.github.com/repos/sferik/rails_admin/git/refs/tags/v0.0.3")
37
+ end
38
+
39
+ end
40
+
41
+ describe ".create_ref" do
42
+
43
+ it "should create a ref" do
44
+ stub_post("/repos/octocat/Hello-World/git/refs").
45
+ with(:body => { "ref" => "refs/heads/master", "sha" => "827efc6d56897b048c772eb4087f854f46256132" },
46
+ :headers => {'Content-Type'=>'application/json'}).
47
+ to_return(:body => fixture("v3/ref_create.json"))
48
+ ref = @client.create_ref("octocat/Hello-World","heads/master", "827efc6d56897b048c772eb4087f854f46256132")
49
+ ref.first.ref.should eq("refs/heads/master")
50
+ end
51
+
52
+ end
53
+
54
+ describe ".update_ref" do
55
+
56
+ it "should update a ref" do
57
+ stub_patch("/repos/octocat/Hello-World/git/refs/heads/sc/featureA").
58
+ with(:body => { "sha" => "aa218f56b14c9653891f9e74264a383fa43fefbd", "force" => true },
59
+ :headers => {'Content-Type'=>'application/json'}).
60
+ to_return(:body => fixture("v3/ref_update.json"))
61
+ refs = @client.update_ref("octocat/Hello-World","heads/sc/featureA", "aa218f56b14c9653891f9e74264a383fa43fefbd", true)
62
+ refs.first.ref.should eq("refs/heads/sc/featureA")
63
+ refs.first.object.sha.should eq("aa218f56b14c9653891f9e74264a383fa43fefbd")
64
+ end
65
+ end
66
+
67
+ describe ".delete_ref" do
68
+
69
+ it "should delete an existing ref" do
70
+ stub_delete("/repos/octocat/Hello-World/git/refs/heads/feature-a").
71
+ to_return(:status => 204)
72
+ ref = @client.delete_ref("octocat/Hello-World", "heads/feature-a")
73
+ ref.status.should == 204
74
+ end
75
+
76
+ end
77
+
78
+ end
79
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octokit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-05-25 00:00:00.000000000 Z
14
+ date: 2012-06-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: addressable
18
- requirement: &70239311442360 !ruby/object:Gem::Requirement
18
+ requirement: &70182007527020 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '2.2'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70239311442360
26
+ version_requirements: *70182007527020
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
- requirement: &70239311441620 !ruby/object:Gem::Requirement
29
+ requirement: &70182007526200 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0.8'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *70239311441620
37
+ version_requirements: *70182007526200
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: faraday_middleware
40
- requirement: &70239311440380 !ruby/object:Gem::Requirement
40
+ requirement: &70182007525620 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0.8'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *70239311440380
48
+ version_requirements: *70182007525620
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: hashie
51
- requirement: &70239311438260 !ruby/object:Gem::Requirement
51
+ requirement: &70182007524920 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '1.2'
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *70239311438260
59
+ version_requirements: *70182007524920
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: multi_json
62
- requirement: &70239311436780 !ruby/object:Gem::Requirement
62
+ requirement: &70182007523940 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ~>
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '1.3'
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *70239311436780
70
+ version_requirements: *70182007523940
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: json
73
- requirement: &70239311433780 !ruby/object:Gem::Requirement
73
+ requirement: &70182007522920 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *70239311433780
81
+ version_requirements: *70182007522920
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: maruku
84
- requirement: &70239311411840 !ruby/object:Gem::Requirement
84
+ requirement: &70182007522100 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *70239311411840
92
+ version_requirements: *70182007522100
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rake
95
- requirement: &70239311410940 !ruby/object:Gem::Requirement
95
+ requirement: &70182007521480 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: '0'
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *70239311410940
103
+ version_requirements: *70182007521480
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rspec
106
- requirement: &70239311407980 !ruby/object:Gem::Requirement
106
+ requirement: &70182007519800 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *70239311407980
114
+ version_requirements: *70182007519800
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: simplecov
117
- requirement: &70239311406460 !ruby/object:Gem::Requirement
117
+ requirement: &70182007519380 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: '0'
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *70239311406460
125
+ version_requirements: *70182007519380
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: webmock
128
- requirement: &70239311405000 !ruby/object:Gem::Requirement
128
+ requirement: &70182007518920 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,10 +133,10 @@ dependencies:
133
133
  version: '0'
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *70239311405000
136
+ version_requirements: *70182007518920
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: yard
139
- requirement: &70239311403620 !ruby/object:Gem::Requirement
139
+ requirement: &70182007518500 !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
142
142
  - - ! '>='
@@ -144,7 +144,7 @@ dependencies:
144
144
  version: '0'
145
145
  type: :development
146
146
  prerelease: false
147
- version_requirements: *70239311403620
147
+ version_requirements: *70182007518500
148
148
  description: Simple wrapper for the GitHub v3 API
149
149
  email:
150
150
  - wynn.netherland@gmail.com
@@ -182,6 +182,7 @@ files:
182
182
  - lib/octokit/client/pub_sub_hubbub.rb
183
183
  - lib/octokit/client/pub_sub_hubbub/service_hooks.rb
184
184
  - lib/octokit/client/pulls.rb
185
+ - lib/octokit/client/refs.rb
185
186
  - lib/octokit/client/repositories.rb
186
187
  - lib/octokit/client/timelines.rb
187
188
  - lib/octokit/client/users.rb
@@ -253,6 +254,11 @@ files:
253
254
  - spec/fixtures/v3/pull_created.json
254
255
  - spec/fixtures/v3/pull_request.json
255
256
  - spec/fixtures/v3/pull_requests.json
257
+ - spec/fixtures/v3/ref.json
258
+ - spec/fixtures/v3/ref_create.json
259
+ - spec/fixtures/v3/ref_update.json
260
+ - spec/fixtures/v3/refs.json
261
+ - spec/fixtures/v3/refs_tags.json
256
262
  - spec/fixtures/v3/repo_events.json
257
263
  - spec/fixtures/v3/repo_issues_events.json
258
264
  - spec/fixtures/v3/repositories.json
@@ -282,6 +288,7 @@ files:
282
288
  - spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb
283
289
  - spec/octokit/client/pub_sub_hubbub_spec.rb
284
290
  - spec/octokit/client/pulls_spec.rb
291
+ - spec/octokit/client/refs_spec.rb
285
292
  - spec/octokit/client/repositories_spec.rb
286
293
  - spec/octokit/client/timelines_spec.rb
287
294
  - spec/octokit/client/users_spec.rb
@@ -374,6 +381,11 @@ test_files:
374
381
  - spec/fixtures/v3/pull_created.json
375
382
  - spec/fixtures/v3/pull_request.json
376
383
  - spec/fixtures/v3/pull_requests.json
384
+ - spec/fixtures/v3/ref.json
385
+ - spec/fixtures/v3/ref_create.json
386
+ - spec/fixtures/v3/ref_update.json
387
+ - spec/fixtures/v3/refs.json
388
+ - spec/fixtures/v3/refs_tags.json
377
389
  - spec/fixtures/v3/repo_events.json
378
390
  - spec/fixtures/v3/repo_issues_events.json
379
391
  - spec/fixtures/v3/repositories.json
@@ -403,6 +415,7 @@ test_files:
403
415
  - spec/octokit/client/pub_sub_hubbub/service_hooks_spec.rb
404
416
  - spec/octokit/client/pub_sub_hubbub_spec.rb
405
417
  - spec/octokit/client/pulls_spec.rb
418
+ - spec/octokit/client/refs_spec.rb
406
419
  - spec/octokit/client/repositories_spec.rb
407
420
  - spec/octokit/client/timelines_spec.rb
408
421
  - spec/octokit/client/users_spec.rb