Skip to content

Commit

Permalink
Version bump to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bartuer committed Mar 6, 2012
1 parent fc3b500 commit 88f9b26
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ pkg/
/uki-2.3.4.gem
/uki-2.3.5.gem
/uki-2.3.6.gem
/uki-2.4.0.gem
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.5.0
2 changes: 1 addition & 1 deletion lib/uki/htmlmin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def replace_css_link_with_minify_content(url)
def replace_dynamical_js_link
js_links = self.xpath('//body/script')
js_links.each { |js_link|
if js_link['src'].match(/(.i)?(.[yguz])?\.cjs$/)
if js_link['src'] && js_link['src'].match(/(.i)?(.[yguz])?\.cjs$/)
src = js_link['src']
static_link = Nokogiri::HTML::Document.new.fragment(<<-eofjslink)
<script src="#{src.gsub(/http.*\/javascripts/,'/javascripts').gsub(/\.i\./,'.').gsub(/\.[ugyz]\./, '.').gsub(/\.cjs$/, '.js')}">
Expand Down
9 changes: 6 additions & 3 deletions uki.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{uki}
s.version = "2.3.7"
s.version = "2.4.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Vladimir Kolesnikov"]
s.date = %q{2011-10-21}
s.date = %q{2011-11-12}
s.default_executable = %q{uki}
s.description = %q{Project creation, dev server, testing, building for uki apps}
s.email = %q{[email protected]}
Expand Down Expand Up @@ -38,6 +38,7 @@ Gem::Specification.new do |s|
"frameworks/jspec/lib/jspec.shell.js",
"frameworks/jspec/lib/jspec.timers.js",
"frameworks/jspec/lib/jspec.xhr.js",
"frameworks/uki/happy.txt",
"java/compiler.jar",
"java/yuicompressor.jar",
"lib/pusher.rb",
Expand All @@ -54,11 +55,12 @@ Gem::Specification.new do |s|
"lib/pusher/version.rb",
"lib/uki.rb",
"lib/uki/builder.rb",
"lib/uki/deflater.rb",
"lib/uki/htmlmin.rb",
"lib/uki/include_js.rb",
"lib/uki/include_regexp.rb",
"lib/uki/project.rb",
"lib/uki/routes.rb",
"lib/uki/deflater.rb",
"lib/uki/server.rb",
"templates/controller.js.erb",
"templates/index.html.erb",
Expand All @@ -69,6 +71,7 @@ Gem::Specification.new do |s|
"templates/spec.html.erb",
"templates/spec.js.erb",
"templates/view.js.erb",
"uki-2.3.7.gem",
"uki.gemspec"
]
s.homepage = %q{http://github.com/voloko/uki}
Expand Down

0 comments on commit 88f9b26

Please sign in to comment.