inesita 1.0.pre.7 → 1.0.pre.8

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: 8b3c55af39e8107844bde8c3c74155cddbc3a83cd8d94e1b4d86b58ce9aeb09d
4
- data.tar.gz: 34f0c919726c55172037f3331a6c91f92dfa90876ef9a25cba92f1a02f08e602
3
+ metadata.gz: 845d81b2f584ef901f1663899fe40b2f356cc490ae9de224e1ea8ab12e859ba1
4
+ data.tar.gz: abc186b533865816e80849d47f5bad332f3f8c58a83394c9218ef85d8b53cc0e
5
5
  SHA512:
6
- metadata.gz: e5b66510a4e1b20727a21dde51438c265d7de77955f7def1c746036696cbbac4a247af346c1ac61b80a1326b7fc3b3e107efa12deaea73f1bd2bd46dec4b704a
7
- data.tar.gz: 30aac778dfa121d992353a3c4471976a5013e38f72b0deddaad8aef4ac7bc7392879ae2936b4206826059b65c7d72fcd09d0370ffcb3359ea768560ba68bebf5
6
+ metadata.gz: c33cffbb7eceb0990daa39d4f02502de08145f330a92582569335c62cc296a0caba251fea8a01930976651bcbad1477f783ae19724821c3f2aa61aad2887bdf0
7
+ data.tar.gz: 94701d1d0f6c4b7e7a273f2061f81b4a1ead79eff7476729e9137d9041a758832b69d50b89546c1b0926102dc5ccb3190367205c5e239e3fcd085d48f8c57188
data/inesita.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'inesita'
3
- s.version = '1.0.pre.7'
3
+ s.version = '1.0.pre.8'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/inesita-rb/inesita'
@@ -60,7 +60,8 @@ module Inesita
60
60
 
61
61
  Dir.glob("./#{static_dir}/**/*").each do |file|
62
62
  if File.directory?(file)
63
- empty_directory File.join(destination_dir, file), force: force
63
+ puts file.inspect
64
+ empty_directory File.join(destination_dir, file.gsub(static_dir, 'assets')), force: force
64
65
  else
65
66
  copy_file File.absolute_path(file), File.join(destination_dir, file.gsub(static_dir, 'assets')), force: force
66
67
  end
@@ -1,6 +1,6 @@
1
1
  module Inesita
2
2
  module Config
3
- STATIC_DIR = '/static'
3
+ STATIC_DIR = 'static'
4
4
  BUILD_DIR = 'dist'
5
5
  APP_DIR = 'app'
6
6
  SERVER_MAIN = 'application'
@@ -4,7 +4,6 @@ module Inesita
4
4
  server = server(*args, &block)
5
5
 
6
6
  @rack = Rack::Builder.new do
7
- use Rack::Static, urls: [Inesita::Config::STATIC_DIR]
8
7
  run server
9
8
  end
10
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inesita
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.pre.7
4
+ version: 1.0.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk