scrivito_content_browser 0.65.2 → 0.66.0.rc1

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: f258b05616a8a9f4fc13ef0147e9c6d5d9200163
4
- data.tar.gz: 2575925d44529c8f02ba7eee1fd9feef8d923656
3
+ metadata.gz: 420d612e000f218ea828f29be3d388d4cc192d0c
4
+ data.tar.gz: 81796d663372a36bf74ff8489692b149541bfe7d
5
5
  SHA512:
6
- metadata.gz: 5da90da544d76cff74ef1eeb8178d3868b6699723d1f6fed0b0bd14c648150c0280d87ed004e0316e4278ba24dbc3c69733185cb7b34c7a8108dd6a349a45432
7
- data.tar.gz: 015757bc30e6b33384b00ba069187486e4c4ee3a2116994ed081cf3505aba3891706a38f971a945dbbcd1f96ccdd31b758ba77498d33534bf3b07285b1d8bef9
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
- grunt watch # compiles the source files for the gem whenever you change one
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