omniauth-createsend 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +10 -1
- data/example/Gemfile +1 -1
- data/lib/omniauth/createsend/version.rb +1 -1
- metadata +4 -5
- data/example/Gemfile.lock +0 -44
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# OmniAuth CreateSend
|
2
2
|
|
3
|
-
This is the official OmniAuth strategy for authenticating with the [Campaign Monitor API](http://www.campaignmonitor.com/api/). You'll need to register an OAuth Application in your Campaign Monitor account to get a Client ID and Client Secret to use with this OmniAuth strategy.
|
3
|
+
This is the official [OmniAuth](http://www.omniauth.org/) strategy for authenticating with the [Campaign Monitor API](http://www.campaignmonitor.com/api/). You'll need to register an OAuth Application in your Campaign Monitor account to get a Client ID and Client Secret to use with this OmniAuth strategy.
|
4
4
|
|
5
5
|
## Installing
|
6
6
|
|
@@ -19,3 +19,12 @@ use OmniAuth::Builder do
|
|
19
19
|
provider "createsend", ENV['CREATESEND_CLIENT_ID'], ENV['CREATESEND_CLIENT_SECRET'], :scope => 'ViewReports,CreateCampaigns,SendCampaigns'
|
20
20
|
end
|
21
21
|
```
|
22
|
+
|
23
|
+
This gem also includes an [example](https://github.com/campaignmonitor/omniauth-createsend/tree/master/example) Rack application which demonstrates how to authenticate with the Campaign Monitor API using this OmniAuth strategy.
|
24
|
+
|
25
|
+
## Contributing
|
26
|
+
1. Fork the repository
|
27
|
+
2. Make your changes, including tests for your changes.
|
28
|
+
3. Ensure that the build passes, by running `bundle exec rake` (CI runs on: `1.9.3`, `1.9.2`, `1.8.7` and `ree`)
|
29
|
+
4. It should go without saying, but do not increment the version number in your commits.
|
30
|
+
5. Submit a pull request.
|
data/example/Gemfile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-createsend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-oauth2
|
@@ -75,7 +75,6 @@ files:
|
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
77
|
- example/Gemfile
|
78
|
-
- example/Gemfile.lock
|
79
78
|
- example/config.ru
|
80
79
|
- lib/omniauth-createsend.rb
|
81
80
|
- lib/omniauth/createsend.rb
|
@@ -98,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
97
|
version: '0'
|
99
98
|
segments:
|
100
99
|
- 0
|
101
|
-
hash: -
|
100
|
+
hash: -667187826899260193
|
102
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
102
|
none: false
|
104
103
|
requirements:
|
@@ -107,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
106
|
version: '0'
|
108
107
|
segments:
|
109
108
|
- 0
|
110
|
-
hash: -
|
109
|
+
hash: -667187826899260193
|
111
110
|
requirements: []
|
112
111
|
rubyforge_project:
|
113
112
|
rubygems_version: 1.8.24
|
data/example/Gemfile.lock
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
omniauth-createsend (0.0.1)
|
5
|
-
omniauth-oauth2 (~> 1.1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
faraday (0.8.5)
|
11
|
-
multipart-post (~> 1.1)
|
12
|
-
hashie (1.2.0)
|
13
|
-
httpauth (0.2.0)
|
14
|
-
jwt (0.1.5)
|
15
|
-
multi_json (>= 1.0)
|
16
|
-
multi_json (1.5.0)
|
17
|
-
multipart-post (1.1.5)
|
18
|
-
oauth2 (0.8.0)
|
19
|
-
faraday (~> 0.8)
|
20
|
-
httpauth (~> 0.1)
|
21
|
-
jwt (~> 0.1.4)
|
22
|
-
multi_json (~> 1.0)
|
23
|
-
rack (~> 1.2)
|
24
|
-
omniauth (1.1.1)
|
25
|
-
hashie (~> 1.2)
|
26
|
-
rack
|
27
|
-
omniauth-oauth2 (1.1.1)
|
28
|
-
oauth2 (~> 0.8.0)
|
29
|
-
omniauth (~> 1.0)
|
30
|
-
rack (1.5.1)
|
31
|
-
rack-protection (1.3.2)
|
32
|
-
rack
|
33
|
-
sinatra (1.3.4)
|
34
|
-
rack (~> 1.4)
|
35
|
-
rack-protection (~> 1.3)
|
36
|
-
tilt (~> 1.3, >= 1.3.3)
|
37
|
-
tilt (1.3.3)
|
38
|
-
|
39
|
-
PLATFORMS
|
40
|
-
ruby
|
41
|
-
|
42
|
-
DEPENDENCIES
|
43
|
-
omniauth-createsend!
|
44
|
-
sinatra
|