aboutsummaryrefslogtreecommitdiff
path: root/ruby/rubygem-ruumba
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rubygem-ruumba')
-rw-r--r--ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild7
-rw-r--r--ruby/rubygem-ruumba/rubygem-ruumba.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild b/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild
index 59b09150608c5..dbdaaeb0efa36 100644
--- a/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild
+++ b/ruby/rubygem-ruumba/rubygem-ruumba.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rubygem-ruumba
-VERSION=${VERSION:-0.1.6}
+VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -101,7 +101,10 @@ gem install \
$CWD/$SRCNAM-$VERSION.gem
# Numeric.positive? was introduced in Ruby 2.3. Patch so ruumba works with Ruby 2.2.
-find $PKG/$DESTDIR -name parser.rb -o -name analyzer.rb -exec sed -i 's/\.positive?/ > 0/' {} \;
+find $PKG/$DESTDIR -name parser.rb -exec sed -i 's/\.positive?/ > 0/' {} \;
+# remove frozen string literal and frozen string for Ruby 2.2.
+find $PKG/$DESTDIR -name parser.rb -exec sed -i '1d' {} \;
+find $PKG/$DESTDIR -name parser.rb -exec sed -i "s/+''/''/" {} \;
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/ruby/rubygem-ruumba/rubygem-ruumba.info b/ruby/rubygem-ruumba/rubygem-ruumba.info
index 511ae165bc687..ccfc684a85e84 100644
--- a/ruby/rubygem-ruumba/rubygem-ruumba.info
+++ b/ruby/rubygem-ruumba/rubygem-ruumba.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-ruumba"
-VERSION="0.1.6"
+VERSION="0.1.7"
HOMEPAGE="https://github.com/ericqweinstein/ruumba"
-DOWNLOAD="https://rubygems.org/downloads/ruumba-0.1.6.gem"
-MD5SUM="bbf97cf6b2efedc170a5d92c6b8132cc"
+DOWNLOAD="https://rubygems.org/downloads/ruumba-0.1.7.gem"
+MD5SUM="c70ec5c8d2c4f8ee65c06e8cd882e14f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-rubocop"