eucalypt 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eucalypt.rb +6 -6
  3. data/lib/eucalypt/{eucalypt-blog → blog}/helpers.rb +0 -0
  4. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article-edit/cli/edit-datetime.rb +1 -1
  5. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article-edit/cli/edit-urltitle.rb +1 -1
  6. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article/cli/article.rb +4 -4
  7. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/__base__.rb +1 -1
  8. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/__require__.rb +0 -0
  9. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/cli/blog.rb +2 -2
  10. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/article.rb +1 -1
  11. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/controller.rb +1 -1
  12. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/helper.rb +1 -1
  13. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/list.rb +1 -1
  14. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/views.rb +1 -1
  15. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/controller/controller.tt +0 -0
  16. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/controller/controller_spec.tt +0 -0
  17. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/helper/helper.tt +0 -0
  18. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/helper/helper_spec.tt +0 -0
  19. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article.erb +0 -0
  20. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article_layout.erb +0 -0
  21. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article_md.tt +0 -0
  22. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/articles.erb +0 -0
  23. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/articles_layout.erb +0 -0
  24. data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/search.erb +0 -0
  25. data/lib/eucalypt/{eucalypt-core → core}/cli/__base__.rb +0 -0
  26. data/lib/eucalypt/{eucalypt-core → core}/cli/console.rb +0 -0
  27. data/lib/eucalypt/{eucalypt-core → core}/cli/core.rb +0 -0
  28. data/lib/eucalypt/{eucalypt-core → core}/cli/help.rb +0 -0
  29. data/lib/eucalypt/{eucalypt-core → core}/cli/init.rb +0 -0
  30. data/lib/eucalypt/{eucalypt-core → core}/cli/launch.rb +0 -0
  31. data/lib/eucalypt/{eucalypt-core → core}/cli/test.rb +0 -0
  32. data/lib/eucalypt/{eucalypt-core → core}/cli/version.rb +0 -0
  33. data/lib/eucalypt/{eucalypt-core → core}/templates/Gemfile.tt +0 -0
  34. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/.gitignore +0 -0
  35. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/.travis.yml +0 -0
  36. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/Procfile +0 -0
  37. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/Rakefile +0 -0
  38. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app.rb +0 -0
  39. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/fonts/.empty_directory +0 -0
  40. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/images/.empty_directory +0 -0
  41. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/scripts/application.js +0 -0
  42. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/__partials__.scss +0 -0
  43. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/application.scss +0 -0
  44. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/partials/_mixins.scss +0 -0
  45. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/controllers/application_controller.rb +0 -0
  46. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/helpers/application_helper.rb +0 -0
  47. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/models/.empty_directory +0 -0
  48. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/static/.empty_directory +0 -0
  49. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/index.erb +0 -0
  50. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/layouts/main.erb +0 -0
  51. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/partials/.empty_directory +0 -0
  52. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config.ru +0 -0
  53. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/active_record.rb +0 -0
  54. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/asset_pipeline.rb +0 -0
  55. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/database.yml +0 -0
  56. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/initializers/.empty_directory +0 -0
  57. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/logging.rb +0 -0
  58. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/manifest.rb +0 -0
  59. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/log/.empty_directory +0 -0
  60. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/controllers/application_controller_spec.rb +0 -0
  61. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/helpers/application_helper_spec.rb +0 -0
  62. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/models/.empty_directory +0 -0
  63. data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/spec_helper.rb +0 -0
  64. data/lib/eucalypt/{eucalypt-destroy → destroy}/helpers.rb +0 -0
  65. data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-controller.rb +1 -1
  66. data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-helper.rb +1 -1
  67. data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-model.rb +1 -1
  68. data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-scaffold.rb +0 -0
  69. data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy.rb +0 -0
  70. data/lib/eucalypt/{eucalypt-generate → generate}/.gitkeep +0 -0
  71. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/cli/generate-controller.rb +1 -1
  72. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/generators/controller.rb +0 -0
  73. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/controller.tt +0 -0
  74. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/policy_rest_controller.tt +0 -0
  75. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/rest_controller.tt +0 -0
  76. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller_spec.tt +0 -0
  77. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/cli/generate-helper.rb +1 -1
  78. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/generators/helper.rb +0 -0
  79. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/templates/helper.tt +0 -0
  80. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/templates/helper_spec.tt +0 -0
  81. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/cli/generate-model.rb +1 -1
  82. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/generators/model.rb +0 -0
  83. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/templates/model.tt +0 -0
  84. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/templates/model_spec.tt +0 -0
  85. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate/cli/generate-scaffold.rb +0 -0
  86. data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate/cli/generate.rb +3 -3
  87. data/lib/eucalypt/{eucalypt-migration → migration}/helpers.rb +0 -0
  88. data/lib/eucalypt/{eucalypt-migration → migration}/migration_base.tt +0 -0
  89. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add-column.rb +1 -1
  90. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add-index.rb +1 -1
  91. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add.rb +0 -0
  92. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/generators/column.rb +1 -1
  93. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/generators/index.rb +1 -1
  94. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-blank/cli/blank.rb +1 -1
  95. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-blank/generators/blank.rb +0 -0
  96. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/cli/change-column.rb +1 -1
  97. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/cli/change.rb +0 -0
  98. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/generators/column.rb +1 -1
  99. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/cli/create-table.rb +1 -1
  100. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/cli/create.rb +0 -0
  101. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/generators/table.rb +1 -1
  102. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-column.rb +1 -1
  103. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-index.rb +1 -1
  104. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-table.rb +1 -1
  105. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop.rb +0 -0
  106. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/column.rb +0 -0
  107. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/index.rb +0 -0
  108. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/table.rb +0 -0
  109. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-column.rb +1 -1
  110. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-index.rb +1 -1
  111. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-table.rb +1 -1
  112. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename.rb +0 -0
  113. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/column.rb +0 -0
  114. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/index.rb +0 -0
  115. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/table.rb +0 -0
  116. data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration/cli/migration.rb +6 -6
  117. data/lib/eucalypt/{eucalypt-security/namespaces/security-warden/user_confirm.rb → security/confirm.rb} +0 -0
  118. data/lib/eucalypt/{eucalypt-security → security}/helpers.rb +1 -1
  119. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/cli/security-policy-permission.rb +1 -1
  120. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/generators/policy-permission.rb +0 -0
  121. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt +0 -0
  122. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-role/cli/security-policy-role.rb +0 -0
  123. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/cli/security-policy.rb +3 -3
  124. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/generators/policy.rb +0 -0
  125. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/templates/create_policy_roles_migration.tt +0 -0
  126. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/templates/policy.tt +0 -0
  127. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/cli/security-pundit.rb +2 -2
  128. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/generators/role.rb +0 -0
  129. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/templates/create_roles_migration.tt +0 -0
  130. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/templates/pundit.tt +2 -2
  131. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/cli/security-warden.rb +21 -3
  132. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/generators/auth_controller.rb +0 -0
  133. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/generators/user.rb +0 -0
  134. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/auth_controller.tt +0 -0
  135. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/auth_login.tt +0 -0
  136. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/create_users_table_migration.tt +0 -0
  137. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/user.tt +1 -1
  138. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/warden.tt +1 -7
  139. data/lib/eucalypt/{eucalypt-security → security}/namespaces/security/cli/security.rb +3 -3
  140. data/lib/eucalypt/version.rb +1 -1
  141. metadata +139 -140
  142. data/lib/eucalypt/eucalypt-core/templates/eucalypt/app/static/readme.yml +0 -34
@@ -1,34 +0,0 @@
1
- # -------------------------------------------------------------------------------------------------------- #
2
- # DESCRIPTION: #
3
- # The `static` directory should contain structured data in the YAML or JSON formats. #
4
- # Currently supported extensions are .yaml, .yml, .json and .geojson #
5
- # #
6
- # The `Static` helper constant can be accessed from anywhere within your application. #
7
- # This constant acts as a link to the `static` directory, allowing you to access data. #
8
- # -------------------------------------------------------------------------------------------------------- #
9
- # EXAMPLES: #
10
- # - The data in a GEOJSON file at `static/server-locations.geojson` can be accessed with: #
11
- # `Static.server_locations` - Note how method names are sometimes adjusted #
12
- # #
13
- # - The data in a JSON file at `static/dependencies/config.json` can be accessed with: #
14
- # `Static.dependencies.config` #
15
- # #
16
- # - The data in a YAML file at `static/locales/en.yml` can be accessed with: #
17
- # `Static.locales.en` #
18
- # -------------------------------------------------------------------------------------------------------- #
19
- # VIEWING DEFINED SUBDIRECTORY AND FILE METHODS: #
20
- # The `Object#methods` method can be used to check for defined subdirectory and file methods. #
21
- # Consider a structure like the following: #
22
- # #
23
- # static Static.methods(false) #=> [:hobbies, :main] #
24
- # ├── hobbies Static.hobbies.methods(false) #=> [:academic, :non_academic] #
25
- # │ ├── academic Static.hobbies.academic.methods(false) #=> [:ruby] #
26
- # │ │ └── ruby.yml #
27
- # │ └── non-academic Static.hobbies.non_academic.methods(false) #=> [:games, :sports] #
28
- # │ ├── games Static.hobbies.non_academic.games.methods(false) #=> [:chess] #
29
- # │ │ └── chess.yml #
30
- # │ └── sports #
31
- # │ ├── climbing.json Static.hobbies.non_academic.sports.methods(false) #=> [:climbing, :golf] #
32
- # │ └── golf.yml #
33
- # └── main.yml #
34
- # -------------------------------------------------------------------------------------------------------- #