github_api 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +20 -1
- data/features/cassettes/issues/events/get.yml +139 -0
- data/features/cassettes/issues/events/list_issue.yml +71 -0
- data/features/cassettes/issues/events/list_repo.yml +222 -0
- data/features/cassettes/issues/labels/list_repo.yml +65 -0
- data/features/cassettes/issues/milestones/create.yml +55 -0
- data/features/cassettes/issues/milestones/delete.yml +46 -0
- data/features/cassettes/issues/milestones/get.yml +175 -0
- data/features/cassettes/issues/milestones/list.yml +54 -0
- data/features/cassettes/issues/milestones/update.yml +53 -0
- data/features/cassettes/repos/contents/archive.yml +43 -84
- data/features/cassettes/say/custom.yml +60 -0
- data/features/cassettes/say/random.yml +60 -0
- data/features/issues/events.feature +38 -0
- data/features/issues/labels.feature +14 -0
- data/features/issues/milestones.feature +62 -0
- data/features/say.feature +68 -0
- data/features/step_definitions/common_steps.rb +6 -0
- data/features/support/helpers.rb +4 -0
- data/lib/github_api.rb +2 -0
- data/lib/github_api/client.rb +8 -0
- data/lib/github_api/constants.rb +4 -0
- data/lib/github_api/issues.rb +74 -46
- data/lib/github_api/issues/assignees.rb +2 -1
- data/lib/github_api/issues/events.rb +3 -3
- data/lib/github_api/issues/milestones.rb +0 -1
- data/lib/github_api/rate_limit.rb +2 -0
- data/lib/github_api/result.rb +13 -0
- data/lib/github_api/say.rb +24 -0
- data/lib/github_api/scopes.rb +19 -0
- data/lib/github_api/version.rb +1 -1
- data/spec/github/git_data/git_data_spec.rb +19 -0
- data/spec/github/issues/assignees/check_spec.rb +46 -0
- data/spec/github/issues/assignees/list_spec.rb +47 -0
- data/spec/github/issues/assignees_spec.rb +0 -96
- data/spec/github/issues/create_spec.rb +60 -0
- data/spec/github/issues/edit_spec.rb +61 -0
- data/spec/github/issues/events_spec.rb +4 -4
- data/spec/github/issues/get_spec.rb +49 -0
- data/spec/github/issues/issues_spec.rb +19 -0
- data/spec/github/issues/list_spec.rb +90 -0
- data/spec/github/issues/milestones/create_spec.rb +56 -0
- data/spec/github/issues/milestones/delete_spec.rb +42 -0
- data/spec/github/issues/milestones/get_spec.rb +49 -0
- data/spec/github/issues/milestones/list_spec.rb +52 -0
- data/spec/github/issues/milestones/update_spec.rb +57 -0
- data/spec/github/issues/milestones_spec.rb +1 -276
- data/spec/github/scopes/list_spec.rb +33 -0
- data/spec/github/users/followers/follow_spec.rb +33 -0
- data/spec/github/users/followers/following_spec.rb +65 -0
- data/spec/github/users/followers/is_following_spec.rb +41 -0
- data/spec/github/users/followers/list_spec.rb +2 -8
- data/spec/github/users/followers/unfollow_spec.rb +33 -0
- data/spec/github/users/users_spec.rb +16 -0
- metadata +68 -35
- data/spec/github/git_data_spec.rb +0 -11
- data/spec/github/issues_spec.rb +0 -284
- data/spec/github/users/followers_spec.rb +0 -172
@@ -0,0 +1,33 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Scopes, '#list' do
|
6
|
+
let(:request_path) { "/user" }
|
7
|
+
let(:body) { '[]' }
|
8
|
+
let(:status) { 200 }
|
9
|
+
let(:accepted_scopes) { "delete_repo, repo, public_repo, repo:status" }
|
10
|
+
let(:scopes) { 'repo' }
|
11
|
+
|
12
|
+
before {
|
13
|
+
subject.oauth_token = OAUTH_TOKEN
|
14
|
+
stub_get(request_path).
|
15
|
+
with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
|
16
|
+
to_return(:body => body, :status => status,
|
17
|
+
:headers => {:content_type => "application/json; charset=utf-8",
|
18
|
+
'x-accepted-oauth-scopes' => accepted_scopes, 'x-oauth-scopes' => 'repo'
|
19
|
+
})
|
20
|
+
}
|
21
|
+
|
22
|
+
after { reset_authentication_for(subject) }
|
23
|
+
|
24
|
+
it 'performs request' do
|
25
|
+
subject.list
|
26
|
+
a_get(request_path).with(:query => {:access_token => OAUTH_TOKEN}).
|
27
|
+
should have_been_made
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'queries oauth header' do
|
31
|
+
subject.list.should == [scopes]
|
32
|
+
end
|
33
|
+
end # list
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Users::Followers, '#follow' do
|
6
|
+
let(:request_path) { "/user/following/#{user}" }
|
7
|
+
let(:user) { 'peter-murach' }
|
8
|
+
let(:body) { '[]' }
|
9
|
+
let(:status) { 204 }
|
10
|
+
|
11
|
+
before {
|
12
|
+
subject.oauth_token = OAUTH_TOKEN
|
13
|
+
stub_put(request_path).with(:query => {:access_token => OAUTH_TOKEN}).
|
14
|
+
to_return(:body => body, :status => status,
|
15
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
16
|
+
}
|
17
|
+
|
18
|
+
after { reset_authentication_for(subject) }
|
19
|
+
|
20
|
+
it "should raise error if gist id not present" do
|
21
|
+
expect { subject.follow nil }.to raise_error(ArgumentError)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'successfully unfollows a user' do
|
25
|
+
subject.follow(user)
|
26
|
+
a_put(request_path).with(:query => { :access_token => OAUTH_TOKEN}).
|
27
|
+
should have_been_made
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should return 204 with a message 'Not Found'" do
|
31
|
+
subject.follow(user).status.should be 204
|
32
|
+
end
|
33
|
+
end # follow
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Users::Followers, '#following' do
|
6
|
+
let(:user) { 'peter-murach' }
|
7
|
+
let(:request_path) { "/users/#{user}/following" }
|
8
|
+
|
9
|
+
before {
|
10
|
+
stub_get(request_path).to_return(:body => body, :status => status,
|
11
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
12
|
+
}
|
13
|
+
|
14
|
+
after { reset_authentication_for(subject) }
|
15
|
+
|
16
|
+
context "resource found for a user" do
|
17
|
+
let(:body) { fixture('users/followers.json') }
|
18
|
+
let(:status) { 200 }
|
19
|
+
|
20
|
+
it "should get the resources" do
|
21
|
+
subject.following user
|
22
|
+
a_get(request_path).should have_been_made
|
23
|
+
end
|
24
|
+
|
25
|
+
it_should_behave_like 'an array of resources' do
|
26
|
+
let(:requestable) { subject.following user }
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should get following users information" do
|
30
|
+
followings = subject.following user
|
31
|
+
followings.first.login.should == 'octocat'
|
32
|
+
end
|
33
|
+
|
34
|
+
it "should yield to a block" do
|
35
|
+
yielded = []
|
36
|
+
result = subject.following(user) { |obj| yielded << obj }
|
37
|
+
yielded.should == result
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
context "resource found for an authenticated user" do
|
42
|
+
let(:body) { fixture('users/followers.json') }
|
43
|
+
let(:status) { 200 }
|
44
|
+
let(:request_path) { "/user/following" }
|
45
|
+
|
46
|
+
before do
|
47
|
+
subject.oauth_token = OAUTH_TOKEN
|
48
|
+
stub_get(request_path).
|
49
|
+
with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
|
50
|
+
to_return(:body => fixture('users/followers.json'), :status => status,
|
51
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should get the resources" do
|
55
|
+
subject.following
|
56
|
+
a_get(request_path).with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
|
57
|
+
should have_been_made
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
it_should_behave_like 'request failure' do
|
62
|
+
let(:requestable) { subject.following user }
|
63
|
+
end
|
64
|
+
|
65
|
+
end # following
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Users::Followers, '#following?' do
|
6
|
+
let(:request_path) { "/user/following/#{user}" }
|
7
|
+
let(:user) { 'peter-murach' }
|
8
|
+
let(:body) { '[]' }
|
9
|
+
let(:status) { 204 }
|
10
|
+
|
11
|
+
before {
|
12
|
+
subject.oauth_token = OAUTH_TOKEN
|
13
|
+
stub_get(request_path).with(:query => {:access_token => OAUTH_TOKEN}).
|
14
|
+
to_return(:body => body, :status => status,
|
15
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
16
|
+
}
|
17
|
+
|
18
|
+
after { reset_authentication_for(subject) }
|
19
|
+
|
20
|
+
it 'should raise error if username not present' do
|
21
|
+
expect { subject.following? nil }.to raise_error(ArgumentError)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should perform request' do
|
25
|
+
subject.following?(user)
|
26
|
+
a_get(request_path).with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
|
27
|
+
should have_been_made
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'should return true if user is being followed' do
|
31
|
+
subject.following?(user).should be_true
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'should return false if user is not being followed' do
|
35
|
+
stub_get("/user/following/#{user}").
|
36
|
+
with(:query => { :access_token => "#{OAUTH_TOKEN}"}).
|
37
|
+
to_return(:body => '',:status => 404,
|
38
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
39
|
+
subject.following?(user).should be_false
|
40
|
+
end
|
41
|
+
end # following?
|
@@ -15,7 +15,6 @@ describe Github::Users::Followers, '#list' do
|
|
15
15
|
|
16
16
|
after { reset_authentication_for(subject) }
|
17
17
|
|
18
|
-
|
19
18
|
context "resource found for a user" do
|
20
19
|
let(:status) { 200 }
|
21
20
|
let(:body) { fixture('users/followers.json') }
|
@@ -56,13 +55,8 @@ describe Github::Users::Followers, '#list' do
|
|
56
55
|
end
|
57
56
|
end
|
58
57
|
|
59
|
-
|
60
|
-
let(:
|
61
|
-
let(:status) { 404 }
|
62
|
-
|
63
|
-
it "fail to find resources" do
|
64
|
-
expect { subject.list user }.to raise_error(Github::Error::NotFound)
|
65
|
-
end
|
58
|
+
it_should_behave_like 'request failure' do
|
59
|
+
let(:requestable) { subject.list user }
|
66
60
|
end
|
67
61
|
|
68
62
|
end # list
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Users::Followers, '#unfollow' do
|
6
|
+
let(:request_path) { "/user/following/#{user}" }
|
7
|
+
let(:user) { 'peter-murach' }
|
8
|
+
let(:body) { '[]' }
|
9
|
+
let(:status) { 204 }
|
10
|
+
|
11
|
+
before {
|
12
|
+
subject.oauth_token = OAUTH_TOKEN
|
13
|
+
stub_delete(request_path).with(:query => {:access_token => OAUTH_TOKEN}).
|
14
|
+
to_return(:body => body, :status => status,
|
15
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
16
|
+
}
|
17
|
+
|
18
|
+
after { reset_authentication_for(subject) }
|
19
|
+
|
20
|
+
it "should raise error if gist id not present" do
|
21
|
+
expect { subject.unfollow nil }.to raise_error(ArgumentError)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'successfully unfollows a user' do
|
25
|
+
subject.unfollow(user)
|
26
|
+
a_delete(request_path).with(:query => { :access_token => OAUTH_TOKEN}).
|
27
|
+
should have_been_made
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should return 204 with a message 'Not Found'" do
|
31
|
+
subject.unfollow(user).status.should be 204
|
32
|
+
end
|
33
|
+
end # unfollow
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Users, 'integration' do
|
6
|
+
|
7
|
+
after { reset_authentication_for subject }
|
8
|
+
|
9
|
+
it_should_behave_like 'api interface'
|
10
|
+
|
11
|
+
its(:emails) { should be_a Github::Users::Emails }
|
12
|
+
|
13
|
+
its(:followers) { should be_a Github::Users::Followers }
|
14
|
+
|
15
|
+
its(:keys) { should be_a Github::Users::Keys }
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-15 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152609420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152609420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: faraday
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152607580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.8.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152607580
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: multi_json
|
38
|
-
requirement: &
|
38
|
+
requirement: &2152604900 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.4'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152604900
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: oauth2
|
49
|
-
requirement: &
|
49
|
+
requirement: &2152602880 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2152602880
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: nokogiri
|
60
|
-
requirement: &
|
60
|
+
requirement: &2152600160 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.5.2
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2152600160
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
requirement: &
|
71
|
+
requirement: &2152599000 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2152599000
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: cucumber
|
82
|
-
requirement: &
|
82
|
+
requirement: &2152597780 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2152597780
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: webmock
|
93
|
-
requirement: &
|
93
|
+
requirement: &2152584340 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 1.9.0
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2152584340
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: vcr
|
104
|
-
requirement: &
|
104
|
+
requirement: &2152579360 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 2.3.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2152579360
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: simplecov
|
115
|
-
requirement: &
|
115
|
+
requirement: &2152570420 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 0.7.1
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2152570420
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: guard
|
126
|
-
requirement: &
|
126
|
+
requirement: &2152570000 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2152570000
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: guard-rspec
|
137
|
-
requirement: &
|
137
|
+
requirement: &2152569320 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2152569320
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: guard-cucumber
|
148
|
-
requirement: &
|
148
|
+
requirement: &2152568680 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2152568680
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rake
|
159
|
-
requirement: &
|
159
|
+
requirement: &2152568120 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2152568120
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: bundler
|
170
|
-
requirement: &
|
170
|
+
requirement: &2152567460 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,7 +175,7 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2152567460
|
179
179
|
description: ! ' Ruby wrapper that supports all of the GitHub API v3 methods(nearly
|
180
180
|
200). It''s build in a modular way, that is, you can either instantiate the whole
|
181
181
|
api wrapper Github.new or use parts of it e.i. Github::Repos.new if working solely
|
@@ -233,9 +233,18 @@ files:
|
|
233
233
|
- features/cassettes/issues/comments/list_repo.yml
|
234
234
|
- features/cassettes/issues/create.yml
|
235
235
|
- features/cassettes/issues/edit.yml
|
236
|
+
- features/cassettes/issues/events/get.yml
|
237
|
+
- features/cassettes/issues/events/list_issue.yml
|
238
|
+
- features/cassettes/issues/events/list_repo.yml
|
236
239
|
- features/cassettes/issues/get.yml
|
240
|
+
- features/cassettes/issues/labels/list_repo.yml
|
237
241
|
- features/cassettes/issues/list/repo.yml
|
238
242
|
- features/cassettes/issues/list/user.yml
|
243
|
+
- features/cassettes/issues/milestones/create.yml
|
244
|
+
- features/cassettes/issues/milestones/delete.yml
|
245
|
+
- features/cassettes/issues/milestones/get.yml
|
246
|
+
- features/cassettes/issues/milestones/list.yml
|
247
|
+
- features/cassettes/issues/milestones/update.yml
|
239
248
|
- features/cassettes/markdown/render.yml
|
240
249
|
- features/cassettes/markdown/render_raw.yml
|
241
250
|
- features/cassettes/orgs/get.yml
|
@@ -274,6 +283,8 @@ files:
|
|
274
283
|
- features/cassettes/repos/statuses/list.yml
|
275
284
|
- features/cassettes/repos/tags.yml
|
276
285
|
- features/cassettes/repos/teams.yml
|
286
|
+
- features/cassettes/say/custom.yml
|
287
|
+
- features/cassettes/say/random.yml
|
277
288
|
- features/cassettes/search/email.yml
|
278
289
|
- features/cassettes/search/issues.yml
|
279
290
|
- features/cassettes/search/repos.yml
|
@@ -293,6 +304,9 @@ files:
|
|
293
304
|
- features/gitignore.feature
|
294
305
|
- features/issues/assignees.feature
|
295
306
|
- features/issues/comments.feature
|
307
|
+
- features/issues/events.feature
|
308
|
+
- features/issues/labels.feature
|
309
|
+
- features/issues/milestones.feature
|
296
310
|
- features/issues.feature
|
297
311
|
- features/markdown.feature
|
298
312
|
- features/options.feature
|
@@ -304,6 +318,7 @@ files:
|
|
304
318
|
- features/repos/contents.feature
|
305
319
|
- features/repos/statuses.feature
|
306
320
|
- features/repos.feature
|
321
|
+
- features/say.feature
|
307
322
|
- features/search.feature
|
308
323
|
- features/settings.yml
|
309
324
|
- features/settings.yml.sample
|
@@ -408,6 +423,8 @@ files:
|
|
408
423
|
- lib/github_api/response.rb
|
409
424
|
- lib/github_api/result.rb
|
410
425
|
- lib/github_api/s3_uploader.rb
|
426
|
+
- lib/github_api/say.rb
|
427
|
+
- lib/github_api/scopes.rb
|
411
428
|
- lib/github_api/search.rb
|
412
429
|
- lib/github_api/users/emails.rb
|
413
430
|
- lib/github_api/users/followers.rb
|
@@ -558,6 +575,7 @@ files:
|
|
558
575
|
- spec/github/git_data/commits/create_spec.rb
|
559
576
|
- spec/github/git_data/commits/get_spec.rb
|
560
577
|
- spec/github/git_data/commits_spec.rb
|
578
|
+
- spec/github/git_data/git_data_spec.rb
|
561
579
|
- spec/github/git_data/references/create_spec.rb
|
562
580
|
- spec/github/git_data/references/delete_spec.rb
|
563
581
|
- spec/github/git_data/references/get_spec.rb
|
@@ -570,15 +588,25 @@ files:
|
|
570
588
|
- spec/github/git_data/trees/create_spec.rb
|
571
589
|
- spec/github/git_data/trees/get_spec.rb
|
572
590
|
- spec/github/git_data/trees_spec.rb
|
573
|
-
- spec/github/git_data_spec.rb
|
574
591
|
- spec/github/gitignore/get_spec.rb
|
575
592
|
- spec/github/gitignore/list_spec.rb
|
593
|
+
- spec/github/issues/assignees/check_spec.rb
|
594
|
+
- spec/github/issues/assignees/list_spec.rb
|
576
595
|
- spec/github/issues/assignees_spec.rb
|
577
596
|
- spec/github/issues/comments_spec.rb
|
597
|
+
- spec/github/issues/create_spec.rb
|
598
|
+
- spec/github/issues/edit_spec.rb
|
578
599
|
- spec/github/issues/events_spec.rb
|
600
|
+
- spec/github/issues/get_spec.rb
|
601
|
+
- spec/github/issues/issues_spec.rb
|
579
602
|
- spec/github/issues/labels_spec.rb
|
603
|
+
- spec/github/issues/list_spec.rb
|
604
|
+
- spec/github/issues/milestones/create_spec.rb
|
605
|
+
- spec/github/issues/milestones/delete_spec.rb
|
606
|
+
- spec/github/issues/milestones/get_spec.rb
|
607
|
+
- spec/github/issues/milestones/list_spec.rb
|
608
|
+
- spec/github/issues/milestones/update_spec.rb
|
580
609
|
- spec/github/issues/milestones_spec.rb
|
581
|
-
- spec/github/issues_spec.rb
|
582
610
|
- spec/github/mime_type_spec.rb
|
583
611
|
- spec/github/normalizer_spec.rb
|
584
612
|
- spec/github/orgs/members_spec.rb
|
@@ -650,12 +678,16 @@ files:
|
|
650
678
|
- spec/github/response/helpers_spec.rb
|
651
679
|
- spec/github/result_spec.rb
|
652
680
|
- spec/github/s3_uploader_spec.rb
|
681
|
+
- spec/github/scopes/list_spec.rb
|
653
682
|
- spec/github/search_spec.rb
|
654
683
|
- spec/github/users/emails/add_spec.rb
|
655
684
|
- spec/github/users/emails/delete_spec.rb
|
656
685
|
- spec/github/users/emails/list_spec.rb
|
686
|
+
- spec/github/users/followers/follow_spec.rb
|
687
|
+
- spec/github/users/followers/following_spec.rb
|
688
|
+
- spec/github/users/followers/is_following_spec.rb
|
657
689
|
- spec/github/users/followers/list_spec.rb
|
658
|
-
- spec/github/users/
|
690
|
+
- spec/github/users/followers/unfollow_spec.rb
|
659
691
|
- spec/github/users/get_spec.rb
|
660
692
|
- spec/github/users/keys/create_spec.rb
|
661
693
|
- spec/github/users/keys/delete_spec.rb
|
@@ -664,6 +696,7 @@ files:
|
|
664
696
|
- spec/github/users/keys/update_spec.rb
|
665
697
|
- spec/github/users/list_spec.rb
|
666
698
|
- spec/github/users/update_spec.rb
|
699
|
+
- spec/github/users/users_spec.rb
|
667
700
|
- spec/github/utils/url_spec.rb
|
668
701
|
- spec/github/validations/format_spec.rb
|
669
702
|
- spec/github/validations/presence_spec.rb
|