scrivito_content_browser 0.65.2 → 0.66.0.rc1
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 +4 -4
- data/README.md +16 -2
- data/app/assets/javascripts/dist/scrivito_content_browser_pkg.js +2764 -14646
- data/app/helpers/converter_helper.rb +2 -2
- data/config/initializers/obj_extension.rb +1 -1
- data/config/initializers/scrivito_content_browser.rb +1 -1
- metadata +3 -4
- data/CHANGELOG.md +0 -45
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 420d612e000f218ea828f29be3d388d4cc192d0c
|
|
4
|
+
data.tar.gz: 81796d663372a36bf74ff8489692b149541bfe7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 737578a3c40f13b5083ae17c8495e3782af6544952d5de22cdcb54bbbb3f5f44ff9a0759f7b246d6b78e0c2913e4f907e68b16c73984417a74f1354ad899af5c
|
|
7
|
+
data.tar.gz: bf140baba9b4ced159fbedbf4d980540036425032a6ea816c004df136fa89f32a0f531587c58d1d0496a01d182007d7abaa41c0b366adff6bf71d02ecd860334
|
data/README.md
CHANGED
|
@@ -33,9 +33,23 @@ Before developing make sure you have both `nodejs` and `npm` installed, then:
|
|
|
33
33
|
sudo npm install -g grunt-cli # install the grunt command
|
|
34
34
|
grunt build # build the JS files - if it fails, check for name clashes with the node package
|
|
35
35
|
|
|
36
|
-
If you want to develop the `scrivito_content_browser`-gem locally (including it by path)
|
|
36
|
+
If you want to develop the `scrivito_content_browser`-gem locally (including it by path)
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
You need to write in your rails application. config/env/development.rb
|
|
39
|
+
|
|
40
|
+
config.action_controller.asset_host = Proc.new { |source|
|
|
41
|
+
if source =~ /scrivito_content_browser_pkg/
|
|
42
|
+
"http://localhost:8080/"
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
and be sure that you have this option is false
|
|
46
|
+
config.assets.digest = false
|
|
47
|
+
|
|
48
|
+
This part of code, and run the task npm start or grunt webpack-dev-server
|
|
49
|
+
|
|
50
|
+
For test running use:
|
|
51
|
+
grunt webpack_run_test or simple grunt
|
|
52
|
+
or use karma start or grunt karma:test task to run webpack dev server watcher
|
|
39
53
|
|
|
40
54
|
## Changelog
|
|
41
55
|
|