simple_mobile_oauth 0.0.1
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +32 -0
- data/lib/generators/active_record/simple_mobile_oauth_generator.rb +15 -0
- data/lib/generators/simple_mobile_oauth/install_generator.rb +39 -0
- data/lib/generators/simple_mobile_oauth/simple_mobile_oauth_generator.rb +15 -0
- data/lib/generators/templates/identity.rb +16 -0
- data/lib/generators/templates/migration.rb +14 -0
- data/lib/simple_mobile_oauth/authenticator.rb +122 -0
- data/lib/simple_mobile_oauth/identifiable.rb +23 -0
- data/lib/simple_mobile_oauth/version.rb +3 -0
- data/lib/simple_mobile_oauth.rb +5 -0
- data/lib/tasks/simple_mobile_oauth_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/identity.rb +16 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20141216003747_create_users.rb +8 -0
- data/test/dummy/db/migrate/20141216003803_simple_mobile_oauth_migration.rb +14 -0
- data/test/dummy/db/schema.rb +32 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +61 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/simple_mobile_oauth_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- data/test/user_test.rb +9 -0
- metadata +177 -0
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class SimpleMobileOauthMigration < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :identities do |t|
|
4
|
+
t.integer :identifiable_id
|
5
|
+
t.string :identifiable_type
|
6
|
+
t.string :image
|
7
|
+
t.string :uid, null: false
|
8
|
+
t.string :provider, null: false
|
9
|
+
t.text :info
|
10
|
+
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20141216003803) do
|
15
|
+
|
16
|
+
create_table "identities", force: true do |t|
|
17
|
+
t.integer "identifiable_id"
|
18
|
+
t.string "identifiable_type"
|
19
|
+
t.string "image"
|
20
|
+
t.string "uid", null: false
|
21
|
+
t.string "provider", null: false
|
22
|
+
t.text "info"
|
23
|
+
t.datetime "created_at"
|
24
|
+
t.datetime "updated_at"
|
25
|
+
end
|
26
|
+
|
27
|
+
create_table "users", force: true do |t|
|
28
|
+
t.datetime "created_at"
|
29
|
+
t.datetime "updated_at"
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
Binary file
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
+
----------------------------------
|
3
|
+
UserTest: test_has_many_identities
|
4
|
+
----------------------------------
|
5
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
+
---------------------------------
|
8
|
+
SimpleMobileOauthTest: test_truth
|
9
|
+
---------------------------------
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12
|
+
[1m[35m (16.3ms)[0m select sqlite_version(*)
|
13
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
14
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15
|
+
Migrating to CreateUsers (20141216003747)
|
16
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
18
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141216003747"]]
|
19
|
+
[1m[35m (1.2ms)[0m commit transaction
|
20
|
+
Migrating to SimpleMobileOauthMigration (20141216003803)
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "identities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifiable_id" integer, "identifiable_type" varchar(255), "image" varchar(255), "uid" varchar(255) NOT NULL, "provider" varchar(255) NOT NULL, "info" text, "created_at" datetime, "updated_at" datetime)
|
23
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141216003803"]]
|
24
|
+
[1m[35m (2.1ms)[0m commit transaction
|
25
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27
|
+
[1m[35m (0.1ms)[0m begin transaction
|
28
|
+
---------------------------------
|
29
|
+
SimpleMobileOauthTest: test_truth
|
30
|
+
---------------------------------
|
31
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33
|
+
----------------------------------
|
34
|
+
UserTest: test_has_many_identities
|
35
|
+
----------------------------------
|
36
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-16 00:47:37.232695"], ["updated_at", "2014-12-16 00:47:37.232695"]]
|
38
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40
|
+
[1m[36mIdentity Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "identities" WHERE ("identities"."uid" = 'abc' AND "identities"."provider" = 'provider' AND "identities"."identifiable_type" = 'User') LIMIT 1[0m
|
41
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "identities" ("created_at", "identifiable_id", "identifiable_type", "info", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-12-16 00:47:37.390521"], ["identifiable_id", 1], ["identifiable_type", "User"], ["info", "null"], ["provider", "provider"], ["uid", "abc"], ["updated_at", "2014-12-16 00:47:37.390521"]]
|
42
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
44
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46
|
+
---------------------------------
|
47
|
+
SimpleMobileOauthTest: test_truth
|
48
|
+
---------------------------------
|
49
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
50
|
+
[1m[35m (0.0ms)[0m begin transaction
|
51
|
+
----------------------------------
|
52
|
+
UserTest: test_has_many_identities
|
53
|
+
----------------------------------
|
54
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
55
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-16 00:47:50.121397"], ["updated_at", "2014-12-16 00:47:50.121397"]]
|
56
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
57
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
58
|
+
[1m[36mIdentity Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "identities" WHERE ("identities"."uid" = 'abc' AND "identities"."provider" = 'provider' AND "identities"."identifiable_type" = 'User') LIMIT 1[0m
|
59
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "identities" ("created_at", "identifiable_id", "identifiable_type", "info", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-12-16 00:47:50.174806"], ["identifiable_id", 1], ["identifiable_type", "User"], ["info", "null"], ["provider", "provider"], ["uid", "abc"], ["updated_at", "2014-12-16 00:47:50.174806"]]
|
60
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
61
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
data/test/user_test.rb
ADDED
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple_mobile_oauth
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lin He
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.1.6
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.1.6
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Very Heyook projects opinionated mobile OAuth solution.
|
42
|
+
email:
|
43
|
+
- he9lin@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- lib/generators/active_record/simple_mobile_oauth_generator.rb
|
49
|
+
- lib/generators/simple_mobile_oauth/install_generator.rb
|
50
|
+
- lib/generators/simple_mobile_oauth/simple_mobile_oauth_generator.rb
|
51
|
+
- lib/generators/templates/identity.rb
|
52
|
+
- lib/generators/templates/migration.rb
|
53
|
+
- lib/simple_mobile_oauth/authenticator.rb
|
54
|
+
- lib/simple_mobile_oauth/identifiable.rb
|
55
|
+
- lib/simple_mobile_oauth/version.rb
|
56
|
+
- lib/simple_mobile_oauth.rb
|
57
|
+
- lib/tasks/simple_mobile_oauth_tasks.rake
|
58
|
+
- MIT-LICENSE
|
59
|
+
- Rakefile
|
60
|
+
- test/dummy/app/assets/javascripts/application.js
|
61
|
+
- test/dummy/app/assets/stylesheets/application.css
|
62
|
+
- test/dummy/app/controllers/application_controller.rb
|
63
|
+
- test/dummy/app/helpers/application_helper.rb
|
64
|
+
- test/dummy/app/models/identity.rb
|
65
|
+
- test/dummy/app/models/user.rb
|
66
|
+
- test/dummy/app/views/layouts/application.html.erb
|
67
|
+
- test/dummy/bin/bundle
|
68
|
+
- test/dummy/bin/rails
|
69
|
+
- test/dummy/bin/rake
|
70
|
+
- test/dummy/config/application.rb
|
71
|
+
- test/dummy/config/boot.rb
|
72
|
+
- test/dummy/config/database.yml
|
73
|
+
- test/dummy/config/environment.rb
|
74
|
+
- test/dummy/config/environments/development.rb
|
75
|
+
- test/dummy/config/environments/production.rb
|
76
|
+
- test/dummy/config/environments/test.rb
|
77
|
+
- test/dummy/config/initializers/assets.rb
|
78
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
79
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
80
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
81
|
+
- test/dummy/config/initializers/inflections.rb
|
82
|
+
- test/dummy/config/initializers/mime_types.rb
|
83
|
+
- test/dummy/config/initializers/session_store.rb
|
84
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
85
|
+
- test/dummy/config/locales/en.yml
|
86
|
+
- test/dummy/config/routes.rb
|
87
|
+
- test/dummy/config/secrets.yml
|
88
|
+
- test/dummy/config.ru
|
89
|
+
- test/dummy/db/development.sqlite3
|
90
|
+
- test/dummy/db/migrate/20141216003747_create_users.rb
|
91
|
+
- test/dummy/db/migrate/20141216003803_simple_mobile_oauth_migration.rb
|
92
|
+
- test/dummy/db/schema.rb
|
93
|
+
- test/dummy/db/test.sqlite3
|
94
|
+
- test/dummy/log/development.log
|
95
|
+
- test/dummy/log/test.log
|
96
|
+
- test/dummy/public/404.html
|
97
|
+
- test/dummy/public/422.html
|
98
|
+
- test/dummy/public/500.html
|
99
|
+
- test/dummy/public/favicon.ico
|
100
|
+
- test/dummy/Rakefile
|
101
|
+
- test/dummy/README.rdoc
|
102
|
+
- test/dummy/test/fixtures/users.yml
|
103
|
+
- test/simple_mobile_oauth_test.rb
|
104
|
+
- test/test_helper.rb
|
105
|
+
- test/user_test.rb
|
106
|
+
homepage: https://bitbucket.org/he9lin/simple_mobile_oauth
|
107
|
+
licenses:
|
108
|
+
- MIT
|
109
|
+
metadata: {}
|
110
|
+
post_install_message:
|
111
|
+
rdoc_options: []
|
112
|
+
require_paths:
|
113
|
+
- lib
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
requirements: []
|
125
|
+
rubyforge_project:
|
126
|
+
rubygems_version: 2.0.14
|
127
|
+
signing_key:
|
128
|
+
specification_version: 4
|
129
|
+
summary: Very Heyook projects opinionated mobile OAuth solution.
|
130
|
+
test_files:
|
131
|
+
- test/dummy/app/assets/javascripts/application.js
|
132
|
+
- test/dummy/app/assets/stylesheets/application.css
|
133
|
+
- test/dummy/app/controllers/application_controller.rb
|
134
|
+
- test/dummy/app/helpers/application_helper.rb
|
135
|
+
- test/dummy/app/models/identity.rb
|
136
|
+
- test/dummy/app/models/user.rb
|
137
|
+
- test/dummy/app/views/layouts/application.html.erb
|
138
|
+
- test/dummy/bin/bundle
|
139
|
+
- test/dummy/bin/rails
|
140
|
+
- test/dummy/bin/rake
|
141
|
+
- test/dummy/config/application.rb
|
142
|
+
- test/dummy/config/boot.rb
|
143
|
+
- test/dummy/config/database.yml
|
144
|
+
- test/dummy/config/environment.rb
|
145
|
+
- test/dummy/config/environments/development.rb
|
146
|
+
- test/dummy/config/environments/production.rb
|
147
|
+
- test/dummy/config/environments/test.rb
|
148
|
+
- test/dummy/config/initializers/assets.rb
|
149
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
150
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
151
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
152
|
+
- test/dummy/config/initializers/inflections.rb
|
153
|
+
- test/dummy/config/initializers/mime_types.rb
|
154
|
+
- test/dummy/config/initializers/session_store.rb
|
155
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
156
|
+
- test/dummy/config/locales/en.yml
|
157
|
+
- test/dummy/config/routes.rb
|
158
|
+
- test/dummy/config/secrets.yml
|
159
|
+
- test/dummy/config.ru
|
160
|
+
- test/dummy/db/development.sqlite3
|
161
|
+
- test/dummy/db/migrate/20141216003747_create_users.rb
|
162
|
+
- test/dummy/db/migrate/20141216003803_simple_mobile_oauth_migration.rb
|
163
|
+
- test/dummy/db/schema.rb
|
164
|
+
- test/dummy/db/test.sqlite3
|
165
|
+
- test/dummy/log/development.log
|
166
|
+
- test/dummy/log/test.log
|
167
|
+
- test/dummy/public/404.html
|
168
|
+
- test/dummy/public/422.html
|
169
|
+
- test/dummy/public/500.html
|
170
|
+
- test/dummy/public/favicon.ico
|
171
|
+
- test/dummy/Rakefile
|
172
|
+
- test/dummy/README.rdoc
|
173
|
+
- test/dummy/test/fixtures/users.yml
|
174
|
+
- test/simple_mobile_oauth_test.rb
|
175
|
+
- test/test_helper.rb
|
176
|
+
- test/user_test.rb
|
177
|
+
has_rdoc:
|