crystal-repl 0.0.1 → 0.0.2
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 +22 -1
- data/bin/crepl +1 -1
- data/lib/crystal/repl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51b31700645ffc9c351f1f7571b643831bd073de
|
4
|
+
data.tar.gz: 99fb88646914199394ccf5f356c4de4de0c2b685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7096934040a45f9ae7f2f23293fe8034ca54730485edddcc867d31956a937c971dded61cd0d65709ab83ebfae121c01cd6e3d65656c148cf5f99b0393d789775
|
7
|
+
data.tar.gz: 85ff54f0607a0e84b26f41b568a40a9c6fa5f4e143aff6fc73854bf0c1cb1e884cad3e006f00c5417e983d7e3c1828f9b88e1072cd4047d4affb7e7a333fe6a7
|
data/README.md
CHANGED
@@ -1,6 +1,27 @@
|
|
1
|
-
## Simple Crystal REPL
|
1
|
+
## Simple Crystal REPL (crepl)
|
2
2
|
|
3
3
|
Forked version of "Simple Ruby repl" to make an even simpler crystal repl :D
|
4
4
|
|
5
5
|
> Read the associated blog post for more information:
|
6
6
|
> http://jpsilvashy.com/posts/build-a-simple-ruby-repl.html
|
7
|
+
## Installation
|
8
|
+
Install it as:
|
9
|
+
$ gem install crystal-repl
|
10
|
+
## Usage
|
11
|
+
The whole gem is essentially a single binary, `crepl`
|
12
|
+
Thus use it as `crepl`.
|
13
|
+
The limitation of this repl is that every line you type is independant from the others. Thus if you want to run multiple lines, you should concatenate them with `;`
|
14
|
+
|
15
|
+
WRONG
|
16
|
+
puts 1
|
17
|
+
puts 2
|
18
|
+
|
19
|
+
RIGHT
|
20
|
+
puts 1; puts 2
|
21
|
+
|
22
|
+
## Contributing
|
23
|
+
1. Fork it ( https://github.com/ktaragorn/crystal-repl/fork )
|
24
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
25
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
26
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
27
|
+
5. Create a new Pull Request
|
data/bin/crepl
CHANGED
data/lib/crystal/repl/version.rb
CHANGED