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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5c197bace3110b7783281987c346d9d1a1dd81a3e689f2e489f7f06f6669e9d
4
- data.tar.gz: 241df17bcd773ebe2f0050510c6be0a245882c2278bfa82d95e4ab2035dc0f54
3
+ metadata.gz: a7391a442b4191df7fa8eec41e4f08b5610d0e9cc92b66de5f774ea641fdaec0
4
+ data.tar.gz: b97884e01d406cff1f8c353cbca03454904bc401f4eff003aa490c83c991f2b3
5
5
  SHA512:
6
- metadata.gz: bea4c6132ce229381ed4c2745ecefb70523557464ade9424b6d2418c4690eaad219acbd1bfc2dbe3fb80c31e233e703304fbcc98f9d21a86364b633235410787
7
- data.tar.gz: 7865afd129284697c44e79815c88c40cdec21cb999c21126bdea155da4952dbd26b0ecccc96c62f5eb05de0d08fce0f2f09cc442614d853a5fcee7cd9cfa88eb
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', '../public'
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__, '..', '..', '..', 'public', 'static')
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
@@ -1,5 +1,5 @@
1
1
  module Scratch
2
2
  module GUI
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scratch-gui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Cannavo