Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

v0.0.14 -fix extend support source

  • Loading branch information...
commit 8c9b9f76505eb2b83d3a05a49d54b0ee9903d938 1 parent 2e36eed
@zfben authored
View
4 lib/zfben_libjs.rb
@@ -30,9 +30,10 @@ def tip msg
class Zfben_libjs::Libjs
def build!
- tip '== Starting Build'
+ tip '== Starting Build =='
if @opts[:config].has_key?('before')
+ tip '== Runing Before Scripts =='
load @opts[:config]['before']
end
tip '== [1/2] Starting Progress Source =='
@@ -74,7 +75,6 @@ def build!
@urls = {}
- p @libs
@libs.each do |lib, path|
path = [path] unless path.class == Array
path = path.map{ |url|
View
3  lib/zfben_libjs/initialize.rb
@@ -96,12 +96,13 @@ def merge_and_convert_options opts
opts[name]
options[name] = options[name].merge(opts[name])
when 'Array'
+ opts[name] = [opts[name]] if opts[name].class.to_s != 'Array'
options[name] = (options[name] + opts[name]).uniq
end
end
end
- options[:support_source].each{ |f| require f }
+ options[:support_source].each{ |f| require File.realpath(f) }
return options
end
View
2  zfben_libjs.gemspec
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = 'zfben_libjs'
- s.version = '0.0.13'
+ s.version = '0.0.14'
s.authors = ["Ben"]
s.email = ["ben@zfben.com"]
s.homepage = "https://github.com/benz303/zfben_libjs"
Please sign in to comment.
Something went wrong with that request. Please try again.