fatcow 0.1.4 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ce51b7283b6d2b8fdbcc0186ecbf52ded0d45e5dc0eb52728bed6be9ca616c5
4
- data.tar.gz: a417404eb455ab6c5af6d9f651b4e83325193c878dda9462764feae569d1511d
3
+ metadata.gz: bf48c17abf65545e0f9bedbc25715a017621ea34bbc3d880037502b1531e097d
4
+ data.tar.gz: 07504e85dbc524023f1646c68f52fa18703094b8084f2a46aca54f310b32fb81
5
5
  SHA512:
6
- metadata.gz: 7521fdb3002cfb91f5ed976d47876cd3f1c5cfe537d6bb0f95eaa32157792521c089b1697e0b8eedc1dbd1c1c66fa86e90d3f48207cd96decd73fd84ed62eed7
7
- data.tar.gz: '0896205527bf40cc57a76b9211f37e18ba81df2f7800a6c63d0a232f9d0fce03b22ae5cf6c96a5c5863184f9e0873c7a7bd0f3899a1b42081927da0df84d0e9f'
6
+ metadata.gz: b3761376d671a8b97e0cbd3c73340c64f408ff934d6b99542fe8c41d66971a90a125f287503f312b273f0c09af2332c93dc6261f8527e23233c5e181f6be6fe4
7
+ data.tar.gz: 38b64990719f06968f4e284592db560cc72cb2fb66ea3b10102f802361c3f60fd617a9e3c64ad517358ed3e912f4d396b34c2497a183419fad9af44c0a0486b8
@@ -4,8 +4,8 @@ require_relative 'icon'
4
4
 
5
5
  module Fatcow
6
6
  module Helpers
7
- def fci(name, status = nil)
8
- Fatcow::Icon.new(self, name, status)
7
+ def fci(name, status = nil, **options)
8
+ Fatcow::Icon.new(self, name, status, **options)
9
9
  end
10
10
 
11
11
  def fatcow_style_tag
data/lib/fatcow/model.rb CHANGED
@@ -47,7 +47,7 @@ module Fatcow
47
47
  icon.app = self if icon.app.nil?
48
48
  icon.status = status if icon.status != status
49
49
  icon.size = options[:size] if options[:size] && icon.size != options[:size]
50
- icon.size = :regular unless options[:size] && icon.size != :regular
50
+ icon.size = :regular if !options[:size] && icon.size != :regular
51
51
 
52
52
  icon
53
53
  end
@@ -1,5 +1,5 @@
1
1
  module Fatcow
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.6"
3
3
 
4
4
  ASSET_ROOT = File.expand_path("assets", __dir__)
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fatcow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gray