bulma_form_rails 0.9.7 → 0.9.9

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: 6cd78deabfe8252c52991bd35ffb161fa19f4bcc520df4dcafc06cf7bf999bc6
4
- data.tar.gz: 9b0a8435c1e1cb914a3591ff049116b2ce3dc5426bfa76993428e9af782956f4
3
+ metadata.gz: 19477ff6e01f55d5d5318e5ddcc3ed0f0904d421bd326347179f37d0c2dff543
4
+ data.tar.gz: 60c59ce63bab58d620e8afa2bbdcde0a22e410a771667e9d5c4f80f89e019ce5
5
5
  SHA512:
6
- metadata.gz: a2e437e5d1a60e41333197908afb77e97a66261db6f432ed255ad2eaceeb42e9fbf716e1505baddc25934ff89624175f2b1782357102ac537802bc6adce934b0
7
- data.tar.gz: 486b4bbaaedac8d58d47d71d3d149719ded6acb208c6a8e0ddd6216b85aeaf25ae3d8a812c5c0958053676084bf6608be9ed43e339e58e9a27312ff951328ea7
6
+ metadata.gz: de1e24d417bd4eefc62d3138bc3c7a2ae00d379b25e0b0f720798f3a3afad928ad6eec1387dc0e232963c730b2654f4a9972752884f32fff31bb33b4d35e634a
7
+ data.tar.gz: 60676dca8ea7aab027b3c05e0677f5b3deec88fbe09d7de2f1c3f95c1e4dc60205dc9a2f6836614743c5b10f0021aca24d312a4b54377340cc847730360ee33d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bulma_form_rails (0.9.7)
4
+ bulma_form_rails (0.9.9)
5
5
  pagy (~> 5.10)
6
6
  rails (~> 7.0.4)
7
7
  rake (~> 13.0.6)
data/README.md CHANGED
@@ -33,16 +33,25 @@ https://moderngeosystems.com
33
33
  * `bulma_edit_form_page`
34
34
 
35
35
  ## Prerequisites
36
+ ### Installing Bulma
36
37
  You should have generated your application using something similar to the following command:
37
38
  ```bash
38
39
  $ rails new -c bulma app_name
39
40
  ```
40
- Or for an existing application, you should install Bulma as the Rails application generator would have. Something like this might be enough:
41
+ Or for an existing application, you should install Bulma as the Rails application generator would have:
41
42
  ```bash
42
43
  $ bundle add cssbundling-rails
43
44
  $ bin/rails css:install:bulma
44
45
  ```
45
- You will also need to install the Pagy gem:
46
+ #### If you were using importmaps in an existing application
47
+ You may need to remove these lines from `app/assets/config/manifest.js`:
48
+ ```javascript
49
+ -//= link_tree ../../javascript .js
50
+ -//= link_tree ../../../vendor/javascript .js
51
+ ```
52
+ and you may need to replace `<%= javascript_importmap_tags %>` with `<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>` in `app.views/layouts/application.html.erb`.
53
+ ### Installing Pagy
54
+ You will need to install the Pagy gem if you haven't already done so:
46
55
  ```bash
47
56
  $ bundle add pagy
48
57
  ```
@@ -60,6 +69,7 @@ Continue your installation by executing:
60
69
  $ bin/rails bulma_form_rails:install
61
70
  $ bin/rails generate bulma_form_rails:pagy_config
62
71
  $ bin/rails generate bulma_form_rails:views
72
+ $ bin/rails assets:precompile
63
73
  ```
64
74
  `rails bulma_form_rails:install` will add required resources to your application.
65
75
  The Rails generators will create your initial implementation view and configuration templates. If you modify the generated files, you might not want to to run these generators again.
@@ -1,3 +1,3 @@
1
1
  module BulmaFormRails
2
- VERSION = '0.9.7'
2
+ VERSION = '0.9.9'
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modgeosys/bulma_form_rails",
3
- "version": "0.9.7",
3
+ "version": "0.9.9",
4
4
  "description": "Stimulus controllers for BulmaFormRails Gem",
5
5
  "module": "lib/javascript/controllers/index.js",
6
6
  "main": "lib/javascript/controllers/index.js",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma_form_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Weller