oa-mailru 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/lib/omniauth/strategies/mailru_api/view_helper.rb +1 -1
- data/oa-mailru.gemspec +8 -4
- data/spec/spec.opts +1 -0
- metadata +7 -5
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.swp
|
data/README.rdoc
CHANGED
@@ -36,7 +36,7 @@ or if you want use jquery ajaxForm then use:
|
|
36
36
|
|
37
37
|
<%= raw mailru_login_button(nil, true) %>
|
38
38
|
|
39
|
-
|
39
|
+
ajaxForm with custom button
|
40
40
|
|
41
41
|
<%= raw mailru_login_button("<a href='#' onclick='mailruLogin.login();'>Mail.RU Login</a>", true) %>
|
42
42
|
|
@@ -59,7 +59,7 @@ In action with this path you can use params from request["omniauth.auth"] which
|
|
59
59
|
'extra' => {'user_hash' => 'some additional data here'}
|
60
60
|
}
|
61
61
|
|
62
|
-
==
|
62
|
+
== Debugging Information
|
63
63
|
|
64
64
|
Mail.RU API has some host name permission restrictions, so correct debugging session is available only on public server with
|
65
65
|
some host name (don't forget to put receiver.html to root directory of your site).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
@@ -95,7 +95,7 @@ HEADER
|
|
95
95
|
}
|
96
96
|
}
|
97
97
|
document.body.appendChild(form);
|
98
|
-
#{
|
98
|
+
#{ use_jquery_form ? "$(form).ajaxSubmit({ dataType: 'script' });" : "form.submit();" }
|
99
99
|
document.body.removeChild(form);
|
100
100
|
}
|
101
101
|
};
|
data/oa-mailru.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{oa-mailru}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Alexander Gorkunov"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-18}
|
13
13
|
s.description = %q{OmniAuth extension for mail.ru authentication}
|
14
14
|
s.email = %q{alexander.gorkunov@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,7 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
"
|
20
|
+
".gitignore",
|
21
|
+
"LICENSE",
|
21
22
|
"README.rdoc",
|
22
23
|
"Rakefile",
|
23
24
|
"VERSION",
|
@@ -25,7 +26,10 @@ Gem::Specification.new do |s|
|
|
25
26
|
"lib/omniauth/mailru.rb",
|
26
27
|
"lib/omniauth/strategies/mailru_api.rb",
|
27
28
|
"lib/omniauth/strategies/mailru_api/view_helper.rb",
|
28
|
-
"oa-mailru.gemspec"
|
29
|
+
"oa-mailru.gemspec",
|
30
|
+
"spec/oa-mailru_spec.rb",
|
31
|
+
"spec/spec.opts",
|
32
|
+
"spec/spec_helper.rb"
|
29
33
|
]
|
30
34
|
s.homepage = %q{http://github.com/gorkunov/oa-mailru}
|
31
35
|
s.rdoc_options = ["--charset=UTF-8"]
|
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oa-mailru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexander Gorkunov
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-18 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -74,6 +74,7 @@ extra_rdoc_files:
|
|
74
74
|
- LICENSE
|
75
75
|
- README.rdoc
|
76
76
|
files:
|
77
|
+
- .gitignore
|
77
78
|
- LICENSE
|
78
79
|
- README.rdoc
|
79
80
|
- Rakefile
|
@@ -83,8 +84,9 @@ files:
|
|
83
84
|
- lib/omniauth/strategies/mailru_api.rb
|
84
85
|
- lib/omniauth/strategies/mailru_api/view_helper.rb
|
85
86
|
- oa-mailru.gemspec
|
86
|
-
- spec/spec_helper.rb
|
87
87
|
- spec/oa-mailru_spec.rb
|
88
|
+
- spec/spec.opts
|
89
|
+
- spec/spec_helper.rb
|
88
90
|
has_rdoc: true
|
89
91
|
homepage: http://github.com/gorkunov/oa-mailru
|
90
92
|
licenses: []
|