omniauth-yammer 0.0.8 → 0.1.0
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.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.travis.yml +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +4 -2
- data/Rakefile +0 -0
- data/lib/omniauth/strategies/yammer.rb +0 -0
- data/lib/omniauth-yammer/version.rb +1 -1
- data/lib/omniauth-yammer.rb +0 -0
- data/omniauth-yammer.gemspec +0 -0
- data/spec/omniauth/strategies/yammer_spec.rb +5 -3
- data/spec/spec_helper.rb +0 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: daa5f4cb1087f26adffcf7159b354298d80aab3e
|
|
4
|
+
data.tar.gz: dac3da1c7e6ab727426494d4f53830dadb2e0d58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
1
|
+
# OmniAuth Yammer
|
|
2
|
+
[](https://travis-ci.org/le0pard/omniauth-yammer)
|
|
3
|
+
[](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', :
|
|
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
|
data/lib/omniauth-yammer.rb
CHANGED
|
File without changes
|
data/omniauth-yammer.gemspec
CHANGED
|
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
|
|
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
|
|
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-
|
|
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
|