scratch-gui 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/lib/scratch/gui.rb +1 -1
- data/lib/scratch/gui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7391a442b4191df7fa8eec41e4f08b5610d0e9cc92b66de5f774ea641fdaec0
|
4
|
+
data.tar.gz: b97884e01d406cff1f8c353cbca03454904bc401f4eff003aa490c83c991f2b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faca2e3beb1bd9868de8149bbecb93ff1a3d58de1de1f4e8ead214bcd7a8e7be071fed379822c4d128c2f5a9a0171c3dba0e0984b771f61368c9b8226c3f40a6
|
7
|
+
data.tar.gz: dd8e22be7225dabcde5e20bb9a13acb87e5a5ddbb0c3a246c86350c50a915303955560cac61cfd87cfa9b81a5f672b345c39327ca164ca38abe3726880ea82e4
|
data/Rakefile
CHANGED
@@ -14,11 +14,13 @@ namespace :wrapper do
|
|
14
14
|
# javascript assets
|
15
15
|
cp_r '../build/lib.min.js', 'app/assets/javascripts'
|
16
16
|
cp_r '../build/gui.js', 'app/assets/javascripts'
|
17
|
-
cp_r '../build/static', '
|
17
|
+
cp_r '../build/static', 'public'
|
18
18
|
end
|
19
19
|
|
20
20
|
task :clean do
|
21
21
|
rm_rf 'app'
|
22
|
+
rm_rf 'public'
|
22
23
|
mkdir_p 'app/assets/javascripts'
|
24
|
+
mkdir_p 'public'
|
23
25
|
end
|
24
26
|
end
|
data/lib/scratch/gui.rb
CHANGED
@@ -6,7 +6,7 @@ module Scratch
|
|
6
6
|
end if defined? ::Rails::Engine
|
7
7
|
|
8
8
|
ASSETS_PATH = File.join(__dir__, '..', '..', 'app', 'assets')
|
9
|
-
PUBLIC_PATH = File.join(__dir__, '..', '..', '
|
9
|
+
PUBLIC_PATH = File.join(__dir__, '..', '..', 'public', 'static')
|
10
10
|
|
11
11
|
def self.assets_path_for(asset)
|
12
12
|
File.join ASSETS_PATH, asset
|
data/lib/scratch/gui/version.rb
CHANGED