scratch-gui 0.1.1 → 0.1.3

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
  SHA256:
3
- metadata.gz: b65e93dbe5a98ae108be3e575036de1aef29cad5c9680321fb3f303f8569b545
4
- data.tar.gz: 910b4cdc97437ea55fb16949ab0d27587c461df91d276ec7003c84c33392738f
3
+ metadata.gz: 0da8e8621be9bb503f7df5970c71a34806456dff649d94af24f55c1955b3cc94
4
+ data.tar.gz: c1d703652dc89c4e7bb13497b332ae73e953d4e1086032a1945990c620202362
5
5
  SHA512:
6
- metadata.gz: 5177cd5e60f1afcbe72bf337ca8c24b4e04511d930e0254a8d2ae8d91907fd024e1b1992bb464f3777a2fbe1e46084bc7c16259b3c63d978f0de6afd78dbeda4
7
- data.tar.gz: 8777bdb5e47e5e5bc902de428da2d0c2fdbe3033e8379c1ff0c1c585a7ba3e869a5e9a0f852daa1f6936f7d35bb0c485e2631660216254d0c2adb033363ad5ab
6
+ metadata.gz: 8c01ceef87d5692c89bfb9f77e60a0a78ab50167ce0450cb8dc48625c4b3a3cb1589e3cfca4bd9eed62a969dafded8a24d19399a3043ed3715ad786e3169940f
7
+ data.tar.gz: 42b55edbaeed4cd81d902f4027f6d720b246b20e095932c8ec841e8d51cde5e248b306e42319c4e10c26a609020d494eb8ebb28db80b85ad357a5678b55ccf67
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ 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
-
17
+ cp_r '../build/static', '../public'
18
18
  end
19
19
 
20
20
  task :clean do
@@ -5,10 +5,15 @@ module Scratch
5
5
  class Engine < ::Rails::Engine
6
6
  end if defined? ::Rails::Engine
7
7
 
8
- ASSETS_PATH=File.join(__dir__, '..', '..', 'app', 'assets')
8
+ ASSETS_PATH = File.join(__dir__, '..', '..', 'app', 'assets')
9
+ PUBLIC_PATH = File.join(__dir__, '..', '..', '..', 'public', 'static')
9
10
 
10
11
  def self.assets_path_for(asset)
11
12
  File.join ASSETS_PATH, asset
12
13
  end
14
+
15
+ def self.public_path_for(asset)
16
+ File.join PUBLIC_PATH, asset
17
+ end
13
18
  end
14
19
  end
@@ -1,5 +1,5 @@
1
1
  module Scratch
2
2
  module GUI
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scratch-gui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Cannavo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-11 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler