Sha256: 02ed90cfe3e0bd45e037edf2ef1d17d2f305c4d2612e8c1068cc5e329c6143ac
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
require File.expand_path("../lib/gem_search/version", __FILE__) def install_message s = "" s << "\xf0\x9f\x8d\xba " if or_over_mac_os_lion? s << "Thanks for installing!" end def or_over_mac_os_lion? return false unless RUBY_PLATFORM =~ /darwin/ macos_full_version = `/usr/bin/sw_vers -productVersion`.chomp macos_version = macos_full_version[/10\.\d+/] macos_version >= "10.7" # 10.7 is lion end Gem::Specification.new do |gem| gem.authors = ["rochefort"] gem.email = ["terasawan@gmail.com"] gem.homepage = "https://github.com/rochefort/gem-search" gem.summary = "search gems with using rubygems.org API" gem.description = gem.summary gem.files = `git ls-files -z`.split("\x0") gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.name = "gem-search" gem.require_paths = ["lib"] gem.version = GemSearch::VERSION gem.post_install_message = install_message gem.add_dependency "slop", "~>4.4.1" gem.add_dependency "mem", "~>0.1.5" gem.add_development_dependency "webmock", "~>3.0.1" gem.add_development_dependency "rake", "~>12.0.0" gem.add_development_dependency "rspec", "~>3.5.0" gem.add_development_dependency "simplecov", "~>0.14.1" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gem-search-0.3.0 | gem-search.gemspec |