Skip to content

Commit

Permalink
make condition more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 29, 2016
1 parent 7e2f95d commit c3d7db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moduleroot/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ group <%= group %> do
gem 'beaker-rspec', :require => false
end
<% else -%>
gem '<%= gem['gem'] %>'<%= ", '#{gem['version']}'" if gem['version'] %>, <%= ' ' * (maxlen - gem['length']) %> :require => false<%= ", :git => '#{gem['git']}'" if gem['git'] %><%= ", :branch => '#{gem['branch']}'" if gem['branch'] %><%= ", :platforms => #{gem['platforms']}" if gem['platforms'] %><%= " if RUBY_VERSION #{gem['ruby-operator']} #{gem['ruby-version']}" if gem['ruby-operator'] && gem['ruby-version'] %>
gem '<%= gem['gem'] %>'<%= ", '#{gem['version']}'" if gem['version'] %>, <%= ' ' * (maxlen - gem['length']) %> :require => false<%= ", :git => '#{gem['git']}'" if gem['git'] %><%= ", :branch => '#{gem['branch']}'" if gem['branch'] %><%= ", :platforms => #{gem['platforms']}" if gem['platforms'] %><%= " if RUBY_VERSION #{gem['ruby-operator']} #{gem['ruby-version']}" if (gem['ruby-operator'] && gem['ruby-version']) %>
<% end -%>
<% end -%>
end
Expand Down

0 comments on commit c3d7db4

Please sign in to comment.