pry-state 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/README.md +7 -2
- data/lib/pry-state/version.rb +1 -1
- data/pry-state.gemspec +1 -1
- metadata +36 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddc03b07989b9d816bdb6651ef588b1f9ac374b1
|
4
|
+
data.tar.gz: aa0b384d7528fa816f2d3f005954771d1032682b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0319728fe8a86e1ca18cc5c9cc8a7bdec428751b954ccfd53088f28da5879bbd5fcd4a4451cd6dac7fa52f84ca1db70b59a4baba80579e91ed51d009703c70c3
|
7
|
+
data.tar.gz: 1c2300605087e8ac8d3d8f5eeea9b71b485d256a8624f97fa84a63541bd2440930494999f6b90a08a6b11befe55da04bd83ddec49988b5d111d9c174c060b264
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.2
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ When you are debugging, you care about the state of your program. You want to in
|
|
5
5
|
|
6
6
|
Pry state is an extension of pry. With pry state you can see the values of the instance and local variables in a pry session.
|
7
7
|
|
8
|
-
![SCREENSHOT]
|
8
|
+
![SCREENSHOT](https://cloud.githubusercontent.com/assets/1620848/9140567/d57047a4-3d4f-11e5-901e-d508c01c8d52.png)
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
@@ -27,6 +27,11 @@ Or install it yourself as:
|
|
27
27
|
|
28
28
|
There is no need to edit any configuration. After you have added the dependency in Gemfile, pry-state will add a hook to pry to listen to before_session events.
|
29
29
|
|
30
|
+
## Customisation
|
31
|
+
|
32
|
+
You can use environment variables `SHOW_GLOBAL_VARIABLES`, `HIDE_INSTANCE_VARIABLES` and `HIDE_LOCAL_VARIABLES` to customise the kind of variables shown.
|
33
|
+
|
34
|
+
|
30
35
|
## Development
|
31
36
|
|
32
37
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -40,7 +45,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
40
45
|
|
41
46
|
## Contributing
|
42
47
|
|
43
|
-
1. Fork it ( https://github.com/
|
48
|
+
1. Fork it ( https://github.com/SudhagarS/pry-state/fork )
|
44
49
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
45
50
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
46
51
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/pry-state/version.rb
CHANGED
data/pry-state.gemspec
CHANGED
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency 'pry-nav', '~> 0.2.4'
|
26
26
|
spec.add_development_dependency 'guard', '~> 2.13', '>= 2.13.0'
|
27
27
|
spec.add_development_dependency 'guard-rspec', '~> 4.6', '>= 4.6.3'
|
28
|
-
spec.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.
|
28
|
+
spec.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.12.0'
|
29
29
|
|
30
30
|
end
|
metadata
CHANGED
@@ -1,157 +1,157 @@
|
|
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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sudhagar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.9'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '3.3'
|
48
|
-
- -
|
48
|
+
- - '>='
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 3.3.0
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '3.3'
|
58
|
-
- -
|
58
|
+
- - '>='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 3.3.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec-core
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ~>
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '3.3'
|
68
|
-
- -
|
68
|
+
- - '>='
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 3.3.2
|
71
71
|
type: :development
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '3.3'
|
78
|
-
- -
|
78
|
+
- - '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 3.3.2
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: pry-nav
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ~>
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: 0.2.4
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- -
|
92
|
+
- - ~>
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 0.2.4
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: guard
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '2.13'
|
102
|
-
- -
|
102
|
+
- - '>='
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: 2.13.0
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- -
|
109
|
+
- - ~>
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '2.13'
|
112
|
-
- -
|
112
|
+
- - '>='
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: 2.13.0
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: guard-rspec
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
|
-
- -
|
119
|
+
- - ~>
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '4.6'
|
122
|
-
- -
|
122
|
+
- - '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 4.6.3
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ~>
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '4.6'
|
132
|
-
- -
|
132
|
+
- - '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 4.6.3
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: pry
|
137
137
|
requirement: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
|
-
- -
|
139
|
+
- - '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: 0.9.10
|
142
|
-
- -
|
142
|
+
- - <
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.
|
144
|
+
version: 0.12.0
|
145
145
|
type: :runtime
|
146
146
|
prerelease: false
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- -
|
149
|
+
- - '>='
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: 0.9.10
|
152
|
-
- -
|
152
|
+
- - <
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.
|
154
|
+
version: 0.12.0
|
155
155
|
description: Pry state lets you to see the values of the instance and local variables
|
156
156
|
in a pry session
|
157
157
|
email:
|
@@ -160,8 +160,9 @@ executables: []
|
|
160
160
|
extensions: []
|
161
161
|
extra_rdoc_files: []
|
162
162
|
files:
|
163
|
-
-
|
164
|
-
-
|
163
|
+
- .gitignore
|
164
|
+
- .rspec
|
165
|
+
- .ruby-version
|
165
166
|
- CODE_OF_CONDUCT.md
|
166
167
|
- Gemfile
|
167
168
|
- Guardfile
|
@@ -185,17 +186,17 @@ require_paths:
|
|
185
186
|
- lib
|
186
187
|
required_ruby_version: !ruby/object:Gem::Requirement
|
187
188
|
requirements:
|
188
|
-
- -
|
189
|
+
- - '>='
|
189
190
|
- !ruby/object:Gem::Version
|
190
191
|
version: '0'
|
191
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
193
|
requirements:
|
193
|
-
- -
|
194
|
+
- - '>='
|
194
195
|
- !ruby/object:Gem::Version
|
195
196
|
version: '0'
|
196
197
|
requirements: []
|
197
198
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.0.14.1
|
199
200
|
signing_key:
|
200
201
|
specification_version: 4
|
201
202
|
summary: Shows the state in Pry Session
|