sinatra-rocketio-linda 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/History.txt +4 -0
- data/bin/linda-rocketio +3 -1
- data/lib/sinatra/rocketio/linda/version.rb +1 -1
- data/linda.js +1 -1
- data/linda.min.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31a118c0a7dd050df9ff68429e62d871f841eab1
|
4
|
+
data.tar.gz: 1e6aefe006ff873c1bee490bd0dcfae4e2a53129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6afcf2504b94e184e810a57eb61f5f96ea8390ff8a454fd47f142d6aec9021c68a687deab263f42f510420fabe6f7e424163002b67f6a422b30d3ed8ec33240e
|
7
|
+
data.tar.gz: 96e4efa069b6b9e6ebc717696ebfa04aeac411056804afd09c4618f90f57f1120ad9c7ce0d0699bd8e5f0cf5b54533246bc9ef87fa00620c287c8590f99b11e0
|
data/History.txt
CHANGED
data/bin/linda-rocketio
CHANGED
@@ -3,6 +3,7 @@ $:.unshift File.expand_path '../lib', File.dirname(__FILE__)
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'sinatra/rocketio/linda/client'
|
5
5
|
require 'args_parser'
|
6
|
+
$stdout.sync = true
|
6
7
|
|
7
8
|
args = ArgsParser.parse ARGV do
|
8
9
|
arg :write, 'write Tuple(s)'
|
@@ -113,7 +114,8 @@ end
|
|
113
114
|
Console.log "waiting #{args[:base]}"
|
114
115
|
io.connect
|
115
116
|
|
116
|
-
if [Fixnum, Float].include? args[:timeout].class and args[:timeout] > 0 and
|
117
|
+
if [Fixnum, Float].include? args[:timeout].class and args[:timeout] > 0 and
|
118
|
+
!args.has_option?(:write) and !args.has_param?(:watch)
|
117
119
|
sleep args[:timeout]
|
118
120
|
else
|
119
121
|
linda.wait
|
data/linda.js
CHANGED
data/linda.min.js
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-rocketio-linda
|
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
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|