Skip to content

Commit 7359f5b

Browse files
author
monkstone
committed
travis testing
1 parent 92b3bbb commit 7359f5b

4 files changed

Lines changed: 32 additions & 9 deletions

File tree

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo: false
2+
3+
language: ruby
4+
5+
bundler_args: --without production
6+
7+
addons:
8+
apt:
9+
packages:
10+
- oracle-java8-installer
11+
12+
rvm:
13+
- jruby-head
14+
15+
jdk:
16+
- oraclejdk8
17+
18+
env:
19+
- JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
20+
21+
before_script:
22+
- export JRUBY_OPTS="-Xcext.enabled=false -Xcompile.invokedynamic=false"
23+

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v0.7.0
2+
3+
A strike for independence, now building from source using polyglot maven
4+
15
### v0.6.0
26

37
Added import for jbox2d Particle, ParticleGroup etc (see PB module). Introduced WorldBuilder module to get rid of boilerplate code for the user. Reworked examples to use a common Boundary class.

pbox2d.gemspec

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ Gem::Specification.new do |spec|
1313
spec.email = ['martin_p@lineone.net']
1414
spec.summary = %q{jbox2d wrapped in a gem for JRubyArt}
1515
spec.description = <<-EOF
16-
"An exemplar for how processing/java libraries can be made available for use
17-
in JRubyArt. Features a maven build, also is an example of how to avoid an
18-
overdose of java reflection by letting jruby sugar implement an interface"
16+
"An exemplar for making processing/java libraries available as a gem, for use
17+
in JRubyArt. Features a polyglot maven build, and also demonstrates how creating
18+
an interface can avoid the need for explicit calls to java reflection."
1919
EOF
2020
spec.homepage = 'https://github.com/ruby-processing/jbox2d'
2121
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
2222
spec.files << 'lib/box2d.jar'
2323
spec.require_paths = ['lib']
24-
spec.add_dependency 'jruby_art', '~> 1.0'
24+
spec.add_dependency 'jruby_art', '~> 1.0', '>= 1.0.4'
2525
spec.add_development_dependency "rake", "~> 10.0"
2626
spec.add_development_dependency "minitest", "~> 5.8"
2727
spec.platform='java'
28-
# spec.requirements << 'A decent graphics card'
29-
# spec.requirements << 'java runtime >= 1.8+'
30-
# spec.requirements << 'processing = 3.0.1+'
31-
spec.requirements << 'maven = 3.3.3'
3228
end

pom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
'jruby.api' => "http://jruby.org/apidocs/"
3434
)
3535

36-
pom 'org.jruby:jruby:9.0.4.0'
36+
pom 'org.jruby:jruby:9.0.5.0'
3737
jar 'org.processing:core:3.0.1'
3838
plugin_management do
3939
plugin :resources, '2.6'

0 commit comments

Comments
 (0)