Skip to content

Conversation

@shivang2056yadav
Copy link

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.9%) to 44.0% when pulling c17f979 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

1 similar comment
@coveralls
Copy link

coveralls commented Oct 12, 2016

Coverage Status

Coverage decreased (-2.9%) to 44.0% when pulling c17f979 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@shivang2056yadav shivang2056yadav force-pushed the feature/ternary_flag branch 2 times, most recently from 2152d95 to cad429c Compare October 13, 2016 05:11
@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-46.9%) to 0.0% when pulling 2152d95 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-46.9%) to 0.0% when pulling 2152d95 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-46.9%) to 0.0% when pulling 2152d95 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling cad429c on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling def53dc on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling def53dc on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 6a6e5e4 on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@shivang2056yadav shivang2056yadav force-pushed the feature/ternary_flag branch 2 times, most recently from ef9b61b to fe9a2f4 Compare October 13, 2016 06:18
@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling ef9b61b on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling ef9b61b on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

6 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 8cd92ea on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d8d120f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

truthy_and_chosen.concat(untruthy_and_unchosen).concat(
collect_flags(*flags_to_collect) do |memo, flag|
memo << "not_#{flag}".to_sym unless truthy_and_chosen.include?(flag)
memo << "nil_#{flag}".to_sym if self.send(flag) == false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant self detected.

truthy_and_chosen.concat(
untruthy_and_unchosen = (
collect_flags(*flags_to_collect) do |memo, flag|
memo << "not_#{flag}".to_sym if self.send(flag) == false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant self detected.

class IncorrectFlagColumnException < Exception; end
class NoSuchFlagQueryModeException < Exception; end
class NoSuchFlagException < Exception; end
class InvalidValueForFlagException < Exception; end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inherit from RuntimeError instead of Exception.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, all of these classes should not be inheriting from Exception. 💯 Needs to be fixed.

@coveralls
Copy link

coveralls commented Oct 13, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling d655c4f on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@pboling
Copy link
Member

pboling commented Oct 14, 2016

@shivang2056yadav - wow! This is really cool! I need to spend more time looking over it.

@coveralls
Copy link

coveralls commented Oct 17, 2016

Coverage Status

Coverage decreased (-3.5%) to 43.369% when pulling 4b19eef on payu-intrepos:feature/ternary_flag into c28a287 on pboling:master.

@pboling
Copy link
Member

pboling commented Apr 29, 2017

Needs to be rebased on latest master, which now has a passing build on Travis.

@pboling pboling added this to the 0.4 milestone May 2, 2017
@pboling
Copy link
Member

pboling commented Apr 21, 2025

I am going to work on this for the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants