myrails 5.0.0 → 6.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.
@@ -0,0 +1,21 @@
1
+ module Install
2
+ module Ui
3
+ def self.included(thor)
4
+ thor.class_eval do
5
+ def install_ui
6
+ copy_file 'ui/ui_controller.rb', 'app/controllers/ui_controller.rb'
7
+ copy_file 'ui/index.html.haml', 'app/views/ui/index.html.haml'
8
+ inject_into_file 'config/routes.rb', after: "Rails.application.routes.draw do\n" do <<-CODE
9
+ # Requires an application restart everytime a new page is added.
10
+ Dir.glob('app/views/ui/*.html.haml').sort.each do |file|
11
+ action = File.basename(file,'.html.haml')
12
+ get \"ui/\#{action}\", controller: 'ui', action: action
13
+ end
14
+ CODE
15
+ end
16
+ end
17
+
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,3 +1,3 @@
1
1
  module Myrails
2
- VERSION = "5.0.0"
2
+ VERSION = "6.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: 5.0.0
4
+ version: 6.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-12-21 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,6 +97,25 @@ files:
97
97
  - bin/myrails
98
98
  - bin/setup
99
99
  - lib/myrails.rb
100
+ - lib/myrails/modules/application.rb
101
+ - lib/myrails/modules/assets.rb
102
+ - lib/myrails/modules/bootstrap.rb
103
+ - lib/myrails/modules/capistrano.rb
104
+ - lib/myrails/modules/database.rb
105
+ - lib/myrails/modules/devise.rb
106
+ - lib/myrails/modules/dotenv.rb
107
+ - lib/myrails/modules/engine.rb
108
+ - lib/myrails/modules/figaro.rb
109
+ - lib/myrails/modules/footnotes.rb
110
+ - lib/myrails/modules/gems.locked
111
+ - lib/myrails/modules/gems.rb
112
+ - lib/myrails/modules/heroku.rb
113
+ - lib/myrails/modules/material.rb
114
+ - lib/myrails/modules/pundit.rb
115
+ - lib/myrails/modules/rails_generators.rb
116
+ - lib/myrails/modules/rspec.rb
117
+ - lib/myrails/modules/rspec_generators.rb
118
+ - lib/myrails/modules/ui.rb
100
119
  - lib/myrails/templates/capistrano/config/deploy/templates/maintenance/index.html
101
120
  - lib/myrails/templates/capistrano/config/deploy/templates/monit.conf.erb
102
121
  - lib/myrails/templates/capistrano/config/deploy/templates/nginx.conf.erb
@@ -217,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
236
  version: '0'
218
237
  requirements: []
219
238
  rubyforge_project:
220
- rubygems_version: 2.6.14
239
+ rubygems_version: 2.7.6
221
240
  signing_key:
222
241
  specification_version: 4
223
242
  summary: A thor backed gem for generating rails related files based on my style of