live 0.1.1 → 0.1.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.
- data/README.rdoc +12 -11
- data/lib/live/version.rb +1 -1
- data/live.gemspec +2 -2
- metadata +19 -17
data/README.rdoc
CHANGED
@@ -1,26 +1,29 @@
|
|
1
|
-
Live
|
2
|
-
====
|
1
|
+
== Live
|
3
2
|
|
4
|
-
Live is like
|
3
|
+
Live is like irb only it is meant to be used from a text editor, it essentially polls a *nix pipe and evaluates its contents.
|
5
4
|
It was devised for audiovisual livecoding (ruby-processing and scruby), a block can be bound to a key and can be called later by a keystroke.
|
6
5
|
|
7
|
-
|
8
|
-
|
6
|
+
== Install
|
7
|
+
|
8
|
+
$ [sudo] gem install live
|
9
|
+
|
10
|
+
|
11
|
+
== Usage
|
9
12
|
|
10
13
|
$ live
|
11
14
|
|
12
15
|
open a new terminal
|
13
16
|
|
14
|
-
$ echo 'hello' > /tmp/live-rb
|
17
|
+
$ echo ' "hello" ' > /tmp/live-rb
|
15
18
|
|
16
19
|
You will see the code evaluated in the first terminal
|
17
20
|
|
18
|
-
$ echo 'bind_key(:a){
|
21
|
+
$ echo 'bind_key(:a){ "key a was pressed" }' > /tmp/live-rb
|
19
22
|
|
20
23
|
When you press the key 'a' with focus on the first terminal it will call the block
|
21
24
|
|
22
|
-
|
23
|
-
|
25
|
+
|
26
|
+
== Vim
|
24
27
|
|
25
28
|
To use from vim paste this in your .vimrc file
|
26
29
|
|
@@ -32,5 +35,3 @@ To use from vim paste this in your .vimrc file
|
|
32
35
|
map <Leader>x :call EvalLiveRuby()<enter>
|
33
36
|
|
34
37
|
Then by pressing leader and x you will execute the range in the live session
|
35
|
-
|
36
|
-
|
data/lib/live/version.rb
CHANGED
data/live.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["Macario Ortega"]
|
10
10
|
s.email = ["macarui@gmail.com"]
|
11
11
|
s.homepage = "http://github.com/maca/live"
|
12
|
-
s.summary = %q{Live is like
|
13
|
-
s.description = %q{Live is like
|
12
|
+
s.summary = %q{Live is like irb only it is meant to be used from a text editor}
|
13
|
+
s.description = %q{Live is like irb only it is meant to be used from a text editor, it essentially polls a *nix pipe and evaluates its contents.
|
14
14
|
It was devised for audiovisual livecoding (ruby-processing and scruby), a block can be bound to a key and can be called later by a keystroke.}
|
15
15
|
|
16
16
|
s.post_install_message = File.read("#{File.dirname(__FILE__)}/README.rdoc")
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Macario Ortega
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-16 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
type: :runtime
|
32
32
|
version_requirements: *id001
|
33
33
|
description: |-
|
34
|
-
Live is like
|
34
|
+
Live is like irb only it is meant to be used from a text editor, it essentially polls a *nix pipe and evaluates its contents.
|
35
35
|
It was devised for audiovisual livecoding (ruby-processing and scruby), a block can be bound to a key and can be called later by a keystroke.
|
36
36
|
email:
|
37
37
|
- macarui@gmail.com
|
@@ -55,30 +55,33 @@ has_rdoc: true
|
|
55
55
|
homepage: http://github.com/maca/live
|
56
56
|
licenses: []
|
57
57
|
|
58
|
-
post_install_message:
|
59
|
-
Live
|
60
|
-
====
|
58
|
+
post_install_message: |
|
59
|
+
== Live
|
61
60
|
|
62
|
-
Live is like
|
61
|
+
Live is like irb only it is meant to be used from a text editor, it essentially polls a *nix pipe and evaluates its contents.
|
63
62
|
It was devised for audiovisual livecoding (ruby-processing and scruby), a block can be bound to a key and can be called later by a keystroke.
|
64
63
|
|
65
|
-
|
66
|
-
|
64
|
+
== Install
|
65
|
+
|
66
|
+
$ [sudo] gem install live
|
67
|
+
|
68
|
+
|
69
|
+
== Usage
|
67
70
|
|
68
71
|
$ live
|
69
72
|
|
70
73
|
open a new terminal
|
71
74
|
|
72
|
-
$ echo 'hello' > /tmp/live-rb
|
75
|
+
$ echo ' "hello" ' > /tmp/live-rb
|
73
76
|
|
74
77
|
You will see the code evaluated in the first terminal
|
75
78
|
|
76
|
-
$ echo 'bind_key(:a){
|
79
|
+
$ echo 'bind_key(:a){ "key a was pressed" }' > /tmp/live-rb
|
77
80
|
|
78
81
|
When you press the key 'a' with focus on the first terminal it will call the block
|
79
82
|
|
80
|
-
|
81
|
-
|
83
|
+
|
84
|
+
== Vim
|
82
85
|
|
83
86
|
To use from vim paste this in your .vimrc file
|
84
87
|
|
@@ -90,8 +93,7 @@ post_install_message: |+
|
|
90
93
|
map <Leader>x :call EvalLiveRuby()<enter>
|
91
94
|
|
92
95
|
Then by pressing leader and x you will execute the range in the live session
|
93
|
-
|
94
|
-
|
96
|
+
|
95
97
|
rdoc_options: []
|
96
98
|
|
97
99
|
require_paths:
|
@@ -118,6 +120,6 @@ rubyforge_project: live
|
|
118
120
|
rubygems_version: 1.3.7
|
119
121
|
signing_key:
|
120
122
|
specification_version: 3
|
121
|
-
summary: Live is like
|
123
|
+
summary: Live is like irb only it is meant to be used from a text editor
|
122
124
|
test_files: []
|
123
125
|
|