vishnu.gemspec in vishnu-1.2.2 vs vishnu.gemspec in vishnu-2.0.0

- old
+ new

@@ -1,61 +1,25 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- -# stub: vishnu 1.2.2 ruby lib +require_relative 'lib/vishnu/version' -Gem::Specification.new do |s| - s.name = "vishnu" - s.version = "1.2.2" +Gem::Specification.new do |spec| + spec.name = 'vishnu' + spec.version = Vishnu::VERSION - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.require_paths = ["lib"] - s.authors = ["Anton Smirnov", "Kang-min Liu"] - s.date = "2016-06-20" - s.description = "libravatar.org provides avatar image hosting (like gravatar.com). Their users may associate avatar images with email or openid. This rubygem can be used to generate libravatar avatar image URL" - s.email = "sandfox@sandfox.me" - s.extra_rdoc_files = [ - "LICENSE.txt", - "README.rdoc" - ] - s.files = [ - ".document", - ".travis.yml", - "Gemfile", - "LICENSE.txt", - "README.rdoc", - "Rakefile", - "VERSION", - "lib/libravatar.rb", - "lib/vishnu.rb", - "test/helper.rb", - "test/test_libravatar.rb", - "vishnu.gemspec" - ] - s.homepage = "http://github.com/sandfoxme/vishnu" - s.licenses = ["MIT"] - s.rubygems_version = "2.5.1" - s.summary = "Avatar URL Generation wih libravatar.org" + spec.authors = ['Anton Smirnov', 'Kang-min Liu'] + spec.email = 'sandfox@sandfox.me' + spec.summary = 'Avatar URL Generation with libravatar.org' + spec.description = 'Libravatar provides avatar image hosting (like gravatar.com). Their users may associate avatar images with email or openid. This rubygem can be used to generate Libravatar image URL' + spec.homepage = 'https://github.com/sandfoxme/vishnu' + spec.license = 'MIT' - if s.respond_to? :specification_version then - s.specification_version = 4 + spec.files = `git ls-files -z`.split("\x0") + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ['lib'] - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<jeweler>, [">= 0"]) - s.add_development_dependency(%q<shoulda>, ["> 1.2.3"]) - s.add_development_dependency(%q<minitest>, ["= 4.7.5"]) - s.add_development_dependency(%q<test-unit>, [">= 0"]) - else - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<shoulda>, ["> 1.2.3"]) - s.add_dependency(%q<minitest>, ["= 4.7.5"]) - s.add_dependency(%q<test-unit>, [">= 0"]) - end - else - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<shoulda>, ["> 1.2.3"]) - s.add_dependency(%q<minitest>, ["= 4.7.5"]) - s.add_dependency(%q<test-unit>, [">= 0"]) - end + spec.required_ruby_version = '>= 2.0.0' + + spec.add_development_dependency 'bundler', '~> 1.6' + spec.add_development_dependency 'rake' + spec.add_development_dependency 'rspec', '~> 3.4' + spec.add_development_dependency 'simplecov' end