cbuffer 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 (3) hide show
  1. data/lib/cbuffer/version.rb +1 -1
  2. data/test/helper.rb +9 -0
  3. metadata +43 -38
@@ -1,3 +1,3 @@
1
1
  module CBuffer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,3 +1,12 @@
1
1
  require 'test/unit'
2
2
 
3
+ # fix for ruby 1.8
4
+ unless Kernel.respond_to?(:require_relative)
5
+ module Kernel
6
+ def require_relative(path)
7
+ require File.join(File.dirname(caller[0]), path.to_str)
8
+ end
9
+ end
10
+ end
11
+
3
12
  require_relative '../lib/cbuffer.rb'
metadata CHANGED
@@ -1,47 +1,49 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cbuffer
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.1.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Duncan Robertson
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-09 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2011-08-11 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: rake
16
- requirement: &70139950427700 !ruby/object:Gem::Requirement
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
17
19
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
22
24
  type: :development
23
- prerelease: false
24
- version_requirements: *70139950427700
25
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
26
27
  name: bundler
27
- requirement: &70139950427160 !ruby/object:Gem::Requirement
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
28
30
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
32
34
  version: 1.0.0
33
35
  type: :development
34
- prerelease: false
35
- version_requirements: *70139950427160
36
- description: A circular buffer, cyclic buffer or ring buffer is a data structure that
37
- uses a single, fixed-size buffer as if it were connected end-to-end. This structure
38
- lends itself easily to buffering data streams. This library impliments such a buffer.
39
- email:
36
+ version_requirements: *id002
37
+ description: A circular buffer, cyclic buffer or ring buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end. This structure lends itself easily to buffering data streams. This library impliments such a buffer.
38
+ email:
40
39
  - duncan.robertson@bbc.co.uk
41
40
  executables: []
41
+
42
42
  extensions: []
43
+
43
44
  extra_rdoc_files: []
44
- files:
45
+
46
+ files:
45
47
  - .gitignore
46
48
  - Gemfile
47
49
  - LICENSE
@@ -55,29 +57,32 @@ files:
55
57
  - test/test_cbuffer.rb
56
58
  homepage: https://github.com/bbcrd/CBuffer
57
59
  licenses: []
60
+
58
61
  post_install_message:
59
62
  rdoc_options: []
60
- require_paths:
63
+
64
+ require_paths:
61
65
  - lib
62
- required_ruby_version: !ruby/object:Gem::Requirement
66
+ required_ruby_version: !ruby/object:Gem::Requirement
63
67
  none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: "0"
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
73
  none: false
70
- requirements:
71
- - - ! '>='
72
- - !ruby/object:Gem::Version
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
73
77
  version: 1.3.6
74
78
  requirements: []
79
+
75
80
  rubyforge_project:
76
- rubygems_version: 1.8.6
81
+ rubygems_version: 1.8.5
77
82
  signing_key:
78
83
  specification_version: 3
79
84
  summary: A simple implementation of a circular buffer
80
- test_files:
85
+ test_files:
81
86
  - test/benchmark.rb
82
87
  - test/helper.rb
83
88
  - test/test_cbuffer.rb