eucalypt 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eucalypt.rb +6 -6
- data/lib/eucalypt/{eucalypt-blog → blog}/helpers.rb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article-edit/cli/edit-datetime.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article-edit/cli/edit-urltitle.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog-article/cli/article.rb +4 -4
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/__base__.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/__require__.rb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/cli/blog.rb +2 -2
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/article.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/controller.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/helper.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/list.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/generators/views.rb +1 -1
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/controller/controller.tt +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/controller/controller_spec.tt +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/helper/helper.tt +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/helper/helper_spec.tt +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article.erb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article_layout.erb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/article_md.tt +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/articles.erb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/articles_layout.erb +0 -0
- data/lib/eucalypt/{eucalypt-blog → blog}/namespaces/blog/templates/views/search.erb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/__base__.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/console.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/core.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/help.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/init.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/launch.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/test.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/cli/version.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/Gemfile.tt +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/.gitignore +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/.travis.yml +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/Procfile +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/Rakefile +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/fonts/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/images/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/scripts/application.js +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/__partials__.scss +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/application.scss +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/assets/stylesheets/partials/_mixins.scss +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/controllers/application_controller.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/helpers/application_helper.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/models/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/static/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/index.erb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/layouts/main.erb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/app/views/partials/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config.ru +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/active_record.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/asset_pipeline.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/database.yml +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/initializers/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/logging.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/config/manifest.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/log/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/controllers/application_controller_spec.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/helpers/application_helper_spec.rb +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/models/.empty_directory +0 -0
- data/lib/eucalypt/{eucalypt-core → core}/templates/eucalypt/spec/spec_helper.rb +0 -0
- data/lib/eucalypt/{eucalypt-destroy → destroy}/helpers.rb +0 -0
- data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-controller.rb +1 -1
- data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-helper.rb +1 -1
- data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-model.rb +1 -1
- data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy-scaffold.rb +0 -0
- data/lib/eucalypt/{eucalypt-destroy → destroy}/namespaces/destroy/cli/destroy.rb +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/.gitkeep +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/cli/generate-controller.rb +1 -1
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/generators/controller.rb +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/controller.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/policy_rest_controller.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller/rest_controller.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-controller/templates/controller_spec.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/cli/generate-helper.rb +1 -1
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/generators/helper.rb +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/templates/helper.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-helper/templates/helper_spec.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/cli/generate-model.rb +1 -1
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/generators/model.rb +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/templates/model.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate-model/templates/model_spec.tt +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate/cli/generate-scaffold.rb +0 -0
- data/lib/eucalypt/{eucalypt-generate → generate}/namespaces/generate/cli/generate.rb +3 -3
- data/lib/eucalypt/{eucalypt-migration → migration}/helpers.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/migration_base.tt +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add-column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add-index.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/cli/add.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/generators/column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-add/generators/index.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-blank/cli/blank.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-blank/generators/blank.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/cli/change-column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/cli/change.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-change/generators/column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/cli/create-table.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/cli/create.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-create/generators/table.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-index.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop-table.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/cli/drop.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/column.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/index.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-drop/generators/table.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-column.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-index.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename-table.rb +1 -1
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/cli/rename.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/column.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/index.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration-rename/generators/table.rb +0 -0
- data/lib/eucalypt/{eucalypt-migration → migration}/namespaces/migration/cli/migration.rb +6 -6
- data/lib/eucalypt/{eucalypt-security/namespaces/security-warden/user_confirm.rb → security/confirm.rb} +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/helpers.rb +1 -1
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/cli/security-policy-permission.rb +1 -1
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/generators/policy-permission.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-permission/templates/add_permission_to_policy_migration.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy-role/cli/security-policy-role.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/cli/security-policy.rb +3 -3
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/generators/policy.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/templates/create_policy_roles_migration.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-policy/templates/policy.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/cli/security-pundit.rb +2 -2
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/generators/role.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/templates/create_roles_migration.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-pundit/templates/pundit.tt +2 -2
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/cli/security-warden.rb +21 -3
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/generators/auth_controller.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/generators/user.rb +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/auth_controller.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/auth_login.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/create_users_table_migration.tt +0 -0
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/user.tt +1 -1
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security-warden/templates/warden.tt +1 -7
- data/lib/eucalypt/{eucalypt-security → security}/namespaces/security/cli/security.rb +3 -3
- data/lib/eucalypt/version.rb +1 -1
- metadata +139 -140
- 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
|
-
# -------------------------------------------------------------------------------------------------------- #
|