refinerycms-wymeditor.gemspec in refinerycms-wymeditor-2.0.0 vs refinerycms-wymeditor.gemspec in refinerycms-wymeditor-2.1.0

- old
+ new

@@ -1,23 +1,24 @@ -# Encoding: UTF-8 +# frozen_string_literal: true + Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY - s.name = %q{refinerycms-wymeditor} - s.version = '2.0.0' - s.summary = %q{WYMeditor support for Refinery CMS} - s.description = %q{This extension adds WYMeditor support to Refinery CMS for visual editing.} - s.email = %q{gems@p.arndt.io} - s.homepage = %q{https://manuka.co} + s.name = 'refinerycms-wymeditor' + s.version = '2.1.0' + s.summary = 'WYMeditor support for Refinery CMS' + s.description = 'This extension adds WYMeditor support to Refinery CMS for visual editing.' + s.email = 'gems@p.arndt.io' + s.homepage = 'https://manuka.co' s.authors = ['Philip Arndt'] - s.license = %q{MIT} - s.require_paths = %w(lib) + s.license = 'MIT' + s.require_paths = %w[lib] s.files = `git ls-files -- '*[^.pem]'`.split("\n") s.test_files = `git ls-files -- spec/*`.split("\n") - s.add_dependency 'refinerycms-core', ['>= 4.0.0.dev', '< 5.0'] + s.add_dependency 'refinerycms-core', ['>= 4.0.0', '< 5.0'] - s.cert_chain = ['certs/parndt.pem'] - if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__) - s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") + s.cert_chain = ['certs/parndt.pem'] + if $PROGRAM_NAME =~ /gem\z/ && ARGV.include?('build') && ARGV.include?(__FILE__) + s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') end end