From 844d5f1d5389e057d5bab3c47475d4cc2361241a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jan=20Niemier?= Date: Sat, 30 Jan 2016 18:01:59 +0100 Subject: [PATCH] Update gemspec --- vanilla-ujs.gemspec | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/vanilla-ujs.gemspec b/vanilla-ujs.gemspec index 760b7f4..a7e4e27 100644 --- a/vanilla-ujs.gemspec +++ b/vanilla-ujs.gemspec @@ -6,27 +6,19 @@ require 'vanilla/ujs/version' Gem::Specification.new do |spec| spec.name = 'vanilla-ujs' spec.version = Vanilla::Ujs::VERSION - spec.authors = ["Łukasz Jan Niemier"] - spec.email = ['lukasz@niemier.pl'] + spec.authors = ['Łukasz Jan Niemier', 'Alex Tsukurov', 'Kirill Pimenov'] + spec.email = ['lukasz@niemier.pl', 'me@ximik.net'] - spec.summary = 'Vanilla JS version of UJS' - spec.description = 'Vanilla JS version of UJS' + spec.summary = 'UJS without jQuery dependency' + spec.description = 'This gem provides Rails UJS features without jQuery library.' spec.homepage = 'https://github.com/hauleth/vanilla-ujs' spec.license = 'MIT' - # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or - # delete this section to allow pushing this gem to any host. - if spec.respond_to?(:metadata) - spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" - else - fail 'RubyGems 2.0 or newer is required to protect against public gem pushes.' - end - - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test)/}) } spec.require_paths = ['lib'] + spec.required_rubygems_version = '>= 1.3.6' + spec.add_dependency 'railties', '>= 4.2.0' spec.add_development_dependency 'bundler', '~> 1.11'