search 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.travis.yml +5 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +52 -0
- data/Rakefile +6 -0
- data/lib/search.rb +2 -0
- data/lib/search/.gitkeep +0 -0
- data/search.gemspec +19 -0
- data/spec/search_spec.rb +5 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/support/random.rb +3 -0
- metadata +97 -0
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Steve Richert
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
Search [![Build Status](https://secure.travis-ci.org/laserlemon/search.png)](http://travis-ci.org/laserlemon/search) [![Dependency Status](https://gemnasium.com/laserlemon/search.png)](https://gemnasium.com/laserlemon/search) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/laserlemon/search)
|
2
|
+
======
|
3
|
+
|
4
|
+
Search is an experiment in open source.
|
5
|
+
|
6
|
+
Typically, a lone developer encounters a problem and goes about the work of solving that problem by writing a gem. Eventually, other developers join the fun, adding their insight and code to the mix. And in some cases, contributors may even form a "core team."
|
7
|
+
|
8
|
+
With Search, we're flipping that typical scenario on its head. We're starting with a name and a [core team](http://collectiveidea.com/blog/archives/2012/10/04/a-different-approach-to-gem-development/) who will commit to support, maintain and improve the gem. Only after the core team is chosen would we discuss which problem revolving around search is best solved by the team. Finally, we solve the problem with code and collaboration.
|
9
|
+
|
10
|
+
Meet the Core Team
|
11
|
+
------------------
|
12
|
+
|
13
|
+
<a href="https://github.com/laserlemon" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/0887991a8846577a6aa85433d6ab3ea2.jpg?s=72" style="float:left;" /></a>
|
14
|
+
<a href="https://github.com/jmazzi" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/5896cb49b1b972647009cf4f0b110852.jpg?s=72" style="float:left;" /></a>
|
15
|
+
<a href="https://github.com/lest" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/18efee6ee5a12946d983169eff2540f2.jpg?s=72" style="float:left;" /></a>
|
16
|
+
<a href="https://github.com/dennisvdvliet" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/32f6f548d661c771fd4180d6e55ada59.jpg?s=72" style="float:left;" /></a>
|
17
|
+
<a href="https://github.com/phlipper" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/b61ce134adf2d6eb1d1f1d11122d6142.jpg?s=72" style="float:left;" /></a>
|
18
|
+
<a href="https://github.com/jaredholdcroft" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/48881d8201b2d82fb580cf85fa763f44.jpg?s=72" style="float:left;" /></a>
|
19
|
+
<a href="https://github.com/hollowspace" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/b942798f822dee11bacf2f93e4d1f198.jpg?s=72" style="float:left;" /></a>
|
20
|
+
<a href="https://github.com/towanda" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/2a249fa78dc7b2215068cb8a97e577eb.jpg?s=72" style="float:left;" /></a>
|
21
|
+
<a href="https://github.com/andrewh" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/056cb34470680772611207ca7639b033.jpg?s=72" style="float:left;" /></a>
|
22
|
+
<a href="https://github.com/jakeonrails" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/a404d3280b6226449ddade0b1db4e271.jpg?s=72" style="float:left;" /></a>
|
23
|
+
<a href="https://github.com/nertzy" style="float:left;margin-right:10px;margin-bottom:10px;"><img src="https://gravatar.com/avatar/602f1b8ccf99dc47c43da83d53b4ffd5.jpg?s=72" style="float:left;" /></a>
|
24
|
+
|
25
|
+
Join the Conversation
|
26
|
+
---------------------
|
27
|
+
|
28
|
+
Search has not been written; not by a long shot. We're currently discussing what direction will be most beneficial for the Ruby community. Please join us in our [Campfire room](https://collectiveidea.campfirenow.com/a809b) to share your ideas.
|
29
|
+
|
30
|
+
After we have a short list of potential directions for the gem, we'll bring it to the Ruby community for feedback. Once our direction is clear, let the coding begin!
|
31
|
+
|
32
|
+
Contribute
|
33
|
+
----------
|
34
|
+
|
35
|
+
By no means is contribution limited to the core team. The success of Search depends on the generous help and work of the Ruby community.
|
36
|
+
|
37
|
+
Pitching in is easy. Fork the repo and push your improvements. We promise to carefully review every pull request, no matter how big or small. Please help with:
|
38
|
+
|
39
|
+
* features
|
40
|
+
* bugfixes
|
41
|
+
* documentation
|
42
|
+
* refactoring
|
43
|
+
* whitespace
|
44
|
+
|
45
|
+
If you're not comfortable writing a bugfix, please feel free to submit a pull request with a broken test exposing the bug.
|
46
|
+
|
47
|
+
We'll be adhering to the [GitHub Ruby Styleguide](https://github.com/styleguide/ruby) so please do likewise when submitting code.
|
48
|
+
|
49
|
+
Thank You
|
50
|
+
---------
|
51
|
+
|
52
|
+
Many thanks are due to [Ara Howard](https://github.com/ahoward) for relinquishing the "search" gem name after five years of inactivity.
|
data/Rakefile
ADDED
data/lib/search.rb
ADDED
data/lib/search/.gitkeep
ADDED
File without changes
|
data/search.gemspec
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
Gem::Specification.new do |gem|
|
4
|
+
gem.name = 'search'
|
5
|
+
gem.version = '0.0.2'
|
6
|
+
|
7
|
+
gem.author = 'Steve Richert'
|
8
|
+
gem.email = 'steve.richert@gmail.com'
|
9
|
+
gem.description = 'Simple search'
|
10
|
+
gem.summary = 'Simple search'
|
11
|
+
gem.homepage = 'https://github.com/laserlemon/search'
|
12
|
+
|
13
|
+
gem.add_development_dependency 'rake', '~> 0.9'
|
14
|
+
gem.add_development_dependency 'rspec', '~> 2.0'
|
15
|
+
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.test_files = gem.files.grep(/^spec/)
|
18
|
+
gem.require_path = 'lib'
|
19
|
+
end
|
data/spec/search_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: search
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Steve Richert
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.9'
|
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.9'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2.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: '2.0'
|
46
|
+
description: Simple search
|
47
|
+
email: steve.richert@gmail.com
|
48
|
+
executables: []
|
49
|
+
extensions: []
|
50
|
+
extra_rdoc_files: []
|
51
|
+
files:
|
52
|
+
- .gitignore
|
53
|
+
- .travis.yml
|
54
|
+
- Gemfile
|
55
|
+
- LICENSE.txt
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- lib/search.rb
|
59
|
+
- lib/search/.gitkeep
|
60
|
+
- search.gemspec
|
61
|
+
- spec/search_spec.rb
|
62
|
+
- spec/spec_helper.rb
|
63
|
+
- spec/support/random.rb
|
64
|
+
homepage: https://github.com/laserlemon/search
|
65
|
+
licenses: []
|
66
|
+
post_install_message:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
hash: -2794993682904744826
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
hash: -2794993682904744826
|
88
|
+
requirements: []
|
89
|
+
rubyforge_project:
|
90
|
+
rubygems_version: 1.8.24
|
91
|
+
signing_key:
|
92
|
+
specification_version: 3
|
93
|
+
summary: Simple search
|
94
|
+
test_files:
|
95
|
+
- spec/search_spec.rb
|
96
|
+
- spec/spec_helper.rb
|
97
|
+
- spec/support/random.rb
|