mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
ruby/rubygem-ruumba: Updated for version 0.1.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
09026d6a7d
commit
bfdaae90e5
2 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue