prime-rails 0.0.4 → 0.0.5
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
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDQzZjQxNmYwYTliNDQ5ZmFlMGVlMzA3NTE2MjRjODQwNDJkYzJhYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDBmZmZhOGJiZWU5Mzc4ZGFhODYzN2VjYTljODI2YTVlNTNlZTBlMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWQ1NzFiODNjNWM5NDg2MTE3NTI4ODZkMTY2OWQ1ZjI5MmU0NGVjYmMzNjgw
|
10
|
+
OWY4MGNlMGJiZDU4ZGYzZTUzYzA2MDUzYmFjMzY5NTAxYTg5NTlkMGFhODhj
|
11
|
+
MDk2ZDk3OTU5ZGQwYmRhN2QxNDNkMTI3YTk0Mzk1Y2QyMDNlODk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGQ2MDVjYWY2NWU1NmE3ZGQ4MmMxMGQwNmI2ODgwYmRhM2FmZTYyZGRmNWJi
|
14
|
+
MGM1MDFmY2UyZWRhYzM5NGJmMzc2NTZjZTU2ZjA4MmE5Y2RhODAyOTM5NmI4
|
15
|
+
NDU4NWQ4ZTdiZjU0MDhiNzU1YTU2ZmY0MTRiYzJkMjBjZDgzMDk=
|
@@ -12,7 +12,12 @@ module Primerails
|
|
12
12
|
js_manifest = 'app/assets/javascripts/application.js'
|
13
13
|
|
14
14
|
if File.exist?(js_manifest)
|
15
|
-
|
15
|
+
|
16
|
+
js_require_block = "//= require jquery-ui\n"
|
17
|
+
js_require_block += "//= require primeui\n"
|
18
|
+
js_require_block += "//= require primefaces-core\n"
|
19
|
+
js_require_block += "//= require primefaces-rails\n"
|
20
|
+
insert_into_file js_manifest, js_require_block, :after => "jquery_ujs\n"
|
16
21
|
else
|
17
22
|
copy_file "application.js", js_manifest
|
18
23
|
end
|
@@ -25,7 +30,9 @@ module Primerails
|
|
25
30
|
if content.match(/require_tree\s+\.\s*$/)
|
26
31
|
# Good enough - that'll include our primerails_and_overrides.css.less
|
27
32
|
else
|
28
|
-
style_require_block = "
|
33
|
+
style_require_block = "*= require css/primeui/primeui\n"
|
34
|
+
style_require_block += "*= require jquery-ui\n"
|
35
|
+
style_require_block += "*= require themes/aristo/theme\n"
|
29
36
|
insert_into_file css_manifest, style_require_block, :after => "require_self\n"
|
30
37
|
end
|
31
38
|
else
|
data/lib/prime/rails/version.rb
CHANGED