set_theory 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in set_theory.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,5 @@
1
+ class Object
2
+ def member_of?(ary)
3
+ ary.include? self
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module SetTheory
2
+ VERSION = "0.0.1"
3
+ end
data/lib/set_theory.rb ADDED
@@ -0,0 +1,4 @@
1
+ require "set_theory/member_of"
2
+
3
+ module SetTheory
4
+ end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "set_theory/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "set_theory"
7
+ s.version = SetTheory::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Tim Preston"]
10
+ s.email = ["tim@tp.id.au"]
11
+ s.homepage = "http://github.com/tehpeh/set_theory"
12
+ s.summary = %q{Extends Object with nice names for set operations.}
13
+ s.description = %q{Extends Object with nice names for set operations.}
14
+
15
+ s.rubyforge_project = "set_theory"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: set_theory
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Tim Preston
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-05-20 00:00:00 +10:00
14
+ default_executable:
15
+ dependencies: []
16
+
17
+ description: Extends Object with nice names for set operations.
18
+ email:
19
+ - tim@tp.id.au
20
+ executables: []
21
+
22
+ extensions: []
23
+
24
+ extra_rdoc_files: []
25
+
26
+ files:
27
+ - .gitignore
28
+ - Gemfile
29
+ - Rakefile
30
+ - lib/set_theory.rb
31
+ - lib/set_theory/member_of.rb
32
+ - lib/set_theory/version.rb
33
+ - set_theory.gemspec
34
+ has_rdoc: true
35
+ homepage: http://github.com/tehpeh/set_theory
36
+ licenses: []
37
+
38
+ post_install_message:
39
+ rdoc_options: []
40
+
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ requirements: []
56
+
57
+ rubyforge_project: set_theory
58
+ rubygems_version: 1.6.2
59
+ signing_key:
60
+ specification_version: 3
61
+ summary: Extends Object with nice names for set operations.
62
+ test_files: []
63
+