spockets 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +2 -0
  2. data/README.rdoc +5 -7
  3. data/lib/spockets/Watcher.rb +6 -2
  4. metadata +46 -35
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ 0.1.1
2
+ * Only load Iconv library when it will actually be used
1
3
  0.0.6
2
4
  * Fixed bug exposed when extremely fast input
3
5
  is received.
@@ -13,14 +13,12 @@ from delaying everybody else.
13
13
 
14
14
  === install (easy):
15
15
 
16
- gem install actionpool
16
+ gem install spockets
17
17
 
18
18
  === install (less easy):
19
19
 
20
- git clone http://github.com/spox/actionpool.git
21
- cd actionpool
22
- gem build *.gemspec
23
- gem install ./
20
+ git clone http://github.com/spox/spockets.git
21
+ cd spockets && gem build *.gemspec && gem install ./
24
22
 
25
23
  === install (less easy that's a little easier)
26
24
 
@@ -28,7 +26,7 @@ from delaying everybody else.
28
26
 
29
27
  === Testing
30
28
 
31
- ActionPool is currently tested on:
29
+ Spockets is currently tested on:
32
30
 
33
31
  * Ruby 1.8.6-p383
34
32
  * Ruby 1.8.7-p248
@@ -67,4 +65,4 @@ If you find any bugs, please report them through {github}[http://github.com/spox
67
65
  == License
68
66
 
69
67
  Spockets is licensed under the LGPLv3
70
- Copyright (c) 2009 spox <spox@modspox.com>
68
+ Copyright (c) 2009 spox <spox@modspox.com>
@@ -1,5 +1,4 @@
1
1
  require 'actionpool'
2
- require 'iconv'
3
2
 
4
3
  module Spockets
5
4
  class Watcher
@@ -15,7 +14,12 @@ module Spockets
15
14
  @runner = nil
16
15
  @clean = args[:clean] && (args[:clean].is_a?(Proc) || args[:clean].is_a?(TrueClass)) ? args[:clean] : nil
17
16
  @pool = args[:pool] && args[:pool].is_a?(ActionPool::Pool) ? args[:pool] : ActionPool::Pool.new
18
- @ic = @clean && @clean.is_a?(TrueClass) ? Iconv.new('UTF-8//IGNORE', 'UTF-8') : nil
17
+ if(@clean.is_a?(TrueClass))
18
+ require 'iconv'
19
+ @ic = Iconv.new('UTF-8//IGNORE', 'UTF-8')
20
+ else
21
+ @ic = nil
22
+ end
19
23
  @stop = true
20
24
  end
21
25
 
metadata CHANGED
@@ -1,27 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
5
10
  platform: ruby
6
11
  authors:
7
- - spox
12
+ - spox
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-15 00:00:00 Z
17
+ date: 2010-04-18 00:00:00 -07:00
13
18
  default_executable:
14
19
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: actionpool
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 0.2.3
24
- version:
20
+ - !ruby/object:Gem::Dependency
21
+ name: actionpool
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 2
30
+ - 3
31
+ version: 0.2.3
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  description: Socket helper library
26
35
  email: spox@modspox.com
27
36
  executables: []
@@ -29,43 +38,45 @@ executables: []
29
38
  extensions: []
30
39
 
31
40
  extra_rdoc_files:
32
- - README.rdoc
41
+ - README.rdoc
33
42
  files:
34
- - README.rdoc
35
- - CHANGELOG
36
- - lib/spockets.rb
37
- - lib/spockets/Exceptions.rb
38
- - lib/spockets/Spockets.rb
39
- - lib/spockets/Watcher.rb
43
+ - README.rdoc
44
+ - CHANGELOG
45
+ - lib/spockets.rb
46
+ - lib/spockets/Exceptions.rb
47
+ - lib/spockets/Spockets.rb
48
+ - lib/spockets/Watcher.rb
40
49
  has_rdoc: true
41
50
  homepage: http://github.com/spox/spockets
42
51
  licenses: []
43
52
 
44
53
  post_install_message:
45
54
  rdoc_options:
46
- - --title
47
- - Spockets
48
- - --main
49
- - README.rdoc
50
- - --line-numbers
55
+ - --title
56
+ - Spockets
57
+ - --main
58
+ - README.rdoc
59
+ - --line-numbers
51
60
  require_paths:
52
- - lib
61
+ - lib
53
62
  required_ruby_version: !ruby/object:Gem::Requirement
54
63
  requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
58
- version:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 0
68
+ version: "0"
59
69
  required_rubygems_version: !ruby/object:Gem::Requirement
60
70
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: "0"
64
- version:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 0
75
+ version: "0"
65
76
  requirements: []
66
77
 
67
78
  rubyforge_project:
68
- rubygems_version: 1.3.5
79
+ rubygems_version: 1.3.6
69
80
  signing_key:
70
81
  specification_version: 3
71
82
  summary: Socket Helper