omniauth-pipedrive 0.0.1 → 1.0.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 +2 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +20 -20
- data/README.md +18 -10
- data/VERSION +1 -0
- data/lib/omniauth-pipedrive/version.rb +9 -1
- data/lib/omniauth/strategies/pipedrive.rb +4 -0
- data/omniauth-pipedrive.gemspec +24 -23
- data/script/publish_to_ruby_gems.sh +9 -0
- metadata +21 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5e735caf353ba52de680ff1eb3856a0454f3eb
|
4
|
+
data.tar.gz: 4ba2d2d88069b1e2d3c734355aab31570fea2637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ff71bd5a7bd29135edf31aa81d184faf1e3591b412f02184a53c4ab8149d807c53689e2e87354f0aae835df6927ddedaf405e344557aed6858a67a153060afc
|
7
|
+
data.tar.gz: 0307f2f2825eb39284ff6504f348ad75a63d31b1f872dc351f62eb56cff4de5e6ccd6a28e546c314b82234e3f32152e7bcaa1ff623b1b0a10683235f7edda864
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
MIT Licene
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
MIT Licene
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,20 +1,28 @@
|
|
1
1
|
# omniauth-pipedrive
|
2
2
|
|
3
|
-
This is the OmniAuth strategy for authenticating to [Pipedrive](https://www.pipedrive.com)
|
3
|
+
This is the OmniAuth strategy for authenticating to [Pipedrive](https://www.pipedrive.com)
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
8
|
-
gem 'omniauth-pipedrive', git: "https://github.com/SupportBee/omniauth-pipedrive"
|
9
|
-
```
|
7
|
+
1. Obtain a Sandbox account from Pipedrive https://pipedrive.readme.io/docs/marketplace-creating-a-proper-app
|
10
8
|
|
11
|
-
|
9
|
+
2. Sign into to your Pipedrive Sandbox account and create an Application. Provide a URL like https://mywebsite.com/auth/pipedrive/callback as the callback. Copy the Client ID and Client Secret after creating the Application
|
12
10
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
```
|
11
|
+
3. Add `omniauth-pipedrive` to your Gemfile
|
12
|
+
|
13
|
+
```
|
14
|
+
gem 'omniauth-pipedrive', git: "https://github.com/SupportBee/omniauth-pipedrive"
|
15
|
+
```
|
16
|
+
|
17
|
+
4. Provide your Client ID and Client Secret to your gem in an initializer
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# In config/initializers/omniauth.rb
|
21
|
+
|
22
|
+
use OmniAuth::Builder do
|
23
|
+
provider :pipedrive, ENV['client_id'], ENV['client_secret']
|
24
|
+
end
|
25
|
+
```
|
18
26
|
|
19
27
|
## Credits
|
20
28
|
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.0
|
data/omniauth-pipedrive.gemspec
CHANGED
@@ -1,23 +1,24 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/omniauth-pipedrive/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Pranav Singh"]
|
6
|
-
gem.email = ["pranav@supportbee.com"]
|
7
|
-
gem.description = %q{OmniAuth strategy for Pipedrive.}
|
8
|
-
gem.summary = %q{OmniAuth strategy for Pipedrive.}
|
9
|
-
gem.homepage = "https://github.com/SupportBee/omniauth-pipedrive"
|
10
|
-
gem.license = "MIT"
|
11
|
-
|
12
|
-
# gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
13
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
14
|
-
gem.files = `git ls-files`.split("\n")
|
15
|
-
gem.name = "omniauth-pipedrive"
|
16
|
-
gem.require_paths = ["lib"]
|
17
|
-
gem.version = OmniAuth::Pipedrive::VERSION
|
18
|
-
|
19
|
-
gem.add_dependency 'omniauth', '~> 1.0'
|
20
|
-
gem.add_dependency 'omniauth-oauth2', '~> 1.0'
|
21
|
-
|
22
|
-
gem.add_development_dependency "bundler", "~> 1.0"
|
23
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/omniauth-pipedrive/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Pranav Singh"]
|
6
|
+
gem.email = ["pranav@supportbee.com"]
|
7
|
+
gem.description = %q{OmniAuth strategy for Pipedrive.}
|
8
|
+
gem.summary = %q{OmniAuth strategy for Pipedrive.}
|
9
|
+
gem.homepage = "https://github.com/SupportBee/omniauth-pipedrive"
|
10
|
+
gem.license = "MIT"
|
11
|
+
|
12
|
+
# gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
13
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
14
|
+
gem.files = `git ls-files`.split("\n")
|
15
|
+
gem.name = "omniauth-pipedrive"
|
16
|
+
gem.require_paths = ["lib"]
|
17
|
+
gem.version = OmniAuth::Pipedrive::VERSION
|
18
|
+
|
19
|
+
gem.add_dependency 'omniauth', '~> 1.0'
|
20
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.0'
|
21
|
+
|
22
|
+
gem.add_development_dependency "bundler", "~> 1.0"
|
23
|
+
gem.add_development_dependency "pry", '~> 0'
|
24
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# Push a new version to rubygems
|
4
|
+
# ruby script/publish_to_ruby_gems.sh
|
5
|
+
|
6
|
+
mv ~/.gem/credentials ~/.gem/credentials.orig
|
7
|
+
gem build omniauth-pipedrive.gemspec
|
8
|
+
gem push omniauth-pipedrive-$(cat VERSION).gem
|
9
|
+
mv ~/.gem/credentials.orig ~/.gem/credentials
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-pipedrive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pranav Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: OmniAuth strategy for Pipedrive.
|
56
70
|
email:
|
57
71
|
- pranav@supportbee.com
|
@@ -60,12 +74,16 @@ extensions: []
|
|
60
74
|
extra_rdoc_files: []
|
61
75
|
files:
|
62
76
|
- ".gitignore"
|
77
|
+
- CHANGELOG.md
|
78
|
+
- Gemfile
|
63
79
|
- LICENSE.txt
|
64
80
|
- README.md
|
81
|
+
- VERSION
|
65
82
|
- lib/omniauth-pipedrive.rb
|
66
83
|
- lib/omniauth-pipedrive/version.rb
|
67
84
|
- lib/omniauth/strategies/pipedrive.rb
|
68
85
|
- omniauth-pipedrive.gemspec
|
86
|
+
- script/publish_to_ruby_gems.sh
|
69
87
|
homepage: https://github.com/SupportBee/omniauth-pipedrive
|
70
88
|
licenses:
|
71
89
|
- MIT
|
@@ -86,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
104
|
version: '0'
|
87
105
|
requirements: []
|
88
106
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.5.1
|
107
|
+
rubygems_version: 2.4.5.1
|
90
108
|
signing_key:
|
91
109
|
specification_version: 4
|
92
110
|
summary: OmniAuth strategy for Pipedrive.
|