haml-edge 2.3.250 → 2.3.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 2.3.250
1
+ 2.3.251
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.250
1
+ 2.3.251
@@ -217,6 +217,7 @@ module Sass::Script
217
217
  # @param blue [Number]
218
218
  # A number between 0 and 255 inclusive,
219
219
  # or between 0% and 100% inclusive
220
+ # @see #rgba
220
221
  # @return [Color]
221
222
  def rgb(red, green, blue)
222
223
  assert_type red, :Number
@@ -235,6 +236,7 @@ module Sass::Script
235
236
  end)
236
237
  end
237
238
 
239
+ # @see #rgb
238
240
  # @overload rgba(red, green, blue, alpha)
239
241
  # Creates a {Color} object from red, green, and blue values,
240
242
  # as well as an alpha channel indicating opacity.
@@ -291,6 +293,7 @@ module Sass::Script
291
293
  # @param lightness [Number] The lightness of the color.
292
294
  # Must be between `0%` and `100%`, inclusive
293
295
  # @return [Color] The resulting color
296
+ # @see #hsla
294
297
  # @raise [ArgumentError] if `saturation` or `lightness` are out of bounds
295
298
  def hsl(hue, saturation, lightness)
296
299
  hsla(hue, saturation, lightness, Number.new(1))
@@ -309,6 +312,7 @@ module Sass::Script
309
312
  # @param alpha [Number] The opacity of the color.
310
313
  # Must be between 0 and 1, inclusive
311
314
  # @return [Color] The resulting color
315
+ # @see #hsl
312
316
  # @raise [ArgumentError] if `saturation`, `lightness`, or `alpha` are out of bounds
313
317
  def hsla(hue, saturation, lightness, alpha)
314
318
  assert_type hue, :Number
@@ -368,6 +372,7 @@ module Sass::Script
368
372
  #
369
373
  # @param color [Color]
370
374
  # @return [Number] between 0deg and 360deg
375
+ # @see #adjust_hue
371
376
  # @raise [ArgumentError] if `color` isn't a color
372
377
  def hue(color)
373
378
  assert_type color, :Color
@@ -382,6 +387,8 @@ module Sass::Script
382
387
  #
383
388
  # @param color [Color]
384
389
  # @return [Number] between 0% and 100%
390
+ # @see #saturate
391
+ # @see #desaturate
385
392
  # @raise [ArgumentError] if `color` isn't a color
386
393
  def saturation(color)
387
394
  assert_type color, :Color
@@ -396,6 +403,8 @@ module Sass::Script
396
403
  #
397
404
  # @param color [Color]
398
405
  # @return [Number] between 0% and 100%
406
+ # @see #lighten
407
+ # @see #darken
399
408
  # @raise [ArgumentError] if `color` isn't a color
400
409
  def lightness(color)
401
410
  assert_type color, :Color
@@ -411,6 +420,8 @@ module Sass::Script
411
420
  # @overload def alpha(color)
412
421
  # @param color [Color]
413
422
  # @return [Number]
423
+ # @see #opacify
424
+ # @see #transparentize
414
425
  # @raise [ArgumentError] If `color` isn't a color
415
426
  def alpha(*args)
416
427
  if args.all? do |a|
@@ -429,6 +440,8 @@ module Sass::Script
429
440
  #
430
441
  # @param color [Color]
431
442
  # @return [Number]
443
+ # @see #opacify
444
+ # @see #transparentize
432
445
  # @raise [ArgumentError] If `color` isn't a color
433
446
  def opacity(color)
434
447
  assert_type color, :Color
@@ -447,6 +460,7 @@ module Sass::Script
447
460
  # @param color [Color]
448
461
  # @param amount [Number]
449
462
  # @return [Color]
463
+ # @see #transparentize
450
464
  # @raise [ArgumentError] If `color` isn't a color,
451
465
  # or `number` isn't a number between 0 and 1
452
466
  def opacify(color, amount)
@@ -466,6 +480,7 @@ module Sass::Script
466
480
  # @param color [Color]
467
481
  # @param amount [Number]
468
482
  # @return [Color]
483
+ # @see #opacify
469
484
  # @raise [ArgumentError] If `color` isn't a color,
470
485
  # or `number` isn't a number between 0 and 1
471
486
  def transparentize(color, amount)
@@ -485,6 +500,7 @@ module Sass::Script
485
500
  # @param color [Color]
486
501
  # @param amount [Number]
487
502
  # @return [Color]
503
+ # @see #darken
488
504
  # @raise [ArgumentError] If `color` isn't a color,
489
505
  # or `number` isn't a number between 0% and 100%
490
506
  def lighten(color, amount)
@@ -503,6 +519,7 @@ module Sass::Script
503
519
  # @param color [Color]
504
520
  # @param amount [Number]
505
521
  # @return [Color]
522
+ # @see #lighten
506
523
  # @raise [ArgumentError] If `color` isn't a color,
507
524
  # or `number` isn't a number between 0% and 100%
508
525
  def darken(color, amount)
@@ -521,6 +538,7 @@ module Sass::Script
521
538
  # @param color [Color]
522
539
  # @param amount [Number]
523
540
  # @return [Color]
541
+ # @see #desaturate
524
542
  # @raise [ArgumentError] If `color` isn't a color,
525
543
  # or `number` isn't a number between 0% and 100%
526
544
  def saturate(color, amount)
@@ -539,6 +557,7 @@ module Sass::Script
539
557
  # @param color [Color]
540
558
  # @param amount [Number]
541
559
  # @return [Color]
560
+ # @see #saturate
542
561
  # @raise [ArgumentError] If `color` isn't a color,
543
562
  # or `number` isn't a number between 0% and 100%
544
563
  def desaturate(color, amount)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.250
4
+ version: 2.3.251
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum