nali 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ module Nali
25
25
  client.append_path File.join( Nali.path, 'client/javascripts' )
26
26
 
27
27
  %w( app/client/templates app/client/stylesheets app/client/javascripts lib/client/stylesheets
28
- lib/client/javascripts public/client vendor/client/stylesheets vendor/client/javascripts
28
+ lib/client/javascripts vendor/client/stylesheets vendor/client/javascripts
29
29
  ).each { |path| client.append_path File.join( root, path ) }
30
30
 
31
31
  Sprockets::Helpers.configure do |config|
data/lib/nali/tasks.rb CHANGED
@@ -35,10 +35,7 @@ module Nali
35
35
 
36
36
  desc 'Remove compiled client files'
37
37
  task :clean do
38
- compiled_path = File.join @settings.public_folder, 'client'
39
- Dir[ compiled_path + '/*' ]
40
- .select { |file| file =~ /(application|manifest).*?\.(js|css|json)/ }
41
- .each { |file| File.delete file }
38
+ FileUtils.rm_rf File.join( @settings.public_folder, 'client' )
42
39
  index = File.join( @settings.public_folder, 'index.html' )
43
40
  File.delete( index ) if File.exists?( index )
44
41
  puts 'Compiled client files removed'
data/lib/nali/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Nali
2
2
 
3
- VERSION = '0.2.6'
3
+ VERSION = '0.2.7'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nali
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: