omniauth-buffer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Buffer
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.require_paths = ["lib"]
17
17
 
18
18
  gem.add_dependency 'multi_json', '~> 1.3'
19
- gem.add_development_dependency 'rspec', '~> 2.10'
19
+ gem.add_development_dependency 'rspec', '~> 2.11'
20
20
  gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.0.2'
21
21
  end
@@ -7,19 +7,19 @@ describe OmniAuth::Strategies::Buffer do
7
7
 
8
8
  context "client options" do
9
9
  it 'should have correct name' do
10
- subject.options.name.should eq("buffer")
10
+ expect(subject.options.name).to eq("buffer")
11
11
  end
12
12
 
13
13
  it 'should have correct site' do
14
- subject.options.client_options.site.should eq('http://api.buffer.com')
14
+ expect(subject.options.client_options.site).to eq('http://api.buffer.com')
15
15
  end
16
16
 
17
17
  it 'should have correct authorize url' do
18
- subject.options.client_options.authorize_url.should eq('https://bufferapp.com/oauth2/authorize')
18
+ expect(subject.options.client_options.authorize_url).to eq('https://bufferapp.com/oauth2/authorize')
19
19
  end
20
20
 
21
21
  it 'should have correct token url' do
22
- subject.options.client_options.token_url.should eq('https://api.bufferapp.com/1/oauth2/token.json')
22
+ expect(subject.options.client_options.token_url).to eq('https://api.bufferapp.com/1/oauth2/token.json')
23
23
  end
24
24
  end
25
25
  end
data/spec/spec_helper.rb CHANGED
@@ -4,4 +4,10 @@ require 'omniauth'
4
4
  require 'omniauth-buffer'
5
5
 
6
6
  RSpec.configure do |config|
7
+
8
+ #new expectation syntax
9
+ config.expect_with :rspec do |c|
10
+ c.syntax = :expect
11
+ end
12
+
7
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-buffer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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-07-04 00:00:00.000000000 Z
12
+ date: 2012-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
16
- requirement: &72621510 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,21 +21,31 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *72621510
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rspec
27
- requirement: &72620930 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: '2.10'
37
+ version: '2.11'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *72620930
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.11'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: omniauth-oauth2
38
- requirement: &72620310 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: 1.0.2
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *72620310
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.2
47
62
  description: Omniauth strategy for Buffer
48
63
  email:
49
64
  - raisondsouza@gmail.com
@@ -82,8 +97,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
97
  version: '0'
83
98
  requirements: []
84
99
  rubyforge_project:
85
- rubygems_version: 1.8.10
100
+ rubygems_version: 1.8.24
86
101
  signing_key:
87
102
  specification_version: 3
88
103
  summary: Omniauth strategy for Buffer
89
104
  test_files: []
105
+ has_rdoc: