rangehash 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +26 -0
- data/History.txt +8 -0
- data/Rakefile +12 -18
- data/lib/rangehash/version.rb +4 -0
- data/lib/rangehash.rb +0 -4
- data/rangehash.gemspec +28 -0
- metadata +38 -51
- data/.gemtest +0 -0
- data/Manifest.txt +0 -13
- data/PostInstall.txt +0 -7
- data.tar.gz.sig +0 -1
- metadata.gz.sig +0 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
RangeHash (0.0.6)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.1.2)
|
10
|
+
rcov (0.9.10)
|
11
|
+
rspec (2.6.0)
|
12
|
+
rspec-core (~> 2.6.0)
|
13
|
+
rspec-expectations (~> 2.6.0)
|
14
|
+
rspec-mocks (~> 2.6.0)
|
15
|
+
rspec-core (2.6.4)
|
16
|
+
rspec-expectations (2.6.0)
|
17
|
+
diff-lcs (~> 1.1.2)
|
18
|
+
rspec-mocks (2.6.0)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
RangeHash!
|
25
|
+
rcov
|
26
|
+
rspec
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,22 +1,16 @@
|
|
1
|
-
|
2
|
-
require '
|
3
|
-
|
4
|
-
require 'hoe'
|
5
|
-
require 'fileutils'
|
6
|
-
require './lib/rangehash'
|
1
|
+
require 'rake'
|
2
|
+
require 'rspec/core/rake_task'
|
3
|
+
require "bundler/gem_tasks"
|
7
4
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
Hoe.plugin :reek
|
12
|
-
Hoe.plugin :roodi
|
5
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
6
|
+
t.rspec_opts = ['--format', 'progress' ]
|
7
|
+
end
|
13
8
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
self.test_globs = ["spec/**/*_spec.rb"]
|
19
|
-
self.extra_rdoc_files = ["README.rdoc"]
|
9
|
+
desc "Run all specs with RCov"
|
10
|
+
RSpec::Core::RakeTask.new(:rcov) do |t|
|
11
|
+
t.rcov = true
|
12
|
+
t.rcov_opts = ['--text-report', '--save', 'coverage.info', '--exclude', 'spec_helper', '--exclude', '^/']
|
20
13
|
end
|
21
14
|
|
22
|
-
|
15
|
+
task :default => [:spec]
|
16
|
+
|
data/lib/rangehash.rb
CHANGED
data/rangehash.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "rangehash/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "rangehash"
|
7
|
+
s.version = Rangehash::VERSION
|
8
|
+
s.authors = ["Mark Simpson"]
|
9
|
+
s.email = ["verdammelt@gmail.com"]
|
10
|
+
s.license = 'MIT'
|
11
|
+
s.homepage = "https://github.com/verdammelt/rangehash"
|
12
|
+
s.summary = %q{Subclass of Hash which allows Ranges as the keys}
|
13
|
+
s.description = <<-EOF
|
14
|
+
RangeHash subclasses Hash and adds functionality so that Ranges can
|
15
|
+
be the keys and values can be found by FixNums within those ranges.
|
16
|
+
EOF
|
17
|
+
|
18
|
+
s.rubyforge_project = "rangehash"
|
19
|
+
|
20
|
+
s.files = `git ls-files`.split("\n")
|
21
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
22
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
23
|
+
s.require_paths = ["lib"]
|
24
|
+
|
25
|
+
# specify any dependencies here; for example:
|
26
|
+
s.add_development_dependency "rspec"
|
27
|
+
s.add_development_dependency "rcov"
|
28
|
+
end
|
metadata
CHANGED
@@ -1,98 +1,84 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangehash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mark Simpson
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
|
-
cert_chain:
|
17
|
-
- |
|
18
|
-
-----BEGIN CERTIFICATE-----
|
19
|
-
MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDAp2ZXJk
|
20
|
-
YW1tZWx0MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
|
21
|
-
b20wHhcNMTAxMjI5MjAxNjI3WhcNMTExMjI5MjAxNjI3WjBBMRMwEQYDVQQDDAp2
|
22
|
-
ZXJkYW1tZWx0MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
|
23
|
-
FgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDQQsRTtwd0rN0X
|
24
|
-
ffw6plu3tUBiGXpRGWOlIZq6xjyAjjvmwMWnmwU5juNBlPJZzYiMmCIC821s3fgb
|
25
|
-
TM69f/cgqeevyI/h4Soxl2Le8NVGSeyvaZSNM8s1n9EQ5kN7VogYD0DbB4kHlfCM
|
26
|
-
JgD72juXiAKXnsXH8NvcBXCkoPiq7CjDJCmrqilTu1atELmP5RJ/Vm+Nt2odVDF5
|
27
|
-
t2x2ANmLVOZn59BTvHNXYbwrCIs82W4SwOSF4wL/I5ElH7dzr8PZN1yNBZPHtxpe
|
28
|
-
+4eTt6c4+DSP+rCOjLxBQxGPemY54zVawVtg4LjE/oOaAri99hz1Nl+PLgXg+oEP
|
29
|
-
veV2pcnDAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
30
|
-
BBTJ6wHlTv0Ievjg5o1zGil1w639SjANBgkqhkiG9w0BAQUFAAOCAQEAfXKfM9vA
|
31
|
-
u1ukuGjhd4mej3Daw8bnaX2URwy5/4ogP5+9rK+WTni5UpS09ksvN/I/PWnfwNWE
|
32
|
-
kzV0tl0DvQMpz+obpw02pt1uEzAHyPOYDGrgRweVaJbvrH2G3xAkSBwfkaDlzSrk
|
33
|
-
KomP5Nct1Nnkmg0mAAGjvS/ib3GbEANt8qSP6hfn6vEXMUnhnCmo69dbdqDwVDOJ
|
34
|
-
FVV9Kd1o7T8NmmDdn+G26uPPAX5EeJtyB1rV6pSPkQW99opIKcz6iEPNkAtVniwM
|
35
|
-
AM5LT+EO74YD568fpYjJUw+T4/TsPJBWyU/f21QoaRXI+x3VNSEqDZEf67Lsp2Ew
|
36
|
-
rPnJW2hNpPLFrA==
|
37
|
-
-----END CERTIFICATE-----
|
16
|
+
cert_chain: []
|
38
17
|
|
39
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-14 00:00:00 -04:00
|
40
19
|
default_executable:
|
41
20
|
dependencies:
|
42
21
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
22
|
+
name: rspec
|
44
23
|
prerelease: false
|
45
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
46
25
|
none: false
|
47
26
|
requirements:
|
48
27
|
- - ">="
|
49
28
|
- !ruby/object:Gem::Version
|
50
|
-
hash:
|
29
|
+
hash: 3
|
51
30
|
segments:
|
52
|
-
-
|
53
|
-
|
54
|
-
- 4
|
55
|
-
version: 2.9.4
|
31
|
+
- 0
|
32
|
+
version: "0"
|
56
33
|
type: :development
|
57
34
|
version_requirements: *id001
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rcov
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id002
|
49
|
+
description: " RangeHash subclasses Hash and adds functionality so that Ranges can \n be the keys and values can be found by FixNums within those ranges.\n"
|
62
50
|
email:
|
63
51
|
- verdammelt@gmail.com
|
64
52
|
executables: []
|
65
53
|
|
66
54
|
extensions: []
|
67
55
|
|
68
|
-
extra_rdoc_files:
|
69
|
-
|
70
|
-
- Manifest.txt
|
71
|
-
- PostInstall.txt
|
72
|
-
- README.rdoc
|
56
|
+
extra_rdoc_files: []
|
57
|
+
|
73
58
|
files:
|
59
|
+
- .gitignore
|
74
60
|
- .rspec
|
61
|
+
- Gemfile
|
62
|
+
- Gemfile.lock
|
75
63
|
- History.txt
|
76
|
-
- Manifest.txt
|
77
|
-
- PostInstall.txt
|
78
64
|
- README.rdoc
|
79
65
|
- Rakefile
|
80
66
|
- lib/rangehash.rb
|
67
|
+
- lib/rangehash/version.rb
|
68
|
+
- rangehash.gemspec
|
81
69
|
- script/console
|
82
70
|
- script/destroy
|
83
71
|
- script/generate
|
84
72
|
- spec/rangehash_spec.rb
|
85
73
|
- spec/spec_helper.rb
|
86
74
|
- todo.org
|
87
|
-
- .gemtest
|
88
75
|
has_rdoc: true
|
89
|
-
homepage:
|
90
|
-
licenses:
|
76
|
+
homepage: https://github.com/verdammelt/rangehash
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
post_install_message:
|
80
|
+
rdoc_options: []
|
91
81
|
|
92
|
-
post_install_message: PostInstall.txt
|
93
|
-
rdoc_options:
|
94
|
-
- --main
|
95
|
-
- README.rdoc
|
96
82
|
require_paths:
|
97
83
|
- lib
|
98
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -119,6 +105,7 @@ rubyforge_project: rangehash
|
|
119
105
|
rubygems_version: 1.5.0
|
120
106
|
signing_key:
|
121
107
|
specification_version: 3
|
122
|
-
summary:
|
108
|
+
summary: Subclass of Hash which allows Ranges as the keys
|
123
109
|
test_files:
|
124
110
|
- spec/rangehash_spec.rb
|
111
|
+
- spec/spec_helper.rb
|
data/.gemtest
DELETED
File without changes
|
data/Manifest.txt
DELETED
data/PostInstall.txt
DELETED
data.tar.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/���+Y�h��zk��̳�X�fW��e��O��n���̌�˳���P���y�.�[��L{ǓX��+6Cj�Ye�����)�~k���^1Ao^+.���/��{�{����
|
metadata.gz.sig
DELETED
Binary file
|