fontina-windows 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 8731e9fabbf93ca7d38a85a1643aedcc29d30a54
4
- data.tar.gz: 38dfa87bd104dbf29fed3c6bde14a844058f2729
3
+ metadata.gz: 2e2ff5050bec567423e2b7f0af9e97cf1ef009e7
4
+ data.tar.gz: 5bbc5bdc026c52add3285fc15a5eb40e5b400dd6
5
5
  SHA512:
6
- metadata.gz: 6f4717910b49b5ceea9ead854915cf175657b0ba3647712b564efc1f3155416d8661539d1195a389f431c78f535ca06af59d29b29b84b51d9dad384bbdd3bca5
7
- data.tar.gz: 520124dd4276db71e04c4dcfe4ba6967e6627db2f9816467f9c0655459ecb737a00f21679050db414ccba4e8f1c27240a9529eb90847a0fe27591fa5d98f61e5
6
+ metadata.gz: d9b4147890ea5af918aa7145a48410e91b3d47a6f2af37fa9d37506cbc282811ef20952f0bc8de37133a7a0d0aa2d1d7085c371bf28adbedb4725f99b1a35005
7
+ data.tar.gz: 908482bd3b2bd029a45d9508471dbc0c1b33612b284b33cfb2deaed4142c21c12d796f12fb974c691932daebf118a1db58062ffda949f934437cdfefb9080f51
@@ -27,7 +27,7 @@ module Fontina
27
27
  end
28
28
 
29
29
  def install(force: false)
30
- return if installed? unless force
30
+ return false if installed? unless force
31
31
 
32
32
  path = Windows.font_registered? registered_name
33
33
 
@@ -44,6 +44,7 @@ module Fontina
44
44
 
45
45
  Windows.register_font registered_name, path
46
46
  Windows.notify_fonts_changed
47
+ true
47
48
  end
48
49
  end
49
50
 
@@ -1,7 +1,7 @@
1
1
  module Fontina
2
2
 
3
3
  module Windows
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
6
6
 
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontina-windows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Petter