realiser 0.1.1 → 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: 6d7946a3b73500db0c46464b5c59d1ced0b8076a6598cf21d613781ecc313327
4
- data.tar.gz: 29f89a7c82eb6c2d07064a2c2ac44c3b66758fff2707e08d5a0612334bbe9160
3
+ metadata.gz: 108148802be4dc8c84d8aa2acd7229bab932ee3926dcbd9235780261c1cae68d
4
+ data.tar.gz: 1d63598e341d6b1eca925653cf07ef45fdb0dace3d81e27d1d26f459af0a3f9e
5
5
  SHA512:
6
- metadata.gz: d9bba39f56063be5197c9b3980cfd49e5ff65143f95e34e65421f0e22398e3a77ba84d58a32bb6efbe1575f90079329fe12c7050f57dd21a80f907d025ed4451
7
- data.tar.gz: 7da473de99ce5d757359c8f84b42bd1e6fea571ffe165f3aeaae0600ae08d16636c4285012a51d80108e5006a072f6256c79d8e4ae5f1df360aec1cc3dfd5262
6
+ metadata.gz: ea4aec570c5a55e10f873ee6287211db1ae39880a0dc5cfbc241a45dd9a2a40c34cfce2908cdc3163478d0ba07a46b52be34485ace1c719734d6a7ffbd9c8330
7
+ data.tar.gz: 1b2fb572576209181fce07474a67ec6aa7571d03621c379d8ede4d30d2d185677688d1d716ba8d76d38a241827d76b70cfc3d64069e643f7d2ea200e4d3a8a37
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
 
2
2
  <p align="center">
3
- <a href="https://rubyonrails.org/" target="_blank" rel="noopener noreferrer">
3
+ <a href="#" target="_blank" rel="noopener noreferrer">
4
4
  <img src="image.webp" width="200">
5
5
  </a>
6
6
  </p>
7
7
 
8
8
  # Realiser
9
- The Rails engine will help you to provides the setting data to your app.
9
+ The Rails engine will help you to provides the setting data to your app. See the demo engine in [here](https://github.com/philiplambok/demo-realiser).
10
10
 
11
11
  ## Installation
12
12
  Add this line to your application's Gemfile:
@@ -28,7 +28,8 @@ $ gem install realiser
28
28
  After that, run this command to generate the migration files:
29
29
 
30
30
  ```sh
31
- $> bundle exec rails g realiser install
31
+ $ bundle exec rails g realiser install
32
+ $ bundle exec rake db:migrate
32
33
  ```
33
34
 
34
35
  Then, you can enable the Web UI, with mount the engine in your `config/routes.rb`:
@@ -38,6 +39,13 @@ Rails.application.routes.draw do
38
39
  mount Realiser::Engine => '/realiser'
39
40
  end
40
41
  ```
42
+
43
+ Then, add this line to your `app/assets/config/manifest.js` to help compile the stylesheets.
44
+
45
+ ```js
46
+ //= link realiser/application.css
47
+ ```
48
+
41
49
  Done, you can manage the settings data by visiting the path `/realiser`.
42
50
 
43
51
  The UI will be something like this:
@@ -77,7 +85,7 @@ Setting['PAYMENT_TOKEN'] #> 'sgFadLoRx5rX1VL02OalMQ'
77
85
  ## Contributing
78
86
  PR are welcome!
79
87
 
80
- You can use [the issue tab](https://github.com/philiplambok/realiser/issues) for asking me a question about this engine, or report a bug, or even if you want to request a feature.
88
+ You can use [the issue tab](https://github.com/philiplambok/realiser/issues) for asking me a question about this engine, or report a bug, or even to request a feature.
81
89
 
82
90
  ## License
83
91
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -10,13 +10,13 @@
10
10
  <div class="col-6">
11
11
  <div class="mb-3">
12
12
  <%= form.label :key, class: 'form-label fw-bold' %>
13
- <%= form.text_field :key, class: 'form-control', autocomplete: 'off' %>
13
+ <%= form.text_field :key, class: 'form-control', autocomplete: 'off', required: true %>
14
14
  </div>
15
15
  </div>
16
16
  <div class="col-6">
17
17
  <div class="mb-3">
18
18
  <%= form.label :value, class: 'form-label fw-bold' %>
19
- <%= form.text_field :value, class: 'form-control', autocomplete: 'off' %>
19
+ <%= form.text_field :value, class: 'form-control', autocomplete: 'off', required: true %>
20
20
  </div>
21
21
  </div>
22
22
  </div>
@@ -10,16 +10,15 @@
10
10
  <div class="col-6">
11
11
  <div class="mb-3">
12
12
  <%= form.label :key, class: 'form-label fw-bold' %>
13
- <%= form.text_field :key, class: 'form-control', autocomplete: 'off' %>
13
+ <%= form.text_field :key, class: 'form-control', autocomplete: 'off', required: true %>
14
14
  </div>
15
15
  </div>
16
16
  <div class="col-6">
17
17
  <div class="mb-3">
18
18
  <%= form.label :value, class: 'form-label fw-bold' %>
19
- <%= form.text_field :value, class: 'form-control', autocomplete: 'off' %>
19
+ <%= form.text_field :value, class: 'form-control', autocomplete: 'off', required: true %>
20
20
  </div>
21
- </div>
22
- </div>
21
+ </div> </div>
23
22
 
24
23
  <div class="form-group row">
25
24
  <div class="col-md-12">
@@ -1,3 +1,3 @@
1
1
  module Realiser
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realiser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Lambok