secret_sauce 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (C) 2012 Vinny Diehl
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # Secret Sauce
2
+
3
+ This library is my personal collection of Ruby utilities, mainly core
4
+ extensions.
5
+
6
+ ## Installation
7
+
8
+ Install with RubyGems:
9
+
10
+ % gem install secret_sauce
11
+
12
+ ## License
13
+
14
+ ```secret_sauce``` is released under the MIT license.
15
+
16
+ Copyright (C) 2012 Vinny Diehl
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a
19
+ copy of this software and associated documentation files (the "Software"),
20
+ to deal in the Software without restriction, including without limitation
21
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
22
+ and/or sell copies of the Software, and to permit persons to whom the
23
+ Software is furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in
26
+ all copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
33
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
34
+ DEALINGS IN THE SOFTWARE.
35
+
36
+ See [the official page on OSI](http://opensource.org/licenses/MIT) for more
37
+ information.
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "bundler"
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require "rspec/core/rake_task"
5
+ RSpec::Core::RakeTask.new :spec
6
+
7
+ task test: :spec
8
+ task default: :spec
@@ -0,0 +1,3 @@
1
+ module Enumerable
2
+ alias_method :contains?, :include?
3
+ end
@@ -0,0 +1,3 @@
1
+ Dir["#{File.dirname __FILE__}/core_ext/*.rb"].each do |file|
2
+ require "secret_sauce/core_ext/#{File.basename file, ".rb"}"
3
+ end
@@ -0,0 +1,3 @@
1
+ module SecretSauce
2
+ VERSION = "0.0.1.pre"
3
+ end
@@ -0,0 +1 @@
1
+ require "secret_sauce/core_ext"
@@ -0,0 +1,26 @@
1
+ require File.expand_path("../lib/secret_sauce/version", __FILE__)
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = "secret_sauce"
5
+ gem.version = SecretSauce::VERSION
6
+
7
+ gem.author = "Vinny Diehl"
8
+ gem.email = "gbchaosmaster926@gmail.com"
9
+ gem.homepage = "https://github.com/gbchaosmaster/secret_sauce"
10
+
11
+ gem.license = "MIT"
12
+
13
+ gem.summary = "Library to boost Ruby's functionality."
14
+ # TODO: Better description
15
+ gem.description = gem.summary
16
+
17
+ gem.require_paths = %w[lib]
18
+ gem.test_files = Dir["spec/**/*"]
19
+ gem.files = Dir["lib/**/*"] + gem.test_files + %w[
20
+ LICENSE Rakefile README.md secret_sauce.gemspec
21
+ ]
22
+
23
+ gem.add_development_dependency "bundler"
24
+ gem.add_development_dependency "rake"
25
+ gem.add_development_dependency "rspec"
26
+ end
@@ -0,0 +1,10 @@
1
+ require "secret_sauce/core_ext/enumerable"
2
+
3
+ describe Enumerable do
4
+ describe "#contains?" do
5
+ it "should be an alias of #include?" do
6
+ Enumerable.instance_method(:contains?).should ===
7
+ Enumerable.instance_method(:include?)
8
+ end
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: secret_sauce
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Vinny Diehl
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: Library to boost Ruby's functionality.
63
+ email: gbchaosmaster926@gmail.com
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - lib/secret_sauce/version.rb
69
+ - lib/secret_sauce/core_ext/enumerable.rb
70
+ - lib/secret_sauce/core_ext.rb
71
+ - lib/secret_sauce.rb
72
+ - spec/core_ext/enumerable_spec.rb
73
+ - LICENSE
74
+ - Rakefile
75
+ - README.md
76
+ - secret_sauce.gemspec
77
+ homepage: https://github.com/gbchaosmaster/secret_sauce
78
+ licenses:
79
+ - MIT
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ! '>'
94
+ - !ruby/object:Gem::Version
95
+ version: 1.3.1
96
+ requirements: []
97
+ rubyforge_project:
98
+ rubygems_version: 1.8.24
99
+ signing_key:
100
+ specification_version: 3
101
+ summary: Library to boost Ruby's functionality.
102
+ test_files:
103
+ - spec/core_ext/enumerable_spec.rb