right_hook 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module RightHook
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -29,7 +29,7 @@ describe RightHook::Authenticator do
29
29
 
30
30
  describe '#list_authorizations' do
31
31
  it 'delegates to list_authorizations' do
32
- Octokit::Client.any_instance.should_receive(:list_authorizations).and_return(:the_authorizations)
32
+ Octokit::Client.any_instance.should_receive(:authorizations).and_return(:the_authorizations)
33
33
 
34
34
  expect(described_class.build('octocat', 'pass').list_authorizations).to eq(:the_authorizations)
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: