somatics3-generators 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/Rakefile +9 -1
  2. data/VERSION +1 -1
  3. data/bin/somatics +0 -0
  4. data/bin/somatify +0 -0
  5. data/lib/generators/somatics/associated/associated_generator.rb +184 -0
  6. data/lib/generators/somatics/associated/templates/migration.rb +11 -0
  7. data/lib/generators/somatics/attributes/attributes_generator.rb +8 -5
  8. data/lib/generators/somatics/authenticated/authenticated_generator.rb +27 -195
  9. data/lib/generators/somatics/authenticated/templates/partial_form.html.erb +23 -0
  10. data/lib/generators/somatics/authenticated_controller/authenticated_controller_generator.rb +14 -299
  11. data/lib/generators/somatics/authenticated_controller/templates/locales_en.yml +6 -0
  12. data/lib/generators/somatics/authenticated_controller/templates/locales_zh-TW.yml +6 -0
  13. data/lib/generators/somatics/authenticated_controller/templates/login.html.erb +10 -8
  14. data/lib/generators/somatics/authenticated_controller/templates/sessions_controller.rb +11 -43
  15. data/lib/generators/somatics/install/install_generator.rb +26 -3
  16. data/lib/generators/somatics/install/templates/config/locales/devise_zh-TW.yml +39 -0
  17. data/lib/generators/somatics/install/templates/controller_admin.rb +8 -4
  18. data/lib/generators/somatics/install/templates/helper_admin.rb +39 -3
  19. data/lib/generators/somatics/install/templates/initializer_paper_trail.rb +2 -0
  20. data/lib/generators/somatics/install/templates/layout_admin.html.erb +4 -4
  21. data/lib/generators/somatics/install/templates/lib/active_record/diff.rb +61 -0
  22. data/lib/generators/somatics/install/templates/lib/tasks/heroku.rake +30 -0
  23. data/lib/generators/somatics/install/templates/lib/tasks/svn.rake +47 -0
  24. data/lib/generators/somatics/install/templates/partial_versions.html.erb +56 -0
  25. data/lib/generators/somatics/install/templates/public/stylesheets/application.css +863 -0
  26. data/lib/generators/somatics/install/templates/public/stylesheets/somatics/base.css +3 -0
  27. data/lib/generators/somatics/install/templates/public/themes/default/stylesheets/application.css +951 -0
  28. data/lib/generators/somatics/install/templates/view_index.html.erb +46 -1
  29. data/lib/generators/somatics/scaffold/scaffold_generator.rb +0 -1
  30. data/lib/generators/somatics/scaffold_controller/scaffold_controller_generator.rb +31 -60
  31. data/lib/generators/somatics/scaffold_controller/templates/controller.rb +4 -21
  32. data/lib/generators/somatics/scaffold_controller/templates/view_index.html.erb +3 -4
  33. data/lib/generators/somatics/scaffold_controller/templates/view_show.html.erb +2 -0
  34. data/lib/generators/somatics/settings/settings_generator.rb +7 -3
  35. data/lib/generators/somatics/settings_controller/templates/controller.rb +4 -20
  36. data/lib/generators/somatics/settings_controller/templates/partial_form.html.erb +1 -1
  37. data/lib/generators/somatics/settings_controller/templates/view_index.html.erb +2 -2
  38. data/somatics3-generators.gemspec +28 -37
  39. data/templates/somatics.rb +76 -121
  40. metadata +70 -64
  41. data/lib/generators/somatics/authenticated/templates/mailer.rb +0 -25
  42. data/lib/generators/somatics/authenticated/templates/migration.rb +0 -26
  43. data/lib/generators/somatics/authenticated/templates/model.rb +0 -83
  44. data/lib/generators/somatics/authenticated/templates/observer.rb +0 -11
  45. data/lib/generators/somatics/authenticated/templates/test/mailer_test.rb +0 -31
  46. data/lib/generators/somatics/authenticated/templates/test/model_functional_test.rb +0 -93
  47. data/lib/generators/somatics/authenticated/templates/test/sessions_functional_test.rb +0 -82
  48. data/lib/generators/somatics/authenticated/templates/test/unit_test.rb +0 -164
  49. data/lib/generators/somatics/authenticated/templates/test/users.yml +0 -60
  50. data/lib/generators/somatics/authenticated_controller/templates/_model_partial.html.erb +0 -8
  51. data/lib/generators/somatics/authenticated_controller/templates/activation.erb +0 -3
  52. data/lib/generators/somatics/authenticated_controller/templates/authenticated_system.rb +0 -189
  53. data/lib/generators/somatics/authenticated_controller/templates/authenticated_test_helper.rb +0 -10
  54. data/lib/generators/somatics/authenticated_controller/templates/config/initializers/site_keys.rb +0 -38
  55. data/lib/generators/somatics/authenticated_controller/templates/controller.rb +0 -55
  56. data/lib/generators/somatics/authenticated_controller/templates/helper.rb +0 -91
  57. data/lib/generators/somatics/authenticated_controller/templates/mailer.rb +0 -25
  58. data/lib/generators/somatics/authenticated_controller/templates/migration.rb +0 -26
  59. data/lib/generators/somatics/authenticated_controller/templates/model.rb +0 -83
  60. data/lib/generators/somatics/authenticated_controller/templates/observer.rb +0 -11
  61. data/lib/generators/somatics/authenticated_controller/templates/session_helper.rb +0 -2
  62. data/lib/generators/somatics/authenticated_controller/templates/signup.html.erb +0 -19
  63. data/lib/generators/somatics/authenticated_controller/templates/signup_notification.erb +0 -8
  64. data/lib/generators/somatics/authenticated_controller/templates/test/mailer_test.rb +0 -31
  65. data/lib/generators/somatics/authenticated_controller/templates/test/model_functional_test.rb +0 -93
  66. data/lib/generators/somatics/authenticated_controller/templates/test/sessions_functional_test.rb +0 -82
  67. data/lib/generators/somatics/authenticated_controller/templates/test/unit_test.rb +0 -164
  68. data/lib/generators/somatics/authenticated_controller/templates/test/users.yml +0 -60
  69. data/lib/generators/somatics/scaffold_controller/templates/builder_index.pdf.prawn +0 -25
  70. data/lib/generators/somatics/settings_controller/templates/builder_index.pdf.prawn +0 -25
  71. data/lib/generators/somatics/settings_controller/templates/model.rb +0 -54
@@ -2,150 +2,105 @@
2
2
  #
3
3
  # repo_entered = ask 'Type your repository for the project (SVN), followed by [ENTER]:'
4
4
 
5
+ app_name = ARGV[0]
6
+
7
+ puts " Somatics going to bootstrap your new #{app_name.humanize} App..."
8
+ puts " Any problems? See https://github.com/inspiresynergy/somatics3-generator"
9
+
10
+
11
+ #----------------------------------------------------------------------------
12
+ # Set up git
13
+ #----------------------------------------------------------------------------
14
+ puts " setting up source control with 'git'..."
15
+ # specific to Mac OS X
16
+ append_file '.gitignore' do
17
+ '.DS_Store'
18
+ end
19
+ git :init
20
+ git :add => '.'
21
+ git :commit => "-m 'Initial commit of unmodified new Rails app'"
22
+
23
+ #----------------------------------------------------------------------------
24
+ # Add Somatics Required Gems and plugins
25
+ #----------------------------------------------------------------------------
26
+
5
27
  gem 'will_paginate', :version => "~> 3.0.pre2"
6
- gem 'prawn', :version => '0.6.3'
7
28
  gem 'somatics3-generators', :group => :development
8
29
  gem 'json'
30
+ gem 'meta_search'
31
+ gem 'paper_trail'
32
+ gem 'tiny_mce'
33
+ gem 'devise'
34
+
35
+ puts " installing gems (takes a few minutes!)..."
36
+ run 'bundle install'
9
37
 
10
- plugin 'action_mailer_optional_tls',
11
- :git => 'git://github.com/collectiveidea/action_mailer_optional_tls.git'
12
38
  plugin 'faster_csv',
13
39
  :git => 'git://github.com/circle/fastercsv.git'
14
- plugin 'prawnto',
15
- :git => 'git://github.com/thorny-sun/prawnto.git'
16
- plugin 'redmine_filter',
17
- :git => 'git://github.com/inspiresynergy/redmine_filter.git'
18
- plugin 'restful_authentication',
19
- :git => 'git://github.com/Satish/restful-authentication.git'
20
- # :git => 'git://github.com/technoweenie/restful-authentication.git'
21
- # plugin 'somatics_generator',
22
- # :git => 'git://github.com/inspiresynergy/somatics_generator.git'
23
- # theme_support break my rails 2.3.5
24
- # http://inspiresynergy.lighthouseapp.com/projects/53315-somatics/tickets/14-theme_support-break-my-rails-235
25
- # plugin 'theme_support',
26
- # :git => 'git://github.com/aussiegeek/theme_support.git'
27
- plugin 'tinymce_hammer',
28
- :git => 'git://github.com/trevorrowe/tinymce_hammer.git'
40
+ plugin 'somatics_filter',
41
+ :git => 'git://github.com/inspiresynergy/somatics_filter.git'
29
42
  plugin 'to_xls',
30
43
  :git => 'git://github.com/arydjmal/to_xls.git'
31
44
  plugin 'dynamic_form',
32
45
  :git => 'git://github.com/rails/dynamic_form.git'
46
+ plugin 'calendar_date_select',
47
+ :git => 'git://github.com/timcharper/calendar_date_select.git'
33
48
 
34
- rakefile "setup_svn.rake" do
35
- <<-TASK
36
- desc "Configure Subversion for Rails"
37
- task :setup_svn do
38
- system "svn info"
39
- if $? != 0
40
- puts 'Please Import your project to svn before executing this task'
41
- exit(0)
42
- end
43
-
44
- system "svn commit -m 'initial commit'"
45
-
46
- puts "Add .gems"
47
- system "svn add .gems"
48
- system "svn commit -m 'add .gems'"
49
-
50
- puts "Add .gitignore"
51
- system "echo '.svn' > .gitignore"
52
- system "svn add .gitignore"
53
- system "svn commit -m 'add .gitignore'"
54
-
55
- puts "Ignoring .git"
56
- system "svn propset svn:ignore '.git' ."
57
-
58
- puts "Removing /log"
59
- system "svn remove log/*"
60
- system "svn commit -m 'removing all log files from subversion'"
61
- system 'svn propset svn:ignore "*.log" log/'
62
- system "svn update log/"
63
- system "svn commit -m 'Ignoring all files in /log/ ending in .log'"
64
-
65
- puts "Ignoring /db"
66
- system 'svn propset svn:ignore "*.db" db/'
67
- system "svn update db/"
68
- system "svn commit -m 'Ignoring all files in /db/ ending in .db'"
69
-
70
- puts "Renaming database.yml database.example"
71
- system "svn move config/database.yml config/database.example"
72
- system "svn commit -m 'Moving database.yml to database.example to provide a template for anyone who checks out the code'"
73
- system 'svn propset svn:ignore "database.yml" config/'
74
- system "svn update config/"
75
- system "svn commit -m 'Ignoring database.yml'"
76
-
77
- puts "Ignoring /tmp"
78
- system 'svn propset svn:ignore "*" tmp/'
79
- system "svn update tmp/"
80
- system "svn commit -m 'Ignoring all files in /tmp/'"
81
-
82
- puts "Ignoring /doc"
83
- system 'svn propset svn:ignore "*" doc/'
84
- system "svn update doc/"
85
- system "svn commit -m 'Ignoring all files in /doc/'"
86
- end
87
- TASK
88
- end
49
+ #----------------------------------------------------------------------------
50
+ # Tweak config/application.rb
51
+ #----------------------------------------------------------------------------
52
+ environment 'config.autoload_paths += %W(#{config.root}/lib)'
89
53
 
90
- generate "somatics:install"
91
- # generate "tinymce_installation"
54
+ #----------------------------------------------------------------------------
55
+ # Remove the usual cruft
56
+ #----------------------------------------------------------------------------
57
+ puts " removing unneeded files..."
58
+ run 'rm public/index.html'
59
+ run 'rm public/favicon.ico'
60
+ run 'rm public/images/rails.png'
61
+ run 'rm README'
62
+ run 'touch README'
92
63
 
93
- environment 'config.autoload_paths += %W(#{config.root}/lib)'
94
- generate "somatics:authenticated user"
95
- generate "somatics:authenticated_controller admin/user --model=User"
64
+ puts " banning spiders from your site by changing robots.txt..."
65
+ gsub_file 'public/robots.txt', /# User-Agent/, 'User-Agent'
66
+ gsub_file 'public/robots.txt', /# Disallow/, 'Disallow'
67
+
68
+ #----------------------------------------------------------------------------
69
+ # Generate Required Assets
70
+ #----------------------------------------------------------------------------
96
71
 
72
+ generate "somatics:install"
73
+ generate "devise:install"
74
+ generate 'paper_trail'
75
+ generate "somatics:authenticated user --namespace=admin"
97
76
  generate "somatics:settings"
98
77
 
78
+ #----------------------------------------------------------------------------
79
+ # Create and Migrate the Database
80
+ #----------------------------------------------------------------------------
81
+
82
+ puts " create and migrate the database"
99
83
  rake "db:create"
100
84
  rake "db:migrate"
85
+ rake "db:seed"
86
+
87
+ #----------------------------------------------------------------------------
88
+ # Create a default user
89
+ #----------------------------------------------------------------------------
101
90
 
102
- if yes?(%(Create Default Admin User (username:admin, password:somatics)?))
91
+ if yes?(%(Create Default Admin User (email:admin@somatics.com, password:somatics)?))
103
92
  rake "somatics:create_user"
104
93
  else
105
- puts "You can run rake somatics:create_user to create default user"
94
+ puts " You can run rake somatics:create_user to create default user"
106
95
  end
107
96
 
108
- # Delete unnecessary files
109
- run "rm README"
110
- # run "rm public/index.html"
97
+ #----------------------------------------------------------------------------
98
+ # Finish up
99
+ #----------------------------------------------------------------------------
111
100
 
112
- app_name = ARGV[0]
113
-
114
- # Commit all work so far to the local repository
115
- git :init
101
+ puts " checking everything into git..."
116
102
  git :add => '.'
117
- git :commit => "-a -m 'Initial commit'"
118
-
119
- rakefile "heroku.rake" do
120
- <<-TASK
121
- namespace :heroku do
122
- desc "Configure Heroku"
123
- task :setup do
124
- system "heroku create #{app_name}"
125
- system "git add ."
126
- system "git commit -a -m 'Initial Commit'"
127
- # system "heroku addons:add cron:daily"
128
- system "heroku addons:add deployhooks:email \
129
- recipient=heroku@inspiresynergy.com \
130
- subject='[#{app_name}] Deployed' \
131
- body='{{user}} deployed #{app_name} successfully'"
132
- system "heroku addons:add piggyback_ssl"
133
- system "heroku addons:add newrelic:bronze"
134
- end
135
-
136
- desc "Deploy to Heroku"
137
- task :deploy do
138
- system "git add ."
139
- system "git commit -a -m 'Heroku Release'"
140
- system "git push heroku master"
141
- end
142
-
143
- desc "Deploy and Migrate to Heroku"
144
- task :deploy_migrate => :deploy do
145
- system "heroku rake db:migrate"
146
- end
147
-
148
- end
149
- TASK
150
- end
103
+ git :commit => "-m 'modified Rails app to use Somatics'"
104
+
105
+ puts " Done setting up your Rails app with Somatics."
151
106
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: somatics3-generators
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benjamin Wong
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-17 00:00:00 +08:00
18
+ date: 2010-11-09 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -35,23 +35,21 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: prawn
38
+ name: json
39
39
  prerelease: false
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - "="
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
- hash: 1
45
+ hash: 3
46
46
  segments:
47
47
  - 0
48
- - 6
49
- - 3
50
- version: 0.6.3
48
+ version: "0"
51
49
  type: :runtime
52
50
  version_requirements: *id002
53
51
  - !ruby/object:Gem::Dependency
54
- name: json
52
+ name: meta_search
55
53
  prerelease: false
56
54
  requirement: &id003 !ruby/object:Gem::Requirement
57
55
  none: false
@@ -64,6 +62,48 @@ dependencies:
64
62
  version: "0"
65
63
  type: :runtime
66
64
  version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: paper_trail
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ hash: 3
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ type: :runtime
78
+ version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ name: tiny_mce
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ type: :runtime
92
+ version_requirements: *id005
93
+ - !ruby/object:Gem::Dependency
94
+ name: devise
95
+ prerelease: false
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
105
+ type: :runtime
106
+ version_requirements: *id006
67
107
  description: Somatics 3 generators is used to generate a resource with skeleton admin panel
68
108
  email: tkwong@inspiresynergy.com
69
109
  executables:
@@ -84,50 +124,33 @@ files:
84
124
  - bin/somatics
85
125
  - bin/somatify
86
126
  - lib/generators/somatics.rb
127
+ - lib/generators/somatics/associated/associated_generator.rb
128
+ - lib/generators/somatics/associated/templates/migration.rb
87
129
  - lib/generators/somatics/attributes/attributes_generator.rb
88
130
  - lib/generators/somatics/attributes/templates/migration.rb
89
131
  - lib/generators/somatics/authenticated/authenticated_generator.rb
90
- - lib/generators/somatics/authenticated/templates/mailer.rb
91
- - lib/generators/somatics/authenticated/templates/migration.rb
92
- - lib/generators/somatics/authenticated/templates/model.rb
93
- - lib/generators/somatics/authenticated/templates/observer.rb
94
- - lib/generators/somatics/authenticated/templates/test/mailer_test.rb
95
- - lib/generators/somatics/authenticated/templates/test/model_functional_test.rb
96
- - lib/generators/somatics/authenticated/templates/test/sessions_functional_test.rb
97
- - lib/generators/somatics/authenticated/templates/test/unit_test.rb
98
- - lib/generators/somatics/authenticated/templates/test/users.yml
132
+ - lib/generators/somatics/authenticated/templates/partial_form.html.erb
99
133
  - lib/generators/somatics/authenticated_controller/authenticated_controller_generator.rb
100
- - lib/generators/somatics/authenticated_controller/templates/_model_partial.html.erb
101
- - lib/generators/somatics/authenticated_controller/templates/activation.erb
102
- - lib/generators/somatics/authenticated_controller/templates/authenticated_system.rb
103
- - lib/generators/somatics/authenticated_controller/templates/authenticated_test_helper.rb
104
- - lib/generators/somatics/authenticated_controller/templates/config/initializers/site_keys.rb
105
- - lib/generators/somatics/authenticated_controller/templates/controller.rb
106
- - lib/generators/somatics/authenticated_controller/templates/helper.rb
134
+ - lib/generators/somatics/authenticated_controller/templates/locales_en.yml
135
+ - lib/generators/somatics/authenticated_controller/templates/locales_zh-TW.yml
107
136
  - lib/generators/somatics/authenticated_controller/templates/login.html.erb
108
- - lib/generators/somatics/authenticated_controller/templates/mailer.rb
109
- - lib/generators/somatics/authenticated_controller/templates/migration.rb
110
- - lib/generators/somatics/authenticated_controller/templates/model.rb
111
- - lib/generators/somatics/authenticated_controller/templates/observer.rb
112
- - lib/generators/somatics/authenticated_controller/templates/session_helper.rb
113
137
  - lib/generators/somatics/authenticated_controller/templates/sessions_controller.rb
114
- - lib/generators/somatics/authenticated_controller/templates/signup.html.erb
115
- - lib/generators/somatics/authenticated_controller/templates/signup_notification.erb
116
- - lib/generators/somatics/authenticated_controller/templates/test/mailer_test.rb
117
- - lib/generators/somatics/authenticated_controller/templates/test/model_functional_test.rb
118
- - lib/generators/somatics/authenticated_controller/templates/test/sessions_functional_test.rb
119
- - lib/generators/somatics/authenticated_controller/templates/test/unit_test.rb
120
- - lib/generators/somatics/authenticated_controller/templates/test/users.yml
121
138
  - lib/generators/somatics/helper/helper_generator.rb
122
139
  - lib/generators/somatics/install/install_generator.rb
140
+ - lib/generators/somatics/install/templates/config/locales/devise_zh-TW.yml
123
141
  - lib/generators/somatics/install/templates/config/locales/somatics_en.yml
124
142
  - lib/generators/somatics/install/templates/config/locales/somatics_zh-TW.yml
125
143
  - lib/generators/somatics/install/templates/controller_admin.rb
126
144
  - lib/generators/somatics/install/templates/controller_home.rb
127
145
  - lib/generators/somatics/install/templates/helper_admin.rb
146
+ - lib/generators/somatics/install/templates/initializer_paper_trail.rb
128
147
  - lib/generators/somatics/install/templates/layout_admin.html.erb
148
+ - lib/generators/somatics/install/templates/lib/active_record/diff.rb
129
149
  - lib/generators/somatics/install/templates/lib/somatic_link_renderer.rb
150
+ - lib/generators/somatics/install/templates/lib/tasks/heroku.rake
151
+ - lib/generators/somatics/install/templates/lib/tasks/svn.rake
130
152
  - lib/generators/somatics/install/templates/partial_menu.html.erb
153
+ - lib/generators/somatics/install/templates/partial_versions.html.erb
131
154
  - lib/generators/somatics/install/templates/public/images/somatics/add.png
132
155
  - lib/generators/somatics/install/templates/public/images/somatics/arrow_collapsed.png
133
156
  - lib/generators/somatics/install/templates/public/images/somatics/arrow_expanded.png
@@ -223,10 +246,12 @@ files:
223
246
  - lib/generators/somatics/install/templates/public/javascripts/somatics/prototype.js
224
247
  - lib/generators/somatics/install/templates/public/javascripts/somatics/rails.js
225
248
  - lib/generators/somatics/install/templates/public/javascripts/somatics/select_list_move.js
249
+ - lib/generators/somatics/install/templates/public/stylesheets/application.css
226
250
  - lib/generators/somatics/install/templates/public/stylesheets/somatics/base.css
227
251
  - lib/generators/somatics/install/templates/public/stylesheets/somatics/context_menu.css
228
252
  - lib/generators/somatics/install/templates/public/stylesheets/somatics/csshover.htc
229
253
  - lib/generators/somatics/install/templates/public/stylesheets/somatics/jstoolbar.css
254
+ - lib/generators/somatics/install/templates/public/themes/default/stylesheets/application.css
230
255
  - lib/generators/somatics/install/templates/view_index.html.erb
231
256
  - lib/generators/somatics/relationship/relationship_generator.rb
232
257
  - lib/generators/somatics/relationship/templates/migration.rb
@@ -238,7 +263,6 @@ files:
238
263
  - lib/generators/somatics/scaffold/templates/show.html.erb
239
264
  - lib/generators/somatics/scaffold_controller/USAGE
240
265
  - lib/generators/somatics/scaffold_controller/scaffold_controller_generator.rb
241
- - lib/generators/somatics/scaffold_controller/templates/builder_index.pdf.prawn
242
266
  - lib/generators/somatics/scaffold_controller/templates/builder_index.xls.builder
243
267
  - lib/generators/somatics/scaffold_controller/templates/builder_index.xml.builder
244
268
  - lib/generators/somatics/scaffold_controller/templates/controller.rb
@@ -257,7 +281,6 @@ files:
257
281
  - lib/generators/somatics/settings/settings_generator.rb
258
282
  - lib/generators/somatics/settings_controller/USAGE
259
283
  - lib/generators/somatics/settings_controller/settings_controller_generator.rb
260
- - lib/generators/somatics/settings_controller/templates/builder_index.pdf.prawn
261
284
  - lib/generators/somatics/settings_controller/templates/builder_index.xls.builder
262
285
  - lib/generators/somatics/settings_controller/templates/builder_index.xml.builder
263
286
  - lib/generators/somatics/settings_controller/templates/controller.rb
@@ -265,7 +288,6 @@ files:
265
288
  - lib/generators/somatics/settings_controller/templates/locales_en.yml
266
289
  - lib/generators/somatics/settings_controller/templates/locales_zh-TW.yml
267
290
  - lib/generators/somatics/settings_controller/templates/migration.rb
268
- - lib/generators/somatics/settings_controller/templates/model.rb
269
291
  - lib/generators/somatics/settings_controller/templates/partial_bulk.html.erb
270
292
  - lib/generators/somatics/settings_controller/templates/partial_edit.html.erb
271
293
  - lib/generators/somatics/settings_controller/templates/partial_form.html.erb
@@ -288,36 +310,23 @@ licenses: []
288
310
  post_install_message:
289
311
  rdoc_options:
290
312
  - --charset=UTF-8
313
+ - --exclude=lib/generators/somatics/associated/templates/migration.rb
291
314
  - --exclude=lib/generators/somatics/attributes/templates/migration.rb
292
- - --exclude=lib/generators/somatics/authenticated/templates/mailer.rb
293
- - --exclude=lib/generators/somatics/authenticated/templates/migration.rb
294
- - --exclude=lib/generators/somatics/authenticated/templates/model.rb
295
- - --exclude=lib/generators/somatics/authenticated/templates/observer.rb
296
- - --exclude=lib/generators/somatics/authenticated/templates/test
297
- - --exclude=lib/generators/somatics/authenticated_controller/templates/_model_partial.html.erb
298
- - --exclude=lib/generators/somatics/authenticated_controller/templates/activation.erb
299
- - --exclude=lib/generators/somatics/authenticated_controller/templates/authenticated_system.rb
300
- - --exclude=lib/generators/somatics/authenticated_controller/templates/authenticated_test_helper.rb
315
+ - --exclude=lib/generators/somatics/authenticated/templates/partial_form.html.erb
301
316
  - --exclude=lib/generators/somatics/authenticated_controller/templates/config
302
- - --exclude=lib/generators/somatics/authenticated_controller/templates/controller.rb
303
- - --exclude=lib/generators/somatics/authenticated_controller/templates/helper.rb
317
+ - --exclude=lib/generators/somatics/authenticated_controller/templates/locales_en.yml
318
+ - --exclude=lib/generators/somatics/authenticated_controller/templates/locales_zh-TW.yml
304
319
  - --exclude=lib/generators/somatics/authenticated_controller/templates/login.html.erb
305
- - --exclude=lib/generators/somatics/authenticated_controller/templates/mailer.rb
306
- - --exclude=lib/generators/somatics/authenticated_controller/templates/migration.rb
307
- - --exclude=lib/generators/somatics/authenticated_controller/templates/model.rb
308
- - --exclude=lib/generators/somatics/authenticated_controller/templates/observer.rb
309
- - --exclude=lib/generators/somatics/authenticated_controller/templates/session_helper.rb
310
320
  - --exclude=lib/generators/somatics/authenticated_controller/templates/sessions_controller.rb
311
- - --exclude=lib/generators/somatics/authenticated_controller/templates/signup.html.erb
312
- - --exclude=lib/generators/somatics/authenticated_controller/templates/signup_notification.erb
313
- - --exclude=lib/generators/somatics/authenticated_controller/templates/test
314
321
  - --exclude=lib/generators/somatics/install/templates/config
315
322
  - --exclude=lib/generators/somatics/install/templates/controller_admin.rb
316
323
  - --exclude=lib/generators/somatics/install/templates/controller_home.rb
317
324
  - --exclude=lib/generators/somatics/install/templates/helper_admin.rb
325
+ - --exclude=lib/generators/somatics/install/templates/initializer_paper_trail.rb
318
326
  - --exclude=lib/generators/somatics/install/templates/layout_admin.html.erb
319
327
  - --exclude=lib/generators/somatics/install/templates/lib
320
328
  - --exclude=lib/generators/somatics/install/templates/partial_menu.html.erb
329
+ - --exclude=lib/generators/somatics/install/templates/partial_versions.html.erb
321
330
  - --exclude=lib/generators/somatics/install/templates/public
322
331
  - --exclude=lib/generators/somatics/install/templates/view_index.html.erb
323
332
  - --exclude=lib/generators/somatics/relationship/templates/migration.rb
@@ -326,7 +335,6 @@ rdoc_options:
326
335
  - --exclude=lib/generators/somatics/scaffold/templates/index.html.erb
327
336
  - --exclude=lib/generators/somatics/scaffold/templates/new.html.erb
328
337
  - --exclude=lib/generators/somatics/scaffold/templates/show.html.erb
329
- - --exclude=lib/generators/somatics/scaffold_controller/templates/builder_index.pdf.prawn
330
338
  - --exclude=lib/generators/somatics/scaffold_controller/templates/builder_index.xls.builder
331
339
  - --exclude=lib/generators/somatics/scaffold_controller/templates/builder_index.xml.builder
332
340
  - --exclude=lib/generators/somatics/scaffold_controller/templates/controller.rb
@@ -342,7 +350,6 @@ rdoc_options:
342
350
  - --exclude=lib/generators/somatics/scaffold_controller/templates/view_index.html.erb
343
351
  - --exclude=lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
344
352
  - --exclude=lib/generators/somatics/scaffold_controller/templates/view_show.html.erb
345
- - --exclude=lib/generators/somatics/settings_controller/templates/builder_index.pdf.prawn
346
353
  - --exclude=lib/generators/somatics/settings_controller/templates/builder_index.xls.builder
347
354
  - --exclude=lib/generators/somatics/settings_controller/templates/builder_index.xml.builder
348
355
  - --exclude=lib/generators/somatics/settings_controller/templates/controller.rb
@@ -350,7 +357,6 @@ rdoc_options:
350
357
  - --exclude=lib/generators/somatics/settings_controller/templates/locales_en.yml
351
358
  - --exclude=lib/generators/somatics/settings_controller/templates/locales_zh-TW.yml
352
359
  - --exclude=lib/generators/somatics/settings_controller/templates/migration.rb
353
- - --exclude=lib/generators/somatics/settings_controller/templates/model.rb
354
360
  - --exclude=lib/generators/somatics/settings_controller/templates/partial_bulk.html.erb
355
361
  - --exclude=lib/generators/somatics/settings_controller/templates/partial_edit.html.erb
356
362
  - --exclude=lib/generators/somatics/settings_controller/templates/partial_form.html.erb