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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 005ba9deab0ff6debf8c51118ef5e15e61b3e612
4
- data.tar.gz: 479325602133fef222e0b9717cdc1311f830fe04
3
+ metadata.gz: 31a118c0a7dd050df9ff68429e62d871f841eab1
4
+ data.tar.gz: 1e6aefe006ff873c1bee490bd0dcfae4e2a53129
5
5
  SHA512:
6
- metadata.gz: 6baf962949c9146e6212a90f1bced32f5c260906a95d7809009236dbfc5c4c18199b09d5937caedbe234b2007f525c4db84ad90224a815ede25bebac7c06244c
7
- data.tar.gz: 3b8a8ab686f1ed4396916abb291c7fe2760d3b47ab2bb11bdd864f4b08c6f384c6d894f4bba36e5eaaf1b35f65064863eb025b462b833ddf954c6d8e0b44bafd
6
+ metadata.gz: 6afcf2504b94e184e810a57eb61f5f96ea8390ff8a454fd47f142d6aec9021c68a687deab263f42f510420fabe6f7e424163002b67f6a422b30d3ed8ec33240e
7
+ data.tar.gz: 96e4efa069b6b9e6ebc717696ebfa04aeac411056804afd09c4618f90f57f1120ad9c7ce0d0699bd8e5f0cf5b54533246bc9ef87fa00620c287c8590f99b11e0
@@ -1,3 +1,7 @@
1
+ === 0.1.4 2013-06-09
2
+
3
+ * bugfix linda-rocketio command
4
+
1
5
  === 0.1.3 2013-06-09
2
6
 
3
7
  * fix linda-rocketio command
@@ -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 !args.has_option?(:write)
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
@@ -1,7 +1,7 @@
1
1
  module Sinatra
2
2
  module RocketIO
3
3
  module Linda
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
7
7
  end
data/linda.js CHANGED
@@ -1,4 +1,4 @@
1
- // Linda.js v0.1.1 (rocketio v0.2.6)
1
+ // Linda.js v0.1.4 (rocketio v0.2.6)
2
2
  // https://github.com/shokai/sinatra-rocketio-linda
3
3
  // (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
4
4
  // The MIT License
@@ -1,4 +1,4 @@
1
- // Linda.js v0.1.1 (rocketio v0.2.6)
1
+ // Linda.js v0.1.4 (rocketio v0.2.6)
2
2
  // https://github.com/shokai/sinatra-rocketio-linda
3
3
  // (c) 2013 Sho Hashimoto <hashimoto@shokai.org>
4
4
  // The MIT License
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.3
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-08 00:00:00.000000000 Z
11
+ date: 2013-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler