venny 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -10,4 +10,5 @@ group :development do
10
10
  gem "bundler", "~> 1.0.0"
11
11
  gem "jeweler", "~> 1.5.2"
12
12
  gem "rcov", ">= 0"
13
+ gem "spork", "~> 0.9.0.rc7"
13
14
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -17,7 +17,7 @@ class Set
17
17
 
18
18
  def cartesian_product(*enums)
19
19
  raise ArgumentError, 'must supply at least one Enumerable argument' if enums.empty?
20
- raise ArgumentError, 'all arguments must be enumerable' unless enums.inject(true) { |acc, element| (acc || !element.is_a?(Enumerable)) }
20
+ raise ArgumentError, 'all arguments must be enumerable' if enums.any? { |element| !element.is_a?(Enumerable) }
21
21
  enums << self
22
22
  recursive_cartesian_product(*enums)
23
23
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{venny}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremy Holland"]
12
- s.date = %q{2011-05-03}
12
+ s.date = %q{2011-05-17}
13
13
  s.description = %q{Extends the standard library Set object, adding methods for cartesian products, power sets, and complements}
14
14
  s.email = %q{jeremy@jeremypholland.com}
15
15
  s.extra_rdoc_files = [
@@ -20,7 +20,6 @@ Gem::Specification.new do |s|
20
20
  ".document",
21
21
  ".rspec",
22
22
  "Gemfile",
23
- "Gemfile.lock",
24
23
  "LICENSE.txt",
25
24
  "README.rdoc",
26
25
  "Rakefile",
@@ -35,7 +34,7 @@ Gem::Specification.new do |s|
35
34
  s.homepage = %q{http://github.com/awebneck/venny}
36
35
  s.licenses = ["MIT"]
37
36
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.7}
37
+ s.rubygems_version = %q{1.6.2}
39
38
  s.summary = %q{Extends the stdlib Set object adding several common set operations}
40
39
  s.test_files = [
41
40
  "spec/spec_helper.rb",
@@ -43,7 +42,6 @@ Gem::Specification.new do |s|
43
42
  ]
44
43
 
45
44
  if s.respond_to? :specification_version then
46
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
45
  s.specification_version = 3
48
46
 
49
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -51,17 +49,20 @@ Gem::Specification.new do |s|
51
49
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
52
50
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
53
51
  s.add_development_dependency(%q<rcov>, [">= 0"])
52
+ s.add_development_dependency(%q<spork>, ["~> 0.9.0.rc7"])
54
53
  else
55
54
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
56
55
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
57
56
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
58
57
  s.add_dependency(%q<rcov>, [">= 0"])
58
+ s.add_dependency(%q<spork>, ["~> 0.9.0.rc7"])
59
59
  end
60
60
  else
61
61
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
62
62
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
63
63
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
64
64
  s.add_dependency(%q<rcov>, [">= 0"])
65
+ s.add_dependency(%q<spork>, ["~> 0.9.0.rc7"])
65
66
  end
66
67
  end
67
68
 
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: venny
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 2
9
- version: 1.0.2
4
+ prerelease:
5
+ version: 1.0.3
10
6
  platform: ruby
11
7
  authors:
12
8
  - Jeremy Holland
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-05-03 00:00:00 -05:00
13
+ date: 2011-05-17 00:00:00 -05:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -24,10 +20,6 @@ dependencies:
24
20
  requirements:
25
21
  - - ~>
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 2
29
- - 3
30
- - 0
31
23
  version: 2.3.0
32
24
  type: :development
33
25
  prerelease: false
@@ -39,10 +31,6 @@ dependencies:
39
31
  requirements:
40
32
  - - ~>
41
33
  - !ruby/object:Gem::Version
42
- segments:
43
- - 1
44
- - 0
45
- - 0
46
34
  version: 1.0.0
47
35
  type: :development
48
36
  prerelease: false
@@ -54,10 +42,6 @@ dependencies:
54
42
  requirements:
55
43
  - - ~>
56
44
  - !ruby/object:Gem::Version
57
- segments:
58
- - 1
59
- - 5
60
- - 2
61
45
  version: 1.5.2
62
46
  type: :development
63
47
  prerelease: false
@@ -69,12 +53,21 @@ dependencies:
69
53
  requirements:
70
54
  - - ">="
71
55
  - !ruby/object:Gem::Version
72
- segments:
73
- - 0
74
56
  version: "0"
75
57
  type: :development
76
58
  prerelease: false
77
59
  version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: spork
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 0.9.0.rc7
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *id005
78
71
  description: Extends the standard library Set object, adding methods for cartesian products, power sets, and complements
79
72
  email: jeremy@jeremypholland.com
80
73
  executables: []
@@ -88,7 +81,6 @@ files:
88
81
  - .document
89
82
  - .rspec
90
83
  - Gemfile
91
- - Gemfile.lock
92
84
  - LICENSE.txt
93
85
  - README.rdoc
94
86
  - Rakefile
@@ -113,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
105
  requirements:
114
106
  - - ">="
115
107
  - !ruby/object:Gem::Version
116
- hash: -278822628741290833
108
+ hash: 3453326427280595273
117
109
  segments:
118
110
  - 0
119
111
  version: "0"
@@ -122,13 +114,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
114
  requirements:
123
115
  - - ">="
124
116
  - !ruby/object:Gem::Version
125
- segments:
126
- - 0
127
117
  version: "0"
128
118
  requirements: []
129
119
 
130
120
  rubyforge_project:
131
- rubygems_version: 1.3.7
121
+ rubygems_version: 1.6.2
132
122
  signing_key:
133
123
  specification_version: 3
134
124
  summary: Extends the stdlib Set object adding several common set operations
@@ -1,28 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- diff-lcs (1.1.2)
5
- git (1.2.5)
6
- jeweler (1.5.2)
7
- bundler (~> 1.0.0)
8
- git (>= 1.2.5)
9
- rake
10
- rake (0.8.7)
11
- rcov (0.9.9)
12
- rspec (2.3.0)
13
- rspec-core (~> 2.3.0)
14
- rspec-expectations (~> 2.3.0)
15
- rspec-mocks (~> 2.3.0)
16
- rspec-core (2.3.1)
17
- rspec-expectations (2.3.0)
18
- diff-lcs (~> 1.1.2)
19
- rspec-mocks (2.3.0)
20
-
21
- PLATFORMS
22
- ruby
23
-
24
- DEPENDENCIES
25
- bundler (~> 1.0.0)
26
- jeweler (~> 1.5.2)
27
- rcov
28
- rspec (~> 2.3.0)