beer_rails 0.1.7 → 0.1.8

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -9
  3. data/lib/beer_rails/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f32ae7613d432f21bd5846b912f08dd637fb63d7c598c2cd5acb4e47085d62d6
4
- data.tar.gz: 722c31d09d73e8b33462ae02e9c77fc490323d7ef7df968362b8b725afe891c5
3
+ metadata.gz: f0aac655639bace0b77bf3448aac729a14ec19b0e84cb4b65977b3c3d8806b31
4
+ data.tar.gz: fbe7c6454b7255ecb27c4f471ba22ff35d5a46dea4980b7eb5a757bd1e37cdc9
5
5
  SHA512:
6
- metadata.gz: f74a8b78a4a5eeca852b0ec3cf6764c82b43775ce59166927b2da36a04d28a940d05f7cb35a2b1206441ee0644f8c5e0a33bd21681a465ea13537c3548c3f787
7
- data.tar.gz: 7c6575131ffa3fadab6075e6312a0692db6998e05d6445f0be1e459c211ec217124650ee047cd6ddad69ecb931858666aadac66d053b965c9abd8465c8759530
6
+ metadata.gz: 7cc9bfd122f777b519d14804ecb9638fa836dab4bf19269b9b278de3250c39309cd89fd93e3fa24d35bda3623f26db722d4b898cad256d69b3c99715697ea3dc
7
+ data.tar.gz: 1195d22e5fa8a34ac74bad00e842d0c8b74155051f2c3744dde3d1c4b63cc4111341e7a165e96117e8a7e1537491bc9fc3ba21402a2915c4d3846a9c87e4ae1d
data/README.md CHANGED
@@ -1,28 +1,41 @@
1
- # App
2
- Short description and motivation.
1
+ # Beer Rails
2
+ Add Beer CSS Framework to your Rails 7+ application.
3
3
 
4
- ## Usage
5
- How to use my plugin.
4
+ ## Compatibility
5
+ This gem was tested for Ruby 3+, Rails 7+ with Sprockets V4 for CSS and importmaps for JS. Other configurations might work but was not tested.
6
6
 
7
7
  ## Installation
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem "app"
11
+ gem "beer_rails"
12
12
  ```
13
13
 
14
14
  And then execute:
15
15
  ```bash
16
- $ bundle
16
+ $ bundle install
17
17
  ```
18
18
 
19
19
  Or install it yourself as:
20
20
  ```bash
21
- $ gem install app
21
+ $ gem install beer_rails
22
22
  ```
23
23
 
24
- ## Contributing
25
- Contribution directions go here.
24
+ [//]: # (## Contributing)
26
25
 
26
+ [//]: # (Contribution directions go here.)
27
+
28
+ Go to your **app/assets/stylesheets/application.css** and add the require line:
29
+ ```ruby
30
+ *= require beer_rails/beer.min
31
+ ```
32
+ Now go to your **config/importmap.rb** and add the pin line:
33
+ ```ruby
34
+ pin "beer_rails", to: 'beer_rails/beer.min.js', preload: true
35
+ ```
36
+ Finally require the JS file in your **app/javascript/application.js**:
37
+ ```ruby
38
+ import "beer_rails"
39
+ ```
27
40
  ## License
28
41
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module BeerRails
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beer_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Pavarine de Sá Campos
@@ -49,8 +49,8 @@ licenses:
49
49
  metadata:
50
50
  allowed_push_host: https://rubygems.org
51
51
  homepage_uri: https://github.com/PavarinE/rails-beer-css
52
- source_code_uri: https://github.com/PavarinE/rails-beer-css
53
- changelog_uri: https://github.com/PavarinE/rails-beer-css
52
+ source_code_uri: https://github.com/PavarinE/beer_rails
53
+ changelog_uri: https://github.com/PavarinE/beer_rails
54
54
  post_install_message:
55
55
  rdoc_options: []
56
56
  require_paths: