pry-auditlog 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67d9ed197727c56d85aa7aefa09f11cde697742d
4
- data.tar.gz: d737eade85330cc3479a9b0fec714ae1ae3ff28d
3
+ metadata.gz: c3ee50ac939176aede2e4955cd623aa70ea86ec6
4
+ data.tar.gz: af43359a9d894b87042f90f1360f88072b5800c7
5
5
  SHA512:
6
- metadata.gz: 612ea3ed9905a1a035a456ed0307464cd884f43b50f546dcf8c8e77531f6f6187aba9d20622faa5a4896b1abd1f80f2f1aa6860191389769abd4df0d7564330f
7
- data.tar.gz: 62b61633fd4d5b2cbb1cd3bbd130ab91d057adcbfeaba3f8f82a38f7e01d97e75dea4891de6bcdc382aed59527839e1703221d64149d1029f17d46b21950866c
6
+ metadata.gz: 6a5e2842283b10f2c17296f2c4738d7f9648807b077cee2ddc7e9c280a9d1e2b48ce1bef3918ccdf659fea1c59e74f50ba5ececb4ae9fe68188e145350a6ac59
7
+ data.tar.gz: 3c34344d5112ca2f2c0358a7c1f6e3fbcb5a6db34404e0d08e9bb2858cfcd3b16c2fd344b2761bf0335f323ac391dfa48af4a3031e61097a93c58ad1cf639ffb
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  PryAuditlog is a plugin for the [Pry](http://pry.github.com) REPL that enables logging of any combination of Pry input and output to a configured audit log file.
4
4
 
5
- It scrapes the Pry history sender to read input statements to Pry, and it inserts itself into the `output` mechanism to scrape a copy of all emitted data. It also redirects `$stdout` and `$stderr` during the Pry session in order to capture all output emitted from any `puts` or similar statements.
5
+ It modifies the `read` method of the REPL class to read input statements to Pry, and it inserts itself into the `output` mechanism to scrape a copy of all emitted data. It also redirects `$stdout` and `$stderr` during the Pry session in order to capture all output emitted from any `puts` or similar statements.
6
6
 
7
7
  All output data is forwarded to the original configured `Pry.config.output` mechanism after logging, and this plugin should (hopefully) respect any configured outputter.
8
8
 
@@ -21,7 +21,7 @@ Set appropriate config values and then require the plugin in your `.pryrc` or an
21
21
  Pry.config.auditlog_enabled = true # default: false
22
22
 
23
23
  # Optional path to audit log destination
24
- Pry.config.auditlog_file = '/path/to/file' # default: "~/.pry_auditlog"
24
+ Pry.config.auditlog_file = '/path/to/file' # default: '/dev/null'
25
25
 
26
26
  # We log both input and output by default
27
27
  Pry.config.auditlog_log_input = false # default: true
@@ -1,3 +1,3 @@
1
1
  module PryAuditlog
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-auditlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cozy Services Ltd.