tailwindcss-rails 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d154c6d0679b9cbb20eb9d720cdf83f121ddbe841b0c278bcd6800b5e800610
4
- data.tar.gz: 1364721dab0dac09481e2d07f81dbc8479bd07d676b5f249bca37477e9a25586
3
+ metadata.gz: 0fa3900fa8ec57bfd7e47ab0801929319f0577b7aaed4d194d0dc4c3d7294036
4
+ data.tar.gz: '08ec077edad38af18c75511e52cd57890448ddc5dcbab357bb193d9fdc854526'
5
5
  SHA512:
6
- metadata.gz: 91d844b8de7ca2d6b216b88cec302fd2092a7b908fd69a2c9f4f313c611c50ec44562bf0826d1118366a12061be90c34927459e8a972387088dd3502cd36a385
7
- data.tar.gz: afa67781c4448af64cab2b6d428b3830c9622ede98d925523dedb612a9b8ec192a56abd62791730efa2c33755d394b9336cece627e4893910a33b3afd5c53cbd
6
+ metadata.gz: 2162610fbc561b6c6b2d5b06b4fea3f83c7f49ff7d7b0e3d46c8dd8b370cfe6186c7ab2d027e09d7d7fbcb2e7da084242aaea933d6ba9535aebb2a4335bcf02e
7
+ data.tar.gz: 756e532d70ab58fe7b1b7d69509839bc13f3db9307b63008e2b2e9a70097f77dbfa6558945d4f5f32400258f6f05f34770f5c26b1923004e1087ef2bfb64ae69
@@ -18,7 +18,7 @@ module Tailwindcss
18
18
  def executable(
19
19
  exe_path: File.expand_path(File.join(__dir__, "..", "..", "exe"))
20
20
  )
21
- if Tailwindcss::Upstream::NATIVE_PLATFORMS.keys.none? { |p| Gem::Platform.match(p) }
21
+ if Tailwindcss::Upstream::NATIVE_PLATFORMS.keys.none? { |p| Gem::Platform.match(Gem::Platform.new(p)) }
22
22
  raise UnsupportedPlatformException, <<~MESSAGE
23
23
  tailwindcss-rails does not support the #{platform} platform
24
24
  Please install tailwindcss following instructions at https://tailwindcss.com/docs/installation
@@ -26,7 +26,7 @@ module Tailwindcss
26
26
  end
27
27
 
28
28
  exe_path = Dir.glob(File.expand_path(File.join(exe_path, "*", "tailwindcss"))).find do |f|
29
- Gem::Platform.match(File.basename(File.dirname(f)))
29
+ Gem::Platform.match(Gem::Platform.new(File.basename(File.dirname(f))))
30
30
  end
31
31
 
32
32
  if exe_path.nil?
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.0.13"
2
+ VERSION = "2.0.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.13
4
+ version: 2.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties