Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix jRuby Building #104

  • Loading branch information...
commit b67675480d1c14d26a55aad080dcc8a44d86c5bc 1 parent cb6e628
@simonoff simonoff authored
Showing with 8 additions and 7 deletions.
  1. +6 −6 .travis.yml
  2. +2 −1  test/gentestfiles.rb
View
12 .travis.yml
@@ -5,12 +5,12 @@ rvm:
- 2.0.0
- ruby-head
- rbx-19mode
-#matrix:
-# include:
-# - rvm: jruby-19mode
-# jdk: oraclejdk7
-# - rvm: jruby-19mode
-# jdk: openjdk7
+matrix:
+ include:
+ - rvm: jruby-19mode
+ jdk: oraclejdk7
+ - rvm: jruby-19mode
+ jdk: openjdk7
before_install:
- gem update --system
- gem --version
View
3  test/gentestfiles.rb
@@ -93,7 +93,8 @@ def TestZipFile.create_test_zips(recreate)
system("/usr/bin/zip #{TEST_ZIP1.zip_name} -d data/file2.txt")
File.open("data/generated/empty.txt", "w") {}
- File.open("data/generated/empty_chmod640.txt", "w") { |f| f.chmod(0640) }
+ File.open("data/generated/empty_chmod640.txt", "w") { }
+ ::File.chmod(0640, "data/generated/empty_chmod640.txt")
File.open("data/generated/short.txt", "w") { |file| file << "ABCDEF" }
ziptestTxt=""
Please sign in to comment.
Something went wrong with that request. Please try again.