megatron 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2c98a036b4394c5a40cfc3bb4d6287af482a7ed
4
- data.tar.gz: e6b2c618b0110802cdb54bdffb8e9567967926f9
3
+ metadata.gz: fb8befe910ac21d11306ef32c34764e638668d41
4
+ data.tar.gz: 6f0aa1c25788ee354323cc567180fed10ce9b0ba
5
5
  SHA512:
6
- metadata.gz: 0964e15c3f7ebe552e7e52b03c9c79338b44bc52f2e9f470d80b60093a593db87685abcad0e1c7f30d47da3e15d938dfbdd9d50cf346f760420328ef5f1612e9
7
- data.tar.gz: b217c2771ad337e67e9769c8047f6e8c8450413640ec163d0f8136546e69f4f994560011a59c9ae8296af1d68e78cf619f598487980ea1a1d12f20c23441774a
6
+ metadata.gz: 9424ff73c250da48932a0b33e9eb879b6c57982845f48a9fc13f4707553f808497e3e9d4c9273097b9eaccee8b44b4039a465ecd7443f6e18244bbe7bc9dc6e1
7
+ data.tar.gz: c849097ab5fa24148f42630c5c28cad24355f7a9b0e900e34475f1f3d04ac397ad553f5fd8e783e6b48adb661ccb5166dfac697da01880e36ee1adfc26f8cd66
@@ -66,10 +66,6 @@ html lang="en"
66
66
  .main-content
67
67
  = render 'megatron/shared/main_content'
68
68
 
69
- - if params[:debug] == 'true' && !Rails.env.production?
70
- = Rails.application.class.parent_name rescue nil
71
- = debug(params.except :debug)
72
-
73
69
  .main-sidebar
74
70
  = yield :sidebar
75
71
 
@@ -79,7 +75,3 @@ html lang="en"
79
75
 
80
76
  .main
81
77
  = render 'megatron/shared/main_content'
82
-
83
- - if params[:debug] == 'true' && !Rails.env.production?
84
- = Rails.application.class.parent_name rescue nil
85
- = debug(params.except :debug)
@@ -0,0 +1,4 @@
1
+ - if ENV['STAGING'] == 'true' && params[:debug] == 'true'
2
+ - app_name = Rails.application.class.parent_name rescue 'Unspecified'
3
+ - app_display_name = (app_name == 'Compose' ? 'Web' : app_name).downcase
4
+ = debug({'application' => app_display_name}.merge params.except(:debug))
@@ -5,3 +5,5 @@
5
5
  .wide = yield :main
6
6
  - else
7
7
  = yield :main
8
+
9
+ = render 'megatron/shared/debugger'
@@ -1,3 +1,3 @@
1
1
  module Megatron
2
- VERSION = "0.3.13".freeze
2
+ VERSION = "0.3.14".freeze
3
3
  end
@@ -169,4 +169,4 @@ module.exports=function(l,n,e){for(var r=0,t=l.length,o=3==arguments.length?e:l[
169
169
  });
170
170
 
171
171
 
172
- //# sourceMappingURL=https://d11f55tj5eo9e5.cloudfront.net/assets/megatron/megatron-0.3.13.map.json
172
+ //# sourceMappingURL=https://d11f55tj5eo9e5.cloudfront.net/assets/megatron/megatron-0.3.14.map.json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-01 00:00:00.000000000 Z
12
+ date: 2017-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cyborg
@@ -334,6 +334,7 @@ files:
334
334
  - app/views/megatron/errors/unauthorized.html.slim
335
335
  - app/views/megatron/errors/unprocessable_entity.html.slim
336
336
  - app/views/megatron/shared/_box_message.html.slim
337
+ - app/views/megatron/shared/_debugger.html.slim
337
338
  - app/views/megatron/shared/_flash_messages.html.slim
338
339
  - app/views/megatron/shared/_head.html.slim
339
340
  - app/views/megatron/shared/_main_content.html.slim
@@ -347,13 +348,13 @@ files:
347
348
  - lib/megatron/helper.rb
348
349
  - lib/megatron/slim_code_filter.rb
349
350
  - lib/megatron/version.rb
350
- - public/megatron-0.3.13.css
351
- - public/megatron-0.3.13.css.gz
352
- - public/megatron-0.3.13.js
353
- - public/megatron-0.3.13.js.gz
354
- - public/megatron-0.3.13.map.json
355
- - public/megatron-error-pages-0.3.13.css
356
- - public/megatron-error-pages-0.3.13.css.gz
351
+ - public/megatron-0.3.14.css
352
+ - public/megatron-0.3.14.css.gz
353
+ - public/megatron-0.3.14.js
354
+ - public/megatron-0.3.14.js.gz
355
+ - public/megatron-0.3.14.map.json
356
+ - public/megatron-error-pages-0.3.14.css
357
+ - public/megatron-error-pages-0.3.14.css.gz
357
358
  homepage: https://www.compose.io
358
359
  licenses:
359
360
  - MIT