factory_bot_rails 4.8.2 → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +6 -6
  3. data/NEWS +3 -0
  4. data/README.md +4 -0
  5. data/factory_bot_rails.gemspec +2 -2
  6. data/gemfiles/rails3.2.gemfile +1 -1
  7. data/gemfiles/rails3.2.gemfile.lock +57 -60
  8. data/gemfiles/rails4.1.gemfile +1 -1
  9. data/gemfiles/rails4.1.gemfile.lock +26 -28
  10. data/gemfiles/rails4.2.gemfile +1 -1
  11. data/gemfiles/rails4.2.gemfile.lock +61 -63
  12. data/gemfiles/rails5.0.gemfile +1 -1
  13. data/gemfiles/rails5.0.gemfile.lock +38 -38
  14. metadata +5 -73
  15. data/factory_girl_rails-4.8.0.gem +0 -0
  16. data/tmp/aruba/testapp/Gemfile +0 -55
  17. data/tmp/aruba/testapp/Gemfile.lock +0 -195
  18. data/tmp/aruba/testapp/README.md +0 -24
  19. data/tmp/aruba/testapp/Rakefile +0 -6
  20. data/tmp/aruba/testapp/app/assets/config/manifest.js +0 -3
  21. data/tmp/aruba/testapp/app/assets/javascripts/application.js +0 -16
  22. data/tmp/aruba/testapp/app/assets/javascripts/cable.js +0 -13
  23. data/tmp/aruba/testapp/app/assets/stylesheets/application.css +0 -15
  24. data/tmp/aruba/testapp/app/channels/application_cable/channel.rb +0 -4
  25. data/tmp/aruba/testapp/app/channels/application_cable/connection.rb +0 -4
  26. data/tmp/aruba/testapp/app/controllers/application_controller.rb +0 -3
  27. data/tmp/aruba/testapp/app/helpers/application_helper.rb +0 -2
  28. data/tmp/aruba/testapp/app/jobs/application_job.rb +0 -2
  29. data/tmp/aruba/testapp/app/mailers/application_mailer.rb +0 -4
  30. data/tmp/aruba/testapp/app/models/application_record.rb +0 -3
  31. data/tmp/aruba/testapp/app/models/user.rb +0 -2
  32. data/tmp/aruba/testapp/app/views/layouts/application.html.erb +0 -14
  33. data/tmp/aruba/testapp/app/views/layouts/mailer.html.erb +0 -13
  34. data/tmp/aruba/testapp/app/views/layouts/mailer.text.erb +0 -1
  35. data/tmp/aruba/testapp/bin/bundle +0 -3
  36. data/tmp/aruba/testapp/bin/rails +0 -9
  37. data/tmp/aruba/testapp/bin/rake +0 -9
  38. data/tmp/aruba/testapp/bin/setup +0 -34
  39. data/tmp/aruba/testapp/bin/spring +0 -17
  40. data/tmp/aruba/testapp/bin/update +0 -29
  41. data/tmp/aruba/testapp/config.ru +0 -5
  42. data/tmp/aruba/testapp/config/application.rb +0 -16
  43. data/tmp/aruba/testapp/config/boot.rb +0 -3
  44. data/tmp/aruba/testapp/config/cable.yml +0 -9
  45. data/tmp/aruba/testapp/config/database.yml +0 -25
  46. data/tmp/aruba/testapp/config/environment.rb +0 -5
  47. data/tmp/aruba/testapp/config/environments/development.rb +0 -54
  48. data/tmp/aruba/testapp/config/environments/production.rb +0 -86
  49. data/tmp/aruba/testapp/config/environments/test.rb +0 -42
  50. data/tmp/aruba/testapp/config/initializers/application_controller_renderer.rb +0 -8
  51. data/tmp/aruba/testapp/config/initializers/assets.rb +0 -11
  52. data/tmp/aruba/testapp/config/initializers/backtrace_silencers.rb +0 -7
  53. data/tmp/aruba/testapp/config/initializers/cookies_serializer.rb +0 -5
  54. data/tmp/aruba/testapp/config/initializers/filter_parameter_logging.rb +0 -4
  55. data/tmp/aruba/testapp/config/initializers/inflections.rb +0 -16
  56. data/tmp/aruba/testapp/config/initializers/mime_types.rb +0 -4
  57. data/tmp/aruba/testapp/config/initializers/new_framework_defaults.rb +0 -26
  58. data/tmp/aruba/testapp/config/initializers/session_store.rb +0 -3
  59. data/tmp/aruba/testapp/config/initializers/wrap_parameters.rb +0 -14
  60. data/tmp/aruba/testapp/config/locales/en.yml +0 -23
  61. data/tmp/aruba/testapp/config/puma.rb +0 -47
  62. data/tmp/aruba/testapp/config/routes.rb +0 -3
  63. data/tmp/aruba/testapp/config/secrets.yml +0 -22
  64. data/tmp/aruba/testapp/config/spring.rb +0 -6
  65. data/tmp/aruba/testapp/db/development.sqlite3 +0 -0
  66. data/tmp/aruba/testapp/db/migrate/1_create_users.rb +0 -7
  67. data/tmp/aruba/testapp/db/schema.rb +0 -19
  68. data/tmp/aruba/testapp/db/seeds.rb +0 -7
  69. data/tmp/aruba/testapp/db/test.sqlite3 +0 -0
  70. data/tmp/aruba/testapp/lib/some_railtie/factories.rb +0 -5
  71. data/tmp/aruba/testapp/lib/some_railtie/railties.rb +0 -8
  72. data/tmp/aruba/testapp/log/development.log +0 -16
  73. data/tmp/aruba/testapp/log/test.log +0 -21
  74. data/tmp/aruba/testapp/public/404.html +0 -67
  75. data/tmp/aruba/testapp/public/422.html +0 -67
  76. data/tmp/aruba/testapp/public/500.html +0 -66
  77. data/tmp/aruba/testapp/public/apple-touch-icon-precomposed.png +0 -0
  78. data/tmp/aruba/testapp/public/apple-touch-icon.png +0 -0
  79. data/tmp/aruba/testapp/public/favicon.ico +0 -0
  80. data/tmp/aruba/testapp/public/robots.txt +0 -5
  81. data/tmp/aruba/testapp/test/test_helper.rb +0 -10
  82. data/tmp/aruba/testapp/test/unit/user_test.rb +0 -8
@@ -1,66 +0,0 @@
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
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page 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
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page 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 class="rails-default-error-page">
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
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-agent: *
5
- # Disallow: /
@@ -1,10 +0,0 @@
1
- ENV['RAILS_ENV'] ||= 'test'
2
- require File.expand_path('../../config/environment', __FILE__)
3
- require 'rails/test_help'
4
-
5
- class ActiveSupport::TestCase
6
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
- fixtures :all
8
-
9
- # Add more helper methods to be used by all tests here...
10
- end
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class UserTest < ActiveSupport::TestCase
4
- test "use factory of some_railtie" do
5
- user = FactoryBot.create(:factory_from_some_railtie)
6
- assert_equal 'Artem', user.name
7
- end
8
- end