trace_eval 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +14 -8
- data/lib/trace_eval/version.rb +1 -1
- data/lib/trace_eval.rb +1 -1
- data/trace_eval.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f6ff5fef886f2d284b9bc0b9dae8e4dd33a8bf1591b8a014881332191098b9
|
4
|
+
data.tar.gz: 703b600f8c29f3a28e5942cfea74ed7e7fac3882b0d9b7982b730f3d902bb5ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4ceec4235ac214b863eed73a26c20cc98a58c43293acc319dd9f0f798828c43e3ab68152e04a6d6a74b48db79da322c78ef1d8f8f2cc5b410a11b5dcb01378
|
7
|
+
data.tar.gz: 8a125143366cf66aed24f2cc35768ddbee74cce5fec467a3a05290335a39a9395ec52c24e34e055a273765efda41614736e7809648fd166c59002a6682184e45
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
# TraceEval
|
2
2
|
|
3
|
-
|
4
|
-
need to be able to package up your Ruby library into a gem. Put your
|
5
|
-
Ruby code in the file `lib/trace_eval`. To experiment with that code,
|
6
|
-
run `bin/console` for an interactive prompt.
|
7
|
-
|
8
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Evaluates the Ruby expression(s) in string and prints each executing line.
|
9
4
|
|
10
5
|
## Installation
|
11
6
|
|
@@ -25,7 +20,17 @@ Or install it yourself as:
|
|
25
20
|
|
26
21
|
## Usage
|
27
22
|
|
28
|
-
|
23
|
+
```
|
24
|
+
$ ./bin/console
|
25
|
+
irb(main):001:0> extend TraceEval
|
26
|
+
=> main
|
27
|
+
irb(main):002:0> trace_eval "a = 2\nb = 2\nputs a+b\n"
|
28
|
+
a = 2
|
29
|
+
b = 2
|
30
|
+
puts a+b
|
31
|
+
4
|
32
|
+
=> nil
|
33
|
+
```
|
29
34
|
|
30
35
|
## Development
|
31
36
|
|
@@ -41,7 +46,8 @@ push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
41
46
|
|
42
47
|
## Contributing
|
43
48
|
|
44
|
-
Bug reports and pull requests are welcome on
|
49
|
+
Bug reports and pull requests are welcome on GitLab at
|
50
|
+
https://gitlab.com/fjc/trace_eval.
|
45
51
|
|
46
52
|
## License
|
47
53
|
|
data/lib/trace_eval/version.rb
CHANGED
data/lib/trace_eval.rb
CHANGED
data/trace_eval.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ['Frank J. Cameron']
|
9
9
|
spec.email = ['fjc@fastmail.net']
|
10
10
|
|
11
|
-
spec.summary = ''
|
11
|
+
spec.summary = 'Evaluates the Ruby expression(s) in string and prints each executing line.'
|
12
12
|
spec.homepage = 'https://gitlab.com/fjc/trace_eval'
|
13
13
|
spec.license = 'MIT'
|
14
14
|
spec.required_ruby_version = '>= 2.7.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trace_eval
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank J. Cameron
|
@@ -52,5 +52,5 @@ requirements: []
|
|
52
52
|
rubygems_version: 3.1.6
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
|
-
summary:
|
55
|
+
summary: Evaluates the Ruby expression(s) in string and prints each executing line.
|
56
56
|
test_files: []
|