megatron 0.2.36 → 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/LICENSE.txt +21 -0
- data/{README.rdoc → README.md} +3 -3
- data/app/assets/images/{400.svg → megatron/400.svg} +0 -0
- data/app/assets/images/{403.svg → megatron/403.svg} +0 -0
- data/app/assets/images/{404.svg → megatron/404.svg} +0 -0
- data/app/assets/images/{408.svg → megatron/408.svg} +0 -0
- data/app/assets/images/{422.svg → megatron/422.svg} +0 -0
- data/app/assets/images/{500.svg → megatron/500.svg} +0 -0
- data/app/assets/images/{502.svg → megatron/502.svg} +0 -0
- data/app/assets/images/{503.svg → megatron/503.svg} +0 -0
- data/app/assets/images/{504.svg → megatron/504.svg} +0 -0
- data/app/assets/images/{888.svg → megatron/888.svg} +0 -0
- data/{public/assets → app/assets/images}/megatron/favicon.ico +0 -0
- data/{public/assets → app/assets/images}/megatron/logo.svg +0 -0
- data/app/assets/javascripts/megatron/_svg.js +55 -0
- data/app/assets/javascripts/megatron/{index.js → megatron.js} +4 -2
- data/app/assets/javascripts/megatron/vendor/bugsnag.js +1256 -0
- data/app/assets/{esvg → svgs}/megatron/account-circle-fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/account-circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/alerts.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/api.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/arrow_left_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/arrow_left_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/arrow_right_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/arrow_right_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/backups.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/bell.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/bubble.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/bubble_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/check.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/check_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/check_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/check_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/chevron.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/chevron_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/circle-fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/cli.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/clock_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/clock_line.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/cluster-hosts.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/cluster.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/collections.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/copy.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/dash_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/dash_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/dash_circle_fill_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/dash_circle_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/database_small.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/databases.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/databases_line.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-beta-line.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-cassandra.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-disque.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-elasticsearch.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-etcd.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-influxdb.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-mongodb-classic.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-mongodb.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-mysql.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-postgresql.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-rabbitmq.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-redis.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-rethinkdb.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment-scylladb.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployment.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/deployments.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/download.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/eye.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/eye_closed.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/face-disappointed.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/face-happy.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/gear.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/gear_line.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/gear_round.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/globe.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/help.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/home.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/hourglass.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/info.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/jobs.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/keys.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/lock.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/locked.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/logs.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/minus.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/monitoring.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/payment.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/plus.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/plus_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/plus_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/power.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/processing.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/puzzle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/question-line.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/question_full.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/restore.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/rocket.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/sandbox.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/scale.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/star.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/tools.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/transporter.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/unlocked.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/users-circle-fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/users-circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/users.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/warning-circle-fill-thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/warning.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/warning_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/warning_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/warning_circle_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/watch.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/x.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/x_circle.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/x_circle_fill.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/x_circle_fill_thin.svg +0 -0
- data/app/assets/{esvg → svgs}/megatron/x_circle_thin.svg +0 -0
- data/app/controllers/megatron/errors_controller.rb +3 -0
- data/app/helpers/megatron/application_helper.rb +0 -95
- data/app/helpers/megatron/icon_helper.rb +11 -7
- data/app/helpers/megatron/layout_helper.rb +2 -10
- data/app/views/layouts/megatron/default.html.slim +76 -0
- data/app/views/layouts/megatron/errors.html.slim +8 -8
- data/app/views/megatron/shared/_flash_messages.html.slim +6 -0
- data/app/views/megatron/shared/_head.html.slim +23 -0
- data/app/views/megatron/shared/_main_content.html.slim +6 -3
- data/lib/megatron/engine.rb +0 -7
- data/lib/megatron/slim_code_filter.rb +21 -0
- data/lib/megatron/version.rb +1 -1
- data/lib/megatron.rb +10 -6
- data/public/{assets/megatron/megatron-0.2.36.css → megatron-0.3.0.css} +1825 -1879
- data/public/megatron-0.3.0.css.gz +0 -0
- data/public/{assets/megatron/megatron-0.2.36.js → megatron-0.3.0.js} +7 -7
- data/public/megatron-0.3.0.js.gz +0 -0
- data/public/megatron-0.3.0.map.json +1 -0
- data/public/megatron-error-pages-0.3.0.css +901 -0
- data/public/megatron-error-pages-0.3.0.css.gz +0 -0
- metadata +149 -135
- data/MIT-LICENSE +0 -20
- data/Rakefile +0 -209
- data/app/assets/javascripts/megatron/esvg.js +0 -55
- data/app/views/layouts/megatron/application.html.slim +0 -67
- data/config/esvg.yml +0 -8
- data/config/routes.rb +0 -2
- data/public/assets/megatron/megatron-0.2.36.css.gz +0 -0
- data/public/assets/megatron/megatron-0.2.36.css.map +0 -7
- data/public/assets/megatron/megatron-0.2.36.js.gz +0 -0
- data/public/assets/megatron/megatron-0.2.36.map.json +0 -1
- data/public/assets/megatron/megatron-error-pages-0.2.36.css +0 -1
- data/public/assets/megatron/megatron-error-pages-0.2.36.css.gz +0 -0
data/lib/megatron.rb
CHANGED
@@ -2,12 +2,16 @@ Gem.loaded_specs['megatron'].dependencies.each do |d|
|
|
2
2
|
require d.name
|
3
3
|
end
|
4
4
|
|
5
|
-
|
6
|
-
require
|
7
|
-
|
8
|
-
# require "megatron/form"
|
9
|
-
require "megatron/helper"
|
10
|
-
require "megatron/engine"
|
5
|
+
require 'megatron/version'
|
6
|
+
require 'megatron/helper'
|
11
7
|
|
12
8
|
module Megatron
|
9
|
+
class Plugin < Cyborg::Plugin
|
10
|
+
end
|
13
11
|
end
|
12
|
+
|
13
|
+
Cyborg.register(Megatron::Plugin, {
|
14
|
+
gem: 'megatron',
|
15
|
+
engine: 'megatron',
|
16
|
+
production_asset_root: "https://d11f55tj5eo9e5.cloudfront.net/assets/megatron/"
|
17
|
+
})
|