cantor 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ require "spec_helper"
2
+
@@ -0,0 +1,2 @@
1
+ require "spec_helper"
2
+
@@ -0,0 +1 @@
1
+ require "spec_helper"
@@ -0,0 +1,30 @@
1
+ require File.expand_path("../../lib/cantor", __FILE__)
2
+
3
+ begin
4
+ # RSpec-1: https://github.com/dchelimsky/rspec
5
+ require "spec"
6
+ rescue LoadError
7
+ # RSpec-2: https://github.com/rspec/rspec
8
+ require "rspec"
9
+ end
10
+
11
+ # Require supporting files with custom matchers and macros
12
+ Pathname.new(File.dirname(__FILE__)).tap do |specdir|
13
+ Dir["#{specdir}/support/**/*.rb"].each do |file|
14
+ require Pathname.new(file).relative_path_from(specdir)
15
+ end
16
+ end
17
+
18
+ RSpec.configure do |config|
19
+ # rspec -I lib -t random spec
20
+ # config.filter_run :random => true
21
+
22
+ # rspec -I lib -t ~random spec
23
+ # config.filter_run_excluding :random => true
24
+
25
+ # Skip platform-specific examples unless our platform matches
26
+ config.filter_run_excluding(:ruby => lambda{|n| RUBY_VERSION !~ /^#{n}/ })
27
+
28
+ # config.filter_run(:random => true)
29
+ # config.filter_run(:focus => true)
30
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cantor
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 0
10
+ version: 1.2.0
11
+ platform: ruby
12
+ authors:
13
+ - Kyle Putnam
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-04-12 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: Fast implementation of finite and complement sets in Ruby
22
+ email: putnam.kyle@gmail.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - README.md
31
+ - Rakefile
32
+ - lib/cantor/relative_set.rb
33
+ - lib/cantor/absolute_set.rb
34
+ - lib/cantor/universal_set.rb
35
+ - lib/cantor/relative_complement.rb
36
+ - lib/cantor/abstract_set.rb
37
+ - lib/cantor/null_set.rb
38
+ - lib/cantor.rb
39
+ - spec/spec_helper.rb
40
+ - spec/examples/null_set.example
41
+ - spec/examples/universal_set.example
42
+ - spec/examples/relative_set.example
43
+ - spec/examples/absolute_set.example
44
+ homepage: https://github.com/kputnam/cantor
45
+ licenses: []
46
+
47
+ post_install_message:
48
+ rdoc_options: []
49
+
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ hash: 3
67
+ segments:
68
+ - 0
69
+ version: "0"
70
+ requirements: []
71
+
72
+ rubyforge_project:
73
+ rubygems_version: 1.8.17
74
+ signing_key:
75
+ specification_version: 3
76
+ summary: Fast implementation of finite and complement sets in Ruby
77
+ test_files:
78
+ - spec/examples/null_set.example
79
+ - spec/examples/universal_set.example
80
+ - spec/examples/relative_set.example
81
+ - spec/examples/absolute_set.example