kratos 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +11 -0
  5. data/Gemfile +3 -0
  6. data/LICENSE +21 -0
  7. data/README.md +24 -0
  8. data/bin/kratos +18 -0
  9. data/bin/rake +16 -0
  10. data/bin/rspec +16 -0
  11. data/bin/setup +14 -0
  12. data/kratos.gemspec +30 -0
  13. data/lib/kratos/actions.rb +31 -0
  14. data/lib/kratos/app_builder.rb +468 -0
  15. data/lib/kratos/generators/app_generator.rb +164 -0
  16. data/lib/kratos/version.rb +6 -0
  17. data/lib/kratos.rb +4 -0
  18. data/templates/Capfile +15 -0
  19. data/templates/Gemfile.erb +67 -0
  20. data/templates/Procfile +2 -0
  21. data/templates/README.md.erb +29 -0
  22. data/templates/_javascript.html.erb +10 -0
  23. data/templates/acceptance_helpers_rspec.rb +18 -0
  24. data/templates/action_mailer.rb +5 -0
  25. data/templates/application.scss +4 -0
  26. data/templates/bin_setup +25 -0
  27. data/templates/brakeman.rake +9 -0
  28. data/templates/bundler_audit.rake +12 -0
  29. data/templates/cap_environment.rb +1 -0
  30. data/templates/capybara_poltergeist.rb +17 -0
  31. data/templates/circle.yml.erb +9 -0
  32. data/templates/config_locales_en_datetime.yml +107 -0
  33. data/templates/config_locales_en_messages.yml.erb +3 -0
  34. data/templates/config_locales_pt-BR_datetime.yml +108 -0
  35. data/templates/config_locales_pt-BR_messages.yml.erb +4 -0
  36. data/templates/database_cleaner_rspec.rb +21 -0
  37. data/templates/deploy.rake +28 -0
  38. data/templates/deploy_config.rb.erb +33 -0
  39. data/templates/dev.rake +12 -0
  40. data/templates/disable_xml_params.rb +1 -0
  41. data/templates/dotfiles/.ctags +2 -0
  42. data/templates/dotfiles/.gitignore +14 -0
  43. data/templates/dotfiles/.sample.application.yml +15 -0
  44. data/templates/errors.rb +34 -0
  45. data/templates/factory_girl_rspec.rb +3 -0
  46. data/templates/foreman.rake +39 -0
  47. data/templates/i18n-tasks.yml +22 -0
  48. data/templates/i18n.rb +3 -0
  49. data/templates/i18n_rspec.rb +19 -0
  50. data/templates/json_encoding.rb +1 -0
  51. data/templates/kratos_layout.html.erb.erb +20 -0
  52. data/templates/lograge.rb +14 -0
  53. data/templates/postgresql_database.yml.erb +22 -0
  54. data/templates/puma.rb +28 -0
  55. data/templates/rails_helper.rb +28 -0
  56. data/templates/redis.rb +10 -0
  57. data/templates/rspec_api_documentation_rspec.rb.erb +33 -0
  58. data/templates/rubocop.rake +4 -0
  59. data/templates/rubocop.yml +40 -0
  60. data/templates/schedule.rb +8 -0
  61. data/templates/secrets.yml +14 -0
  62. data/templates/shoulda_matchers_config_rspec.rb +6 -0
  63. data/templates/sidekiq.yml +4 -0
  64. data/templates/sidekiq_rspec.yml +10 -0
  65. data/templates/sidekiq_security.rb +6 -0
  66. data/templates/smtp.rb +9 -0
  67. data/templates/spec_helper.rb +31 -0
  68. data/templates/staging.rb +5 -0
  69. data/templates/timezones.rb +26 -0
  70. metadata +145 -0
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kratos
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - jaisonerick
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 4.2.0
41
+ description: |
42
+ Kratos is a rails project generator that is ready for deployment with
43
+ capistrano. Based on thoughtbot's "suspenders".
44
+ email: jaisonreis@gmail.com
45
+ executables:
46
+ - kratos
47
+ extensions: []
48
+ extra_rdoc_files:
49
+ - README.md
50
+ files:
51
+ - ".gitignore"
52
+ - ".ruby-version"
53
+ - ".travis.yml"
54
+ - Gemfile
55
+ - LICENSE
56
+ - README.md
57
+ - bin/kratos
58
+ - bin/rake
59
+ - bin/rspec
60
+ - bin/setup
61
+ - kratos.gemspec
62
+ - lib/kratos.rb
63
+ - lib/kratos/actions.rb
64
+ - lib/kratos/app_builder.rb
65
+ - lib/kratos/generators/app_generator.rb
66
+ - lib/kratos/version.rb
67
+ - templates/Capfile
68
+ - templates/Gemfile.erb
69
+ - templates/Procfile
70
+ - templates/README.md.erb
71
+ - templates/_javascript.html.erb
72
+ - templates/acceptance_helpers_rspec.rb
73
+ - templates/action_mailer.rb
74
+ - templates/application.scss
75
+ - templates/bin_setup
76
+ - templates/brakeman.rake
77
+ - templates/bundler_audit.rake
78
+ - templates/cap_environment.rb
79
+ - templates/capybara_poltergeist.rb
80
+ - templates/circle.yml.erb
81
+ - templates/config_locales_en_datetime.yml
82
+ - templates/config_locales_en_messages.yml.erb
83
+ - templates/config_locales_pt-BR_datetime.yml
84
+ - templates/config_locales_pt-BR_messages.yml.erb
85
+ - templates/database_cleaner_rspec.rb
86
+ - templates/deploy.rake
87
+ - templates/deploy_config.rb.erb
88
+ - templates/dev.rake
89
+ - templates/disable_xml_params.rb
90
+ - templates/dotfiles/.ctags
91
+ - templates/dotfiles/.gitignore
92
+ - templates/dotfiles/.sample.application.yml
93
+ - templates/errors.rb
94
+ - templates/factory_girl_rspec.rb
95
+ - templates/foreman.rake
96
+ - templates/i18n-tasks.yml
97
+ - templates/i18n.rb
98
+ - templates/i18n_rspec.rb
99
+ - templates/json_encoding.rb
100
+ - templates/kratos_layout.html.erb.erb
101
+ - templates/lograge.rb
102
+ - templates/postgresql_database.yml.erb
103
+ - templates/puma.rb
104
+ - templates/rails_helper.rb
105
+ - templates/redis.rb
106
+ - templates/rspec_api_documentation_rspec.rb.erb
107
+ - templates/rubocop.rake
108
+ - templates/rubocop.yml
109
+ - templates/schedule.rb
110
+ - templates/secrets.yml
111
+ - templates/shoulda_matchers_config_rspec.rb
112
+ - templates/sidekiq.yml
113
+ - templates/sidekiq_rspec.yml
114
+ - templates/sidekiq_security.rb
115
+ - templates/smtp.rb
116
+ - templates/spec_helper.rb
117
+ - templates/staging.rb
118
+ - templates/timezones.rb
119
+ homepage: http://github.com/jaisonerick/kratos
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options:
125
+ - "--charset=UTF-8"
126
+ require_paths:
127
+ - lib
128
+ required_ruby_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 2.3.0
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ requirements: []
139
+ rubyforge_project:
140
+ rubygems_version: 2.5.1
141
+ signing_key:
142
+ specification_version: 4
143
+ summary: A rails project generator based on thoughtbot's suspenders.
144
+ test_files: []
145
+ has_rdoc: