arcadex 1.1.3 → 1.2.0
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 +4 -4
- data/db/migrate/20141020173616_add_max_uses_to_arcadex_tokens.rb +5 -0
- data/lib/arcadex/authentication.rb +45 -51
- data/lib/arcadex/create.rb +2 -1
- data/lib/arcadex/header.rb +8 -21
- data/lib/arcadex/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +2 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +15 -0
- data/test/dummy/log/test.log +35 -0
- data/test/test_app/Gemfile +77 -0
- data/test/test_app/Gemfile.lock +281 -0
- data/test/test_app/README.md +1 -0
- data/test/test_app/Rakefile +6 -0
- data/test/test_app/app/admin/arcadex_token.rb +94 -0
- data/test/test_app/app/admin/dashboard.rb +69 -0
- data/test/test_app/app/admin/defcon_admin_user.rb +99 -0
- data/test/test_app/app/admin/people_user.rb +83 -0
- data/test/test_app/app/assets/javascripts/active_admin.js.coffee +1 -0
- data/test/test_app/app/assets/javascripts/application.js +16 -0
- data/test/test_app/app/assets/stylesheets/active_admin.css.scss +17 -0
- data/test/test_app/app/assets/stylesheets/application.css +13 -0
- data/test/test_app/app/controllers/api/v1/api_controller.rb +71 -0
- data/test/test_app/app/controllers/app_index_controller.rb +4 -0
- data/test/test_app/app/controllers/application_controller.rb +21 -0
- data/test/test_app/app/helpers/application_helper.rb +2 -0
- data/test/test_app/app/views/app_index/app.html.erb +0 -0
- data/test/test_app/app/views/layouts/app_index.html.erb +9 -0
- data/test/test_app/app/views/layouts/application.html.erb +14 -0
- data/test/test_app/bin/bundle +3 -0
- data/test/test_app/bin/rails +4 -0
- data/test/test_app/bin/rake +4 -0
- data/test/test_app/config.ru +4 -0
- data/test/test_app/config/application.rb +27 -0
- data/test/test_app/config/boot.rb +4 -0
- data/test/test_app/config/database.yml +25 -0
- data/test/test_app/config/environment.rb +5 -0
- data/test/test_app/config/environments/development.rb +29 -0
- data/test/test_app/config/environments/production.rb +80 -0
- data/test/test_app/config/environments/test.rb +36 -0
- data/test/test_app/config/initializers/active_admin.rb +252 -0
- data/test/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/test_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/test_app/config/initializers/inflections.rb +16 -0
- data/test/test_app/config/initializers/mime_types.rb +5 -0
- data/test/test_app/config/initializers/secret_token.rb +12 -0
- data/test/test_app/config/initializers/session_store.rb +3 -0
- data/test/test_app/config/initializers/wrap_parameters.rb +14 -0
- data/test/test_app/config/locales/en.yml +23 -0
- data/test/test_app/config/routes.rb +66 -0
- data/test/test_app/config/schedule.rb +20 -0
- data/test/test_app/db/development.sqlite3 +0 -0
- data/test/test_app/db/migrate/20141016225515_create_active_admin_comments.rb +19 -0
- data/test/test_app/db/migrate/20141016225555_create_people_users.people.rb +14 -0
- data/test/test_app/db/migrate/20141016225556_create_arcadex_tokens.arcadex.rb +12 -0
- data/test/test_app/db/migrate/20141016225557_add_index_to_token.arcadex.rb +6 -0
- data/test/test_app/db/migrate/20141016225558_add_first_ip_address_to_arcadex_tokens.arcadex.rb +6 -0
- data/test/test_app/db/migrate/20141016225559_add_current_ip_address_to_arcadex_tokens.arcadex.rb +6 -0
- data/test/test_app/db/migrate/20141016225560_add_times_used_to_arcadex_tokens.arcadex.rb +6 -0
- data/test/test_app/db/migrate/20141016225561_add_expiration_minutes_to_arcadex_tokens.arcadex.rb +6 -0
- data/test/test_app/db/migrate/20141016225562_create_defcon_admin_users.defcon.rb +16 -0
- data/test/test_app/db/migrate/20141016225563_add_index_to_defcon_admin_users.defcon.rb +6 -0
- data/test/test_app/db/migrate/20141016225564_add_email_to_defcon_admin_users.defcon.rb +7 -0
- data/test/test_app/db/migrate/20141020173805_add_max_uses_to_arcadex_tokens.arcadex.rb +6 -0
- data/test/test_app/db/production.sqlite3 +0 -0
- data/test/test_app/db/schema.rb +73 -0
- data/test/test_app/db/seeds.rb +10 -0
- data/test/test_app/db/test.sqlite3 +0 -0
- data/test/test_app/engines/people/Gemfile +14 -0
- data/test/test_app/engines/people/Gemfile.lock +81 -0
- data/test/test_app/engines/people/MIT-LICENSE +20 -0
- data/test/test_app/engines/people/README.md +1 -0
- data/test/test_app/engines/people/Rakefile +34 -0
- data/test/test_app/engines/people/app/assets/javascripts/people/application.js +13 -0
- data/test/test_app/engines/people/app/assets/javascripts/people/users.js +2 -0
- data/test/test_app/engines/people/app/assets/stylesheets/people/application.css +13 -0
- data/test/test_app/engines/people/app/assets/stylesheets/people/users.css +4 -0
- data/test/test_app/engines/people/app/assets/stylesheets/scaffold.css +56 -0
- data/test/test_app/engines/people/app/controllers/people/api/v1/application_controller.rb +5 -0
- data/test/test_app/engines/people/app/controllers/people/api/v1/users_controller.rb +169 -0
- data/test/test_app/engines/people/app/controllers/people/application_controller.rb +4 -0
- data/test/test_app/engines/people/app/controllers/people/users_controller.rb +62 -0
- data/test/test_app/engines/people/app/helpers/people/application_helper.rb +4 -0
- data/test/test_app/engines/people/app/helpers/people/users_helper.rb +4 -0
- data/test/test_app/engines/people/app/models/people/user.rb +9 -0
- data/test/test_app/engines/people/app/models/people/v1/user.rb +32 -0
- data/test/test_app/engines/people/app/serializers/people/v1/user_serializer.rb +43 -0
- data/test/test_app/engines/people/app/views/layouts/people/default/application.html.erb +14 -0
- data/test/test_app/engines/people/app/views/people/users/_form.html.erb +29 -0
- data/test/test_app/engines/people/app/views/people/users/edit.html.erb +6 -0
- data/test/test_app/engines/people/app/views/people/users/index.html.erb +31 -0
- data/test/test_app/engines/people/app/views/people/users/new.html.erb +5 -0
- data/test/test_app/engines/people/app/views/people/users/show.html.erb +19 -0
- data/test/test_app/engines/people/bin/rails +12 -0
- data/test/test_app/engines/people/config/routes.rb +28 -0
- data/test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb +13 -0
- data/test/test_app/engines/people/lib/people.rb +4 -0
- data/test/test_app/engines/people/lib/people/engine.rb +5 -0
- data/test/test_app/engines/people/lib/people/version.rb +3 -0
- data/test/test_app/engines/people/lib/tasks/people_tasks.rake +4 -0
- data/test/test_app/engines/people/people.gemspec +33 -0
- data/test/test_app/engines/people/test/controllers/people/users_controller_test.rb +51 -0
- data/test/test_app/engines/people/test/dummy/README.rdoc +28 -0
- data/test/test_app/engines/people/test/dummy/Rakefile +6 -0
- data/test/test_app/engines/people/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/test_app/engines/people/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/test_app/engines/people/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/test_app/engines/people/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/test_app/engines/people/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/test_app/engines/people/test/dummy/bin/bundle +3 -0
- data/test/test_app/engines/people/test/dummy/bin/rails +4 -0
- data/test/test_app/engines/people/test/dummy/bin/rake +4 -0
- data/test/test_app/engines/people/test/dummy/config.ru +4 -0
- data/test/test_app/engines/people/test/dummy/config/application.rb +23 -0
- data/test/test_app/engines/people/test/dummy/config/boot.rb +5 -0
- data/test/test_app/engines/people/test/dummy/config/database.yml +25 -0
- data/test/test_app/engines/people/test/dummy/config/environment.rb +5 -0
- data/test/test_app/engines/people/test/dummy/config/environments/development.rb +29 -0
- data/test/test_app/engines/people/test/dummy/config/environments/production.rb +80 -0
- data/test/test_app/engines/people/test/dummy/config/environments/test.rb +36 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/test_app/engines/people/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/test_app/engines/people/test/dummy/config/locales/en.yml +23 -0
- data/test/test_app/engines/people/test/dummy/config/routes.rb +4 -0
- data/test/test_app/engines/people/test/dummy/public/404.html +58 -0
- data/test/test_app/engines/people/test/dummy/public/422.html +58 -0
- data/test/test_app/engines/people/test/dummy/public/500.html +57 -0
- data/test/test_app/engines/people/test/dummy/public/favicon.ico +0 -0
- data/test/test_app/engines/people/test/fixtures/people/users.yml +11 -0
- data/test/test_app/engines/people/test/helpers/people/users_helper_test.rb +6 -0
- data/test/test_app/engines/people/test/integration/navigation_test.rb +10 -0
- data/test/test_app/engines/people/test/models/people/user_test.rb +9 -0
- data/test/test_app/engines/people/test/people_test.rb +7 -0
- data/test/test_app/engines/people/test/test_helper.rb +15 -0
- data/test/test_app/gems/authorization/Gemfile +14 -0
- data/test/test_app/gems/authorization/Gemfile.lock +81 -0
- data/test/test_app/gems/authorization/MIT-LICENSE +20 -0
- data/test/test_app/gems/authorization/README.rdoc +3 -0
- data/test/test_app/gems/authorization/Rakefile +32 -0
- data/test/test_app/gems/authorization/authorization.gemspec +22 -0
- data/test/test_app/gems/authorization/lib/authorization.rb +4 -0
- data/test/test_app/gems/authorization/lib/authorization/people/v1/user.rb +90 -0
- data/test/test_app/gems/authorization/lib/authorization/version.rb +3 -0
- data/test/test_app/gems/authorization/lib/tasks/authorization_tasks.rake +4 -0
- data/test/test_app/gems/authorization/test/authorization_test.rb +7 -0
- data/test/test_app/gems/authorization/test/dummy/README.rdoc +28 -0
- data/test/test_app/gems/authorization/test/dummy/Rakefile +6 -0
- data/test/test_app/gems/authorization/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/test_app/gems/authorization/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/test_app/gems/authorization/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/test_app/gems/authorization/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/test_app/gems/authorization/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/test_app/gems/authorization/test/dummy/bin/bundle +3 -0
- data/test/test_app/gems/authorization/test/dummy/bin/rails +4 -0
- data/test/test_app/gems/authorization/test/dummy/bin/rake +4 -0
- data/test/test_app/gems/authorization/test/dummy/config.ru +4 -0
- data/test/test_app/gems/authorization/test/dummy/config/application.rb +23 -0
- data/test/test_app/gems/authorization/test/dummy/config/boot.rb +5 -0
- data/test/test_app/gems/authorization/test/dummy/config/database.yml +25 -0
- data/test/test_app/gems/authorization/test/dummy/config/environment.rb +5 -0
- data/test/test_app/gems/authorization/test/dummy/config/environments/development.rb +29 -0
- data/test/test_app/gems/authorization/test/dummy/config/environments/production.rb +80 -0
- data/test/test_app/gems/authorization/test/dummy/config/environments/test.rb +36 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/test_app/gems/authorization/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/test_app/gems/authorization/test/dummy/config/locales/en.yml +23 -0
- data/test/test_app/gems/authorization/test/dummy/config/routes.rb +56 -0
- data/test/test_app/gems/authorization/test/dummy/public/404.html +58 -0
- data/test/test_app/gems/authorization/test/dummy/public/422.html +58 -0
- data/test/test_app/gems/authorization/test/dummy/public/500.html +57 -0
- data/test/test_app/gems/authorization/test/dummy/public/favicon.ico +0 -0
- data/test/test_app/gems/authorization/test/test_helper.rb +15 -0
- data/test/test_app/log/development.log +79 -0
- data/test/test_app/log/production.log +12 -0
- data/test/test_app/log/test.log +13884 -0
- data/test/test_app/public/404.html +58 -0
- data/test/test_app/public/422.html +58 -0
- data/test/test_app/public/500.html +57 -0
- data/test/test_app/public/favicon.ico +0 -0
- data/test/test_app/public/robots.txt +5 -0
- data/test/test_app/spec/controllers/app_index_controller_spec.rb +12 -0
- data/test/test_app/spec/engines/people/api/v1/models/user_spec.rb +61 -0
- data/test/test_app/spec/engines/people/api/v1/requests/user_spec.rb +244 -0
- data/test/test_app/spec/engines/people/api/v1/routing/user_spec.rb +91 -0
- data/test/test_app/spec/factories/people_user_1_factory.rb +14 -0
- data/test/test_app/spec/rails_helper.rb +47 -0
- data/test/test_app/spec/spec_helper.rb +78 -0
- data/test/test_app/spec/support/factory_girl.rb +16 -0
- data/test/test_app/spec/support/request_helpers.rb +7 -0
- metadata +381 -2
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
require "rails_helper"
|
|
2
|
+
|
|
3
|
+
#The register, login, and logout routes
|
|
4
|
+
RSpec.describe "Users sign up process routing", :type => :routing do
|
|
5
|
+
routes { People::Engine.routes }
|
|
6
|
+
|
|
7
|
+
it "routes to register" do
|
|
8
|
+
expect(:post => "/api/1/users/register").to route_to(
|
|
9
|
+
:controller => "people/api/v1/users",
|
|
10
|
+
:action => "register"
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
it "routes to login" do
|
|
14
|
+
expect(:post => "/api/1/users/login").to route_to(
|
|
15
|
+
:controller => "people/api/v1/users",
|
|
16
|
+
:action => "login"
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
it "routes to logout" do
|
|
20
|
+
expect(:post => "/api/1/users/logout").to route_to(
|
|
21
|
+
:controller => "people/api/v1/users",
|
|
22
|
+
:action => "logout"
|
|
23
|
+
)
|
|
24
|
+
end
|
|
25
|
+
it "routes to authenticate" do
|
|
26
|
+
expect(:post => "/api/1/users/authenticate/1").to route_to(
|
|
27
|
+
:controller => "people/api/v1/users",
|
|
28
|
+
:action => "authenticate",
|
|
29
|
+
:id => "1"
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
it "routes to login_status" do
|
|
33
|
+
expect(:get => "/api/1/users/login_status").to route_to(
|
|
34
|
+
:controller => "people/api/v1/users",
|
|
35
|
+
:action => "login_status"
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
#The standard rest routes for the user controller
|
|
41
|
+
RSpec.describe "Users controller rest routing", :type => :routing do
|
|
42
|
+
routes { People::Engine.routes }
|
|
43
|
+
|
|
44
|
+
it "routes to index" do
|
|
45
|
+
expect(:get => "/api/1/users").to route_to(
|
|
46
|
+
:controller => "people/api/v1/users",
|
|
47
|
+
:action => "index"
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
it "routes to show" do
|
|
51
|
+
expect(:get => "/api/1/users/1").to route_to(
|
|
52
|
+
:controller => "people/api/v1/users",
|
|
53
|
+
:action => "show",
|
|
54
|
+
:id => "1"
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
it "routes to edit" do
|
|
58
|
+
expect(:get => "/api/1/users/1/edit").to route_to(
|
|
59
|
+
:controller => "people/api/v1/users",
|
|
60
|
+
:action => "edit",
|
|
61
|
+
:id => "1"
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
it "routes to create" do
|
|
65
|
+
expect(:post => "/api/1/users/").to route_to(
|
|
66
|
+
:controller => "people/api/v1/users",
|
|
67
|
+
:action => "create"
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
it "routes to update" do
|
|
71
|
+
expect(:put => "/api/1/users/1/").to route_to(
|
|
72
|
+
:controller => "people/api/v1/users",
|
|
73
|
+
:action => "update",
|
|
74
|
+
:id => "1"
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
it "routes to update" do
|
|
78
|
+
expect(:patch => "/api/1/users/1/").to route_to(
|
|
79
|
+
:controller => "people/api/v1/users",
|
|
80
|
+
:action => "update",
|
|
81
|
+
:id => "1"
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
it "routes to delete" do
|
|
85
|
+
expect(:delete => "/api/1/users/1/").to route_to(
|
|
86
|
+
:controller => "people/api/v1/users",
|
|
87
|
+
:action => "destroy",
|
|
88
|
+
:id => "1"
|
|
89
|
+
)
|
|
90
|
+
end
|
|
91
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
FactoryGirl.define do
|
|
2
|
+
sequence :username do |n|
|
|
3
|
+
"username#{n}"
|
|
4
|
+
end
|
|
5
|
+
sequence :email do |n|
|
|
6
|
+
"username#{n}@LaunchU.com"
|
|
7
|
+
end
|
|
8
|
+
factory :people_user_1, class: ::People::V1::User do
|
|
9
|
+
username
|
|
10
|
+
email
|
|
11
|
+
password "password123"
|
|
12
|
+
password_confirmation "password123"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
require File.expand_path("../../config/environment", __FILE__)
|
|
5
|
+
require 'rspec/rails'
|
|
6
|
+
|
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
|
8
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
|
9
|
+
# run as spec files by default. This means that files in spec/support that end
|
|
10
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
|
11
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
|
12
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
|
13
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
|
14
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
|
15
|
+
|
|
16
|
+
# Checks for pending migrations before tests are run.
|
|
17
|
+
# If you are not using ActiveRecord, you can remove this line.
|
|
18
|
+
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
|
|
19
|
+
|
|
20
|
+
RSpec.configure do |config|
|
|
21
|
+
|
|
22
|
+
config.include ::Requests::JsonHelpers, :type => :request
|
|
23
|
+
config.include ::Requests::JsonHelpers, :type => :controller
|
|
24
|
+
|
|
25
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
|
26
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
|
27
|
+
|
|
28
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
|
29
|
+
# examples within a transaction, remove the following line or assign false
|
|
30
|
+
# instead of true.
|
|
31
|
+
config.use_transactional_fixtures = true
|
|
32
|
+
|
|
33
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
|
34
|
+
# based on their file location, for example enabling you to call `get` and
|
|
35
|
+
# `post` in specs under `spec/controllers`.
|
|
36
|
+
#
|
|
37
|
+
# You can disable this behaviour by removing the line below, and instead
|
|
38
|
+
# explicitly tag your specs with their type, e.g.:
|
|
39
|
+
#
|
|
40
|
+
# RSpec.describe UsersController, :type => :controller do
|
|
41
|
+
# # ...
|
|
42
|
+
# end
|
|
43
|
+
#
|
|
44
|
+
# The different available types are documented in the features, such as in
|
|
45
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
|
46
|
+
config.infer_spec_type_from_file_location!
|
|
47
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
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 this
|
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
|
5
|
+
#
|
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
|
8
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
|
9
|
+
# individual file that may not need all of that loaded. Instead, make a
|
|
10
|
+
# separate helper file that requires this one and then use it only in the specs
|
|
11
|
+
# that actually need it.
|
|
12
|
+
#
|
|
13
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
|
14
|
+
# users commonly want.
|
|
15
|
+
#
|
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
17
|
+
RSpec.configure do |config|
|
|
18
|
+
# The settings below are suggested to provide a good initial experience
|
|
19
|
+
# with RSpec, but feel free to customize to your heart's content.
|
|
20
|
+
=begin
|
|
21
|
+
# These two settings work together to allow you to limit a spec run
|
|
22
|
+
# to individual examples or groups you care about by tagging them with
|
|
23
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
24
|
+
# get run.
|
|
25
|
+
config.filter_run :focus
|
|
26
|
+
config.run_all_when_everything_filtered = true
|
|
27
|
+
|
|
28
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
|
29
|
+
# file, and it's useful to allow more verbose output when running an
|
|
30
|
+
# individual spec file.
|
|
31
|
+
if config.files_to_run.one?
|
|
32
|
+
# Use the documentation formatter for detailed output,
|
|
33
|
+
# unless a formatter has already been configured
|
|
34
|
+
# (e.g. via a command-line flag).
|
|
35
|
+
config.default_formatter = 'doc'
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Print the 10 slowest examples and example groups at the
|
|
39
|
+
# end of the spec run, to help surface which specs are running
|
|
40
|
+
# particularly slow.
|
|
41
|
+
config.profile_examples = 10
|
|
42
|
+
|
|
43
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
44
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
45
|
+
# the seed, which is printed after each run.
|
|
46
|
+
# --seed 1234
|
|
47
|
+
config.order = :random
|
|
48
|
+
|
|
49
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
|
50
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
51
|
+
# test failures related to randomization by passing the same `--seed` value
|
|
52
|
+
# as the one that triggered the failure.
|
|
53
|
+
Kernel.srand config.seed
|
|
54
|
+
|
|
55
|
+
# rspec-expectations config goes here. You can use an alternate
|
|
56
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
57
|
+
# assertions if you prefer.
|
|
58
|
+
config.expect_with :rspec do |expectations|
|
|
59
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
|
60
|
+
# For more details, see:
|
|
61
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
|
62
|
+
expectations.syntax = :expect
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
|
66
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
|
67
|
+
config.mock_with :rspec do |mocks|
|
|
68
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
|
69
|
+
# For more details, see:
|
|
70
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
|
71
|
+
mocks.syntax = :expect
|
|
72
|
+
|
|
73
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
|
74
|
+
# a real object. This is generally recommended.
|
|
75
|
+
mocks.verify_partial_doubles = true
|
|
76
|
+
end
|
|
77
|
+
=end
|
|
78
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
RSpec.configure do |config|
|
|
2
|
+
#additional factory_girl configuration
|
|
3
|
+
|
|
4
|
+
# Factory girl methods don't need to be prefaced with FactoryGirl
|
|
5
|
+
config.include FactoryGirl::Syntax::Methods
|
|
6
|
+
|
|
7
|
+
# Best each test suite is run, make sure the factories are valid
|
|
8
|
+
config.before(:suite) do
|
|
9
|
+
begin
|
|
10
|
+
DatabaseCleaner.start
|
|
11
|
+
FactoryGirl.lint
|
|
12
|
+
ensure
|
|
13
|
+
DatabaseCleaner.clean
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arcadex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cleophus Robinson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-10-
|
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -87,6 +87,7 @@ files:
|
|
|
87
87
|
- db/migrate/20140910215118_add_current_ip_address_to_arcadex_tokens.rb
|
|
88
88
|
- db/migrate/20140910215136_add_times_used_to_arcadex_tokens.rb
|
|
89
89
|
- db/migrate/20140910215147_add_expiration_minutes_to_arcadex_tokens.rb
|
|
90
|
+
- db/migrate/20141020173616_add_max_uses_to_arcadex_tokens.rb
|
|
90
91
|
- lib/arcadex.rb
|
|
91
92
|
- lib/arcadex/authentication.rb
|
|
92
93
|
- lib/arcadex/create.rb
|
|
@@ -138,6 +139,195 @@ files:
|
|
|
138
139
|
- test/helpers/arcadex/tokens_helper_test.rb
|
|
139
140
|
- test/integration/navigation_test.rb
|
|
140
141
|
- test/models/arcadex/token_test.rb
|
|
142
|
+
- test/test_app/Gemfile
|
|
143
|
+
- test/test_app/Gemfile.lock
|
|
144
|
+
- test/test_app/README.md
|
|
145
|
+
- test/test_app/Rakefile
|
|
146
|
+
- test/test_app/app/admin/arcadex_token.rb
|
|
147
|
+
- test/test_app/app/admin/dashboard.rb
|
|
148
|
+
- test/test_app/app/admin/defcon_admin_user.rb
|
|
149
|
+
- test/test_app/app/admin/people_user.rb
|
|
150
|
+
- test/test_app/app/assets/javascripts/active_admin.js.coffee
|
|
151
|
+
- test/test_app/app/assets/javascripts/application.js
|
|
152
|
+
- test/test_app/app/assets/stylesheets/active_admin.css.scss
|
|
153
|
+
- test/test_app/app/assets/stylesheets/application.css
|
|
154
|
+
- test/test_app/app/controllers/api/v1/api_controller.rb
|
|
155
|
+
- test/test_app/app/controllers/app_index_controller.rb
|
|
156
|
+
- test/test_app/app/controllers/application_controller.rb
|
|
157
|
+
- test/test_app/app/helpers/application_helper.rb
|
|
158
|
+
- test/test_app/app/views/app_index/app.html.erb
|
|
159
|
+
- test/test_app/app/views/layouts/app_index.html.erb
|
|
160
|
+
- test/test_app/app/views/layouts/application.html.erb
|
|
161
|
+
- test/test_app/bin/bundle
|
|
162
|
+
- test/test_app/bin/rails
|
|
163
|
+
- test/test_app/bin/rake
|
|
164
|
+
- test/test_app/config.ru
|
|
165
|
+
- test/test_app/config/application.rb
|
|
166
|
+
- test/test_app/config/boot.rb
|
|
167
|
+
- test/test_app/config/database.yml
|
|
168
|
+
- test/test_app/config/environment.rb
|
|
169
|
+
- test/test_app/config/environments/development.rb
|
|
170
|
+
- test/test_app/config/environments/production.rb
|
|
171
|
+
- test/test_app/config/environments/test.rb
|
|
172
|
+
- test/test_app/config/initializers/active_admin.rb
|
|
173
|
+
- test/test_app/config/initializers/backtrace_silencers.rb
|
|
174
|
+
- test/test_app/config/initializers/filter_parameter_logging.rb
|
|
175
|
+
- test/test_app/config/initializers/inflections.rb
|
|
176
|
+
- test/test_app/config/initializers/mime_types.rb
|
|
177
|
+
- test/test_app/config/initializers/secret_token.rb
|
|
178
|
+
- test/test_app/config/initializers/session_store.rb
|
|
179
|
+
- test/test_app/config/initializers/wrap_parameters.rb
|
|
180
|
+
- test/test_app/config/locales/en.yml
|
|
181
|
+
- test/test_app/config/routes.rb
|
|
182
|
+
- test/test_app/config/schedule.rb
|
|
183
|
+
- test/test_app/db/development.sqlite3
|
|
184
|
+
- test/test_app/db/migrate/20141016225515_create_active_admin_comments.rb
|
|
185
|
+
- test/test_app/db/migrate/20141016225555_create_people_users.people.rb
|
|
186
|
+
- test/test_app/db/migrate/20141016225556_create_arcadex_tokens.arcadex.rb
|
|
187
|
+
- test/test_app/db/migrate/20141016225557_add_index_to_token.arcadex.rb
|
|
188
|
+
- test/test_app/db/migrate/20141016225558_add_first_ip_address_to_arcadex_tokens.arcadex.rb
|
|
189
|
+
- test/test_app/db/migrate/20141016225559_add_current_ip_address_to_arcadex_tokens.arcadex.rb
|
|
190
|
+
- test/test_app/db/migrate/20141016225560_add_times_used_to_arcadex_tokens.arcadex.rb
|
|
191
|
+
- test/test_app/db/migrate/20141016225561_add_expiration_minutes_to_arcadex_tokens.arcadex.rb
|
|
192
|
+
- test/test_app/db/migrate/20141016225562_create_defcon_admin_users.defcon.rb
|
|
193
|
+
- test/test_app/db/migrate/20141016225563_add_index_to_defcon_admin_users.defcon.rb
|
|
194
|
+
- test/test_app/db/migrate/20141016225564_add_email_to_defcon_admin_users.defcon.rb
|
|
195
|
+
- test/test_app/db/migrate/20141020173805_add_max_uses_to_arcadex_tokens.arcadex.rb
|
|
196
|
+
- test/test_app/db/production.sqlite3
|
|
197
|
+
- test/test_app/db/schema.rb
|
|
198
|
+
- test/test_app/db/seeds.rb
|
|
199
|
+
- test/test_app/db/test.sqlite3
|
|
200
|
+
- test/test_app/engines/people/Gemfile
|
|
201
|
+
- test/test_app/engines/people/Gemfile.lock
|
|
202
|
+
- test/test_app/engines/people/MIT-LICENSE
|
|
203
|
+
- test/test_app/engines/people/README.md
|
|
204
|
+
- test/test_app/engines/people/Rakefile
|
|
205
|
+
- test/test_app/engines/people/app/assets/javascripts/people/application.js
|
|
206
|
+
- test/test_app/engines/people/app/assets/javascripts/people/users.js
|
|
207
|
+
- test/test_app/engines/people/app/assets/stylesheets/people/application.css
|
|
208
|
+
- test/test_app/engines/people/app/assets/stylesheets/people/users.css
|
|
209
|
+
- test/test_app/engines/people/app/assets/stylesheets/scaffold.css
|
|
210
|
+
- test/test_app/engines/people/app/controllers/people/api/v1/application_controller.rb
|
|
211
|
+
- test/test_app/engines/people/app/controllers/people/api/v1/users_controller.rb
|
|
212
|
+
- test/test_app/engines/people/app/controllers/people/application_controller.rb
|
|
213
|
+
- test/test_app/engines/people/app/controllers/people/users_controller.rb
|
|
214
|
+
- test/test_app/engines/people/app/helpers/people/application_helper.rb
|
|
215
|
+
- test/test_app/engines/people/app/helpers/people/users_helper.rb
|
|
216
|
+
- test/test_app/engines/people/app/models/people/user.rb
|
|
217
|
+
- test/test_app/engines/people/app/models/people/v1/user.rb
|
|
218
|
+
- test/test_app/engines/people/app/serializers/people/v1/user_serializer.rb
|
|
219
|
+
- test/test_app/engines/people/app/views/layouts/people/default/application.html.erb
|
|
220
|
+
- test/test_app/engines/people/app/views/people/users/_form.html.erb
|
|
221
|
+
- test/test_app/engines/people/app/views/people/users/edit.html.erb
|
|
222
|
+
- test/test_app/engines/people/app/views/people/users/index.html.erb
|
|
223
|
+
- test/test_app/engines/people/app/views/people/users/new.html.erb
|
|
224
|
+
- test/test_app/engines/people/app/views/people/users/show.html.erb
|
|
225
|
+
- test/test_app/engines/people/bin/rails
|
|
226
|
+
- test/test_app/engines/people/config/routes.rb
|
|
227
|
+
- test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
|
|
228
|
+
- test/test_app/engines/people/lib/people.rb
|
|
229
|
+
- test/test_app/engines/people/lib/people/engine.rb
|
|
230
|
+
- test/test_app/engines/people/lib/people/version.rb
|
|
231
|
+
- test/test_app/engines/people/lib/tasks/people_tasks.rake
|
|
232
|
+
- test/test_app/engines/people/people.gemspec
|
|
233
|
+
- test/test_app/engines/people/test/controllers/people/users_controller_test.rb
|
|
234
|
+
- test/test_app/engines/people/test/dummy/README.rdoc
|
|
235
|
+
- test/test_app/engines/people/test/dummy/Rakefile
|
|
236
|
+
- test/test_app/engines/people/test/dummy/app/assets/javascripts/application.js
|
|
237
|
+
- test/test_app/engines/people/test/dummy/app/assets/stylesheets/application.css
|
|
238
|
+
- test/test_app/engines/people/test/dummy/app/controllers/application_controller.rb
|
|
239
|
+
- test/test_app/engines/people/test/dummy/app/helpers/application_helper.rb
|
|
240
|
+
- test/test_app/engines/people/test/dummy/app/views/layouts/application.html.erb
|
|
241
|
+
- test/test_app/engines/people/test/dummy/bin/bundle
|
|
242
|
+
- test/test_app/engines/people/test/dummy/bin/rails
|
|
243
|
+
- test/test_app/engines/people/test/dummy/bin/rake
|
|
244
|
+
- test/test_app/engines/people/test/dummy/config.ru
|
|
245
|
+
- test/test_app/engines/people/test/dummy/config/application.rb
|
|
246
|
+
- test/test_app/engines/people/test/dummy/config/boot.rb
|
|
247
|
+
- test/test_app/engines/people/test/dummy/config/database.yml
|
|
248
|
+
- test/test_app/engines/people/test/dummy/config/environment.rb
|
|
249
|
+
- test/test_app/engines/people/test/dummy/config/environments/development.rb
|
|
250
|
+
- test/test_app/engines/people/test/dummy/config/environments/production.rb
|
|
251
|
+
- test/test_app/engines/people/test/dummy/config/environments/test.rb
|
|
252
|
+
- test/test_app/engines/people/test/dummy/config/initializers/backtrace_silencers.rb
|
|
253
|
+
- test/test_app/engines/people/test/dummy/config/initializers/filter_parameter_logging.rb
|
|
254
|
+
- test/test_app/engines/people/test/dummy/config/initializers/inflections.rb
|
|
255
|
+
- test/test_app/engines/people/test/dummy/config/initializers/mime_types.rb
|
|
256
|
+
- test/test_app/engines/people/test/dummy/config/initializers/secret_token.rb
|
|
257
|
+
- test/test_app/engines/people/test/dummy/config/initializers/session_store.rb
|
|
258
|
+
- test/test_app/engines/people/test/dummy/config/initializers/wrap_parameters.rb
|
|
259
|
+
- test/test_app/engines/people/test/dummy/config/locales/en.yml
|
|
260
|
+
- test/test_app/engines/people/test/dummy/config/routes.rb
|
|
261
|
+
- test/test_app/engines/people/test/dummy/public/404.html
|
|
262
|
+
- test/test_app/engines/people/test/dummy/public/422.html
|
|
263
|
+
- test/test_app/engines/people/test/dummy/public/500.html
|
|
264
|
+
- test/test_app/engines/people/test/dummy/public/favicon.ico
|
|
265
|
+
- test/test_app/engines/people/test/fixtures/people/users.yml
|
|
266
|
+
- test/test_app/engines/people/test/helpers/people/users_helper_test.rb
|
|
267
|
+
- test/test_app/engines/people/test/integration/navigation_test.rb
|
|
268
|
+
- test/test_app/engines/people/test/models/people/user_test.rb
|
|
269
|
+
- test/test_app/engines/people/test/people_test.rb
|
|
270
|
+
- test/test_app/engines/people/test/test_helper.rb
|
|
271
|
+
- test/test_app/gems/authorization/Gemfile
|
|
272
|
+
- test/test_app/gems/authorization/Gemfile.lock
|
|
273
|
+
- test/test_app/gems/authorization/MIT-LICENSE
|
|
274
|
+
- test/test_app/gems/authorization/README.rdoc
|
|
275
|
+
- test/test_app/gems/authorization/Rakefile
|
|
276
|
+
- test/test_app/gems/authorization/authorization.gemspec
|
|
277
|
+
- test/test_app/gems/authorization/lib/authorization.rb
|
|
278
|
+
- test/test_app/gems/authorization/lib/authorization/people/v1/user.rb
|
|
279
|
+
- test/test_app/gems/authorization/lib/authorization/version.rb
|
|
280
|
+
- test/test_app/gems/authorization/lib/tasks/authorization_tasks.rake
|
|
281
|
+
- test/test_app/gems/authorization/test/authorization_test.rb
|
|
282
|
+
- test/test_app/gems/authorization/test/dummy/README.rdoc
|
|
283
|
+
- test/test_app/gems/authorization/test/dummy/Rakefile
|
|
284
|
+
- test/test_app/gems/authorization/test/dummy/app/assets/javascripts/application.js
|
|
285
|
+
- test/test_app/gems/authorization/test/dummy/app/assets/stylesheets/application.css
|
|
286
|
+
- test/test_app/gems/authorization/test/dummy/app/controllers/application_controller.rb
|
|
287
|
+
- test/test_app/gems/authorization/test/dummy/app/helpers/application_helper.rb
|
|
288
|
+
- test/test_app/gems/authorization/test/dummy/app/views/layouts/application.html.erb
|
|
289
|
+
- test/test_app/gems/authorization/test/dummy/bin/bundle
|
|
290
|
+
- test/test_app/gems/authorization/test/dummy/bin/rails
|
|
291
|
+
- test/test_app/gems/authorization/test/dummy/bin/rake
|
|
292
|
+
- test/test_app/gems/authorization/test/dummy/config.ru
|
|
293
|
+
- test/test_app/gems/authorization/test/dummy/config/application.rb
|
|
294
|
+
- test/test_app/gems/authorization/test/dummy/config/boot.rb
|
|
295
|
+
- test/test_app/gems/authorization/test/dummy/config/database.yml
|
|
296
|
+
- test/test_app/gems/authorization/test/dummy/config/environment.rb
|
|
297
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/development.rb
|
|
298
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/production.rb
|
|
299
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/test.rb
|
|
300
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/backtrace_silencers.rb
|
|
301
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/filter_parameter_logging.rb
|
|
302
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/inflections.rb
|
|
303
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/mime_types.rb
|
|
304
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/secret_token.rb
|
|
305
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/session_store.rb
|
|
306
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/wrap_parameters.rb
|
|
307
|
+
- test/test_app/gems/authorization/test/dummy/config/locales/en.yml
|
|
308
|
+
- test/test_app/gems/authorization/test/dummy/config/routes.rb
|
|
309
|
+
- test/test_app/gems/authorization/test/dummy/public/404.html
|
|
310
|
+
- test/test_app/gems/authorization/test/dummy/public/422.html
|
|
311
|
+
- test/test_app/gems/authorization/test/dummy/public/500.html
|
|
312
|
+
- test/test_app/gems/authorization/test/dummy/public/favicon.ico
|
|
313
|
+
- test/test_app/gems/authorization/test/test_helper.rb
|
|
314
|
+
- test/test_app/log/development.log
|
|
315
|
+
- test/test_app/log/production.log
|
|
316
|
+
- test/test_app/log/test.log
|
|
317
|
+
- test/test_app/public/404.html
|
|
318
|
+
- test/test_app/public/422.html
|
|
319
|
+
- test/test_app/public/500.html
|
|
320
|
+
- test/test_app/public/favicon.ico
|
|
321
|
+
- test/test_app/public/robots.txt
|
|
322
|
+
- test/test_app/spec/controllers/app_index_controller_spec.rb
|
|
323
|
+
- test/test_app/spec/engines/people/api/v1/models/user_spec.rb
|
|
324
|
+
- test/test_app/spec/engines/people/api/v1/requests/user_spec.rb
|
|
325
|
+
- test/test_app/spec/engines/people/api/v1/routing/user_spec.rb
|
|
326
|
+
- test/test_app/spec/factories/people_user_1_factory.rb
|
|
327
|
+
- test/test_app/spec/rails_helper.rb
|
|
328
|
+
- test/test_app/spec/spec_helper.rb
|
|
329
|
+
- test/test_app/spec/support/factory_girl.rb
|
|
330
|
+
- test/test_app/spec/support/request_helpers.rb
|
|
141
331
|
- test/test_helper.rb
|
|
142
332
|
homepage: https://github.com/cleor41/ArcadeX
|
|
143
333
|
licenses: []
|
|
@@ -163,6 +353,195 @@ signing_key:
|
|
|
163
353
|
specification_version: 4
|
|
164
354
|
summary: Provides a token class and functions to use the token for an API
|
|
165
355
|
test_files:
|
|
356
|
+
- test/test_app/Gemfile.lock
|
|
357
|
+
- test/test_app/bin/rake
|
|
358
|
+
- test/test_app/bin/rails
|
|
359
|
+
- test/test_app/bin/bundle
|
|
360
|
+
- test/test_app/public/robots.txt
|
|
361
|
+
- test/test_app/public/404.html
|
|
362
|
+
- test/test_app/public/favicon.ico
|
|
363
|
+
- test/test_app/public/422.html
|
|
364
|
+
- test/test_app/public/500.html
|
|
365
|
+
- test/test_app/config.ru
|
|
366
|
+
- test/test_app/gems/authorization/Gemfile.lock
|
|
367
|
+
- test/test_app/gems/authorization/lib/tasks/authorization_tasks.rake
|
|
368
|
+
- test/test_app/gems/authorization/lib/authorization/people/v1/user.rb
|
|
369
|
+
- test/test_app/gems/authorization/lib/authorization/version.rb
|
|
370
|
+
- test/test_app/gems/authorization/lib/authorization.rb
|
|
371
|
+
- test/test_app/gems/authorization/MIT-LICENSE
|
|
372
|
+
- test/test_app/gems/authorization/test/authorization_test.rb
|
|
373
|
+
- test/test_app/gems/authorization/test/dummy/bin/rake
|
|
374
|
+
- test/test_app/gems/authorization/test/dummy/bin/rails
|
|
375
|
+
- test/test_app/gems/authorization/test/dummy/bin/bundle
|
|
376
|
+
- test/test_app/gems/authorization/test/dummy/public/404.html
|
|
377
|
+
- test/test_app/gems/authorization/test/dummy/public/favicon.ico
|
|
378
|
+
- test/test_app/gems/authorization/test/dummy/public/422.html
|
|
379
|
+
- test/test_app/gems/authorization/test/dummy/public/500.html
|
|
380
|
+
- test/test_app/gems/authorization/test/dummy/config.ru
|
|
381
|
+
- test/test_app/gems/authorization/test/dummy/config/locales/en.yml
|
|
382
|
+
- test/test_app/gems/authorization/test/dummy/config/application.rb
|
|
383
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/mime_types.rb
|
|
384
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/secret_token.rb
|
|
385
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/inflections.rb
|
|
386
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/session_store.rb
|
|
387
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/filter_parameter_logging.rb
|
|
388
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/backtrace_silencers.rb
|
|
389
|
+
- test/test_app/gems/authorization/test/dummy/config/initializers/wrap_parameters.rb
|
|
390
|
+
- test/test_app/gems/authorization/test/dummy/config/routes.rb
|
|
391
|
+
- test/test_app/gems/authorization/test/dummy/config/environment.rb
|
|
392
|
+
- test/test_app/gems/authorization/test/dummy/config/database.yml
|
|
393
|
+
- test/test_app/gems/authorization/test/dummy/config/boot.rb
|
|
394
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/test.rb
|
|
395
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/development.rb
|
|
396
|
+
- test/test_app/gems/authorization/test/dummy/config/environments/production.rb
|
|
397
|
+
- test/test_app/gems/authorization/test/dummy/Rakefile
|
|
398
|
+
- test/test_app/gems/authorization/test/dummy/README.rdoc
|
|
399
|
+
- test/test_app/gems/authorization/test/dummy/app/controllers/application_controller.rb
|
|
400
|
+
- test/test_app/gems/authorization/test/dummy/app/views/layouts/application.html.erb
|
|
401
|
+
- test/test_app/gems/authorization/test/dummy/app/helpers/application_helper.rb
|
|
402
|
+
- test/test_app/gems/authorization/test/dummy/app/assets/javascripts/application.js
|
|
403
|
+
- test/test_app/gems/authorization/test/dummy/app/assets/stylesheets/application.css
|
|
404
|
+
- test/test_app/gems/authorization/test/test_helper.rb
|
|
405
|
+
- test/test_app/gems/authorization/authorization.gemspec
|
|
406
|
+
- test/test_app/gems/authorization/Rakefile
|
|
407
|
+
- test/test_app/gems/authorization/README.rdoc
|
|
408
|
+
- test/test_app/gems/authorization/Gemfile
|
|
409
|
+
- test/test_app/config/locales/en.yml
|
|
410
|
+
- test/test_app/config/application.rb
|
|
411
|
+
- test/test_app/config/schedule.rb
|
|
412
|
+
- test/test_app/config/initializers/mime_types.rb
|
|
413
|
+
- test/test_app/config/initializers/secret_token.rb
|
|
414
|
+
- test/test_app/config/initializers/inflections.rb
|
|
415
|
+
- test/test_app/config/initializers/session_store.rb
|
|
416
|
+
- test/test_app/config/initializers/filter_parameter_logging.rb
|
|
417
|
+
- test/test_app/config/initializers/active_admin.rb
|
|
418
|
+
- test/test_app/config/initializers/backtrace_silencers.rb
|
|
419
|
+
- test/test_app/config/initializers/wrap_parameters.rb
|
|
420
|
+
- test/test_app/config/routes.rb
|
|
421
|
+
- test/test_app/config/environment.rb
|
|
422
|
+
- test/test_app/config/database.yml
|
|
423
|
+
- test/test_app/config/boot.rb
|
|
424
|
+
- test/test_app/config/environments/test.rb
|
|
425
|
+
- test/test_app/config/environments/development.rb
|
|
426
|
+
- test/test_app/config/environments/production.rb
|
|
427
|
+
- test/test_app/db/test.sqlite3
|
|
428
|
+
- test/test_app/db/production.sqlite3
|
|
429
|
+
- test/test_app/db/schema.rb
|
|
430
|
+
- test/test_app/db/migrate/20141016225557_add_index_to_token.arcadex.rb
|
|
431
|
+
- test/test_app/db/migrate/20141016225515_create_active_admin_comments.rb
|
|
432
|
+
- test/test_app/db/migrate/20141016225564_add_email_to_defcon_admin_users.defcon.rb
|
|
433
|
+
- test/test_app/db/migrate/20141020173805_add_max_uses_to_arcadex_tokens.arcadex.rb
|
|
434
|
+
- test/test_app/db/migrate/20141016225563_add_index_to_defcon_admin_users.defcon.rb
|
|
435
|
+
- test/test_app/db/migrate/20141016225560_add_times_used_to_arcadex_tokens.arcadex.rb
|
|
436
|
+
- test/test_app/db/migrate/20141016225556_create_arcadex_tokens.arcadex.rb
|
|
437
|
+
- test/test_app/db/migrate/20141016225559_add_current_ip_address_to_arcadex_tokens.arcadex.rb
|
|
438
|
+
- test/test_app/db/migrate/20141016225562_create_defcon_admin_users.defcon.rb
|
|
439
|
+
- test/test_app/db/migrate/20141016225561_add_expiration_minutes_to_arcadex_tokens.arcadex.rb
|
|
440
|
+
- test/test_app/db/migrate/20141016225555_create_people_users.people.rb
|
|
441
|
+
- test/test_app/db/migrate/20141016225558_add_first_ip_address_to_arcadex_tokens.arcadex.rb
|
|
442
|
+
- test/test_app/db/development.sqlite3
|
|
443
|
+
- test/test_app/db/seeds.rb
|
|
444
|
+
- test/test_app/Rakefile
|
|
445
|
+
- test/test_app/Gemfile
|
|
446
|
+
- test/test_app/README.md
|
|
447
|
+
- test/test_app/app/controllers/app_index_controller.rb
|
|
448
|
+
- test/test_app/app/controllers/api/v1/api_controller.rb
|
|
449
|
+
- test/test_app/app/controllers/application_controller.rb
|
|
450
|
+
- test/test_app/app/admin/people_user.rb
|
|
451
|
+
- test/test_app/app/admin/defcon_admin_user.rb
|
|
452
|
+
- test/test_app/app/admin/dashboard.rb
|
|
453
|
+
- test/test_app/app/admin/arcadex_token.rb
|
|
454
|
+
- test/test_app/app/views/app_index/app.html.erb
|
|
455
|
+
- test/test_app/app/views/layouts/application.html.erb
|
|
456
|
+
- test/test_app/app/views/layouts/app_index.html.erb
|
|
457
|
+
- test/test_app/app/helpers/application_helper.rb
|
|
458
|
+
- test/test_app/app/assets/javascripts/application.js
|
|
459
|
+
- test/test_app/app/assets/javascripts/active_admin.js.coffee
|
|
460
|
+
- test/test_app/app/assets/stylesheets/application.css
|
|
461
|
+
- test/test_app/app/assets/stylesheets/active_admin.css.scss
|
|
462
|
+
- test/test_app/engines/people/Gemfile.lock
|
|
463
|
+
- test/test_app/engines/people/bin/rails
|
|
464
|
+
- test/test_app/engines/people/lib/people.rb
|
|
465
|
+
- test/test_app/engines/people/lib/tasks/people_tasks.rake
|
|
466
|
+
- test/test_app/engines/people/lib/people/engine.rb
|
|
467
|
+
- test/test_app/engines/people/lib/people/version.rb
|
|
468
|
+
- test/test_app/engines/people/MIT-LICENSE
|
|
469
|
+
- test/test_app/engines/people/test/people_test.rb
|
|
470
|
+
- test/test_app/engines/people/test/fixtures/people/users.yml
|
|
471
|
+
- test/test_app/engines/people/test/integration/navigation_test.rb
|
|
472
|
+
- test/test_app/engines/people/test/models/people/user_test.rb
|
|
473
|
+
- test/test_app/engines/people/test/controllers/people/users_controller_test.rb
|
|
474
|
+
- test/test_app/engines/people/test/dummy/bin/rake
|
|
475
|
+
- test/test_app/engines/people/test/dummy/bin/rails
|
|
476
|
+
- test/test_app/engines/people/test/dummy/bin/bundle
|
|
477
|
+
- test/test_app/engines/people/test/dummy/public/404.html
|
|
478
|
+
- test/test_app/engines/people/test/dummy/public/favicon.ico
|
|
479
|
+
- test/test_app/engines/people/test/dummy/public/422.html
|
|
480
|
+
- test/test_app/engines/people/test/dummy/public/500.html
|
|
481
|
+
- test/test_app/engines/people/test/dummy/config.ru
|
|
482
|
+
- test/test_app/engines/people/test/dummy/config/locales/en.yml
|
|
483
|
+
- test/test_app/engines/people/test/dummy/config/application.rb
|
|
484
|
+
- test/test_app/engines/people/test/dummy/config/initializers/mime_types.rb
|
|
485
|
+
- test/test_app/engines/people/test/dummy/config/initializers/secret_token.rb
|
|
486
|
+
- test/test_app/engines/people/test/dummy/config/initializers/inflections.rb
|
|
487
|
+
- test/test_app/engines/people/test/dummy/config/initializers/session_store.rb
|
|
488
|
+
- test/test_app/engines/people/test/dummy/config/initializers/filter_parameter_logging.rb
|
|
489
|
+
- test/test_app/engines/people/test/dummy/config/initializers/backtrace_silencers.rb
|
|
490
|
+
- test/test_app/engines/people/test/dummy/config/initializers/wrap_parameters.rb
|
|
491
|
+
- test/test_app/engines/people/test/dummy/config/routes.rb
|
|
492
|
+
- test/test_app/engines/people/test/dummy/config/environment.rb
|
|
493
|
+
- test/test_app/engines/people/test/dummy/config/database.yml
|
|
494
|
+
- test/test_app/engines/people/test/dummy/config/boot.rb
|
|
495
|
+
- test/test_app/engines/people/test/dummy/config/environments/test.rb
|
|
496
|
+
- test/test_app/engines/people/test/dummy/config/environments/development.rb
|
|
497
|
+
- test/test_app/engines/people/test/dummy/config/environments/production.rb
|
|
498
|
+
- test/test_app/engines/people/test/dummy/Rakefile
|
|
499
|
+
- test/test_app/engines/people/test/dummy/README.rdoc
|
|
500
|
+
- test/test_app/engines/people/test/dummy/app/controllers/application_controller.rb
|
|
501
|
+
- test/test_app/engines/people/test/dummy/app/views/layouts/application.html.erb
|
|
502
|
+
- test/test_app/engines/people/test/dummy/app/helpers/application_helper.rb
|
|
503
|
+
- test/test_app/engines/people/test/dummy/app/assets/javascripts/application.js
|
|
504
|
+
- test/test_app/engines/people/test/dummy/app/assets/stylesheets/application.css
|
|
505
|
+
- test/test_app/engines/people/test/test_helper.rb
|
|
506
|
+
- test/test_app/engines/people/test/helpers/people/users_helper_test.rb
|
|
507
|
+
- test/test_app/engines/people/people.gemspec
|
|
508
|
+
- test/test_app/engines/people/config/routes.rb
|
|
509
|
+
- test/test_app/engines/people/db/migrate/20141016225548_create_people_users.rb
|
|
510
|
+
- test/test_app/engines/people/Rakefile
|
|
511
|
+
- test/test_app/engines/people/Gemfile
|
|
512
|
+
- test/test_app/engines/people/README.md
|
|
513
|
+
- test/test_app/engines/people/app/models/people/v1/user.rb
|
|
514
|
+
- test/test_app/engines/people/app/models/people/user.rb
|
|
515
|
+
- test/test_app/engines/people/app/controllers/people/api/v1/application_controller.rb
|
|
516
|
+
- test/test_app/engines/people/app/controllers/people/api/v1/users_controller.rb
|
|
517
|
+
- test/test_app/engines/people/app/controllers/people/application_controller.rb
|
|
518
|
+
- test/test_app/engines/people/app/controllers/people/users_controller.rb
|
|
519
|
+
- test/test_app/engines/people/app/views/layouts/people/default/application.html.erb
|
|
520
|
+
- test/test_app/engines/people/app/views/people/users/index.html.erb
|
|
521
|
+
- test/test_app/engines/people/app/views/people/users/_form.html.erb
|
|
522
|
+
- test/test_app/engines/people/app/views/people/users/new.html.erb
|
|
523
|
+
- test/test_app/engines/people/app/views/people/users/edit.html.erb
|
|
524
|
+
- test/test_app/engines/people/app/views/people/users/show.html.erb
|
|
525
|
+
- test/test_app/engines/people/app/serializers/people/v1/user_serializer.rb
|
|
526
|
+
- test/test_app/engines/people/app/helpers/people/application_helper.rb
|
|
527
|
+
- test/test_app/engines/people/app/helpers/people/users_helper.rb
|
|
528
|
+
- test/test_app/engines/people/app/assets/javascripts/people/application.js
|
|
529
|
+
- test/test_app/engines/people/app/assets/javascripts/people/users.js
|
|
530
|
+
- test/test_app/engines/people/app/assets/stylesheets/scaffold.css
|
|
531
|
+
- test/test_app/engines/people/app/assets/stylesheets/people/users.css
|
|
532
|
+
- test/test_app/engines/people/app/assets/stylesheets/people/application.css
|
|
533
|
+
- test/test_app/log/production.log
|
|
534
|
+
- test/test_app/log/development.log
|
|
535
|
+
- test/test_app/log/test.log
|
|
536
|
+
- test/test_app/spec/support/request_helpers.rb
|
|
537
|
+
- test/test_app/spec/support/factory_girl.rb
|
|
538
|
+
- test/test_app/spec/rails_helper.rb
|
|
539
|
+
- test/test_app/spec/controllers/app_index_controller_spec.rb
|
|
540
|
+
- test/test_app/spec/factories/people_user_1_factory.rb
|
|
541
|
+
- test/test_app/spec/engines/people/api/v1/models/user_spec.rb
|
|
542
|
+
- test/test_app/spec/engines/people/api/v1/requests/user_spec.rb
|
|
543
|
+
- test/test_app/spec/engines/people/api/v1/routing/user_spec.rb
|
|
544
|
+
- test/test_app/spec/spec_helper.rb
|
|
166
545
|
- test/fixtures/arcadex/tokens.yml
|
|
167
546
|
- test/integration/navigation_test.rb
|
|
168
547
|
- test/models/arcadex/token_test.rb
|