omniauth-mailchimp 1.0.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 544dd5971eedf28fd9e257e3b3bac533b4a9a727
4
+ data.tar.gz: 620bb8a25753342ceb24df626ec60119a1346782
5
+ SHA512:
6
+ metadata.gz: 5cb7974b8a5ce6afe75c6be9c176399daec9adaaf949f5b577ff54d732275a17ffba17f54dd55e2a7c99ebf0c466dea8235d0f348f27b93e542bb5007b80670c
7
+ data.tar.gz: 1230ed1244f78c5028f8b21a46c79e45b3bb31557d5732999f37e91d2073c87987f628b8c1c9b36f8eee3679f0a1c3c66834cf008b777bba593792ed641378b6
checksums.yaml.gz.sig ADDED
@@ -0,0 +1 @@
1
+ ��o\λ���[:�;�[J�XAV�鋉�������a�/q�l%��5��������x_��Ց0n�B��Ӭ��K���g�x��]c��O�N������fr͋ծ��xC����i?�*��v캄�;-�#CL��ahǷ9b r�
data.tar.gz.sig ADDED
@@ -0,0 +1 @@
1
+ oM!��p@ =C /�Q ���N�I
data/Gemfile CHANGED
@@ -4,4 +4,4 @@ gemspec
4
4
 
5
5
  group :example do
6
6
  gem 'sinatra'
7
- end
7
+ end
data/README.md CHANGED
@@ -1,8 +1,55 @@
1
- #Mailchimp Strategie
1
+ # Mailchimp Strategy
2
2
 
3
- MailChimp OAuth2 strategy for OmniAuth 1.0
3
+ MailChimp OAuth2 strategy for OmniAuth 2.0 using the v2 Mailchimp API.
4
4
 
5
- #License
5
+ Tested using Ruby 2.4.
6
+ Should support Ruby 2.1 and later.
7
+
8
+ # Mailchimp OAuth documentation
9
+
10
+ http://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/
11
+
12
+ # Auth Hash
13
+
14
+ JSON as per https://us9.api.mailchimp.com/schema/3.0/Root.json
15
+
16
+ ```ruby
17
+ {"account_id"=>String,
18
+ "login_id"=>String,
19
+ "account_name"=>String,
20
+ "email"=>String,
21
+ "first_name"=>String,
22
+ "last_name"=>String,
23
+ "username"=>String,
24
+ "avatar_url"=>String,
25
+ "role"=>String,
26
+ "member_since"=>String,
27
+ "pricing_plan_type"=>String,
28
+ "first_payment"=>String,
29
+ "account_timezone"=>String,
30
+ "account_industry"=>String,
31
+ "contact"=>
32
+ {"company"=>String,
33
+ "addr1"=>String,
34
+ "addr2"=>String,
35
+ "city"=>String,
36
+ "state"=>String,
37
+ "zip"=>String,
38
+ "country"=>String},
39
+ "pro_enabled"=>Boolean,
40
+ "last_login"=>String,
41
+ "total_subscribers"=>Integer,
42
+ "industry_stats"=>
43
+ {"open_rate"=>Float, "bounce_rate"=>Float, "click_rate"=>Float},
44
+ "_links"=>
45
+ [{"rel"=>String,
46
+ "href"=>String,
47
+ "method"=>String,
48
+ "targetSchema"=>String,
49
+ "schema"=>String?}]}
50
+ ```
51
+
52
+ # License
6
53
 
7
54
  Copyright (c) 2011 Florian Mhun
8
55
 
@@ -10,4 +57,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
10
57
 
11
58
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
59
 
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -4,4 +4,4 @@ Bundler::GemHelper.install_tasks
4
4
  require 'rspec/core/rake_task'
5
5
  RSpec::Core::RakeTask.new(:spec)
6
6
 
7
- task :default => :spec
7
+ task :default => :spec
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRUwEwYDVQQDDAxzdGV2
3
+ ZW4ua2FyYXMxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
4
+ A2NvbTAeFw0yMTA1MjUyMjMwMDNaFw0yMjA1MjUyMjMwMDNaMEMxFTATBgNVBAMM
5
+ DHN0ZXZlbi5rYXJhczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
6
+ LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsMVh82wj
7
+ nLLI1fIIx+/Ar5lIzNpgHKTgy9T8WkdsoEGtDoPZGd+oixM+fzjL5xh/n31SnfIJ
8
+ +4Ab6UErPk1J8s89rQXY1rF9fVThbceCXr7c6H79fY08jE/+EHzt46FrzHdvZh81
9
+ nAFixB81fOUDsgkicEnstuEpVU/Xf+Qo5M4Ftx1GOcMMmPlXwUyGkLpcIjo0LaQF
10
+ 98RUxePM+Iv5w7Dz0RD6htF8fXVOcdz0w5v8mVWHS3f8J5AbHm6FvhnA2YX+Gmxd
11
+ /OJ9ogxOZs9eCwtmmU3aENyTDxNWcpPYQn/+cY/GiTBJ14t43qQR9f2OqQ5lqw5s
12
+ 5+KaiMkChGLbRwIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
13
+ HQ4EFgQU2jbdNTr9gZCYXPkKo/wmUEYWo6owIQYDVR0RBBowGIEWc3RldmVuLmth
14
+ cmFzQGdtYWlsLmNvbTAhBgNVHRIEGjAYgRZzdGV2ZW4ua2FyYXNAZ21haWwuY29t
15
+ MA0GCSqGSIb3DQEBBQUAA4IBAQCfpKLN//T6kENq3Bm0HXjArFwU6nTThljbRJop
16
+ fIfjCNfWTvsoxUNcFF/W+w0vzv4cUL6/lA5hdN+l3aA/XvJcWXzKMPOY1QxUah66
17
+ y99hRXBAMT+cru4EIivqwy/3uQuyJLEPjPk6pDdWJlJdYoJlatV00DT+zo8frgWE
18
+ HuXbChi66jg+iyYFcsKAlTTepTLrX7sRjV+oxM52NdcpaJa3KO0EcdnsFAGiQygX
19
+ YOJ5FP8MTTgAbIipzg/NzOFvoWUGd0oa7FOag01VUlj6tBeV427tAPSSwJDzcogi
20
+ x/EpOXmMyWOBObwpiNLfziWtE/gu7lPlA2Up1boQptblCqCx
21
+ -----END CERTIFICATE-----
data/examples/config.ru CHANGED
@@ -20,7 +20,7 @@ end
20
20
  get '/auth/:provider/callback' do
21
21
  content_type 'text/plain'
22
22
  token = request.env['omniauth.auth']['credentials']['token']
23
- dc = request.env['omniauth.auth']['extra']['user_hash']['dc']
23
+ dc = request.env['omniauth.auth']['extra']['metadata']['dc']
24
24
  "Standard API key is #{token}-#{dc}".inspect rescue "No data"
25
25
  end
26
26
 
@@ -33,4 +33,4 @@ use Rack::Session::Cookie, :secret => ENV['RACK_COOKIE_SECRET']
33
33
 
34
34
  use OmniAuth::Builder do
35
35
  provider :mailchimp, ENV["MC_KEY"], ENV["MC_SECRET"]
36
- end
36
+ end
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Mailchimp
3
- VERSION = "1.0.2"
3
+ VERSION = "2.3.0"
4
4
  end
5
- end
5
+ end
@@ -4,40 +4,63 @@ require 'multi_json'
4
4
  module OmniAuth
5
5
  module Strategies
6
6
  class Mailchimp < OmniAuth::Strategies::OAuth2
7
-
7
+
8
8
  option :name, "mailchimp"
9
-
9
+
10
10
  option :client_options, {
11
11
  :site => "https://login.mailchimp.com",
12
12
  :authorize_url => '/oauth2/authorize',
13
13
  :token_url => '/oauth2/token'
14
14
  }
15
15
 
16
+ def request_phase
17
+ req = Rack::Request.new(@env)
18
+ options.update(req.params)
19
+ super
20
+ end
21
+
16
22
  uid {
17
- raw_info["user_id"]
23
+ raw_info["account_id"]
18
24
  }
19
25
 
20
26
  info do
21
- {
22
- :first_name => raw_info["contact"]["fname"],
23
- :last_name => raw_info["contact"]["lname"],
24
- :email => raw_info["contact"]["email"]
27
+ {
28
+ :first_name => raw_info["first_name"],
29
+ :last_name => raw_info["last_name"],
30
+ :nickname => user_data["accountname"],
31
+ :email => user_data.fetch("login", {})["email"] || raw_info["email"],
32
+ :image => raw_info["avatar_url"],
25
33
  }
26
34
  end
27
-
28
- extra do
29
- {
35
+
36
+ extra do
37
+ {
30
38
  :metadata => user_data,
31
- :raw_info => raw_info
39
+ :raw_info => raw_info,
40
+ :api_token_with_dc => "#{@access_token.token}-#{user_data['dc']}",
32
41
  }
33
42
  end
34
43
 
44
+ def callback_url
45
+ if options.full_host
46
+ options.full_host + script_name + callback_path + query_string
47
+ else
48
+ super
49
+ end
50
+ end
51
+
35
52
  def raw_info
36
53
  @raw_info ||= begin
37
- data = user_data
38
- endpoint = data["api_endpoint"]
39
- apikey = "#{@access_token.token}-#{data['dc']}"
40
- @access_token.get("#{endpoint}/1.3/?method=getAccountDetails&apikey=#{apikey}").parsed
54
+ endpoint = user_data["api_endpoint"]
55
+ response = @access_token.get("#{endpoint}/3.0/").parsed
56
+ if response["error"]
57
+ case response["code"]
58
+ when 109
59
+ fail!(:invalid_credentials, response["error"])
60
+ end
61
+ else
62
+ response
63
+ end
41
64
  end
42
65
  end
43
66
 
@@ -2,13 +2,13 @@
2
2
  require File.expand_path('../lib/omniauth/mailchimp/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.add_dependency 'omniauth', '~> 1.0'
5
+ gem.add_dependency 'omniauth', '> 1.9.1', '< 3'
6
6
 
7
- gem.authors = ["Florian Mhun"]
8
- gem.email = ["florian.mhun@gmail.com"]
9
- gem.description = %q{MailChimp OAuth2 strategy for OmniAuth 1.0}
10
- gem.summary = %q{MailChimp OAuth2 strategy for OmniAuth 1.0.}
11
- gem.homepage = "http://floomoon.org/project/omniauth-mailchimp"
7
+ gem.authors = ["Steven Karas", "Florian Mhun"]
8
+ gem.email = ["steven.karas@gmail.com", "florian.mhun@gmail.com"]
9
+ gem.description = %q{MailChimp OAuth2 strategy for OmniAuth 2.0}
10
+ gem.summary = %q{MailChimp OAuth2 strategy for OmniAuth 2.0.}
11
+ gem.homepage = "https://github.com/stevenkaras/omniauth-mailchimp"
12
12
 
13
13
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
14
14
  gem.files = `git ls-files`.split("\n")
@@ -20,5 +20,9 @@ Gem::Specification.new do |gem|
20
20
  gem.add_runtime_dependency 'omniauth-oauth2'
21
21
 
22
22
  gem.add_development_dependency 'rspec', '~> 2.6.0'
23
- gem.add_development_dependency 'rake'
24
- end
23
+ gem.add_development_dependency 'rake', '< 11.0'
24
+
25
+ gem.cert_chain = ['certs/stevenkaras.pem']
26
+ gem.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
27
+
28
+ end
@@ -4,20 +4,34 @@ require 'omniauth-mailchimp'
4
4
  describe OmniAuth::Strategies::Mailchimp do
5
5
  before :each do
6
6
  @request = double('Request')
7
- @request.stub(:params) { {} }
8
7
  end
9
8
 
10
9
  subject do
11
10
  OmniAuth::Strategies::Mailchimp.new(nil, @options || {}).tap do |strategy|
12
11
  strategy.stub(:request) { @request }
12
+ strategy.stub(:script_name) { "" }
13
13
  end
14
14
  end
15
15
 
16
16
  it_should_behave_like 'an oauth2 strategy'
17
17
 
18
- describe '#client' do
19
- it 'has correct MailChimp site' do
20
- subject.client.site.should eq('https://login.mailchimp.com')
18
+ describe '#client' do
19
+ it 'has correct Mailchimp api site' do
20
+ subject.options.client_options.site.should eq('https://login.mailchimp.com')
21
+ end
22
+
23
+ it 'has correct access token path' do
24
+ subject.options.client_options.token_url.should eq('/oauth2/token')
25
+ end
26
+
27
+ it 'has correct authorize url' do
28
+ subject.options.client_options.authorize_url.should eq('/oauth2/authorize')
29
+ end
30
+ end
31
+
32
+ describe '#callback_path' do
33
+ it 'should have the correct callback path' do
34
+ subject.callback_path.should eq('/auth/mailchimp/callback')
21
35
  end
22
36
  end
23
37
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  require 'bundler/setup'
2
2
  require 'rspec'
3
+ require 'omniauth'
4
+
3
5
  Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f }
4
6
 
5
7
  RSpec.configure do |config|
8
+ OmniAuth.config.test_mode = true
6
9
  end
@@ -15,8 +15,8 @@ shared_examples 'an oauth2 strategy' do
15
15
  end
16
16
 
17
17
  it 'should include top-level options that are marked as :authorize_options' do
18
- @options = { :authorize_options => [:scope, :foo], :scope => 'http://bar', :foo => 'baz' }
19
- subject.authorize_params['scope'].should eq('http://bar')
18
+ @options = { :authorize_options => [:scope, :foo], :scope => 'bar', :foo => 'baz' }
19
+ subject.authorize_params['scope'].should eq('bar')
20
20
  subject.authorize_params['foo'].should eq('baz')
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,72 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mailchimp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
5
- prerelease:
4
+ version: 2.3.0
6
5
  platform: ruby
7
6
  authors:
7
+ - Steven Karas
8
8
  - Florian Mhun
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2012-01-14 00:00:00.000000000Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRUwEwYDVQQDDAxzdGV2
15
+ ZW4ua2FyYXMxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
16
+ A2NvbTAeFw0yMTA1MjUyMjMwMDNaFw0yMjA1MjUyMjMwMDNaMEMxFTATBgNVBAMM
17
+ DHN0ZXZlbi5rYXJhczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
18
+ LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsMVh82wj
19
+ nLLI1fIIx+/Ar5lIzNpgHKTgy9T8WkdsoEGtDoPZGd+oixM+fzjL5xh/n31SnfIJ
20
+ +4Ab6UErPk1J8s89rQXY1rF9fVThbceCXr7c6H79fY08jE/+EHzt46FrzHdvZh81
21
+ nAFixB81fOUDsgkicEnstuEpVU/Xf+Qo5M4Ftx1GOcMMmPlXwUyGkLpcIjo0LaQF
22
+ 98RUxePM+Iv5w7Dz0RD6htF8fXVOcdz0w5v8mVWHS3f8J5AbHm6FvhnA2YX+Gmxd
23
+ /OJ9ogxOZs9eCwtmmU3aENyTDxNWcpPYQn/+cY/GiTBJ14t43qQR9f2OqQ5lqw5s
24
+ 5+KaiMkChGLbRwIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
25
+ HQ4EFgQU2jbdNTr9gZCYXPkKo/wmUEYWo6owIQYDVR0RBBowGIEWc3RldmVuLmth
26
+ cmFzQGdtYWlsLmNvbTAhBgNVHRIEGjAYgRZzdGV2ZW4ua2FyYXNAZ21haWwuY29t
27
+ MA0GCSqGSIb3DQEBBQUAA4IBAQCfpKLN//T6kENq3Bm0HXjArFwU6nTThljbRJop
28
+ fIfjCNfWTvsoxUNcFF/W+w0vzv4cUL6/lA5hdN+l3aA/XvJcWXzKMPOY1QxUah66
29
+ y99hRXBAMT+cru4EIivqwy/3uQuyJLEPjPk6pDdWJlJdYoJlatV00DT+zo8frgWE
30
+ HuXbChi66jg+iyYFcsKAlTTepTLrX7sRjV+oxM52NdcpaJa3KO0EcdnsFAGiQygX
31
+ YOJ5FP8MTTgAbIipzg/NzOFvoWUGd0oa7FOag01VUlj6tBeV427tAPSSwJDzcogi
32
+ x/EpOXmMyWOBObwpiNLfziWtE/gu7lPlA2Up1boQptblCqCx
33
+ -----END CERTIFICATE-----
34
+ date: 2021-05-25 00:00:00.000000000 Z
13
35
  dependencies:
14
36
  - !ruby/object:Gem::Dependency
15
37
  name: omniauth
16
- requirement: &70224140065360 !ruby/object:Gem::Requirement
17
- none: false
38
+ requirement: !ruby/object:Gem::Requirement
18
39
  requirements:
19
- - - ~>
40
+ - - ">"
20
41
  - !ruby/object:Gem::Version
21
- version: '1.0'
42
+ version: 1.9.1
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: '3'
22
46
  type: :runtime
23
47
  prerelease: false
24
- version_requirements: *70224140065360
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">"
51
+ - !ruby/object:Gem::Version
52
+ version: 1.9.1
53
+ - - "<"
54
+ - !ruby/object:Gem::Version
55
+ version: '3'
25
56
  - !ruby/object:Gem::Dependency
26
57
  name: omniauth-oauth2
27
- requirement: &70224140063440 !ruby/object:Gem::Requirement
28
- none: false
58
+ requirement: !ruby/object:Gem::Requirement
29
59
  requirements:
30
- - - ! '>='
60
+ - - ">="
31
61
  - !ruby/object:Gem::Version
32
62
  version: '0'
33
63
  type: :runtime
34
64
  prerelease: false
35
- version_requirements: *70224140063440
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
36
70
  - !ruby/object:Gem::Dependency
37
71
  name: rspec
38
- requirement: &70224140062920 !ruby/object:Gem::Requirement
39
- none: false
72
+ requirement: !ruby/object:Gem::Requirement
40
73
  requirements:
41
- - - ~>
74
+ - - "~>"
42
75
  - !ruby/object:Gem::Version
43
76
  version: 2.6.0
44
77
  type: :development
45
78
  prerelease: false
46
- version_requirements: *70224140062920
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 2.6.0
47
84
  - !ruby/object:Gem::Dependency
48
85
  name: rake
49
- requirement: &70224140062500 !ruby/object:Gem::Requirement
50
- none: false
86
+ requirement: !ruby/object:Gem::Requirement
51
87
  requirements:
52
- - - ! '>='
88
+ - - "<"
53
89
  - !ruby/object:Gem::Version
54
- version: '0'
90
+ version: '11.0'
55
91
  type: :development
56
92
  prerelease: false
57
- version_requirements: *70224140062500
58
- description: MailChimp OAuth2 strategy for OmniAuth 1.0
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "<"
96
+ - !ruby/object:Gem::Version
97
+ version: '11.0'
98
+ description: MailChimp OAuth2 strategy for OmniAuth 2.0
59
99
  email:
100
+ - steven.karas@gmail.com
60
101
  - florian.mhun@gmail.com
61
102
  executables: []
62
103
  extensions: []
63
104
  extra_rdoc_files: []
64
105
  files:
65
- - .gitignore
106
+ - ".gitignore"
66
107
  - Gemfile
67
108
  - LICENSE
68
109
  - README.md
69
110
  - Rakefile
111
+ - certs/stevenkaras.pem
70
112
  - examples/config.ru
71
113
  - lib/omniauth-mailchimp.rb
72
114
  - lib/omniauth/mailchimp.rb
@@ -77,30 +119,29 @@ files:
77
119
  - spec/omniauth/strategies/mailchimp_spec.rb
78
120
  - spec/spec_helper.rb
79
121
  - spec/support/shared_examples.rb
80
- homepage: http://floomoon.org/project/omniauth-mailchimp
122
+ homepage: https://github.com/stevenkaras/omniauth-mailchimp
81
123
  licenses: []
82
- post_install_message:
124
+ metadata: {}
125
+ post_install_message:
83
126
  rdoc_options: []
84
127
  require_paths:
85
128
  - lib
86
129
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
130
  requirements:
89
- - - ! '>='
131
+ - - ">="
90
132
  - !ruby/object:Gem::Version
91
133
  version: '0'
92
134
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
135
  requirements:
95
- - - ! '>='
136
+ - - ">="
96
137
  - !ruby/object:Gem::Version
97
138
  version: '0'
98
139
  requirements: []
99
- rubyforge_project:
100
- rubygems_version: 1.8.10
101
- signing_key:
102
- specification_version: 3
103
- summary: MailChimp OAuth2 strategy for OmniAuth 1.0.
140
+ rubyforge_project:
141
+ rubygems_version: 2.6.14.4
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: MailChimp OAuth2 strategy for OmniAuth 2.0.
104
145
  test_files:
105
146
  - spec/omniauth/.DS_Store
106
147
  - spec/omniauth/strategies/mailchimp_spec.rb
metadata.gz.sig ADDED
Binary file