wwood-reach 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. data/CHANGES +3 -0
  2. data/Gemfile +13 -0
  3. data/LICENSE.txt +20 -0
  4. data/Rakefile +55 -0
  5. data/VERSION +1 -0
  6. data/rdoc.sh +1 -0
  7. data/wwood-reach.gemspec +60 -0
  8. metadata +100 -17
data/CHANGES ADDED
@@ -0,0 +1,3 @@
1
+ Version 0.2.1
2
+ * Added recursion, so that arrays within reachable arrays are treated as
3
+ reachable arrays themselves
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "shoulda", ">= 0"
10
+ gem "bundler", "~> 1.0.0"
11
+ gem "jeweler", "~> 1.6.0"
12
+ gem "rcov", ">= 0"
13
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Ben J Woodcroft
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "wwood-reach"
18
+ gem.homepage = "http://github.com/wwood/reach"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Reach is a small Ruby liby that extends the Array class so that Arrays are more transparent
21
+ to methods.}
22
+ gem.description = %Q{For instance, a ReachableArray of Book objects can not only take normal Array methods such as
23
+ collect and sum, but also methods that operate Book objects, such as author and title. }
24
+ gem.email = "gmail.com after donttrustben"
25
+ gem.authors = ["Ben J Woodcroft"]
26
+ # dependencies defined in Gemfile
27
+ end
28
+ Jeweler::RubygemsDotOrgTasks.new
29
+
30
+ require 'rake/testtask'
31
+ Rake::TestTask.new(:test) do |test|
32
+ test.libs << 'lib' << 'test'
33
+ test.pattern = 'test/**/test_*.rb'
34
+ test.verbose = true
35
+ end
36
+
37
+ require 'rcov/rcovtask'
38
+ Rcov::RcovTask.new do |test|
39
+ test.libs << 'test'
40
+ test.pattern = 'test/**/test_*.rb'
41
+ test.verbose = true
42
+ test.rcov_opts << '--exclude "gems/*"'
43
+ end
44
+
45
+ task :default => :test
46
+
47
+ require 'rake/rdoctask'
48
+ Rake::RDocTask.new do |rdoc|
49
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
+
51
+ rdoc.rdoc_dir = 'rdoc'
52
+ rdoc.title = "reach #{version}"
53
+ rdoc.rdoc_files.include('README*')
54
+ rdoc.rdoc_files.include('lib/**/*.rb')
55
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.2
data/rdoc.sh ADDED
@@ -0,0 +1 @@
1
+ rdoc --main README.rdoc --inline *.rdoc lib/*
@@ -0,0 +1,60 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{wwood-reach}
8
+ s.version = "0.2.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ben J Woodcroft"]
12
+ s.date = %q{2011-05-28}
13
+ s.description = %q{For instance, a ReachableArray of Book objects can not only take normal Array methods such as
14
+ collect and sum, but also methods that operate Book objects, such as author and title. }
15
+ s.email = %q{gmail.com after donttrustben}
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ "CHANGES",
22
+ "Gemfile",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "lib/reach.rb",
28
+ "rdoc.sh",
29
+ "reach.gemspec",
30
+ "test/test_reach.rb",
31
+ "wwood-reach.gemspec"
32
+ ]
33
+ s.homepage = %q{http://github.com/wwood/reach}
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = %q{1.6.2}
37
+ s.summary = %q{Reach is a small Ruby liby that extends the Array class so that Arrays are more transparent to methods.}
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
44
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
46
+ s.add_development_dependency(%q<rcov>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<shoulda>, [">= 0"])
49
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
50
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
51
+ s.add_dependency(%q<rcov>, [">= 0"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<shoulda>, [">= 0"])
55
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
56
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
57
+ s.add_dependency(%q<rcov>, [">= 0"])
58
+ end
59
+ end
60
+
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wwood-reach
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ hash: 19
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 2
10
+ version: 0.2.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Ben J Woodcroft
@@ -9,47 +15,124 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2008-10-23 00:00:00 -07:00
18
+ date: 2011-05-28 00:00:00 +10:00
13
19
  default_executable:
14
- dependencies: []
15
-
16
- description: Extend the Ruby Array class for less loops and blocks.
17
- email: donttrustben somewhere near gmail.com
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :development
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ name: shoulda
33
+ version_requirements: *id001
34
+ prerelease: false
35
+ - !ruby/object:Gem::Dependency
36
+ type: :development
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ hash: 23
43
+ segments:
44
+ - 1
45
+ - 0
46
+ - 0
47
+ version: 1.0.0
48
+ name: bundler
49
+ version_requirements: *id002
50
+ prerelease: false
51
+ - !ruby/object:Gem::Dependency
52
+ type: :development
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ hash: 15
59
+ segments:
60
+ - 1
61
+ - 6
62
+ - 0
63
+ version: 1.6.0
64
+ name: jeweler
65
+ version_requirements: *id003
66
+ prerelease: false
67
+ - !ruby/object:Gem::Dependency
68
+ type: :development
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ name: rcov
79
+ version_requirements: *id004
80
+ prerelease: false
81
+ description: "For instance, a ReachableArray of Book objects can not only take normal Array methods such as\n\
82
+ collect and sum, but also methods that operate Book objects, such as author and title. "
83
+ email: gmail.com after donttrustben
18
84
  executables: []
19
85
 
20
86
  extensions: []
21
87
 
22
- extra_rdoc_files: []
23
-
88
+ extra_rdoc_files:
89
+ - LICENSE.txt
90
+ - README.rdoc
24
91
  files:
25
- - reach.gemspec
92
+ - CHANGES
93
+ - Gemfile
94
+ - LICENSE.txt
26
95
  - README.rdoc
96
+ - Rakefile
97
+ - VERSION
27
98
  - lib/reach.rb
28
- has_rdoc: false
99
+ - rdoc.sh
100
+ - reach.gemspec
101
+ - test/test_reach.rb
102
+ - wwood-reach.gemspec
103
+ has_rdoc: true
29
104
  homepage: http://github.com/wwood/reach
105
+ licenses:
106
+ - MIT
30
107
  post_install_message:
31
108
  rdoc_options: []
32
109
 
33
110
  require_paths:
34
111
  - lib
35
112
  required_ruby_version: !ruby/object:Gem::Requirement
113
+ none: false
36
114
  requirements:
37
115
  - - ">="
38
116
  - !ruby/object:Gem::Version
117
+ hash: 3
118
+ segments:
119
+ - 0
39
120
  version: "0"
40
- version:
41
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
+ none: false
42
123
  requirements:
43
124
  - - ">="
44
125
  - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
45
129
  version: "0"
46
- version:
47
130
  requirements: []
48
131
 
49
132
  rubyforge_project:
50
- rubygems_version: 1.2.0
133
+ rubygems_version: 1.6.2
51
134
  signing_key:
52
- specification_version: 2
53
- summary: Extend the Ruby Array class for less loops and blocks
54
- test_files:
55
- - test/test_reach.rb
135
+ specification_version: 3
136
+ summary: Reach is a small Ruby liby that extends the Array class so that Arrays are more transparent to methods.
137
+ test_files: []
138
+