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
- YTZkYzM3NTBjMjBlYzAwYTNhOTIwZDlhODMzMWJkYmQ5NWI2ZDA5Nw==
4
+ NDQzZjQxNmYwYTliNDQ5ZmFlMGVlMzA3NTE2MjRjODQwNDJkYzJhYQ==
5
5
  data.tar.gz: !binary |-
6
- M2NmYTExZmIwZTFlNTVhNTczOWVmZTFiNDNhNDhhZThhY2MwMjcwOQ==
6
+ ZDBmZmZhOGJiZWU5Mzc4ZGFhODYzN2VjYTljODI2YTVlNTNlZTBlMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTYwZTZmN2Q2M2M5Njc0YTY4ODgyMDA3YmIzZTY0OTNmMTdmZGY4Yzk2MGQz
10
- OTE1MDlhNjE3Y2M5MzdjY2MwYTkwMTZhNDMyZGYwZGY5MTBlMjhiNTBhNjMw
11
- ODk4MWJkNDRiZDE2OGY1YjQ1ODMwZmNmYjAwNmU3NzA3MWY0ZDU=
9
+ ZWQ1NzFiODNjNWM5NDg2MTE3NTI4ODZkMTY2OWQ1ZjI5MmU0NGVjYmMzNjgw
10
+ OWY4MGNlMGJiZDU4ZGYzZTUzYzA2MDUzYmFjMzY5NTAxYTg5NTlkMGFhODhj
11
+ MDk2ZDk3OTU5ZGQwYmRhN2QxNDNkMTI3YTk0Mzk1Y2QyMDNlODk=
12
12
  data.tar.gz: !binary |-
13
- NDQ5OGQ4Mzg5NjAzNDA2YzdhNTY5ZWVhM2JlMTQ4NWFiNmM2NDU5OWMxYWEz
14
- MzgyYmQ2YjU0NGY1ZGE3OTcyZTEyZTU1YTlkYzZlMzJiOTk1ODlhY2ZkZGUw
15
- YmViYTkzMjM0MDE2ZDI2ZjliYjliOWQ3MTJjYTk3ZDJkMTgwZjY=
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
- insert_into_file js_manifest, "//= require primeui\n//= require primefaces-core\n", :after => "jquery_ujs\n"
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 = " *= require primerails_and_overrides\n"
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
@@ -6,6 +6,8 @@
6
6
  //
7
7
  //= require jquery
8
8
  //= require jquery_ujs
9
+ //= require jquery-ui
9
10
  //= require primeui
10
11
  //= require primefaces-core
12
+ //= require primefaces-rails
11
13
  //= require_tree .
@@ -1,5 +1,5 @@
1
1
  /*
2
2
  *= require css/primeui/primeui
3
3
  *= require jquery-ui
4
- *= require themes/aristo/theme.
4
+ *= require themes/aristo/theme
5
5
  */
@@ -1,5 +1,5 @@
1
1
  module Prime
2
2
  module Rails
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prime-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lazaro Nixon