File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,7 @@ require 'rubycritic/version'
77Gem ::Specification . new do |spec |
88 spec . name = 'rubycritic'
99 spec . version = RubyCritic ::VERSION
10- if RUBY_PLATFORM == 'java'
11- spec . platform = Gem ::Platform ::JAVA
12- else
13- spec . platform = Gem ::Platform ::RUBY
14- end
10+ spec . platform = RUBY_PLATFORM == 'java' ? Gem ::Platform ::JAVA : Gem ::Platform ::RUBY
1511 spec . authors = [ 'Guilherme Simoes' ]
1612 spec . email = [ '[email protected] ' ] 1713 spec . description = 'RubyCritic is a tool that wraps around various static analysis gems ' \
@@ -50,8 +46,8 @@ Gem::Specification.new do |spec|
5046 spec . add_development_dependency 'aruba' , '~> 2.3.0'
5147 spec . add_development_dependency 'bundler' , '>= 2.0.0'
5248 if RUBY_PLATFORM == 'java'
53- spec . add_development_dependency 'pry-debugger-jruby'
5449 spec . add_development_dependency 'jar-dependencies' , '~> 0.4.1'
50+ spec . add_development_dependency 'pry-debugger-jruby'
5551 else
5652 spec . add_development_dependency 'byebug' , '~> 11.0' , '>= 10.0'
5753 end
You can’t perform that action at this time.
0 commit comments