From 3adc3f9ab692d894c93efc53aa864912693a9105 Mon Sep 17 00:00:00 2001 From: Yaro Date: Fri, 19 Jul 2019 16:42:57 +0300 Subject: [PATCH] Get rid of concat (support ruby version < 2.4) (#3) Bump gem version --- Gemfile.lock | 4 ++-- lib/repost/senpai.rb | 2 +- lib/repost/version.rb | 2 +- repost.gemspec | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index acc5b96..e6950f7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - repost (0.2.6) + repost (0.2.8) GEM remote: https://rubygems.org/ @@ -32,4 +32,4 @@ DEPENDENCIES rspec (~> 3.0) BUNDLED WITH - 2.0.1 + 2.0.2 diff --git a/lib/repost/senpai.rb b/lib/repost/senpai.rb index 2ea7237..f30f42d 100644 --- a/lib/repost/senpai.rb +++ b/lib/repost/senpai.rb @@ -21,7 +21,7 @@ def perform else form_body << submit_section end - form_head.concat(compiled_body, form_footer) + form_head << compiled_body << form_footer end private diff --git a/lib/repost/version.rb b/lib/repost/version.rb index d0cd8a4..b50f339 100644 --- a/lib/repost/version.rb +++ b/lib/repost/version.rb @@ -1,3 +1,3 @@ module Repost - VERSION = "0.2.6" + VERSION = "0.2.8" end diff --git a/repost.gemspec b/repost.gemspec index a9a2f53..a6867e1 100644 --- a/repost.gemspec +++ b/repost.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.email = ["osyaroslav@gmail.com"] spec.summary = %q{Gem implements Redirect using POST method} - spec.description = %q{Helps to make POST 'redirect', but actually builds
with method: :post under the hood} + spec.description = %q{Helps to make POST 'redirect', but actually builds [form] with method: :post under the hood} spec.homepage = "https://vergilet.github.io/repost/" spec.license = "MIT"