babascript 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/babascript.gemspec +1 -1
- data/bin/baba-vm +1 -1
- data/lib/babascript/baba.rb +1 -1
- data/lib/babascript/version.rb +1 -1
- data/test/test_babascript.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5463775290d79ff10698593b08451606b7d4ac09
|
4
|
+
data.tar.gz: 996d2fb316f5c5e011a0811f43178b26c17f3b82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3521e611442e9a59353f66b08b8f1f1e163160978244267efa578e25de08cb5143b65f44618e8eb04f47e9975f707a6ecac2c690fe1b96b8438abc50883cc8be
|
7
|
+
data.tar.gz: 8748617ea93465e5910c66563febb2347273ea44092c39e5ab8b7f3e209845d7c3284e407e75f94fa9d6f9be91030f635ce3d635b38bb8666f2644c43e0ed9c4
|
data/History.txt
CHANGED
data/babascript.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "em-rocketio-linda-client"
|
21
|
+
spec.add_dependency "em-rocketio-linda-client", "~> 1.0"
|
22
22
|
spec.add_dependency "json"
|
23
23
|
spec.add_dependency "args_parser"
|
24
24
|
|
data/bin/baba-vm
CHANGED
@@ -35,7 +35,7 @@ EM::run do
|
|
35
35
|
ts = linda.tuplespace[ args[:space] ]
|
36
36
|
|
37
37
|
def take_task_and_run(ts)
|
38
|
-
ts.take [:babascript, :eval] do |tuple|
|
38
|
+
ts.take [:babascript, :eval] do |tuple, info|
|
39
39
|
loop do
|
40
40
|
print %Q{#{tuple[2]}(#{tuple[3].join(', ')}) >}
|
41
41
|
line = STDIN.gets.strip
|
data/lib/babascript/baba.rb
CHANGED
data/lib/babascript/version.rb
CHANGED
data/test/test_babascript.rb
CHANGED
@@ -12,7 +12,7 @@ class TestBabaScript < MiniTest::Test
|
|
12
12
|
linda = EM::RocketIO::Linda::Client.new base
|
13
13
|
ts = linda.tuplespace[ space ]
|
14
14
|
linda.io.once :connect do
|
15
|
-
ts.take [:babascript, :eval] do |tuple|
|
15
|
+
ts.take [:babascript, :eval] do |tuple, info|
|
16
16
|
tuple_ = tuple
|
17
17
|
ts.write [:babascript, :return, tuple[4]["callback"], "ざんまい"]
|
18
18
|
EM::add_timer 1 do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babascript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Hashimoto
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: em-rocketio-linda-client
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '0'
|
20
|
+
version: '1.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
27
|
+
version: '1.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: json
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
149
|
+
rubygems_version: 2.1.5
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: BabaScript is a script launguage which runs on @takumibaba
|