Skip to content

Commit

Permalink
fix rake release warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfryed committed Nov 15, 2015
1 parent c549d5b commit 52272f8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
23 changes: 23 additions & 0 deletions LICENSE
@@ -0,0 +1,23 @@
MIT

Copyright (c) 2015 Bharanee Rathna


Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7 changes: 4 additions & 3 deletions Rakefile
Expand Up @@ -15,12 +15,13 @@ $gemspec = Gem::Specification.new do |s|
s.summary = 'A fast Bloom Filter library for Ruby.'
s.description = 'A fast Bloom Filter library for Ruby for unices.'
s.homepage = 'http://github.com/deepfryed/bloom-filter'
s.files = Dir['ext/**/*.{cc,c,h}'] + Dir['{ext,test}/*.rb'] + %w(README.md CHANGELOG) + Dir['lib/**/*.rb']
s.files = Dir['ext/**/*.{cc,c,h}'] + Dir['{ext,test}/*.rb'] + %w(LICENSE README.md CHANGELOG) + Dir['lib/**/*.rb']
s.licenses = %W(MIT)
s.extensions = %w(ext/extconf.rb)
s.require_paths = %w(lib)

s.add_development_dependency('rake')
s.add_development_dependency('rake-compiler')
s.add_development_dependency('rake', '~> 0')
s.add_development_dependency('rake-compiler', '~> 0')
end

desc 'Generate bloom-filter gemspec'
Expand Down
15 changes: 8 additions & 7 deletions bloom-filter.gemspec
Expand Up @@ -13,23 +13,24 @@ Gem::Specification.new do |s|
s.description = "A fast Bloom Filter library for Ruby for unices."
s.email = ["deepfryed@gmail.com"]
s.extensions = ["ext/extconf.rb"]
s.files = ["CHANGELOG", "README.md", "ext/bloom-filter.c", "ext/bloom-filter.h", "ext/bloom_filter.c", "ext/extconf.rb", "ext/hash-string.c", "ext/hash-string.h", "ext/version.h", "lib/bloom-filter.rb", "test/helper.rb", "test/test_basic.rb", "test/test_io.rb"]
s.files = ["CHANGELOG", "LICENSE", "README.md", "ext/bloom-filter.c", "ext/bloom-filter.h", "ext/bloom_filter.c", "ext/extconf.rb", "ext/hash-string.c", "ext/hash-string.h", "ext/version.h", "lib/bloom-filter.rb", "test/helper.rb", "test/test_basic.rb", "test/test_io.rb"]
s.homepage = "http://github.com/deepfryed/bloom-filter"
s.licenses = ["MIT"]
s.rubygems_version = "2.2.2"
s.summary = "A fast Bloom Filter library for Ruby."

if s.respond_to? :specification_version then
s.specification_version = 4

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, [">= 0"])
s.add_development_dependency(%q<rake-compiler>, [">= 0"])
s.add_development_dependency(%q<rake>, ["~> 0"])
s.add_development_dependency(%q<rake-compiler>, ["~> 0"])
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<rake-compiler>, [">= 0"])
s.add_dependency(%q<rake>, ["~> 0"])
s.add_dependency(%q<rake-compiler>, ["~> 0"])
end
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<rake-compiler>, [">= 0"])
s.add_dependency(%q<rake>, ["~> 0"])
s.add_dependency(%q<rake-compiler>, ["~> 0"])
end
end

0 comments on commit 52272f8

Please sign in to comment.