omniauth-createsend 1.0.3 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de2be915ab702b927d153e122919771a66f2c8fb
4
- data.tar.gz: 7ad2298e37e3c7a87042a6fec690635839e63672
3
+ metadata.gz: 60c5bbf94e2f667d7767fa11ee8afb9ab321c0b7
4
+ data.tar.gz: 45a8d336030f705a2f26474e10cb7ea5beb960b2
5
5
  SHA512:
6
- metadata.gz: 28591e7d9e6f40e5025f50bf7064f69170100996049fde87293b1aed2eb4bdec77cf29d7036726ed3f4e3f2d3c3f8291b610210b7f2b7adf4c21f7b2cfef7c13
7
- data.tar.gz: 68be54dabc04c78338f12e7d9e1dbf06483f44d7b72b6a91740b2a9b34a75c21fe8434daadc9fe3dcd236cb39d13de3794d3c147329c99b8db5a164bab3fc620
6
+ metadata.gz: efda629e461066c689e5bfc0087dc92b4dcdd4adc56453e630d9dcea68385270fa3fec18bc532d79cb27a8086fbc6130ac1fad0297e2dc7e911343b4f3d32a72
7
+ data.tar.gz: a7d3a3b3f6059c6ac854ea0d8abb217bb45affa1c0668bfd387c94da5a2e7e5837e038ae7b2885941fb86c1edcc7c0a1a42454609ba09d076d89e9b58334dc3e
@@ -1,5 +1 @@
1
1
  language: ruby
2
- rvm:
3
- - 2.1.0
4
- - 2.0.0
5
- - 1.9.3
@@ -2,7 +2,7 @@
2
2
 
3
3
  1. [Fork the repository](https://help.github.com/articles/fork-a-repo).
4
4
  2. Create a topic branch.
5
- 3. Make your changes, including tests for your changes which maintain [coverage](https://coveralls.io/r/jdennes/omniauth-createsend).
6
- 4. Ensure that all tests pass, by running `bundle exec rake`. The [Travis CI build](https://travis-ci.org/jdennes/omniauth-createsend) runs on Ruby `2.0.0`, `1.9.3`, `1.9.2`, `1.8.7`, and `ree`.
7
- 5. It should go without saying, but do not increment the version number in your commits.
5
+ 3. Make your changes, including tests for your changes which maintain coverage.
6
+ 4. Ensure that all tests pass, by running `bundle exec rake`.
7
+ 5. Please don't increment the version number in your commits.
8
8
  6. [Submit a pull request](https://help.github.com/articles/using-pull-requests).
data/HISTORY.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # omniauth-createsend history
2
2
 
3
+ ## v1.0.4 - 22 Apr, 2020
4
+
5
+ * Fix compatibility with omniauth-oauth2 v1.4+ by @pjg: https://github.com/jdennes/omniauth-createsend/pull/5
6
+ * Update dependencies.
7
+
3
8
  ## v1.0.3 - 19 Jan, 2015
4
9
 
5
10
  * Patch release to update dependencies and improve some code formatting.
data/README.md CHANGED
@@ -1,12 +1,6 @@
1
1
  # OmniAuth CreateSend
2
- [![Build Status](https://secure.travis-ci.org/jdennes/omniauth-createsend.png)][travis] [![Coverage Status](https://coveralls.io/repos/jdennes/omniauth-createsend/badge.png?branch=master)][coveralls] [![Dependency Status](https://gemnasium.com/jdennes/omniauth-createsend.png)][gemnasium] [![Gem Version](https://badge.fury.io/rb/omniauth-createsend.png)][gembadge]
3
2
 
4
- 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.
5
-
6
- [travis]: http://travis-ci.org/jdennes/omniauth-createsend
7
- [coveralls]: https://coveralls.io/r/jdennes/omniauth-createsend
8
- [gemnasium]: https://gemnasium.com/jdennes/omniauth-createsend
9
- [gembadge]: http://badge.fury.io/rb/omniauth-createsend
3
+ This is the [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.
10
4
 
11
5
  ## Installing
12
6
 
@@ -41,3 +35,11 @@ Once you've authenticated, you should use the [createsend](http://campaignmonito
41
35
  ## Contributing
42
36
 
43
37
  Please check the [guidelines for contributing](https://github.com/jdennes/omniauth-createsend/blob/master/CONTRIBUTING.md) to this repository.
38
+
39
+ ## This stuff should be green
40
+
41
+ [![Build Status](https://secure.travis-ci.org/jdennes/omniauth-createsend.png)][travis] [![Dependency Status](https://gemnasium.com/jdennes/omniauth-createsend.png)][gemnasium] [![Gem Version](https://badge.fury.io/rb/omniauth-createsend.png)][gembadge]
42
+
43
+ [travis]: http://travis-ci.org/jdennes/omniauth-createsend
44
+ [gemnasium]: https://gemnasium.com/jdennes/omniauth-createsend
45
+ [gembadge]: http://badge.fury.io/rb/omniauth-createsend
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module CreateSend
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
@@ -9,6 +9,10 @@ module OmniAuth
9
9
  :authorize_url => "/oauth",
10
10
  :token_url => "/oauth/token"
11
11
  }
12
+
13
+ def callback_url
14
+ full_host + script_name + callback_path
15
+ end
12
16
  end
13
17
  end
14
18
  end
@@ -18,11 +18,10 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
  s.licenses = ["MIT"]
20
20
 
21
- s.add_runtime_dependency "omniauth-oauth2", "~> 1.1"
21
+ s.add_runtime_dependency "omniauth-oauth2", "~> 1.6"
22
22
  s.add_development_dependency "rspec", "~> 3.0"
23
- s.add_development_dependency "rack-test", "~> 0.6"
24
- s.add_development_dependency "webmock", "~> 1.0"
25
- s.add_development_dependency "rake", "~> 10.0"
23
+ s.add_development_dependency "rack-test", "~> 1.1"
24
+ s.add_development_dependency "webmock", "~> 3.8"
25
+ s.add_development_dependency "rake", "~> 13.0"
26
26
  s.add_development_dependency "simplecov", "~> 0"
27
- s.add_development_dependency "coveralls", "~> 0"
28
27
  end
@@ -2,11 +2,9 @@ $:.unshift File.expand_path("..", __FILE__)
2
2
  $:.unshift File.expand_path("../../lib", __FILE__)
3
3
 
4
4
  require "simplecov"
5
- require "coveralls"
6
5
 
7
6
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
8
7
  SimpleCov::Formatter::HTMLFormatter,
9
- Coveralls::SimpleCov::Formatter
10
8
  ]
11
9
  SimpleCov.start
12
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-createsend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Dennes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-19 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,42 +44,42 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.6'
47
+ version: '1.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.6'
54
+ version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.0'
61
+ version: '3.8'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.0'
68
+ version: '3.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '13.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '13.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: coveralls
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  description: The official OmniAuth strategy for authenticating with the Campaign Monitor
112
98
  API.
113
99
  email:
@@ -154,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
140
  version: '0'
155
141
  requirements: []
156
142
  rubyforge_project:
157
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.6.13
158
144
  signing_key:
159
145
  specification_version: 4
160
146
  summary: Official OmniAuth strategy for the Campaign Monitor API.