Skip to content

ci: use rubygems/release-gem to publish gem #110

ci: use rubygems/release-gem to publish gem

ci: use rubygems/release-gem to publish gem #110

GitHub Actions / rspec succeeded Oct 29, 2024 in 0s

17 passed, 0 failed and 0 skipped

Tests passed successfully

✅ rspec.json

17 tests were completed in 0ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
./spec/human_enum_spec.rb 1✅ 0ms
./spec/support/shared/translation_examples.rb 16✅ 0ms

✅ ./spec/human_enum_spec.rb

HumanEnum
  ✅ HumanEnum has a version number

✅ ./spec/support/shared/translation_examples.rb

HumanEnum with Rails < 7 syntax with a Hash of values Model class methods
  ✅ HumanEnum with Rails < 7 syntax with a Hash of values Model class methods is expected to eq {:blue=>"Violets are blue", :red=>"Red"}
HumanEnum with Rails < 7 syntax with a Hash of values Model instance method when color is blue
  ✅ HumanEnum with Rails < 7 syntax with a Hash of values Model instance method when color is blue is expected to eq "Violets are blue"
HumanEnum with Rails < 7 syntax with a Hash of values Model instance method when color is red
  ✅ HumanEnum with Rails < 7 syntax with a Hash of values Model instance method when color is red is expected to eq "Red"
HumanEnum with Rails < 7 syntax with an array of values Model class methods
  ✅ HumanEnum with Rails < 7 syntax with an array of values Model class methods is expected to eq {:large=>"Large", :medium=>"Medium", :small=>"Small"}
HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is large
  ✅ HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is large is expected to eq "Large"
HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is medium
  ✅ HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is medium is expected to eq "Medium"
HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is small
  ✅ HumanEnum with Rails < 7 syntax with an array of values Model instance method when size is small is expected to eq "Small"
HumanEnum with Rails >= 7 syntax with a Hash of values Model class methods
  ✅ HumanEnum with Rails >= 7 syntax with a Hash of values Model class methods is expected to eq {:east=>"East", :north=>"Up?", :south=>"South", :west=>"West"}
HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is east
  ✅ HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is east is expected to eq "East"
HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is north
  ✅ HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is north is expected to eq "Up?"
HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is south
  ✅ HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is south is expected to eq "South"
HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is west
  ✅ HumanEnum with Rails >= 7 syntax with a Hash of values Model instance method when direction is west is expected to eq "West"
HumanEnum with Rails >= 7 syntax with an array of values Model class methods
  ✅ HumanEnum with Rails >= 7 syntax with an array of values Model class methods is expected to eq {:circle=>"You spin me right round, baby", :square=>"Square", :triangle=>"Pointy boi"}
HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is circle
  ✅ HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is circle is expected to eq "You spin me right round, baby"
HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is square
  ✅ HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is square is expected to eq "Square"
HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is triangle
  ✅ HumanEnum with Rails >= 7 syntax with an array of values Model instance method when shape is triangle is expected to eq "Pointy boi"