opal_hot_reloader 0.1.1 → 0.1.2
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/Changelog.org +7 -0
- data/bin/opal-hot-reloader +1 -1
- data/lib/opal_hot_reloader/server.rb +2 -1
- data/lib/opal_hot_reloader/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e5c0101353676019555c6b6ae5bd7867828a197
|
|
4
|
+
data.tar.gz: f5989763d95b5bff149be5dbf9455a06931be275
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f14434378f9fdf91f829fbaa642df70be32d7b4fd7959172fbe262fa103af02080d6af8f0fa265a95b093c742034444f03c40d948ef69202d73b93664cecc18
|
|
7
|
+
data.tar.gz: 4a8b4c79d456fdafa18c7399fcd64f05a1d11b25cff112a0c5d1998eb12da39e2bd19eb21d17e2e429d4de45b9e6e3e385156f055634dae7658b5a3d690f0e21
|
data/Changelog.org
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
* 0.1.2
|
|
2
|
+
- take out app/ as default directory to load, if doing a dedicated opal app, one is going to have to specify the dir1
|
|
3
|
+
- add app/assets/stylesheets as a path to add if it exists
|
|
4
|
+
* 0.1.1
|
|
5
|
+
- Add popup to show errors on reloading
|
|
6
|
+
* 0.1.0
|
|
7
|
+
- Initial public version
|
data/bin/opal-hot-reloader
CHANGED
|
@@ -26,13 +26,14 @@ module OpalHotReloader
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# adds known directories automatically if they exist
|
|
29
|
-
# - rails js app/assets/javascripts
|
|
29
|
+
# - rails js app/assets/javascripts app/assets/stylesheets
|
|
30
30
|
# - reactrb rails defaults app/views/components
|
|
31
31
|
# - you tell me and I'll add them
|
|
32
32
|
def setup_directories(options)
|
|
33
33
|
@directories = options[:directories] || []
|
|
34
34
|
[
|
|
35
35
|
'app/assets/javascripts',
|
|
36
|
+
'app/assets/stylesheets',
|
|
36
37
|
'app/views/components'
|
|
37
38
|
].each { |known_dir|
|
|
38
39
|
if !@directories.include?(known_dir) && File.exists?(known_dir)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opal_hot_reloader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Forrest Chang
|
|
@@ -107,6 +107,7 @@ files:
|
|
|
107
107
|
- ".gitignore"
|
|
108
108
|
- ".rspec"
|
|
109
109
|
- ".travis.yml"
|
|
110
|
+
- Changelog.org
|
|
110
111
|
- Gemfile
|
|
111
112
|
- LICENSE.txt
|
|
112
113
|
- README.md
|