promethee 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 5329192fbb6d6dff5ce76400ea7d1e893a85d986
4
- data.tar.gz: 252c1911ebeee040d1fdd554b227b497d770adb4
3
+ metadata.gz: 87447152a196f9d440bb8a897f1f5d34cb96b7d6
4
+ data.tar.gz: 0f2a338585966bc9f0dda26d26ff2fbeb56ce445
5
5
  SHA512:
6
- metadata.gz: 63893b3d2074a7591666dca95e6ac011feff3602281e38c2965c3a18b930e3e2399c339a7d278a61b1771fb2bec60106da882272528486aa08d5c08588e79e43
7
- data.tar.gz: 72ac5c6055d870b14ffe63341684e74b05b124a0b7fbc5baf7f3d676a4929695d1b9229b28c15187aac39962bd92d00e2aff97988ae2e242bfeb93dee0597e84
6
+ metadata.gz: e00269f37693d8997915471a5f6f6e46be05973bb766f0e3bbbcfb57516f9757bf3b6e60ab6d1cb2c42504bfacef54104ec3d92ce7ddd6dc3471efa4b92a9656
7
+ data.tar.gz: a973602e6cbfe1394d6abe0a96e3145e655b0ed54a92dbd42922d7bd1bd08b734a780e5308a63f873a2abf7e8e4b28e20fd7e195f4ec0637d2c3db7dc944b1c8
data/README.md CHANGED
@@ -114,6 +114,11 @@ Which renders to:
114
114
  </div>
115
115
  ```
116
116
 
117
+ With stylesheets set:
118
+ ```
119
+ @import promethee
120
+ ```
121
+
117
122
  ### Editor
118
123
 
119
124
  This would allow editing for a page model, with a jsonb data attribute:
@@ -134,6 +139,17 @@ This would do quite the same thing:
134
139
  </form>
135
140
  ```
136
141
 
142
+ With javascript set:
143
+ ```
144
+ //= require promethee
145
+ ```
146
+
147
+ With stylesheets set:
148
+ ```
149
+ @import promethee
150
+ @import promethee-editor
151
+ ```
152
+
137
153
  #### The editor has components
138
154
 
139
155
  The component is made of a show and and edit.
@@ -4,4 +4,8 @@ class Promethee::Rails::Engine < ::Rails::Engine
4
4
  include Promethee::Rails::Helper
5
5
  end
6
6
  end
7
+ initializer 'assets' do |app|
8
+ Rails.application.config.assets.precompile += %w( logo-promethee-vertical.svg logo-promethee-horizontal.svg icon-promethee.png )
9
+ Rails.application.config.assets.paths << Rails.root.join('vendors')
10
+ end
7
11
  end
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos