Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nomoon committed Mar 5, 2017
1 parent c09fed7 commit 375ee67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ rvm:
- 2.1.10
- 2.0.0-p648
- ruby-head
- jruby-9.1.5.0
- jruby-head

env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"

matrix:
include:
- rvm: jruby-9.1.5.0
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.1.5.0
- rvm: jruby-head

before_install: gem install bundler -v 1.14.6
Expand Down
4 changes: 1 addition & 3 deletions lib/ragabash/refinements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def deep_freeze!
end

def try_dup
dup
rescue TypeError
self
respond_to?(:dup) ? dup : self
end
alias deep_dup try_dup

Expand Down

0 comments on commit 375ee67

Please sign in to comment.