we_bridge_rails_engine_users 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/users.js +2 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/assets/stylesheets/users.css +4 -0
- data/app/controllers/sessions_controller.rb +82 -0
- data/app/controllers/users_controller.rb +9 -0
- data/app/helpers/users_helper.rb +2 -0
- data/app/models/person.rb +13 -0
- data/app/models/person_name.rb +6 -0
- data/app/models/person_name_text.rb +24 -0
- data/app/models/person_status.rb +2 -0
- data/app/models/person_text.rb +4 -0
- data/app/models/user.rb +12 -0
- data/app/models/user_account.rb +13 -0
- data/app/models/user_text.rb +13 -0
- data/app/views/sessions/login.html.builder +23 -0
- data/app/views/users/_form.html.builder +14 -0
- data/app/views/users/edit.html.builder +1 -0
- data/app/views/users/index.html.builder +1 -0
- data/app/views/users/new.html.builder +1 -0
- data/app/views/users/show.html.builder +1 -0
- data/config/routes.rb +14 -0
- data/db/migrate/20150611132719_add_sessions_table.rb +12 -0
- data/db/migrate/20150612005752_create_people.rb +41 -0
- data/db/migrate/20150712132226_add_users.rb +41 -0
- data/lib/tasks/we_bridge_rails_engine_langs_tasks.rake +4 -0
- data/lib/we_bridge_rails_engine_users.rb +16 -0
- data/lib/we_bridge_rails_engine_users/application_controller.rb +41 -0
- data/lib/we_bridge_rails_engine_users/engine.rb +13 -0
- data/lib/we_bridge_rails_engine_users/provider_settings.rb +76 -0
- data/lib/we_bridge_rails_engine_users/version.rb +3 -0
- data/spec/controllers/sessions_controller_spec.rb +95 -0
- data/spec/controllers/users_controller_spec.rb +182 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +16 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.builder +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/provider_settings.rb +2 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/omniauth.yml +63 -0
- data/spec/dummy/config/omniauth.yml.org +63 -0
- data/spec/dummy/config/routes.rb +56 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150803101150_create_langs.rb +20 -0
- data/spec/dummy/db/schema.rb +134 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +6092 -0
- data/spec/dummy/log/test.log +17718 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/95kd6PNg5I5Dn8j-ds2kESZ4yqJWDlUtJlRkBYcHG9I.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9HedZDeYq2v6HBA9bD890T4cGZibttejhDq0xfEW1OA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Cgic9Tyvkk6sqvxCRHMOht8-YWqOpKEbwWLaLUhtCu8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DztYUoD64LBf1ciKDNbwfU3ggD7rYJ4R0V_4HPJxzL4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EQFBBT0dblIxqvZw8BbpahKH5sRVDrYirvYcxKXzg6s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G4HidZB-L5zKNezfe7O20FU58YFyoibIF0zyMpkigNA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H5b9tPX4ofo6fe6MRg91ChMHmowlsYkfUKJ9b0NUPIU.cache +3 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HYpkPupwGozKHs5qChj3sJ-IhRP-YDSiqc-n_hQB1RU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N4s9e38lth9IeIVQYEn7L9iPWJJEt_FeNaWXgogeW80.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OvqhBxVGrgbFQCuriofYnoMd-Hh6MyK7cCQHpSQ6mY8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Px2rpH6lCQmniOcJktyX-jHQL2GJFj42xgRDMwftICg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TFk4N5unhxWMiNeFWRf2BmB7KZ2y9c6v4RR7SWHFSl8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/To7LnOAuTthN8xMQdWQRC_bDQ1AeR2Jt1SihvBvu7VM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Tuk6Xmd6rNalBiAHW2q9yxztUsaXh6vGBN4kuwW4coo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UthTiMoUK3z7QvIjgYJBlSTzwZ37UE-dam-92yUeRlg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VhMjuakubXLw9TGrYLMTshl1haIqjdUQDFmrtWqFg48.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W6OPXh5hmWxHo1cCFc6MpmejeEJM-OWXJkmXVnoDdjk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ivn9YXCSjX-45u61mNupKlBqHNTDKvF7tsbBnXjtu3o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iyOlCOrvKIBBbvSO3lENE8lJeeFJpDFUKEP4NAUTizg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/j7FsLjc9QBY0x2gZy--i0nskAf-2VCkQ5tCr7M1FKww.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kR7RRgmwH5OahOaSgGVRid1-zpVfnzh9ktcpTc2r8U8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mAcPZ6Lxmw7lRLF2rOOauuET5gBKl9QaZJgnOkL56Uw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mOtV0PLRbjn4_sQL0ZHsuAv79ctsBmFq0tLYtQFngZs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/msJs71sOQgd6VP4kducGvRsZ3uZNW4d_vksrGcVZtH4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pCDWkYCgTWLKByBqi8TDJneTltLoW9rReMGsBiGm9Uo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pOOmld85ShNKx5kGi9BubXdV_VZJntx0EoTivl0-bBM.cache +1 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/users.rb +6 -0
- data/spec/helpers/users_helper_spec.rb +15 -0
- data/spec/models/user_spec.rb +5 -0
- data/spec/omniauth.yml +63 -0
- data/spec/rails_helper.rb +54 -0
- data/spec/routing/users_routing_spec.rb +31 -0
- data/spec/spec_helper.rb +95 -0
- data/spec/views/users/edit.html.builder_spec.rb +16 -0
- data/spec/views/users/index.html.builder_spec.rb +16 -0
- data/spec/views/users/new.html.builder_spec.rb +14 -0
- data/spec/views/users/show.html.builder_spec.rb +13 -0
- metadata +383 -0
@@ -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,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/application.js?type=application/javascript&id=b05851195ceb4e46c1a5a38142584655630044c02ae5e6a12f53e6f543be3883:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�5�Xc�u�b��{&LG�H��Ύƻ�����,%�
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�RH���=kՎ�!1�d/_-�����6^�
|
@@ -0,0 +1,3 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{
|
3
|
+
I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"ufile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/application.css;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
"%��B�����șo�$'�A�d��L���xR�U
|
@@ -0,0 +1 @@
|
|
1
|
+
"%����"m�J���S��E�j!�/�d�]�/[���
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=9c2ba62a80c80c834f741cd554bec0e435d7a66c966f3f31ccb1aa6f982d16a9:ET
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=058db71e67716e9a725795cbace8f69d5a155d829b931453694f780e014c74e3:ET
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"ufile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
"%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"tfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTI"`file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images;TTI"gfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images/jquery;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts;TTI"lfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/jquery;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets;TTI"lfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/jquery;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"kfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images/jquery_ujs;TTI"pfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/jquery_ujs;TTI"pfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/jquery_ujs;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
"%X�p5����9~]~BK�����s��}^���%
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=e98828bc3a5ed0ee25dcce6352bb717ca4928a70534ff145f9810a13b537052c:ET
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/application.css?type=text/css&id=50a1374ca4d9361d65cafe39180c31e235914050f59d4ebbeef3114dda622824:ET
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"tfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/application.js;TTI"`file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images;TTI"gfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images/jquery;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts;TTI"lfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/jquery;TTI"efile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets;TTI"lfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/jquery;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"kfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/images/jquery_ujs;TTI"pfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/javascripts/jquery_ujs;TTI"pfile-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/spec/dummy/app/assets/stylesheets/jquery_ujs;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTI"�file-digest:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�file:///Users/shinjiro/git/we_bridge_rails_engine_users/vendor/bundle/ruby/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=10804adba18562c30d51347e86251fa80237d7e8caadc8cfb2a6f7cd8bbdd404:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
24288
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
# Specs in this file have access to a helper object that includes
|
4
|
+
# the UsersHelper. For example:
|
5
|
+
#
|
6
|
+
# describe UsersHelper do
|
7
|
+
# describe "string concat" do
|
8
|
+
# it "concats two strings with spaces" do
|
9
|
+
# expect(helper.concat_strings("this","that")).to eq("this that")
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
# end
|
13
|
+
RSpec.describe UsersHelper, type: :helper do
|
14
|
+
pending "add some examples to (or delete) #{__FILE__}"
|
15
|
+
end
|
data/spec/omniauth.yml
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
production: &production
|
2
|
+
twitter:
|
3
|
+
key: "dummy.twitter"
|
4
|
+
secret: "secret"
|
5
|
+
facebook:
|
6
|
+
key: "dummy.facebook"
|
7
|
+
secret: "secret"
|
8
|
+
scope: ""
|
9
|
+
google_oauth2:
|
10
|
+
key: "dummy.apps.googleusercontent.com"
|
11
|
+
secret: "secret"
|
12
|
+
scope: "email,profile"
|
13
|
+
name: "google"
|
14
|
+
github:
|
15
|
+
key:
|
16
|
+
secret: "secret"
|
17
|
+
scope: "user,public_repo"
|
18
|
+
hatena:
|
19
|
+
key:
|
20
|
+
secret:
|
21
|
+
linkedin:
|
22
|
+
key:
|
23
|
+
secret:
|
24
|
+
scope: 'r_basicprofile r_emailaddress r_network'
|
25
|
+
fields:
|
26
|
+
- "id"
|
27
|
+
- "first-name"
|
28
|
+
- "last-name"
|
29
|
+
- "formatted-name"
|
30
|
+
- "headline"
|
31
|
+
- "location"
|
32
|
+
- "industry"
|
33
|
+
- "summary"
|
34
|
+
- "specialties"
|
35
|
+
- "positions"
|
36
|
+
- "picture-url"
|
37
|
+
- "public-profile-url" # in r_basicprofile
|
38
|
+
- "email-address" # in r_emailaddress
|
39
|
+
- "connections" # in r_network
|
40
|
+
mixi:
|
41
|
+
key:
|
42
|
+
secret:
|
43
|
+
|
44
|
+
development: &development
|
45
|
+
<<: *production
|
46
|
+
twitter:
|
47
|
+
key:
|
48
|
+
secret:
|
49
|
+
facebook:
|
50
|
+
key:
|
51
|
+
secret:
|
52
|
+
google_oauth2:
|
53
|
+
key: "dummy.apps.googleusercontent.com"
|
54
|
+
secret: "secret"
|
55
|
+
name: "google"
|
56
|
+
github:
|
57
|
+
key:
|
58
|
+
secret:
|
59
|
+
mixi:
|
60
|
+
key:
|
61
|
+
secret:
|
62
|
+
test:
|
63
|
+
<<: *development
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
|
+
require File.expand_path('../dummy/config/environment', __FILE__)
|
4
|
+
# Prevent database truncation if the environment is production
|
5
|
+
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
6
|
+
require 'spec_helper'
|
7
|
+
require 'rspec/rails'
|
8
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
11
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
12
|
+
# run as spec files by default. This means that files in spec/support that end
|
13
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
14
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
15
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
16
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
17
|
+
#
|
18
|
+
# The following line is provided for convenience purposes. It has the downside
|
19
|
+
# of increasing the boot-up time by auto-requiring all files in the support
|
20
|
+
# directory. Alternatively, in the individual `*_spec.rb` files, manually
|
21
|
+
# require only the support files necessary.
|
22
|
+
#
|
23
|
+
# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
24
|
+
|
25
|
+
# Checks for pending migrations before tests are run.
|
26
|
+
# If you are not using ActiveRecord, you can remove this line.
|
27
|
+
ActiveRecord::Migration.maintain_test_schema!
|
28
|
+
|
29
|
+
RSpec.configure do |config|
|
30
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
31
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
32
|
+
|
33
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
34
|
+
# examples within a transaction, remove the following line or assign false
|
35
|
+
# instead of true.
|
36
|
+
config.use_transactional_fixtures = true
|
37
|
+
|
38
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
39
|
+
# based on their file location, for example enabling you to call `get` and
|
40
|
+
# `post` in specs under `spec/controllers`.
|
41
|
+
#
|
42
|
+
# You can disable this behaviour by removing the line below, and instead
|
43
|
+
# explicitly tag your specs with their type, e.g.:
|
44
|
+
#
|
45
|
+
# RSpec.describe UsersController, :type => :controller do
|
46
|
+
# # ...
|
47
|
+
# end
|
48
|
+
#
|
49
|
+
# The different available types are documented in the features, such as in
|
50
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
51
|
+
config.infer_spec_type_from_file_location!
|
52
|
+
end
|
53
|
+
|
54
|
+
ActiveRecord::Migrator.migrations_paths = %w(db/migrate spec/dummy/db/migrate)
|