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.
- checksums.yaml +4 -4
- data/README.md +22 -9
- data/lib/beer_rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0aac655639bace0b77bf3448aac729a14ec19b0e84cb4b65977b3c3d8806b31
|
|
4
|
+
data.tar.gz: fbe7c6454b7255ecb27c4f471ba22ff35d5a46dea4980b7eb5a757bd1e37cdc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cc9bfd122f777b519d14804ecb9638fa836dab4bf19269b9b278de3250c39309cd89fd93e3fa24d35bda3623f26db722d4b898cad256d69b3c99715697ea3dc
|
|
7
|
+
data.tar.gz: 1195d22e5fa8a34ac74bad00e842d0c8b74155051f2c3744dde3d1c4b63cc4111341e7a165e96117e8a7e1537491bc9fc3ba21402a2915c4d3846a9c87e4ae1d
|
data/README.md
CHANGED
|
@@ -1,28 +1,41 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Beer Rails
|
|
2
|
+
Add Beer CSS Framework to your Rails 7+ application.
|
|
3
3
|
|
|
4
|
-
##
|
|
5
|
-
|
|
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 "
|
|
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
|
|
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).
|
data/lib/beer_rails/version.rb
CHANGED
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.
|
|
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/
|
|
53
|
-
changelog_uri: https://github.com/PavarinE/
|
|
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:
|