From fde4202fb95b394321b5ff576097d22545d98453 Mon Sep 17 00:00:00 2001 From: Philippe Perret Date: Fri, 10 Nov 2023 09:18:10 +0100 Subject: [PATCH 1/4] Update line_width.rb For consistency (use of function rather than defining variable) --- manual/graphics/line_width.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/graphics/line_width.rb b/manual/graphics/line_width.rb index 15fe790e9..65c85b9e6 100644 --- a/manual/graphics/line_width.rb +++ b/manual/graphics/line_width.rb @@ -19,7 +19,7 @@ case i when 0 then line_width = 10 # This call will have no effect when 1 then self.line_width = 10 - when 2 then self.line_width = 25 + when 2 then line_width 25 # Consistancy practice end stroke do From 248ade5661ae067560c22f3a259ec244aa32fad6 Mon Sep 17 00:00:00 2001 From: Philippe Perret Date: Mon, 13 Nov 2023 11:53:37 +0100 Subject: [PATCH 2/4] Update line_width.rb Suppression espace ex --- manual/graphics/line_width.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/graphics/line_width.rb b/manual/graphics/line_width.rb index 65c85b9e6..ed74e5465 100644 --- a/manual/graphics/line_width.rb +++ b/manual/graphics/line_width.rb @@ -19,7 +19,7 @@ case i when 0 then line_width = 10 # This call will have no effect when 1 then self.line_width = 10 - when 2 then line_width 25 # Consistancy practice + when 2 then line_width 25 # Consistancy practice end stroke do From 371fbbf72939096854b1b791ab5a4aa59d449755 Mon Sep 17 00:00:00 2001 From: Philippe Perret Date: Mon, 13 Nov 2023 12:00:36 +0100 Subject: [PATCH 3/4] Update prawn_manual_spec.rb Change test hash --- spec/prawn_manual_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/prawn_manual_spec.rb b/spec/prawn_manual_spec.rb index 2bc19adce..aad2935ba 100644 --- a/spec/prawn_manual_spec.rb +++ b/spec/prawn_manual_spec.rb @@ -6,7 +6,7 @@ MANUAL_HASH = case RUBY_ENGINE when 'ruby' - '2c0279e0bff2a9120494a52aa46216c1871902b5e66a3537bd4d3cbd66db0096b43b6e1ae0e4e189b561c4db9fa1afacb6c41f260e3aaf942faae2fee352d35b' + '0abebec8ea1965b032ba737aec56475ace1098ba2573c048cd6a5c019fa898f1c0d103fbd0a53493e63db2569144635fdd8c76d4fbb916149a7936484ef20629' when 'jruby' '51baf6440907e9e38d22f50deafa91572aec1174e621c044ae077cfe3d4361982a505dae5f013dd06f64f38cb9b3a38d5a3f8f0903849591774e298a3c91d39a' end From f22b7efafe7ff4d04d124d1e339ff07c963da017 Mon Sep 17 00:00:00 2001 From: Philippe Perret Date: Mon, 13 Nov 2023 12:01:39 +0100 Subject: [PATCH 4/4] Update prawn_manual_spec.rb Change test hash to reflect changes --- spec/prawn_manual_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/prawn_manual_spec.rb b/spec/prawn_manual_spec.rb index aad2935ba..d37f9adb7 100644 --- a/spec/prawn_manual_spec.rb +++ b/spec/prawn_manual_spec.rb @@ -8,7 +8,7 @@ when 'ruby' '0abebec8ea1965b032ba737aec56475ace1098ba2573c048cd6a5c019fa898f1c0d103fbd0a53493e63db2569144635fdd8c76d4fbb916149a7936484ef20629' when 'jruby' - '51baf6440907e9e38d22f50deafa91572aec1174e621c044ae077cfe3d4361982a505dae5f013dd06f64f38cb9b3a38d5a3f8f0903849591774e298a3c91d39a' + '04c7933ba701ef23acb2f5e02d41f2bcb593f39237eebe3089b5f7a55a2afc61361f2f98a31a7239de593e0573a7e1ccbd3d7930510029fc53fa9f23a6e5e97d' end RSpec.describe Prawn do