Sha256: 50e6f9a901f08567345b0581d43829215a7a38bc6ced2349b0ae218245a59924

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = "proc_for_case_equality"
  s.version = "0.1"

  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
  s.authors = ["De Santis Maurizio"]
  s.cert_chain = ["/home/mau/.gem_keys/gem-public_cert.pem"]
  s.date = "2012-01-20"
  s.description = "proc_for_case_equality - For using procs in case comparisons"
  s.email = "desantis.maurizio@gmail.com"
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "lib/proc_for_case_equality.rb", "lib/proc_for_case_equality/pfce.rb"]
  s.files = ["CHANGELOG", "LICENSE", "README.rdoc", "Rakefile", "lib/proc_for_case_equality.rb", "lib/proc_for_case_equality/pfce.rb", "spec/pfce_spec.rb", "spec/proc_for_case_equality_spec.rb", "spec/spec_helper.rb", "Manifest", "proc_for_case_equality.gemspec"]
  s.homepage = "https://github.com/ProGNOMmers/proc_for_case_equality"
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Proc_for_case_equality", "--main", "README.rdoc"]
  s.require_paths = ["lib"]
  s.rubyforge_project = "proc_for_case_equality"
  s.rubygems_version = "1.8.15"
  s.signing_key = "/home/mau/.gem_keys/gem-private_key.pem"
  s.summary = "It lets you use procs for case comparisons. Example: all_multiples_of_3 = ProcForCaseEquality.new { |numbers| numbers.all? { |number| number.modulo(3).zero? } } any_multiple_of_3 = ProcForCaseEquality.new { |numbers| numbers.any? { |number| number.modulo(3).zero? } } case [1, 2, 3] when all_multiples_of_3 then puts 'all numbers are multiples of 3' when any_multiple_of_3 then puts 'at least one number is multiple of 3' else puts 'no multiples of 3' end"

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

    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
    else
    end
  else
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proc_for_case_equality-0.1 proc_for_case_equality.gemspec