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,31 @@
|
|
1
|
+
require "rails_helper"
|
2
|
+
|
3
|
+
RSpec.describe UsersController, type: :routing do
|
4
|
+
describe "routing" do
|
5
|
+
|
6
|
+
it "routes to #index" do
|
7
|
+
expect(:get => "/users").to route_to("users#index")
|
8
|
+
end
|
9
|
+
|
10
|
+
it "routes to #show" do
|
11
|
+
expect(:get => "/users/1").to route_to("users#show", :id => "1")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "routes to #edit" do
|
15
|
+
expect(:get => "/users/1/edit").to route_to("users#edit", :id => "1")
|
16
|
+
end
|
17
|
+
|
18
|
+
it "routes to #update via PUT" do
|
19
|
+
expect(:put => "/users/1").to route_to("users#update", :id => "1")
|
20
|
+
end
|
21
|
+
|
22
|
+
it "routes to #update via PATCH" do
|
23
|
+
expect(:patch => "/users/1").to route_to("users#update", :id => "1")
|
24
|
+
end
|
25
|
+
|
26
|
+
it "routes to #destroy" do
|
27
|
+
expect(:delete => "/users/1").to route_to("users#destroy", :id => "1")
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
33
|
+
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
42
|
+
|
43
|
+
# The settings below are suggested to provide a good initial experience
|
44
|
+
# with RSpec, but feel free to customize to your heart's content.
|
45
|
+
=begin
|
46
|
+
# These two settings work together to allow you to limit a spec run
|
47
|
+
# to individual examples or groups you care about by tagging them with
|
48
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
49
|
+
# get run.
|
50
|
+
config.filter_run :focus
|
51
|
+
config.run_all_when_everything_filtered = true
|
52
|
+
|
53
|
+
# Allows RSpec to persist some state between runs in order to support
|
54
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
55
|
+
# you configure your source control system to ignore this file.
|
56
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
57
|
+
|
58
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
59
|
+
# recommended. For more details, see:
|
60
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
61
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
62
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
63
|
+
config.disable_monkey_patching!
|
64
|
+
|
65
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
66
|
+
# file, and it's useful to allow more verbose output when running an
|
67
|
+
# individual spec file.
|
68
|
+
if config.files_to_run.one?
|
69
|
+
# Use the documentation formatter for detailed output,
|
70
|
+
# unless a formatter has already been configured
|
71
|
+
# (e.g. via a command-line flag).
|
72
|
+
config.default_formatter = 'doc'
|
73
|
+
end
|
74
|
+
|
75
|
+
# Print the 10 slowest examples and example groups at the
|
76
|
+
# end of the spec run, to help surface which specs are running
|
77
|
+
# particularly slow.
|
78
|
+
config.profile_examples = 10
|
79
|
+
|
80
|
+
# Run specs in random order to surface order dependencies. If you find an
|
81
|
+
# order dependency and want to debug it, you can fix the order by providing
|
82
|
+
# the seed, which is printed after each run.
|
83
|
+
# --seed 1234
|
84
|
+
config.order = :random
|
85
|
+
|
86
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
87
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
88
|
+
# test failures related to randomization by passing the same `--seed` value
|
89
|
+
# as the one that triggered the failure.
|
90
|
+
Kernel.srand config.seed
|
91
|
+
=end
|
92
|
+
end
|
93
|
+
|
94
|
+
require 'omniauth'
|
95
|
+
OmniAuth.config.test_mode = true
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe "users/edit", type: :view do
|
4
|
+
let(:model){ User }
|
5
|
+
let(:valid_attributes){ {email: 'tester@baseball-bridge.org', lang_id: 1} }
|
6
|
+
before(:each) do
|
7
|
+
@record = assign(:user, model.create!(valid_attributes))
|
8
|
+
end
|
9
|
+
|
10
|
+
it "renders the edit user form" do
|
11
|
+
render
|
12
|
+
|
13
|
+
assert_select "form[action=?][method=?]", user_path(@record), "post" do
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe "users/index", type: :view do
|
4
|
+
let(:model){ User }
|
5
|
+
let(:valid_attributes){ {email: 'tester@baseball-bridge.org', lang_id: 1} }
|
6
|
+
before(:each) do
|
7
|
+
assign(:records, [
|
8
|
+
model.create!(valid_attributes),
|
9
|
+
model.create!(valid_attributes)
|
10
|
+
])
|
11
|
+
end
|
12
|
+
|
13
|
+
it "renders a list of users" do
|
14
|
+
render
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe "users/new", type: :view do
|
4
|
+
before(:each) do
|
5
|
+
assign(:user, User.new())
|
6
|
+
end
|
7
|
+
|
8
|
+
it "renders new user form" do
|
9
|
+
render
|
10
|
+
|
11
|
+
assert_select "form[action=?][method=?]", users_path, "post" do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe "users/show", type: :view do
|
4
|
+
let(:model){ User }
|
5
|
+
let(:valid_attributes){ {email: 'tester@baseball-bridge.org', lang_id: 1} }
|
6
|
+
before(:each) do
|
7
|
+
@record = assign(:record, model.create!(valid_attributes))
|
8
|
+
end
|
9
|
+
|
10
|
+
it "renders attributes in <p>" do
|
11
|
+
render
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,383 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: we_bridge_rails_engine_users
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shinjiro Itagaki
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-11 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.2.3
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activerecord-mlang
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: we_bridge-html_builder
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: actionview-helpers-auto_tag_helper
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: we_bridge-auto_view_helper
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: we_bridge-exceptions
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.1.1
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.1.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: we_bridge_rails_engine_langs
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sqlite3
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec-rails
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: factory_girl_rails
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: show, create, edit and delete user.
|
154
|
+
email:
|
155
|
+
- ishinjiroster@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- MIT-LICENSE
|
161
|
+
- README.rdoc
|
162
|
+
- Rakefile
|
163
|
+
- app/assets/javascripts/users.js
|
164
|
+
- app/assets/stylesheets/scaffold.css
|
165
|
+
- app/assets/stylesheets/users.css
|
166
|
+
- app/controllers/sessions_controller.rb
|
167
|
+
- app/controllers/users_controller.rb
|
168
|
+
- app/helpers/users_helper.rb
|
169
|
+
- app/models/person.rb
|
170
|
+
- app/models/person_name.rb
|
171
|
+
- app/models/person_name_text.rb
|
172
|
+
- app/models/person_status.rb
|
173
|
+
- app/models/person_text.rb
|
174
|
+
- app/models/user.rb
|
175
|
+
- app/models/user_account.rb
|
176
|
+
- app/models/user_text.rb
|
177
|
+
- app/views/sessions/login.html.builder
|
178
|
+
- app/views/users/_form.html.builder
|
179
|
+
- app/views/users/edit.html.builder
|
180
|
+
- app/views/users/index.html.builder
|
181
|
+
- app/views/users/new.html.builder
|
182
|
+
- app/views/users/show.html.builder
|
183
|
+
- config/routes.rb
|
184
|
+
- db/migrate/20150611132719_add_sessions_table.rb
|
185
|
+
- db/migrate/20150612005752_create_people.rb
|
186
|
+
- db/migrate/20150712132226_add_users.rb
|
187
|
+
- lib/tasks/we_bridge_rails_engine_langs_tasks.rake
|
188
|
+
- lib/we_bridge_rails_engine_users.rb
|
189
|
+
- lib/we_bridge_rails_engine_users/application_controller.rb
|
190
|
+
- lib/we_bridge_rails_engine_users/engine.rb
|
191
|
+
- lib/we_bridge_rails_engine_users/provider_settings.rb
|
192
|
+
- lib/we_bridge_rails_engine_users/version.rb
|
193
|
+
- spec/controllers/sessions_controller_spec.rb
|
194
|
+
- spec/controllers/users_controller_spec.rb
|
195
|
+
- spec/dummy/README.rdoc
|
196
|
+
- spec/dummy/Rakefile
|
197
|
+
- spec/dummy/app/assets/javascripts/application.js
|
198
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
199
|
+
- spec/dummy/app/controllers/application_controller.rb
|
200
|
+
- spec/dummy/app/helpers/application_helper.rb
|
201
|
+
- spec/dummy/app/views/layouts/application.html.builder
|
202
|
+
- spec/dummy/bin/bundle
|
203
|
+
- spec/dummy/bin/rails
|
204
|
+
- spec/dummy/bin/rake
|
205
|
+
- spec/dummy/bin/setup
|
206
|
+
- spec/dummy/config.ru
|
207
|
+
- spec/dummy/config/application.rb
|
208
|
+
- spec/dummy/config/boot.rb
|
209
|
+
- spec/dummy/config/database.yml
|
210
|
+
- spec/dummy/config/environment.rb
|
211
|
+
- spec/dummy/config/environments/development.rb
|
212
|
+
- spec/dummy/config/environments/production.rb
|
213
|
+
- spec/dummy/config/environments/test.rb
|
214
|
+
- spec/dummy/config/initializers/assets.rb
|
215
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
216
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
217
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
218
|
+
- spec/dummy/config/initializers/inflections.rb
|
219
|
+
- spec/dummy/config/initializers/mime_types.rb
|
220
|
+
- spec/dummy/config/initializers/provider_settings.rb
|
221
|
+
- spec/dummy/config/initializers/session_store.rb
|
222
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
223
|
+
- spec/dummy/config/locales/en.yml
|
224
|
+
- spec/dummy/config/omniauth.yml
|
225
|
+
- spec/dummy/config/omniauth.yml.org
|
226
|
+
- spec/dummy/config/routes.rb
|
227
|
+
- spec/dummy/config/secrets.yml
|
228
|
+
- spec/dummy/db/development.sqlite3
|
229
|
+
- spec/dummy/db/migrate/20150803101150_create_langs.rb
|
230
|
+
- spec/dummy/db/schema.rb
|
231
|
+
- spec/dummy/db/test.sqlite3
|
232
|
+
- spec/dummy/log/development.log
|
233
|
+
- spec/dummy/log/test.log
|
234
|
+
- spec/dummy/public/404.html
|
235
|
+
- spec/dummy/public/422.html
|
236
|
+
- spec/dummy/public/500.html
|
237
|
+
- spec/dummy/public/favicon.ico
|
238
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/95kd6PNg5I5Dn8j-ds2kESZ4yqJWDlUtJlRkBYcHG9I.cache
|
239
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9HedZDeYq2v6HBA9bD890T4cGZibttejhDq0xfEW1OA.cache
|
240
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Cgic9Tyvkk6sqvxCRHMOht8-YWqOpKEbwWLaLUhtCu8.cache
|
241
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DztYUoD64LBf1ciKDNbwfU3ggD7rYJ4R0V_4HPJxzL4.cache
|
242
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EQFBBT0dblIxqvZw8BbpahKH5sRVDrYirvYcxKXzg6s.cache
|
243
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G4HidZB-L5zKNezfe7O20FU58YFyoibIF0zyMpkigNA.cache
|
244
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H5b9tPX4ofo6fe6MRg91ChMHmowlsYkfUKJ9b0NUPIU.cache
|
245
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HYpkPupwGozKHs5qChj3sJ-IhRP-YDSiqc-n_hQB1RU.cache
|
246
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N4s9e38lth9IeIVQYEn7L9iPWJJEt_FeNaWXgogeW80.cache
|
247
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OvqhBxVGrgbFQCuriofYnoMd-Hh6MyK7cCQHpSQ6mY8.cache
|
248
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Px2rpH6lCQmniOcJktyX-jHQL2GJFj42xgRDMwftICg.cache
|
249
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TFk4N5unhxWMiNeFWRf2BmB7KZ2y9c6v4RR7SWHFSl8.cache
|
250
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/To7LnOAuTthN8xMQdWQRC_bDQ1AeR2Jt1SihvBvu7VM.cache
|
251
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Tuk6Xmd6rNalBiAHW2q9yxztUsaXh6vGBN4kuwW4coo.cache
|
252
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UthTiMoUK3z7QvIjgYJBlSTzwZ37UE-dam-92yUeRlg.cache
|
253
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VhMjuakubXLw9TGrYLMTshl1haIqjdUQDFmrtWqFg48.cache
|
254
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W6OPXh5hmWxHo1cCFc6MpmejeEJM-OWXJkmXVnoDdjk.cache
|
255
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ivn9YXCSjX-45u61mNupKlBqHNTDKvF7tsbBnXjtu3o.cache
|
256
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iyOlCOrvKIBBbvSO3lENE8lJeeFJpDFUKEP4NAUTizg.cache
|
257
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/j7FsLjc9QBY0x2gZy--i0nskAf-2VCkQ5tCr7M1FKww.cache
|
258
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kR7RRgmwH5OahOaSgGVRid1-zpVfnzh9ktcpTc2r8U8.cache
|
259
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mAcPZ6Lxmw7lRLF2rOOauuET5gBKl9QaZJgnOkL56Uw.cache
|
260
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mOtV0PLRbjn4_sQL0ZHsuAv79ctsBmFq0tLYtQFngZs.cache
|
261
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/msJs71sOQgd6VP4kducGvRsZ3uZNW4d_vksrGcVZtH4.cache
|
262
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pCDWkYCgTWLKByBqi8TDJneTltLoW9rReMGsBiGm9Uo.cache
|
263
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pOOmld85ShNKx5kGi9BubXdV_VZJntx0EoTivl0-bBM.cache
|
264
|
+
- spec/dummy/tmp/pids/server.pid
|
265
|
+
- spec/factories/users.rb
|
266
|
+
- spec/helpers/users_helper_spec.rb
|
267
|
+
- spec/models/user_spec.rb
|
268
|
+
- spec/omniauth.yml
|
269
|
+
- spec/rails_helper.rb
|
270
|
+
- spec/routing/users_routing_spec.rb
|
271
|
+
- spec/spec_helper.rb
|
272
|
+
- spec/views/users/edit.html.builder_spec.rb
|
273
|
+
- spec/views/users/index.html.builder_spec.rb
|
274
|
+
- spec/views/users/new.html.builder_spec.rb
|
275
|
+
- spec/views/users/show.html.builder_spec.rb
|
276
|
+
homepage: https://github.com/baseball-bridge/we_bridge_rails_engine_users
|
277
|
+
licenses:
|
278
|
+
- MIT
|
279
|
+
metadata: {}
|
280
|
+
post_install_message:
|
281
|
+
rdoc_options: []
|
282
|
+
require_paths:
|
283
|
+
- lib
|
284
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
285
|
+
requirements:
|
286
|
+
- - ">="
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
version: '0'
|
289
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - ">="
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
requirements: []
|
295
|
+
rubyforge_project:
|
296
|
+
rubygems_version: 2.4.5
|
297
|
+
signing_key:
|
298
|
+
specification_version: 4
|
299
|
+
summary: engine for management users.
|
300
|
+
test_files:
|
301
|
+
- spec/controllers/sessions_controller_spec.rb
|
302
|
+
- spec/controllers/users_controller_spec.rb
|
303
|
+
- spec/dummy/app/assets/javascripts/application.js
|
304
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
305
|
+
- spec/dummy/app/controllers/application_controller.rb
|
306
|
+
- spec/dummy/app/helpers/application_helper.rb
|
307
|
+
- spec/dummy/app/views/layouts/application.html.builder
|
308
|
+
- spec/dummy/bin/bundle
|
309
|
+
- spec/dummy/bin/rails
|
310
|
+
- spec/dummy/bin/rake
|
311
|
+
- spec/dummy/bin/setup
|
312
|
+
- spec/dummy/config/application.rb
|
313
|
+
- spec/dummy/config/boot.rb
|
314
|
+
- spec/dummy/config/database.yml
|
315
|
+
- spec/dummy/config/environment.rb
|
316
|
+
- spec/dummy/config/environments/development.rb
|
317
|
+
- spec/dummy/config/environments/production.rb
|
318
|
+
- spec/dummy/config/environments/test.rb
|
319
|
+
- spec/dummy/config/initializers/assets.rb
|
320
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
321
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
322
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
323
|
+
- spec/dummy/config/initializers/inflections.rb
|
324
|
+
- spec/dummy/config/initializers/mime_types.rb
|
325
|
+
- spec/dummy/config/initializers/provider_settings.rb
|
326
|
+
- spec/dummy/config/initializers/session_store.rb
|
327
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
328
|
+
- spec/dummy/config/locales/en.yml
|
329
|
+
- spec/dummy/config/omniauth.yml
|
330
|
+
- spec/dummy/config/omniauth.yml.org
|
331
|
+
- spec/dummy/config/routes.rb
|
332
|
+
- spec/dummy/config/secrets.yml
|
333
|
+
- spec/dummy/config.ru
|
334
|
+
- spec/dummy/db/development.sqlite3
|
335
|
+
- spec/dummy/db/migrate/20150803101150_create_langs.rb
|
336
|
+
- spec/dummy/db/schema.rb
|
337
|
+
- spec/dummy/db/test.sqlite3
|
338
|
+
- spec/dummy/log/development.log
|
339
|
+
- spec/dummy/log/test.log
|
340
|
+
- spec/dummy/public/404.html
|
341
|
+
- spec/dummy/public/422.html
|
342
|
+
- spec/dummy/public/500.html
|
343
|
+
- spec/dummy/public/favicon.ico
|
344
|
+
- spec/dummy/Rakefile
|
345
|
+
- spec/dummy/README.rdoc
|
346
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/95kd6PNg5I5Dn8j-ds2kESZ4yqJWDlUtJlRkBYcHG9I.cache
|
347
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9HedZDeYq2v6HBA9bD890T4cGZibttejhDq0xfEW1OA.cache
|
348
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Cgic9Tyvkk6sqvxCRHMOht8-YWqOpKEbwWLaLUhtCu8.cache
|
349
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DztYUoD64LBf1ciKDNbwfU3ggD7rYJ4R0V_4HPJxzL4.cache
|
350
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EQFBBT0dblIxqvZw8BbpahKH5sRVDrYirvYcxKXzg6s.cache
|
351
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/G4HidZB-L5zKNezfe7O20FU58YFyoibIF0zyMpkigNA.cache
|
352
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/H5b9tPX4ofo6fe6MRg91ChMHmowlsYkfUKJ9b0NUPIU.cache
|
353
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HYpkPupwGozKHs5qChj3sJ-IhRP-YDSiqc-n_hQB1RU.cache
|
354
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ivn9YXCSjX-45u61mNupKlBqHNTDKvF7tsbBnXjtu3o.cache
|
355
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/iyOlCOrvKIBBbvSO3lENE8lJeeFJpDFUKEP4NAUTizg.cache
|
356
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/j7FsLjc9QBY0x2gZy--i0nskAf-2VCkQ5tCr7M1FKww.cache
|
357
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kR7RRgmwH5OahOaSgGVRid1-zpVfnzh9ktcpTc2r8U8.cache
|
358
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mAcPZ6Lxmw7lRLF2rOOauuET5gBKl9QaZJgnOkL56Uw.cache
|
359
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mOtV0PLRbjn4_sQL0ZHsuAv79ctsBmFq0tLYtQFngZs.cache
|
360
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/msJs71sOQgd6VP4kducGvRsZ3uZNW4d_vksrGcVZtH4.cache
|
361
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N4s9e38lth9IeIVQYEn7L9iPWJJEt_FeNaWXgogeW80.cache
|
362
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OvqhBxVGrgbFQCuriofYnoMd-Hh6MyK7cCQHpSQ6mY8.cache
|
363
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pCDWkYCgTWLKByBqi8TDJneTltLoW9rReMGsBiGm9Uo.cache
|
364
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pOOmld85ShNKx5kGi9BubXdV_VZJntx0EoTivl0-bBM.cache
|
365
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Px2rpH6lCQmniOcJktyX-jHQL2GJFj42xgRDMwftICg.cache
|
366
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TFk4N5unhxWMiNeFWRf2BmB7KZ2y9c6v4RR7SWHFSl8.cache
|
367
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/To7LnOAuTthN8xMQdWQRC_bDQ1AeR2Jt1SihvBvu7VM.cache
|
368
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Tuk6Xmd6rNalBiAHW2q9yxztUsaXh6vGBN4kuwW4coo.cache
|
369
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UthTiMoUK3z7QvIjgYJBlSTzwZ37UE-dam-92yUeRlg.cache
|
370
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VhMjuakubXLw9TGrYLMTshl1haIqjdUQDFmrtWqFg48.cache
|
371
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/v3.0/W6OPXh5hmWxHo1cCFc6MpmejeEJM-OWXJkmXVnoDdjk.cache
|
372
|
+
- spec/dummy/tmp/pids/server.pid
|
373
|
+
- spec/factories/users.rb
|
374
|
+
- spec/helpers/users_helper_spec.rb
|
375
|
+
- spec/models/user_spec.rb
|
376
|
+
- spec/omniauth.yml
|
377
|
+
- spec/rails_helper.rb
|
378
|
+
- spec/routing/users_routing_spec.rb
|
379
|
+
- spec/spec_helper.rb
|
380
|
+
- spec/views/users/edit.html.builder_spec.rb
|
381
|
+
- spec/views/users/index.html.builder_spec.rb
|
382
|
+
- spec/views/users/new.html.builder_spec.rb
|
383
|
+
- spec/views/users/show.html.builder_spec.rb
|