omniauth-yammer 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5b3270b0577ba13be3a195680180eaa3e8f1f68
4
- data.tar.gz: 734b13c33c8777127414d5c5e7d04e155c12bd20
3
+ metadata.gz: daa5f4cb1087f26adffcf7159b354298d80aab3e
4
+ data.tar.gz: dac3da1c7e6ab727426494d4f53830dadb2e0d58
5
5
  SHA512:
6
- metadata.gz: 35d83adf4213095292799c374138143538f2e6f0d1e54ca4c678594fbea0bf197f117cce00c96d963b8732d35f5af798091e3b7aa387c45b8b82230a763d25a6
7
- data.tar.gz: 26d8a677db3833207a4603ca8886e563ff2db4c635274c822f32928b980da8ff97a057060fe4c7812719c8aa8a2d9d3efbb18cfdd1de968909b897f2edbf14d4
6
+ metadata.gz: b5d1f5e4fc4c0eb8e6a0f447b1ebd8cdda249a0b3d537fd9b5d263c38440911243be30f982e0d6998e89cfbb3b2c0cdfd8df232c9d178aa525acf0a5b1cfc707
7
+ data.tar.gz: 925b79da39ae0f6dcec9263e2379f2226a90f46fd776c2ccc2c9395615cbe2ab641117cc9dc1a1f6e6070486033fc694ddf7b3a369b5d549c9e9ef09a550cfed
data/.gitignore CHANGED
File without changes
data/.travis.yml CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # OmniAuth Yammer [![Build Status](https://travis-ci.org/le0pard/omniauth-yammer.png)](https://travis-ci.org/le0pard/omniauth-yammer)
1
+ # OmniAuth Yammer
2
+ [![Build Status](https://travis-ci.org/le0pard/omniauth-yammer.png)](https://travis-ci.org/le0pard/omniauth-yammer)
3
+ [![Code Climate](https://codeclimate.com/github/le0pard/omniauth-yammer.png)](https://codeclimate.com/github/le0pard/omniauth-yammer)
2
4
 
3
5
  This gem contains the Yammer strategy for OmniAuth 1.0.
4
6
 
@@ -17,7 +19,7 @@ or even:
17
19
 
18
20
  ```ruby
19
21
  gem 'omniauth'
20
- gem 'omniauth-yammer', :git => 'git://github.com/le0pard/omniauth-yammer.git'
22
+ gem 'omniauth-yammer', :github => 'le0pard/omniauth-yammer'
21
23
  ```
22
24
 
23
25
  Then `bundle install`.
data/Rakefile CHANGED
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Yammer
3
- VERSION = "0.0.8"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
File without changes
File without changes
@@ -8,7 +8,7 @@ describe OmniAuth::Strategies::Yammer do
8
8
  end
9
9
 
10
10
  describe '#client' do
11
- it 'has correct GaggleAMP site' do
11
+ it 'has correct Yammer site' do
12
12
  expect(subject.client.site).to eq('https://www.yammer.com')
13
13
  end
14
14
 
@@ -40,7 +40,8 @@ describe OmniAuth::Strategies::Yammer do
40
40
  describe '#info' do
41
41
  context 'and therefore has all the necessary fields' do
42
42
  before :each do
43
- allow(subject).to receive(:raw_info) { {
43
+ allow(subject).to receive(:raw_info) {
44
+ {
44
45
  'full_name' => 'John Doe',
45
46
  'contact' => {
46
47
  'email_addresses' => [
@@ -48,7 +49,8 @@ describe OmniAuth::Strategies::Yammer do
48
49
  ]
49
50
  },
50
51
  'name' => 'JohnDoe'
51
- } }
52
+ }
53
+ }
52
54
  end
53
55
 
54
56
  it { expect(subject.info).to have_key :name }
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-yammer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Vasiliev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -137,4 +137,6 @@ rubygems_version: 2.2.1
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: OmniAuth strategy for Yammer
140
- test_files: []
140
+ test_files:
141
+ - spec/omniauth/strategies/yammer_spec.rb
142
+ - spec/spec_helper.rb