myrails 4.0.0 → 5.0.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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/lib/myrails.rb +366 -167
  3. data/lib/myrails/templates/capistrano/config/deploy/templates/maintenance/index.html +41 -0
  4. data/lib/myrails/templates/capistrano/config/deploy/templates/monit.conf.erb +4 -0
  5. data/lib/myrails/templates/capistrano/config/deploy/templates/nginx.conf.erb +69 -0
  6. data/lib/myrails/templates/capistrano/config/deploy/templates/unicorn.rb.erb +26 -0
  7. data/lib/myrails/templates/capistrano/config/deploy/templates/unicorn_init.sh.erb +71 -0
  8. data/lib/myrails/templates/capistrano/lib/capistrano/tasks/maintenance.rake +16 -0
  9. data/lib/myrails/templates/capistrano/lib/capistrano/tasks/monit.rake +64 -0
  10. data/lib/myrails/templates/capistrano/lib/capistrano/tasks/nginx.rake +68 -0
  11. data/lib/myrails/templates/capistrano/lib/capistrano/tasks/unicorn.rake +114 -0
  12. data/lib/myrails/templates/{assets → rails/app/assets/javascripts}/application.js +0 -1
  13. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/animate.scss +0 -0
  14. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/application.css.sass +0 -2
  15. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cerulean.scss +0 -0
  16. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cosmo.scss +0 -0
  17. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/cyborg.scss +0 -0
  18. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/darkly.scss +0 -0
  19. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/flatly.scss +0 -0
  20. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/journal.scss +0 -0
  21. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/lumen.scss +0 -0
  22. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/paper.scss +0 -0
  23. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/readable.scss +0 -0
  24. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/sandstone.scss +0 -0
  25. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/simplex.scss +0 -0
  26. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/slate.scss +0 -0
  27. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/spacelab.scss +0 -0
  28. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/superhero.scss +0 -0
  29. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/united.scss +0 -0
  30. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets/bootstrap}/bootstrap_themes/yeti.scss +0 -0
  31. data/lib/myrails/templates/{assets → rails/app/assets/stylesheets}/will_paginate.scss +0 -0
  32. data/lib/myrails/templates/rails/{controller.rb → app/controllers/controller.rb} +0 -0
  33. data/lib/myrails/templates/rails/{namespace_controller.rb → app/controllers/namespace_controller.rb} +0 -0
  34. data/lib/myrails/templates/rails/{application_helper.rb → app/helpers/application_helper.rb} +0 -0
  35. data/lib/myrails/templates/{mailer → rails/app/mailers}/dev_mail_interceptor.rb +0 -0
  36. data/lib/myrails/templates/{mailer → rails/app/mailers}/sendgrid.rb +0 -0
  37. data/lib/myrails/templates/rails/{model.rb → app/models/model.rb} +0 -0
  38. data/lib/myrails/templates/rails/{namespace_model.rb → app/models/namespace_model.rb} +0 -0
  39. data/lib/myrails/templates/rails/{pundit.rb → app/policies/pundit.rb} +0 -0
  40. data/lib/myrails/templates/{presenters → rails/app/presenters}/base.rb +0 -0
  41. data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter.rb +0 -0
  42. data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter_config.rb +0 -0
  43. data/lib/myrails/templates/{presenters → rails/app/presenters}/presenter_spec.rb +0 -0
  44. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_error_messages.html.haml +0 -0
  45. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_footer.html.haml +0 -0
  46. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_info_messages.html.haml +0 -0
  47. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_nav.html.haml +0 -0
  48. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/_success_message.html.haml +0 -0
  49. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/application.html.haml +0 -0
  50. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-address-and-phones.scss +0 -0
  51. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-contact-form.scss +0 -0
  52. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed-with-search.scss +0 -0
  53. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/css/footer-distributed.scss +0 -0
  54. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-address-and-phones.html.haml +0 -0
  55. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-contact-form.html.haml +0 -0
  56. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed-with-search.html.haml +0 -0
  57. data/lib/myrails/templates/{layout → rails/app/views/layout/bootstrap}/footers/footer-distributed.html.haml +0 -0
  58. data/lib/myrails/templates/rails/app/views/layout/material/_detailed_pagination.html.haml +4 -0
  59. data/lib/myrails/templates/rails/app/views/layout/material/_error_messages.html.haml +9 -0
  60. data/lib/myrails/templates/rails/app/views/layout/material/_footer.html.haml +24 -0
  61. data/lib/myrails/templates/rails/app/views/layout/material/_info_messages.html.haml +14 -0
  62. data/lib/myrails/templates/rails/app/views/layout/material/_nav.html.haml +27 -0
  63. data/lib/myrails/templates/rails/app/views/layout/material/_simple_pagination.html.haml +2 -0
  64. data/lib/myrails/templates/rails/app/views/layout/material/_success_message.html.haml +7 -0
  65. data/lib/myrails/templates/rails/app/views/layout/material/application.html.haml +19 -0
  66. data/lib/myrails/templates/rails/app/views/layout/material/mailer.html.haml +246 -0
  67. data/lib/myrails/templates/rails/app/views/layout/material/mailer.text.haml +1 -0
  68. data/lib/myrails/templates/rails/config/application.example.yml +40 -0
  69. data/lib/myrails/templates/spec/controller.rb +123 -0
  70. data/lib/myrails/templates/{rspec → spec}/factory.rb +1 -1
  71. data/lib/myrails/templates/spec/feature.rb +8 -0
  72. data/lib/myrails/templates/{rspec → spec}/files.rb +0 -0
  73. data/lib/myrails/templates/spec/helper.rb +2 -0
  74. data/lib/myrails/templates/{rspec → spec}/model.rb +0 -0
  75. data/lib/myrails/templates/{rspec → spec}/pundit.rb +0 -0
  76. data/lib/myrails/templates/{rspec → spec}/request.rb +0 -0
  77. data/lib/myrails/templates/{rspec → spec}/request_shared_example.rb +0 -0
  78. data/lib/myrails/templates/{rspec → spec}/shared_example.rb +0 -0
  79. data/lib/myrails/templates/{rspec → spec/support/configs}/database_cleaner.rb +0 -0
  80. data/lib/myrails/templates/{rspec → spec/support/configs}/devise.rb +1 -1
  81. data/lib/myrails/templates/spec/support/configs/factory_bot.rb +3 -0
  82. data/lib/myrails/templates/{rspec → spec/support/configs}/mailer.rb +0 -0
  83. data/lib/myrails/templates/{rspec → spec/support/configs}/shoulda_matchers.rb +0 -0
  84. data/lib/myrails/templates/{rspec → spec/support/configs}/silence_backtrace.rb +0 -0
  85. data/lib/myrails/templates/spec/support/helpers/javascript.rb +12 -0
  86. data/lib/myrails/templates/spec/support/helpers/mailer.rb +9 -0
  87. data/lib/myrails/templates/spec/support/shared_examples/requires_authentication.rb +14 -0
  88. data/lib/myrails/templates/spec/support/shared_examples/requires_authorization.rb +16 -0
  89. data/lib/myrails/templates/spec/support/shared_examples/supports_file_type.rb +25 -0
  90. data/lib/myrails/version.rb +1 -1
  91. metadata +91 -68
  92. data/lib/myrails/templates/initializers/application_vars.rb +0 -2
  93. data/lib/myrails/templates/rails/application.yml +0 -19
  94. data/lib/myrails/templates/rspec/controller.rb +0 -98
  95. data/lib/myrails/templates/rspec/factory_girl.rb +0 -3
  96. data/lib/myrails/templates/rspec/javascript.rb +0 -8
  97. data/lib/myrails/templates/rspec/router.rb +0 -7
@@ -0,0 +1,40 @@
1
+ VERZION: '0.1.0'
2
+ DB_PASS:
3
+ EMAIL:
4
+ DEVISE_SECRET_KEY:
5
+ # use YAML.load(ENV['FILE_TYPES'])
6
+ FILE_TYPES:
7
+ - image/gif
8
+ - image/jpeg
9
+ - image/jpg
10
+ - image/png
11
+ - application/vnd.apple.keynote
12
+ - application/vnd.apple.pages
13
+ - application/vnd.apple.numbers
14
+ - application/vnd.ms-excel
15
+ - application/vnd.ms-powerpoint
16
+ - application/vnd.ms-word
17
+ - application/pdf
18
+ - text/plain
19
+ - application/zip
20
+ - application/x-zip
21
+ - application/x-zip-compressed
22
+ # Not tested yet
23
+ # - application/vnd.oasis.opendocument.text
24
+ # - application/vnd.oasis.opendocument.spreadsheet
25
+ # - application/vnd.oasis.opendocument.presentation
26
+ # - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
27
+ # - application/vnd.openxmlformats-officedocument.presentationml.presentation
28
+ # - application/vnd.openxmlformats-officedocument.wordprocessingml.document
29
+ # - application/octet-stream
30
+ development:
31
+ DEFAULT_HOST: 'http://localhost:3000'
32
+
33
+ test:
34
+ DEFAULT_HOST: 'http://localhost:3000'
35
+
36
+ production:
37
+ SECRET_KEY_BASE:
38
+ SECRET_TOKEN:
39
+ DEFAULT_HOST: 'https://www.domain.com'
40
+ SENDGRID_PASSWORD:
@@ -0,0 +1,123 @@
1
+ require 'rails_helper'
2
+
3
+ describe <%= options[:name].pluralize.camelize %>Controller do
4
+ # let(:user) {create :user}
5
+ let(:<%= options[:name].pluralize %>) {create_list :<%= options[:name] %>, 3 }
6
+ let(:<%= options[:name].singularize %>) {create :<%= options[:name].singularize %>}
7
+
8
+ # before {sign_in user}
9
+
10
+ describe 'GET index' do
11
+ before do
12
+ <%= options[:name].pluralize %>
13
+ get :index
14
+ end
15
+
16
+ subject {assigns[:<%= options[:name].pluralize %>]}
17
+
18
+ it {is_expected.to eq <%= options[:name].pluralize %>}
19
+ end
20
+
21
+ describe 'GET show' do
22
+ before {get :show, params: {id: <%= options[:name].singularize %>}}
23
+
24
+ subject(:<%= options[:name].first %>) {assigns[:<%= options[:name].singularize %>]}
25
+
26
+ it {is_expected.to eq <%= options[:name].singularize %>}
27
+ end
28
+
29
+ describe 'GET new' do
30
+ before {get :new}
31
+
32
+ subject(:<%= options[:name].first %>) {assigns[:<%= options[:name].singularize %>]}
33
+
34
+ it {is_expected.to be_a_new <%= options[:name].singularize.camelize %>}
35
+ end
36
+
37
+ describe 'POST create' do
38
+ context 'successful create' do
39
+ before {post :create, params: {<%= options[:name].singularize %>: attributes_for(:<%= options[:name].singularize %>)}}
40
+
41
+ subject(:<%= options[:name].first %>){assigns[:<%= options[:name].singularize %>]}
42
+
43
+ it 'redirects to :show'
44
+ it {is_expected.to be_instance_of <%= options[:name].singularize.camelize %>}
45
+
46
+ it 'sets flash[:success]' do
47
+ expect(flash[:success]).to_not be_nil
48
+ end
49
+
50
+ it 'tags the current_user as creator'
51
+ end
52
+
53
+ context 'unsuccessful create' do
54
+ before {post :create, params: {<%= options[:name].singularize %>: attributes_for(:<%= options[:name].singularize %>, attr: nil)}}
55
+
56
+ subject(:<%= options[:name].first %>){assigns[:<%= options[:name].singularize %>]}
57
+
58
+ it 'renders :new template'
59
+ it {is_expected.to be_a_new <%= options[:name].singularize.camelize %>}
60
+
61
+ it 'sets flash[:error]' do
62
+ expect(flash[:error]).to_not be_nil
63
+ end
64
+ end
65
+ end
66
+
67
+ describe 'GET edit' do
68
+ before {get :edit, params: {id: <%= options[:name].singularize %>}}
69
+
70
+ subject(:<%= options[:name].first %>){assigns[:<%= options[:name].singularize %>]}
71
+
72
+ it {is_expected.to eq <%= options[:name].singularize %>}
73
+ end
74
+
75
+ describe 'PUT/PATCH update' do
76
+ context 'successful update' do
77
+ before {put :update, params: {id: <%= options[:name].singularize %>, <%= options[:name].singularize %>: attributes_for(:<%= options[:name].singularize %>)}}
78
+
79
+ subject(:<%= options[:name].first %>) {assigns[:<%= options[:name].singularize %>]}
80
+
81
+ it 'redirects to :show'
82
+ it {is_expected.to eq <%= options[:name].singularize %>}
83
+
84
+ it 'sets flash[:success]' do
85
+ expect(flash[:success]).to_not be_nil
86
+ end
87
+ it 'tags current_user as updater'
88
+ end
89
+
90
+ context 'unsuccessful update' do
91
+ before {put :update, params: {id: <%= options[:name].singularize %>, <%= options[:name].singularize %>: attributes_for(:<%= options[:name].singularize %>, attr: nil)}}
92
+
93
+ subject(:<%= options[:name].first %>) {assigns[:<%= options[:name].singularize %>]}
94
+
95
+ it 'renders :edit template'
96
+ it {is_expected.to eq <%= options[:name].singularize %>}
97
+
98
+ it 'sets flash[:error]' do
99
+ expect(flash[:error]).to_not be_nil
100
+ end
101
+ end
102
+ end
103
+
104
+ describe 'DELETE destroy' do
105
+ before {delete :destroy, params: {id: <%= options[:name].singularize %>}}
106
+
107
+ subject(:<%= options[:name].first %>) {assigns[:<%= options[:name].singularize %>]}
108
+
109
+ it 'redirects to :index' do
110
+ expect(response).to redirect_to <%= options[:name].pluralize %>_path
111
+ end
112
+
113
+ it {is_expected.to eq <%= options[:name].singularize %>}
114
+
115
+ it 'deletes @<%= options[:name].singularize %>' do
116
+ expect(<%= options[:name].singularize.camelize %>.find_by_id(<%= options[:name].singularize %>.id)).to be_nil
117
+ end
118
+
119
+ it 'sets flash[success]' do
120
+ expect(flash[:success]).to_not be_nil
121
+ end
122
+ end
123
+ end
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :<%= options[:name].gsub("/", "_") %>, class: "<%= options[:name].camelize %>" do
3
3
 
4
4
  end
@@ -0,0 +1,8 @@
1
+ require 'rails_helper'
2
+
3
+ feature 'some-object management' do
4
+ let(:var){}
5
+ before {}
6
+ scenario 'scenario text' do
7
+ end
8
+ end
@@ -0,0 +1,2 @@
1
+ module <%= options[:name].gsub("\s", '_').camelize %>Helper
2
+ end
@@ -22,7 +22,7 @@ Reference: https://github.com/plataformatec/devise/wiki/How-To:-Test-with-Capyba
22
22
 
23
23
  To use authentication bypass use the following for loging in:
24
24
 
25
- user = FactoryGirl.create(:user)
25
+ user = FactoryBot.create(:user)
26
26
  login_as(user, :scope => :user)
27
27
 
28
28
  if within a test you need to sign_out a user use:
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryBot::Syntax::Methods
3
+ end
@@ -0,0 +1,12 @@
1
+ module JavascriptHelper
2
+ # Basecamp trix uses hidden input to populate its editor
3
+ def fill_in_trix_editor(id, value)
4
+ find(:css, id).set(value)
5
+ end
6
+
7
+ def click_ok
8
+ page.accept_alert
9
+ end
10
+ end
11
+
12
+ # Example of use in feature test: fill_in_trix_editor("#blog_comment_body_trix_input_blog_comment_#{blog_comment.id}", "some text")
@@ -0,0 +1,9 @@
1
+ module MailerHelper
2
+ def inbox
3
+ ActionMailer::Base.deliveries
4
+ end
5
+
6
+ def clear_inbox
7
+ ActionMailer::Base.deliveries.clear
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ shared_examples 'requires authentication' do
2
+ before do
3
+ sign_out admin_user
4
+ action
5
+ end
6
+
7
+ it 'redirects to new session path' do
8
+ expect(response).to redirect_to new_user_session_path
9
+ end
10
+
11
+ it 'sets flash[:alert]' do
12
+ expect(flash[:alert]).to_not be_nil
13
+ end
14
+ end
@@ -0,0 +1,16 @@
1
+ shared_examples 'requires authorization' do
2
+ let(:user) {create :user}
3
+ before do
4
+ sign_out admin_user
5
+ sign_in user
6
+ action
7
+ end
8
+
9
+ it 'redirects to root path' do
10
+ expect(response).to redirect_to root_path
11
+ end
12
+
13
+ it 'sets flash[:alert]' do
14
+ expect(flash[:alert]).to_not be_nil
15
+ end
16
+ end
@@ -0,0 +1,25 @@
1
+ shared_examples 'supports file type' do
2
+ require 'rack/test'
3
+
4
+ before {action}
5
+
6
+ subject(:a){assigns[:article]}
7
+
8
+ it 'redirects to :show' do
9
+ expect(response).to redirect_to Article.last
10
+ end
11
+
12
+ it {is_expected.to be_instance_of Article}
13
+
14
+ it 'sets flash[:success]' do
15
+ expect(flash[:success]).to_not be_nil
16
+ end
17
+
18
+ it 'tags the current_user as creator' do
19
+ expect(a.user).to eq admin_user
20
+ end
21
+
22
+ it 'has an attachment' do
23
+ expect(a.attachments.size).to eq 1
24
+ end
25
+ end
@@ -1,3 +1,3 @@
1
1
  module Myrails
2
- VERSION = "4.0.0"
2
+ VERSION = "5.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-08 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,76 +97,99 @@ files:
97
97
  - bin/myrails
98
98
  - bin/setup
99
99
  - lib/myrails.rb
100
- - lib/myrails/templates/assets/animate.scss
101
- - lib/myrails/templates/assets/application.css.sass
102
- - lib/myrails/templates/assets/application.js
103
- - lib/myrails/templates/assets/bootstrap_themes/cerulean.scss
104
- - lib/myrails/templates/assets/bootstrap_themes/cosmo.scss
105
- - lib/myrails/templates/assets/bootstrap_themes/cyborg.scss
106
- - lib/myrails/templates/assets/bootstrap_themes/darkly.scss
107
- - lib/myrails/templates/assets/bootstrap_themes/flatly.scss
108
- - lib/myrails/templates/assets/bootstrap_themes/journal.scss
109
- - lib/myrails/templates/assets/bootstrap_themes/lumen.scss
110
- - lib/myrails/templates/assets/bootstrap_themes/paper.scss
111
- - lib/myrails/templates/assets/bootstrap_themes/readable.scss
112
- - lib/myrails/templates/assets/bootstrap_themes/sandstone.scss
113
- - lib/myrails/templates/assets/bootstrap_themes/simplex.scss
114
- - lib/myrails/templates/assets/bootstrap_themes/slate.scss
115
- - lib/myrails/templates/assets/bootstrap_themes/spacelab.scss
116
- - lib/myrails/templates/assets/bootstrap_themes/superhero.scss
117
- - lib/myrails/templates/assets/bootstrap_themes/united.scss
118
- - lib/myrails/templates/assets/bootstrap_themes/yeti.scss
119
- - lib/myrails/templates/assets/will_paginate.scss
100
+ - lib/myrails/templates/capistrano/config/deploy/templates/maintenance/index.html
101
+ - lib/myrails/templates/capistrano/config/deploy/templates/monit.conf.erb
102
+ - lib/myrails/templates/capistrano/config/deploy/templates/nginx.conf.erb
103
+ - lib/myrails/templates/capistrano/config/deploy/templates/unicorn.rb.erb
104
+ - lib/myrails/templates/capistrano/config/deploy/templates/unicorn_init.sh.erb
105
+ - lib/myrails/templates/capistrano/lib/capistrano/tasks/maintenance.rake
106
+ - lib/myrails/templates/capistrano/lib/capistrano/tasks/monit.rake
107
+ - lib/myrails/templates/capistrano/lib/capistrano/tasks/nginx.rake
108
+ - lib/myrails/templates/capistrano/lib/capistrano/tasks/unicorn.rake
120
109
  - lib/myrails/templates/db/mysql_database.yml
121
110
  - lib/myrails/templates/db/sqlite3_database.yml
122
111
  - lib/myrails/templates/engines/rakefile
123
112
  - lib/myrails/templates/heroku/Procfile
124
113
  - lib/myrails/templates/heroku/puma.rb
125
- - lib/myrails/templates/initializers/application_vars.rb
126
- - lib/myrails/templates/layout/_error_messages.html.haml
127
- - lib/myrails/templates/layout/_footer.html.haml
128
- - lib/myrails/templates/layout/_info_messages.html.haml
129
- - lib/myrails/templates/layout/_nav.html.haml
130
- - lib/myrails/templates/layout/_success_message.html.haml
131
- - lib/myrails/templates/layout/application.html.haml
132
- - lib/myrails/templates/layout/footers/css/footer-distributed-with-address-and-phones.scss
133
- - lib/myrails/templates/layout/footers/css/footer-distributed-with-contact-form.scss
134
- - lib/myrails/templates/layout/footers/css/footer-distributed-with-search.scss
135
- - lib/myrails/templates/layout/footers/css/footer-distributed.scss
136
- - lib/myrails/templates/layout/footers/footer-distributed-with-address-and-phones.html.haml
137
- - lib/myrails/templates/layout/footers/footer-distributed-with-contact-form.html.haml
138
- - lib/myrails/templates/layout/footers/footer-distributed-with-search.html.haml
139
- - lib/myrails/templates/layout/footers/footer-distributed.html.haml
140
- - lib/myrails/templates/mailer/dev_mail_interceptor.rb
141
- - lib/myrails/templates/mailer/sendgrid.rb
142
- - lib/myrails/templates/presenters/base.rb
143
- - lib/myrails/templates/presenters/presenter.rb
144
- - lib/myrails/templates/presenters/presenter_config.rb
145
- - lib/myrails/templates/presenters/presenter_spec.rb
146
- - lib/myrails/templates/rails/application.yml
147
- - lib/myrails/templates/rails/application_helper.rb
148
- - lib/myrails/templates/rails/controller.rb
114
+ - lib/myrails/templates/rails/app/assets/javascripts/application.js
115
+ - lib/myrails/templates/rails/app/assets/stylesheets/animate.scss
116
+ - lib/myrails/templates/rails/app/assets/stylesheets/application.css.sass
117
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/cerulean.scss
118
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/cosmo.scss
119
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/cyborg.scss
120
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/darkly.scss
121
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/flatly.scss
122
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/journal.scss
123
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/lumen.scss
124
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/paper.scss
125
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/readable.scss
126
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/sandstone.scss
127
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/simplex.scss
128
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/slate.scss
129
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/spacelab.scss
130
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/superhero.scss
131
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/united.scss
132
+ - lib/myrails/templates/rails/app/assets/stylesheets/bootstrap/bootstrap_themes/yeti.scss
133
+ - lib/myrails/templates/rails/app/assets/stylesheets/will_paginate.scss
134
+ - lib/myrails/templates/rails/app/controllers/controller.rb
135
+ - lib/myrails/templates/rails/app/controllers/namespace_controller.rb
136
+ - lib/myrails/templates/rails/app/helpers/application_helper.rb
137
+ - lib/myrails/templates/rails/app/mailers/dev_mail_interceptor.rb
138
+ - lib/myrails/templates/rails/app/mailers/sendgrid.rb
139
+ - lib/myrails/templates/rails/app/models/model.rb
140
+ - lib/myrails/templates/rails/app/models/namespace_model.rb
141
+ - lib/myrails/templates/rails/app/policies/pundit.rb
142
+ - lib/myrails/templates/rails/app/presenters/base.rb
143
+ - lib/myrails/templates/rails/app/presenters/presenter.rb
144
+ - lib/myrails/templates/rails/app/presenters/presenter_config.rb
145
+ - lib/myrails/templates/rails/app/presenters/presenter_spec.rb
146
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/_error_messages.html.haml
147
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/_footer.html.haml
148
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/_info_messages.html.haml
149
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/_nav.html.haml
150
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/_success_message.html.haml
151
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/application.html.haml
152
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/css/footer-distributed-with-address-and-phones.scss
153
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/css/footer-distributed-with-contact-form.scss
154
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/css/footer-distributed-with-search.scss
155
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/css/footer-distributed.scss
156
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/footer-distributed-with-address-and-phones.html.haml
157
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/footer-distributed-with-contact-form.html.haml
158
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/footer-distributed-with-search.html.haml
159
+ - lib/myrails/templates/rails/app/views/layout/bootstrap/footers/footer-distributed.html.haml
160
+ - lib/myrails/templates/rails/app/views/layout/material/_detailed_pagination.html.haml
161
+ - lib/myrails/templates/rails/app/views/layout/material/_error_messages.html.haml
162
+ - lib/myrails/templates/rails/app/views/layout/material/_footer.html.haml
163
+ - lib/myrails/templates/rails/app/views/layout/material/_info_messages.html.haml
164
+ - lib/myrails/templates/rails/app/views/layout/material/_nav.html.haml
165
+ - lib/myrails/templates/rails/app/views/layout/material/_simple_pagination.html.haml
166
+ - lib/myrails/templates/rails/app/views/layout/material/_success_message.html.haml
167
+ - lib/myrails/templates/rails/app/views/layout/material/application.html.haml
168
+ - lib/myrails/templates/rails/app/views/layout/material/mailer.html.haml
169
+ - lib/myrails/templates/rails/app/views/layout/material/mailer.text.haml
170
+ - lib/myrails/templates/rails/config/application.example.yml
149
171
  - lib/myrails/templates/rails/env.config
150
- - lib/myrails/templates/rails/model.rb
151
- - lib/myrails/templates/rails/namespace_controller.rb
152
- - lib/myrails/templates/rails/namespace_model.rb
153
- - lib/myrails/templates/rails/pundit.rb
154
- - lib/myrails/templates/rspec/controller.rb
155
- - lib/myrails/templates/rspec/database_cleaner.rb
156
- - lib/myrails/templates/rspec/devise.rb
157
- - lib/myrails/templates/rspec/factory.rb
158
- - lib/myrails/templates/rspec/factory_girl.rb
159
- - lib/myrails/templates/rspec/files.rb
160
- - lib/myrails/templates/rspec/javascript.rb
161
- - lib/myrails/templates/rspec/mailer.rb
162
- - lib/myrails/templates/rspec/model.rb
163
- - lib/myrails/templates/rspec/pundit.rb
164
- - lib/myrails/templates/rspec/request.rb
165
- - lib/myrails/templates/rspec/request_shared_example.rb
166
- - lib/myrails/templates/rspec/router.rb
167
- - lib/myrails/templates/rspec/shared_example.rb
168
- - lib/myrails/templates/rspec/shoulda_matchers.rb
169
- - lib/myrails/templates/rspec/silence_backtrace.rb
172
+ - lib/myrails/templates/spec/controller.rb
173
+ - lib/myrails/templates/spec/factory.rb
174
+ - lib/myrails/templates/spec/feature.rb
175
+ - lib/myrails/templates/spec/files.rb
176
+ - lib/myrails/templates/spec/helper.rb
177
+ - lib/myrails/templates/spec/model.rb
178
+ - lib/myrails/templates/spec/pundit.rb
179
+ - lib/myrails/templates/spec/request.rb
180
+ - lib/myrails/templates/spec/request_shared_example.rb
181
+ - lib/myrails/templates/spec/shared_example.rb
182
+ - lib/myrails/templates/spec/support/configs/database_cleaner.rb
183
+ - lib/myrails/templates/spec/support/configs/devise.rb
184
+ - lib/myrails/templates/spec/support/configs/factory_bot.rb
185
+ - lib/myrails/templates/spec/support/configs/mailer.rb
186
+ - lib/myrails/templates/spec/support/configs/shoulda_matchers.rb
187
+ - lib/myrails/templates/spec/support/configs/silence_backtrace.rb
188
+ - lib/myrails/templates/spec/support/helpers/javascript.rb
189
+ - lib/myrails/templates/spec/support/helpers/mailer.rb
190
+ - lib/myrails/templates/spec/support/shared_examples/requires_authentication.rb
191
+ - lib/myrails/templates/spec/support/shared_examples/requires_authorization.rb
192
+ - lib/myrails/templates/spec/support/shared_examples/supports_file_type.rb
170
193
  - lib/myrails/templates/ui/index.html.haml
171
194
  - lib/myrails/templates/ui/ui_controller.rb
172
195
  - lib/myrails/version.rb
@@ -194,11 +217,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
217
  version: '0'
195
218
  requirements: []
196
219
  rubyforge_project:
197
- rubygems_version: 2.6.12
220
+ rubygems_version: 2.6.14
198
221
  signing_key:
199
222
  specification_version: 4
200
223
  summary: A thor backed gem for generating rails related files based on my style of
201
224
  coding
202
225
  test_files:
203
- - spec/myrails_spec.rb
204
226
  - spec/spec_helper.rb
227
+ - spec/myrails_spec.rb