scryglass 2.0.0 → 2.0.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: 1b02a7943a8abec8175e8585b55127b197fdb7543c9015a2fbef908f29c99fa3
4
- data.tar.gz: 1bdc489ea5afe33ddc5ffea4cc5fed26980fb158815d483d4a0f8c56a808cf75
3
+ metadata.gz: 794955e1442681f7888649a777bba632228df242fb61506623900f8b301f7e68
4
+ data.tar.gz: a91831413fb4c87d28281a2ab9bab126666d9646c56d9056563785e41914ceaf
5
5
  SHA512:
6
- metadata.gz: 3a79a7e60525eb2c99a15d581c09c1f13e92b26dd7f4330c0c24ba974012a6a6b2e4605d6e45bec00ab0099dc84eae28e37007bca43bc105d23f278a92d40dcc
7
- data.tar.gz: fab64fe8ad6d75a1e3d46753be7868ae40107fc9d5a1299291b6d4b03988cb612ce05087ccb35932b31cf75aeb9e20966392f4e34ae20f4a75962b882ff83072
6
+ metadata.gz: dcc4c9b7d57a5f57c34ebddf4f4cd94cc1eec0d47dc28818efeb3be964c2a8533fb79cc85127b479759b318c1eb380a12a917bcd30b5942861d5de16738ad56c
7
+ data.tar.gz: fac7a9f0f29d291b3711b7d5e8750c2af9567afda592666b58924bbc9d658a2cc36b7b040f735c245957ab4c62d2b16f8f24e76eb16463472c9fc367c2a6ef23
@@ -13,6 +13,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ## Fixed
15
15
 
16
+ ## [2.0.1] - 2020-01-13
17
+
18
+ ## Changed
19
+
20
+ - The named-an-object message now stays for 3 seconds instead of 2.
21
+
22
+ ## Fixed
23
+
24
+ - Typo in spec.description in scryglass.gemspec.
25
+ - Negative sign error on method_showcase_for while calculating padding for very long method names.
26
+
16
27
  ## [2.0.0] - 2021-01-13
17
28
 
18
29
  ## Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scryglass (2.0.0)
4
+ scryglass (2.0.1)
5
5
  amazing_print
6
6
  binding_of_caller
7
7
  method_source
@@ -10,7 +10,7 @@ module Scryglass
10
10
  label_space = [method_list.map(&:length).max, 45].min
11
11
  method_list.sort.map do |method_name|
12
12
  label = method_name.to_s
13
- label_padding = ' ' * (label_space - label.length)
13
+ label_padding = ' ' * [(label_space - label.length), 0].max
14
14
  label = "\e[1;34m#{label}\e[0m" # make blue and bold
15
15
 
16
16
  begin
@@ -680,7 +680,7 @@ class Scryglass::Session
680
680
  session_manager.current_binding_tracker.user_named_variables << "@#{typed_name}"
681
681
 
682
682
  message = { text: "#{subjects_of_target_ros.class} assigned to: @#{typed_name}",
683
- end_time: Time.now + 2 }
683
+ end_time: Time.now + 3 }
684
684
  self.current_warning_messages << message
685
685
 
686
686
  self.special_command_targets = []
@@ -1,3 +1,3 @@
1
1
  module Scryglass
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.description = 'Scryglass is a ruby console tool for visualizing ' \
16
16
  'and actively exploring objects (large, nested, interrelated, ' \
17
17
  'or unfamiliar). You can navigate nested arrays, hashes, instance variables, ' \
18
- 'ActiveRecord relations, and unknown Enumerable types like an' \
18
+ 'ActiveRecord relations, and unknown Enumerable types like an ' \
19
19
  "expandable/collapsable file tree in an intuitive UI.\n\n" \
20
20
  'Objects and child objects can also be inspected through a variety of ' \
21
21
  'display lenses, returned directly to the console, and more!'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scryglass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Myers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-13 00:00:00.000000000 Z
11
+ date: 2021-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: |-
98
- Scryglass is a ruby console tool for visualizing and actively exploring objects (large, nested, interrelated, or unfamiliar). You can navigate nested arrays, hashes, instance variables, ActiveRecord relations, and unknown Enumerable types like anexpandable/collapsable file tree in an intuitive UI.
98
+ Scryglass is a ruby console tool for visualizing and actively exploring objects (large, nested, interrelated, or unfamiliar). You can navigate nested arrays, hashes, instance variables, ActiveRecord relations, and unknown Enumerable types like an expandable/collapsable file tree in an intuitive UI.
99
99
 
100
100
  Objects and child objects can also be inspected through a variety of display lenses, returned directly to the console, and more!
101
101
  email: