tailwindcss-ruby 0.1.0 → 0.2.0

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: c1163e758264ac53f96714d98fc94a2bea5fd6d271750e18387e0aeab94c11e1
4
- data.tar.gz: a0dc1753bbe2302d2c43d5856c49178a1fa717fed6ff20825a6da43b1c3db8f3
3
+ metadata.gz: 62d95b4ae68b260bb3b9f6b0a4602e78332f53d7874626edbfa611c7f39ab1a5
4
+ data.tar.gz: 412c99458afd5bd1400a96a5f1e06e2bc90fa90cec27d336c8503cdc96f0bb4b
5
5
  SHA512:
6
- metadata.gz: 73a2a8ac0954d8dd882cd5b341a59d1d904404b227f889907817a5b6268a27b5bf404a690fda7d270b1b04ed97eb4d00bb898d3662f27a87711c7b36bccde17c
7
- data.tar.gz: e012f02964ab2aababaf643dabf8a3f25383c9ca364db91c3218c9cd5d5add8b8d10c6d66e7f831ad0e7c71c4f6ae0b22beb2e2597688f517c8eeeb12ee42d15
6
+ metadata.gz: 0eafa50b39312b7f44d3ea1eaf4d33b9975e450660d4f4788cdaf12fc208d4bd69729160b80f279a8431445d2fa7c5a9ccf617459f04d4adebe8b3bd732bc5cc
7
+ data.tar.gz: 87b74402d018b32ea7cda6838b62df0469c5873c932ea630c27ad31f66f5fcbccb3e2684e904bc834d6af186207c3705ba88e9f9b27daed379b25f3abf0c6e54
data/README.md CHANGED
@@ -79,7 +79,7 @@ $ bundle exec which tailwindcss
79
79
 
80
80
  # run the actual executable through the shim
81
81
  $ bundle exec tailwindcss --help
82
- ["/path/to/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/tailwindcss-rails-2.6.0-x86_64-linux/exe/x86_64-linux/tailwindcss", "--help"]
82
+ ["/path/to/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/tailwindcss-ruby-0.1.0-x86_64-linux/exe/x86_64-linux/tailwindcss", "--help"]
83
83
 
84
84
  tailwindcss v3.4.3
85
85
 
data/exe/tailwindcss CHANGED
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/env ruby
2
2
  # because rubygems shims assume a gem's executables are Ruby
3
3
 
4
- require "tailwindcss/commands"
4
+ require "tailwindcss/ruby"
5
5
 
6
6
  begin
7
7
  command = [Tailwindcss::Ruby.executable, *ARGV]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tailwindcss
4
4
  module Ruby
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
@@ -6,7 +6,7 @@ require_relative "ruby/upstream"
6
6
  module Tailwindcss
7
7
  module Ruby
8
8
  DEFAULT_DIR = File.expand_path(File.join(__dir__, "..", "..", "exe"))
9
- GEM_NAME = "tailwindcss-rails"
9
+ GEM_NAME = "tailwindcss-ruby"
10
10
 
11
11
  # raised when the host platform is not supported by upstream tailwindcss's binary releases
12
12
  class UnsupportedPlatformException < StandardError
@@ -40,7 +40,7 @@ module Tailwindcss
40
40
  else
41
41
  if Tailwindcss::Ruby::Upstream::NATIVE_PLATFORMS.keys.none? { |p| Gem::Platform.match_gem?(Gem::Platform.new(p), GEM_NAME) }
42
42
  raise UnsupportedPlatformException, <<~MESSAGE
43
- tailwindcss-rails does not support the #{platform} platform
43
+ #{GEM_NAME} does not support the #{platform} platform
44
44
  Please install tailwindcss following instructions at https://tailwindcss.com/docs/installation
45
45
  MESSAGE
46
46
  end
@@ -68,7 +68,7 @@ module Tailwindcss
68
68
 
69
69
  If you're still seeing this message after taking those steps, try running
70
70
  `bundle config` and ensure `force_ruby_platform` isn't set to `true`. See
71
- https://github.com/rails/tailwindcss-rails#check-bundle_force_ruby_platform
71
+ https://github.com/flavorjones/tailwindcss-ruby#check-bundle_force_ruby_platform
72
72
  for more details.
73
73
  MESSAGE
74
74
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-09-25 00:00:00.000000000 Z
12
+ date: 2024-09-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A self-contained `tailwindcss` executable, wrapped up in a ruby gem.
15
15
  That's it. Nothing else.