rampi 0.1.0 → 0.1.1
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/README.md +35 -2
- data/lib/rampi/version.rb +1 -1
- data/rampi.gemspec +1 -1
- metadata +3 -4
- data/Gemfile.lock +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d113eb235548fec446b819eb14066d3a5d5c8b083c600ae65b4a4beff489a563
|
4
|
+
data.tar.gz: 5371cf5e4e5d1d08beea08a38bb71c456a4feef450521214db656ff4c4e59089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1529095d491397e5c02419f80e099ca69f63f5c9e7dba6a201703e6f73ef031d51c53cac42bbb375a82bd77f52593ad30a7bba182d7d6208f3e939e60ab4a3
|
7
|
+
data.tar.gz: 027d4dfc20c23ad51d55035826b05e59cce1be46cad0dc520f97d353cd38ed9614e1b5f606c38f3586f79fac3765e2cd38b8505b0935aba5115b90eaaac4f1b9
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Rampi
|
2
2
|
|
3
|
-
Rampi is a REPL for [Rampcode](https://github.com/gabochi/rampclon), a
|
3
|
+
Rampi is a REPL for [Rampcode](https://github.com/gabochi/rampclon), a bytebeat
|
4
4
|
interpreter for Puredata. Rampi allows you to extend rampcode's minimalistic
|
5
5
|
language *on-the-fly*.
|
6
6
|
|
@@ -29,11 +29,44 @@ Run the following to install Rampi
|
|
29
29
|
|
30
30
|
Add the following line on your `~/.vimrc` file:
|
31
31
|
|
32
|
-
```
|
32
|
+
```vim
|
33
33
|
autocmd BufWritePost *.rampi silent exec "!rampi -f <afile>"
|
34
34
|
autocmd BufNewFile,BufRead *.rampi set syntax=ruby
|
35
35
|
```
|
36
36
|
|
37
|
+
### Gedit
|
38
|
+
|
39
|
+
You can use the *External Tools* plugin form Gedit to run `rampi` when pressing
|
40
|
+
a combination of keys.
|
41
|
+
|
42
|
+
First, you have to enable the plugin. Go to Preferences,
|
43
|
+
Plugins, and enable External Tools. Then, on the menu, look for the option
|
44
|
+
*Manage External Tools*. Add a new Tool called "Rampi" by pressing the `+`
|
45
|
+
button. Add the following content:
|
46
|
+
|
47
|
+
```bash
|
48
|
+
#!/bin/bash
|
49
|
+
rampi -f $GEDIT_CURRENT_DOCUMENT_NAME
|
50
|
+
```
|
51
|
+
|
52
|
+
Make sure the define a Shortcut Key, and set "Current document" on Save, to
|
53
|
+
make sure file is saved before running Rampi.
|
54
|
+
|
55
|
+
Whenever you hit your shortcut key, Gedit will run this script with all
|
56
|
+
environment variables cleared. If you are using [rvm](https://rvm.io/) or
|
57
|
+
[chruby](https://github.com/postmodern/chruby) for managing your Ruby
|
58
|
+
installations, you may have a problem with this. Make sure to add any setup
|
59
|
+
needed to set up the environemnt again.
|
60
|
+
|
61
|
+
For example, for chruby I had to use this:
|
62
|
+
|
63
|
+
```bash
|
64
|
+
#!/bin/bash
|
65
|
+
source /usr/local/share/chruby/chruby.sh # Configure chruby
|
66
|
+
chruby ruby # Select default Ruby installation
|
67
|
+
rampi -f $GEDIT_CURRENT_DOCUMENT_NAME
|
68
|
+
```
|
69
|
+
|
37
70
|
## Usage
|
38
71
|
|
39
72
|
Start Puredata and load the rampcode patch. Then on a terminal run `rampi`
|
data/lib/rampi/version.rb
CHANGED
data/rampi.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Damián Silvani"]
|
9
9
|
spec.email = ["munshkr@gmail.com"]
|
10
10
|
|
11
|
-
spec.summary = %q{REPL for Rampcode, a
|
11
|
+
spec.summary = %q{REPL for Rampcode, a bytebeat interpreter for Puredata}
|
12
12
|
spec.homepage = "https://github.com/munshkr/rampi"
|
13
13
|
|
14
14
|
# Specify which files should be added to the gem when it is released.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rampi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damián Silvani
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -77,7 +77,6 @@ files:
|
|
77
77
|
- ".gitignore"
|
78
78
|
- ".travis.yml"
|
79
79
|
- Gemfile
|
80
|
-
- Gemfile.lock
|
81
80
|
- README.md
|
82
81
|
- Rakefile
|
83
82
|
- bin/console
|
@@ -118,5 +117,5 @@ rubyforge_project:
|
|
118
117
|
rubygems_version: 2.7.6
|
119
118
|
signing_key:
|
120
119
|
specification_version: 4
|
121
|
-
summary: REPL for Rampcode, a
|
120
|
+
summary: REPL for Rampcode, a bytebeat interpreter for Puredata
|
122
121
|
test_files: []
|
data/Gemfile.lock
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
rampi (0.1.0)
|
5
|
-
pry
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
coderay (1.1.2)
|
11
|
-
method_source (0.9.0)
|
12
|
-
minitest (5.11.3)
|
13
|
-
pry (0.11.3)
|
14
|
-
coderay (~> 1.1.0)
|
15
|
-
method_source (~> 0.9.0)
|
16
|
-
rake (10.5.0)
|
17
|
-
|
18
|
-
PLATFORMS
|
19
|
-
ruby
|
20
|
-
|
21
|
-
DEPENDENCIES
|
22
|
-
bundler (~> 1.16)
|
23
|
-
minitest (~> 5.0)
|
24
|
-
rake (~> 10.0)
|
25
|
-
rampi!
|
26
|
-
|
27
|
-
BUNDLED WITH
|
28
|
-
1.16.2
|