omniauth-mercadolibre 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.ruby-gemset +0 -0
- data/.ruby-version +0 -0
- data/.rvmrc +0 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -0
- data/Guardfile +0 -0
- data/{MIT-LICENSE → LICENSE} +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/lib/omniauth-mercadolibre.rb +0 -0
- data/lib/omniauth-mercadolibre/version.rb +1 -1
- data/lib/omniauth/strategies/mercadolibre.rb +2 -2
- data/omniauth-mercadolibre.gemspec +0 -0
- data/omniauth-mercadolibre.sublime-project +0 -0
- data/spec/fixtures/vcr_cassettes/callback_phase.yml +0 -0
- data/spec/fixtures/vcr_cassettes/request_phase.yml +0 -0
- data/spec/omniauth/strategies/mercado_libre_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/test/dump/.gitignore +0 -0
- data/test/dump/Gemfile +0 -0
- data/test/dump/README.rdoc +0 -0
- data/test/dump/Rakefile +0 -0
- data/test/dump/app/assets/images/.keep +0 -0
- data/test/dump/app/assets/javascripts/application.js +0 -0
- data/test/dump/app/assets/javascripts/home.js.coffee +0 -0
- data/test/dump/app/assets/stylesheets/application.css +0 -0
- data/test/dump/app/assets/stylesheets/home.css.scss +0 -0
- data/test/dump/app/controllers/application_controller.rb +0 -0
- data/test/dump/app/controllers/concerns/.keep +0 -0
- data/test/dump/app/controllers/home_controller.rb +0 -0
- data/test/dump/app/controllers/users/omniauth_callbacks_controller.rb +0 -0
- data/test/dump/app/helpers/application_helper.rb +0 -0
- data/test/dump/app/helpers/home_helper.rb +0 -0
- data/test/dump/app/mailers/.keep +0 -0
- data/test/dump/app/models/.keep +0 -0
- data/test/dump/app/models/concerns/.keep +0 -0
- data/test/dump/app/models/user.rb +0 -0
- data/test/dump/app/views/home/index.html.erb +0 -0
- data/test/dump/app/views/layouts/application.html.erb +0 -0
- data/test/dump/config.ru +0 -0
- data/test/dump/config/application.rb +0 -0
- data/test/dump/config/boot.rb +0 -0
- data/test/dump/config/database.yml +0 -0
- data/test/dump/config/environment.rb +0 -0
- data/test/dump/config/environments/development.rb +0 -0
- data/test/dump/config/environments/production.rb +0 -0
- data/test/dump/config/environments/test.rb +0 -0
- data/test/dump/config/initializers/backtrace_silencers.rb +0 -0
- data/test/dump/config/initializers/devise.rb +0 -0
- data/test/dump/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/dump/config/initializers/inflections.rb +0 -0
- data/test/dump/config/initializers/mime_types.rb +0 -0
- data/test/dump/config/initializers/secret_token.rb +0 -0
- data/test/dump/config/initializers/session_store.rb +0 -0
- data/test/dump/config/initializers/wrap_parameters.rb +0 -0
- data/test/dump/config/locales/devise.en.yml +0 -0
- data/test/dump/config/locales/en.yml +0 -0
- data/test/dump/config/routes.rb +0 -0
- data/test/dump/db/migrate/20140120110923_devise_create_users.rb +0 -0
- data/test/dump/db/schema.rb +0 -0
- data/test/dump/db/seeds.rb +0 -0
- data/test/dump/lib/assets/.keep +0 -0
- data/test/dump/lib/tasks/.keep +0 -0
- data/test/dump/log/.keep +0 -0
- data/test/dump/public/404.html +0 -0
- data/test/dump/public/422.html +0 -0
- data/test/dump/public/500.html +0 -0
- data/test/dump/public/favicon.ico +0 -0
- data/test/dump/public/robots.txt +0 -0
- data/test/dump/vendor/assets/javascripts/.keep +0 -0
- data/test/dump/vendor/assets/stylesheets/.keep +0 -0
- metadata +30 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d55f107635a63653652762bb2ed23a8b05349266
|
4
|
+
data.tar.gz: 7a8a405adeb10b2e793835118b4faab85d428f91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4926b4a7c4423a0c735f930b159eb2bc456ae0b40624d836ae3208fa4326a175f2af2251a2c3082139a541e38dfd94eff25031f164cd4b6890b01ce93bb63747
|
7
|
+
data.tar.gz: 0b437a3ab6c52744705282a2d4f36cfdcde060eff940a269e1cef35c36f1621ed1060e92401ce24337702a9f73b77e181d359f0a1b8e2dec1c1e109255f2754e
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.ruby-gemset
CHANGED
File without changes
|
data/.ruby-version
CHANGED
File without changes
|
data/.rvmrc
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
File without changes
|
data/Guardfile
CHANGED
File without changes
|
data/{MIT-LICENSE → LICENSE}
RENAMED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
@@ -4,8 +4,8 @@ module OmniAuth
|
|
4
4
|
module Strategies
|
5
5
|
class MercadoLibre < OmniAuth::Strategies::OAuth2
|
6
6
|
API_ROOT_URL = ENV["MERCADOLIBRE_API_ROOT_URL" ] || "https://api.mercadolibre.com"
|
7
|
-
AUTH_URL = ENV["MERCADOLIBRE_AUTH_URL" ] || "
|
8
|
-
OAUTH_URL = ENV["MERCADOLIBRE_OAUTH_URL" ] || "
|
7
|
+
AUTH_URL = ENV["MERCADOLIBRE_AUTH_URL" ] || "http://auth.mercadolivre.com.br/authorization"
|
8
|
+
OAUTH_URL = ENV["MERCADOLIBRE_OAUTH_URL" ] || "/oauth/token"
|
9
9
|
|
10
10
|
option :client_options, {
|
11
11
|
site: API_ROOT_URL,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
data/test/dump/.gitignore
CHANGED
File without changes
|
data/test/dump/Gemfile
CHANGED
File without changes
|
data/test/dump/README.rdoc
CHANGED
File without changes
|
data/test/dump/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dump/app/mailers/.keep
CHANGED
File without changes
|
data/test/dump/app/models/.keep
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dump/config.ru
CHANGED
File without changes
|
File without changes
|
data/test/dump/config/boot.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dump/config/routes.rb
CHANGED
File without changes
|
File without changes
|
data/test/dump/db/schema.rb
CHANGED
File without changes
|
data/test/dump/db/seeds.rb
CHANGED
File without changes
|
data/test/dump/lib/assets/.keep
CHANGED
File without changes
|
data/test/dump/lib/tasks/.keep
CHANGED
File without changes
|
data/test/dump/log/.keep
CHANGED
File without changes
|
data/test/dump/public/404.html
CHANGED
File without changes
|
data/test/dump/public/422.html
CHANGED
File without changes
|
data/test/dump/public/500.html
CHANGED
File without changes
|
File without changes
|
data/test/dump/public/robots.txt
CHANGED
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,115 +1,115 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-mercadolibre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gullit Miranda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.2'
|
20
|
-
- -
|
20
|
+
- - '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.2.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.2'
|
30
|
-
- -
|
30
|
+
- - '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.2.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: omniauth-oauth2
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ~>
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '1.1'
|
40
|
-
- -
|
40
|
+
- - '>='
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.1.2
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ~>
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '1.1'
|
50
|
-
- -
|
50
|
+
- - '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.1.2
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ~>
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '2.14'
|
60
|
-
- -
|
60
|
+
- - '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 2.14.1
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.14'
|
70
|
-
- -
|
70
|
+
- - '>='
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 2.14.1
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rack-test
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ~>
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
type: :development
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ~>
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: simplecov
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - ~>
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: webmock
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
|
-
- -
|
105
|
+
- - ~>
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
type: :development
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ~>
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
description: A MercadoLibre OAuth2 strategy for OmniAuth 1.x
|
@@ -119,15 +119,15 @@ executables: []
|
|
119
119
|
extensions: []
|
120
120
|
extra_rdoc_files: []
|
121
121
|
files:
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
122
|
+
- .gitignore
|
123
|
+
- .rspec
|
124
|
+
- .ruby-gemset
|
125
|
+
- .ruby-version
|
126
|
+
- .rvmrc
|
127
127
|
- CHANGELOG.md
|
128
128
|
- Gemfile
|
129
129
|
- Guardfile
|
130
|
-
-
|
130
|
+
- LICENSE
|
131
131
|
- README.md
|
132
132
|
- Rakefile
|
133
133
|
- lib/omniauth-mercadolibre.rb
|
@@ -204,78 +204,18 @@ require_paths:
|
|
204
204
|
- lib
|
205
205
|
required_ruby_version: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
|
-
- -
|
207
|
+
- - '>='
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0'
|
210
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- -
|
212
|
+
- - '>='
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.2.
|
217
|
+
rubygems_version: 2.2.2
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: A MercadoLibre OAuth2 strategy for OmniAuth 1.x
|
221
|
-
test_files:
|
222
|
-
- spec/fixtures/vcr_cassettes/callback_phase.yml
|
223
|
-
- spec/fixtures/vcr_cassettes/request_phase.yml
|
224
|
-
- spec/omniauth/strategies/mercado_libre_spec.rb
|
225
|
-
- spec/spec_helper.rb
|
226
|
-
- test/dump/.gitignore
|
227
|
-
- test/dump/Gemfile
|
228
|
-
- test/dump/README.rdoc
|
229
|
-
- test/dump/Rakefile
|
230
|
-
- test/dump/app/assets/images/.keep
|
231
|
-
- test/dump/app/assets/javascripts/application.js
|
232
|
-
- test/dump/app/assets/javascripts/home.js.coffee
|
233
|
-
- test/dump/app/assets/stylesheets/application.css
|
234
|
-
- test/dump/app/assets/stylesheets/home.css.scss
|
235
|
-
- test/dump/app/controllers/application_controller.rb
|
236
|
-
- test/dump/app/controllers/concerns/.keep
|
237
|
-
- test/dump/app/controllers/home_controller.rb
|
238
|
-
- test/dump/app/controllers/users/omniauth_callbacks_controller.rb
|
239
|
-
- test/dump/app/helpers/application_helper.rb
|
240
|
-
- test/dump/app/helpers/home_helper.rb
|
241
|
-
- test/dump/app/mailers/.keep
|
242
|
-
- test/dump/app/models/.keep
|
243
|
-
- test/dump/app/models/concerns/.keep
|
244
|
-
- test/dump/app/models/user.rb
|
245
|
-
- test/dump/app/views/home/index.html.erb
|
246
|
-
- test/dump/app/views/layouts/application.html.erb
|
247
|
-
- test/dump/bin/bundle
|
248
|
-
- test/dump/bin/rails
|
249
|
-
- test/dump/bin/rake
|
250
|
-
- test/dump/config.ru
|
251
|
-
- test/dump/config/application.rb
|
252
|
-
- test/dump/config/boot.rb
|
253
|
-
- test/dump/config/database.yml
|
254
|
-
- test/dump/config/environment.rb
|
255
|
-
- test/dump/config/environments/development.rb
|
256
|
-
- test/dump/config/environments/production.rb
|
257
|
-
- test/dump/config/environments/test.rb
|
258
|
-
- test/dump/config/initializers/backtrace_silencers.rb
|
259
|
-
- test/dump/config/initializers/devise.rb
|
260
|
-
- test/dump/config/initializers/filter_parameter_logging.rb
|
261
|
-
- test/dump/config/initializers/inflections.rb
|
262
|
-
- test/dump/config/initializers/mime_types.rb
|
263
|
-
- test/dump/config/initializers/secret_token.rb
|
264
|
-
- test/dump/config/initializers/session_store.rb
|
265
|
-
- test/dump/config/initializers/wrap_parameters.rb
|
266
|
-
- test/dump/config/locales/devise.en.yml
|
267
|
-
- test/dump/config/locales/en.yml
|
268
|
-
- test/dump/config/routes.rb
|
269
|
-
- test/dump/db/migrate/20140120110923_devise_create_users.rb
|
270
|
-
- test/dump/db/schema.rb
|
271
|
-
- test/dump/db/seeds.rb
|
272
|
-
- test/dump/lib/assets/.keep
|
273
|
-
- test/dump/lib/tasks/.keep
|
274
|
-
- test/dump/log/.keep
|
275
|
-
- test/dump/public/404.html
|
276
|
-
- test/dump/public/422.html
|
277
|
-
- test/dump/public/500.html
|
278
|
-
- test/dump/public/favicon.ico
|
279
|
-
- test/dump/public/robots.txt
|
280
|
-
- test/dump/vendor/assets/javascripts/.keep
|
281
|
-
- test/dump/vendor/assets/stylesheets/.keep
|
221
|
+
test_files: []
|