pry-state 0.1.6 → 0.1.7
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 +4 -4
- data/README.md +1 -1
- data/lib/pry-state/hook_action.rb +2 -2
- data/lib/pry-state/printer.rb +2 -2
- data/lib/pry-state/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d9c096643610ea450443b943aeafa6e730800fb
|
4
|
+
data.tar.gz: 6c722c16fc8973bf43e74ad7185775a998fe298a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c35e182ba770bdde0f3dad0cf8349eeae50c2f0b2f601e54bc5028325375fa1636ba1dfbf98d989d66e80fe3806dfaf10e8ef3bc0ba74f6ac393977d36141dec
|
7
|
+
data.tar.gz: 559d8707f6d1a3e913925986767cb782400a276cc8eea6c07bbb9d6cd2e46c962f3f6466db225342b0273232e63870ab3e172e383a9b9e37202bfe542c608fdd
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
35
35
|
|
36
36
|
## Roadmap
|
37
37
|
|
38
|
-
1. Indicate the CHANGE in value between pry sessions by different color.
|
38
|
+
1. Indicate the CHANGE in value between pry sessions by different color. [DONE]
|
39
39
|
2. Associate the variables with numbers, and support command to evaluate the variable through these numbers. eg. command 's1' will show the value of first variable and so on.
|
40
40
|
|
41
41
|
## Contributing
|
@@ -19,11 +19,11 @@ class HookAction
|
|
19
19
|
return
|
20
20
|
end
|
21
21
|
|
22
|
-
(binding.eval('instance_variables') - IGNORABLE_INSTANCE_VARS).each do |var|
|
22
|
+
(binding.eval('instance_variables').sort - IGNORABLE_INSTANCE_VARS).each do |var|
|
23
23
|
eval_and_print var, var_color: 'green'
|
24
24
|
end
|
25
25
|
|
26
|
-
(binding.eval('local_variables') - IGNORABLE_LOCAL_VARS).each do |var|
|
26
|
+
(binding.eval('local_variables').sort - IGNORABLE_LOCAL_VARS).each do |var|
|
27
27
|
eval_and_print var, var_color: 'cyan'
|
28
28
|
end
|
29
29
|
end
|
data/lib/pry-state/printer.rb
CHANGED
data/lib/pry-state/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-state
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sudhagar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|