logster 2.19.0 → 2.19.1

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
  SHA256:
3
- metadata.gz: 8d640ece62f8205d8c641562f84783cb0f66fca777f39aaf55dc52f8ea65c760
4
- data.tar.gz: 9b1462d284873256db1efeac24ef63a88603597d62e17d9664c52cd6e815e13a
3
+ metadata.gz: 9b8976148884a7689015c4625636954e32c5e67db9d4bf58ab25b81bd5b56cda
4
+ data.tar.gz: aa6e430fd3add97bf97ab22325f77c9115bd2d005f9c476a6bddb688ab8141be
5
5
  SHA512:
6
- metadata.gz: 2853f439922309af9b48d467d5addaf6724d5ba13942ff82bc14970493e2483cc87dbc9ce380f83314f34dc83b3af8b44e8a23c109eacab7e916b413bbe1551a
7
- data.tar.gz: ee0e674832871b45699489cae2e91057a33074927053083efd5ae11291a4c76690f62e5c503f8e1e99e19eabda7fbc617cee77e0e983ad3ecf0921f0594288a6
6
+ metadata.gz: 574810c10d6b601af399cbd353878c86f3acccee2c470bd61bfaa1ad80cbdb4b7970884dba6622ab74890081c4dd36873525dd4705cb4a00bd4eb3045c957000
7
+ data.tar.gz: d67995a5d78da07f2323ec29a91982b2669f98a6cf4a7ced67ddbec8bbd107f3c4f32efd482e2650d8e54def5720e77b82c0c3bc0023bda5abdcf58342b8c19b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 2024-03-12: 2.19.1
4
+
5
+ - FIX: Don’t truncate backtrace on copying
6
+
3
7
  - 2024-02-28: 2.19.0
4
8
 
5
9
  - FIX: Add compatibility with Rails 7.1+
@@ -1,6 +1,6 @@
1
1
  var __ember_auto_import__
2
- !function(){var e,r={530:function(e,r,n){var o,t
3
- e.exports=(o=_eai_d,t=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?t("_eai_dyn_"+e):t("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return t("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},o("__v1-addons__early-boot-set__",[],(function(){})),void o("sinon",["__v1-addons__early-boot-set__"],(function(){return n(468)})))},477:function(e,r){window._eai_r=require,window._eai_d=define}},n={}
2
+ !function(){var e,r={397:function(e,r,n){var o,t
3
+ e.exports=(o=_eai_d,t=_eai_r,window.emberAutoImportDynamic=function(e){return 1===arguments.length?t("_eai_dyn_"+e):t("_eai_dynt_"+e)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(e){return t("_eai_sync_"+e)(Array.prototype.slice.call(arguments,1))},o("__v1-addons__early-boot-set__",[],(function(){})),void o("sinon",["__v1-addons__early-boot-set__"],(function(){return n(468)})))},818:function(e,r){window._eai_r=require,window._eai_d=define}},n={}
4
4
  function o(e){var t=n[e]
5
5
  if(void 0!==t)return t.exports
6
6
  var i=n[e]={exports:{}}
@@ -17,6 +17,6 @@ var r=function(r,n){var t,i,u=n[0],_=n[1],a=n[2],f=0
17
17
  if(u.some((function(r){return 0!==e[r]}))){for(t in _)o.o(_,t)&&(o.m[t]=_[t])
18
18
  if(a)var c=a(o)}for(r&&r(n);f<u.length;f++)i=u[f],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0
19
19
  return o.O(c)},n=self.webpackChunk_ember_auto_import_=self.webpackChunk_ember_auto_import_||[]
20
- n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))}(),o.O(void 0,[468],(function(){return o(477)}))
21
- var t=o.O(void 0,[468],(function(){return o(530)}))
20
+ n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))}(),o.O(void 0,[468],(function(){return o(818)}))
21
+ var t=o.O(void 0,[468],(function(){return o(397)}))
22
22
  t=o.O(t),__ember_auto_import__=t}()
@@ -1,5 +1,5 @@
1
1
  var __ember_auto_import__
2
- !function(){var r,n={477:function(r,n){window._eai_r=require,window._eai_d=define},887:function(r,n,e){var t,o
2
+ !function(){var r,n={818:function(r,n){window._eai_r=require,window._eai_d=define},824:function(r,n,e){var t,o
3
3
  r.exports=(t=_eai_d,o=_eai_r,window.emberAutoImportDynamic=function(r){return 1===arguments.length?o("_eai_dyn_"+r):o("_eai_dynt_"+r)(Array.prototype.slice.call(arguments,1))},window.emberAutoImportSync=function(r){return o("_eai_sync_"+r)(Array.prototype.slice.call(arguments,1))},t("__v1-addons__early-boot-set__",[],(function(){})),void t("qunit",["__v1-addons__early-boot-set__"],(function(){return e(916)})))}},e={}
4
4
  function t(r){var o=e[r]
5
5
  if(void 0!==o)return o.exports
@@ -17,6 +17,6 @@ var n=function(n,e){var o,i,_=e[0],u=e[1],a=e[2],c=0
17
17
  if(_.some((function(n){return 0!==r[n]}))){for(o in u)t.o(u,o)&&(t.m[o]=u[o])
18
18
  if(a)var f=a(t)}for(n&&n(e);c<_.length;c++)i=_[c],t.o(r,i)&&r[i]&&r[i][0](),r[i]=0
19
19
  return t.O(f)},e=self.webpackChunk_ember_auto_import_=self.webpackChunk_ember_auto_import_||[]
20
- e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))}(),t.O(void 0,[916],(function(){return t(477)}))
21
- var o=t.O(void 0,[916],(function(){return t(887)}))
20
+ e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))}(),t.O(void 0,[916],(function(){return t(818)}))
21
+ var o=t.O(void 0,[916],(function(){return t(824)}))
22
22
  o=t.O(o),__ember_auto_import__=o}()
@@ -184,7 +184,7 @@ var t,r,n,i=p(a)
184
184
  function a(){var e,t,r,n,o;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
185
185
  for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f]
186
186
  return e=i.call.apply(i,[this].concat(u)),t=y(e),r="showSolveAllButton",n=l,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),e}return t=a,(r=[{key:"buttons",get:function(){var e=this.currentMessage.protected,t=[]
187
- return!e&&this.showSolveButton&&t.push({klass:"solve",action:this.solve,icon:"check-square",label:"Solve",prefix:"far",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:this.solveAll,icon:"check-square",label:"Solve All",prefix:"far",danger:!0}),e?t.push({klass:"unprotect",action:this.unprotect,icon:"unlock",prefix:"fas",label:"Unprotect"}):t.push({klass:"remove",action:this.remove,icon:"trash-alt",label:"Remove",prefix:"far",danger:!0},{klass:"protect",action:this.protect,icon:"lock",prefix:"fas",label:"Protect"}),t.push({klass:"copy",action:this.copy,icon:"copy",prefix:"far",label:"Copy"}),t}},{key:"showSolveButton",get:function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!o.default.get("application_version"))}},{key:"copy",value:function(){var e=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",t="".concat(e,"\n\n").concat(this.currentMessage.message),r="Backtrace\n\n".concat(this.currentMessage.backtrace.split("\n").slice(0,10).join("\n")),n=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,r){return e&&r.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,o=[t,r,n?"Env\n\nHTTP HOSTS: ".concat(n):""].filter((function(e){return e})).join("\n\n"),i=document.createElement("TEXTAREA")
187
+ return!e&&this.showSolveButton&&t.push({klass:"solve",action:this.solve,icon:"check-square",label:"Solve",prefix:"far",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:this.solveAll,icon:"check-square",label:"Solve All",prefix:"far",danger:!0}),e?t.push({klass:"unprotect",action:this.unprotect,icon:"unlock",prefix:"fas",label:"Unprotect"}):t.push({klass:"remove",action:this.remove,icon:"trash-alt",label:"Remove",prefix:"far",danger:!0},{klass:"protect",action:this.protect,icon:"lock",prefix:"fas",label:"Protect"}),t.push({klass:"copy",action:this.copy,icon:"copy",prefix:"far",label:"Copy"}),t}},{key:"showSolveButton",get:function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!o.default.get("application_version"))}},{key:"copy",value:function(){var e=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",t="".concat(e,"\n\n").concat(this.currentMessage.message),r="Backtrace\n\n".concat(this.currentMessage.backtrace),n=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,r){return e&&r.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,o=[t,r,n?"Env\n\nHTTP HOSTS: ".concat(n):""].filter((function(e){return e})).join("\n\n"),i=document.createElement("TEXTAREA")
188
188
  document.body.appendChild(i),i.value=o,i.select(),document.execCommand("copy"),document.body.removeChild(i)}},{key:"tabChanged",value:function(e){var t
189
189
  null===(t=this.onTabChange)||void 0===t||t.call(this,e)}},{key:"protect",value:function(){this.currentMessage.protect()}},{key:"unprotect",value:function(){this.currentMessage.unprotect()}},{key:"remove",value:function(){this.removeMessage(this.currentMessage)}},{key:"solve",value:function(){this.solveMessage(this.currentMessage)}},{key:"solveAll",value:function(){this.currentRow.solveAll()}},{key:"share",value:function(){window.location.pathname=this.currentMessage.shareUrl}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default),l=v(u.prototype,"showSolveAllButton",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(u.prototype,"buttons",[a],Object.getOwnPropertyDescriptor(u.prototype,"buttons"),u.prototype),v(u.prototype,"showSolveButton",[c],Object.getOwnPropertyDescriptor(u.prototype,"showSolveButton"),u.prototype),v(u.prototype,"copy",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"copy"),u.prototype),v(u.prototype,"tabChanged",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"tabChanged"),u.prototype),v(u.prototype,"protect",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"protect"),u.prototype),v(u.prototype,"unprotect",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"unprotect"),u.prototype),v(u.prototype,"remove",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"remove"),u.prototype),v(u.prototype,"solve",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"solve"),u.prototype),v(u.prototype,"solveAll",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"solveAll"),u.prototype),v(u.prototype,"share",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"share"),u.prototype),u)
190
190
  e.default=b})),define("client-app/components/message-row",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n,o,i
@@ -1387,4 +1387,4 @@ var r=(0,t.createTemplateFactory)({id:"qqSpoh9d",block:'[[[10,0],[14,0,"settings
1387
1387
  e.default=r})),define("client-app/templates/show",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
1388
1388
  var r=(0,t.createTemplateFactory)({id:"d6AYgHoB",block:'[[[8,[39,0],[[24,0,"recent-link"]],[["@route"],["index"]],[["default"],[[[[1,"Recent"]],[]]]]],[1,"\\n\\n"],[10,0],[14,1,"bottom-panel"],[14,0,"full"],[12],[1,"\\n "],[8,[39,1],null,[["@currentMessage","@showTitle","@removeMessage","@solveMessage","@envChangedAction","@currentEnvPosition","@actionsInMenu"],[[30,0,["model"]],"true",[30,0,["removeMessage"]],[30,0,["solveMessage"]],[30,0,["envChanged"]],[30,0,["envPosition"]],false]],null],[1,"\\n"],[13]],[],false,["link-to","message-info"]]',moduleName:"client-app/templates/show.hbs",isStrictMode:!1})
1389
1389
  e.default=r})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),r={default:JSON.parse(decodeURIComponent(t))}
1390
- return Object.defineProperty(r,"__esModule",{value:!0}),r}catch(n){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+a023d778"})
1390
+ return Object.defineProperty(r,"__esModule",{value:!0}),r}catch(n){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+a1ec1140"})
@@ -94,10 +94,7 @@ export default class MessageInfo extends Component {
94
94
  : "Message";
95
95
  const message = `${header}\n\n${this.currentMessage.message}`;
96
96
 
97
- const backtrace = `Backtrace\n\n${this.currentMessage.backtrace
98
- .split("\n")
99
- .slice(0, 10)
100
- .join("\n")}`;
97
+ const backtrace = `Backtrace\n\n${this.currentMessage.backtrace}`;
101
98
 
102
99
  const httpHosts = Array.isArray(this.currentMessage.env)
103
100
  ? this.currentMessage.env
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logster
4
- VERSION = "2.19.0"
4
+ VERSION = "2.19.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logster
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.0
4
+ version: 2.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-28 00:00:00.000000000 Z
11
+ date: 2024-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -186,8 +186,8 @@ files:
186
186
  - assets/images/icon_144x144.png
187
187
  - assets/images/icon_64x64.png
188
188
  - assets/javascript/.gitkeep
189
- - assets/javascript/chunk.143.007c0b8cac64ca844382.js
190
- - assets/javascript/chunk.178.c0a58aba01c86271384b.js
189
+ - assets/javascript/chunk.143.86f7820bfe6482b8dcd5.js
190
+ - assets/javascript/chunk.178.c5fac0c2a2035839a91e.js
191
191
  - assets/javascript/chunk.468.95dd450003497c781cb3.js
192
192
  - assets/javascript/chunk.916.85a3fc9d873df80f5ea5.js
193
193
  - assets/javascript/client-app.js