Skip to content

Commit ce3dce8

Browse files
committed
bump version
1 parent 253e624 commit ce3dce8

File tree

5 files changed

+25
-20
lines changed

5 files changed

+25
-20
lines changed

lib/pbox2d.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
working_directory = File.join(File.dirname(__FILE__))
24
$LOAD_PATH << working_directory unless $LOAD_PATH.include?(working_directory)
35
Dir[File.join(working_directory, '*.jar')].each do |jar|
@@ -11,30 +13,30 @@ def import_class_list(list, string)
1113
list.each { |d| java_import format(string, d) }
1214
end
1315

14-
common = %w( Vec2 Transform )
16+
common = %w[Vec2 Transform]
1517
common_format = 'org.jbox2d.common.%s'
1618
import_class_list(common, common_format)
17-
shape = %w( PolygonShape CircleShape ChainShape Shape )
19+
shape = %w[PolygonShape CircleShape ChainShape Shape]
1820
shape_format = 'org.jbox2d.collision.shapes.%s'
1921
import_class_list(shape, shape_format)
20-
world = %w( Body BodyDef BodyType World FixtureDef )
22+
world = %w[Body BodyDef BodyType World FixtureDef]
2123
world_format = 'org.jbox2d.dynamics.%s'
2224
import_class_list(world, world_format)
23-
joint = %w(
25+
joint = %w[
2426
Joint
2527
JointDef
2628
DistanceJointDef
2729
RevoluteJoint
2830
RevoluteJointDef
2931
MouseJointDef
3032
ConstantVolumeJointDef
31-
)
33+
]
3234
joint_format = 'org.jbox2d.dynamics.joints.%s'
3335
import_class_list(joint, joint_format)
3436

3537
# Import into module namespace to avoid likely clashes
3638
module PB
37-
particle = %w(
39+
particle = %w[
3840
ParticleColor
3941
ParticleContact
4042
ParticleGroupDef
@@ -46,7 +48,7 @@ module PB
4648
ParticleSystem
4749
StackQueue
4850
VoronoiDiagram
49-
)
51+
]
5052
particle_format = 'org.jbox2d.particle.%s'
5153
import_class_list(particle, particle_format)
5254
end

lib/pbox2d/box2d.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require_relative 'version'
24
# Ruby version of java wrapper allows us to have more
35
# rubified interface, also needed for add_listener
@@ -9,8 +11,7 @@ def init_options(args = {})
911
set_options(args[:scale],
1012
args[:gravity].to_java(Java::float),
1113
args[:warm],
12-
args[:continuous]
13-
)
14+
args[:continuous])
1415
end
1516

1617
def step_options(args = {})

lib/pbox2d/version.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# frozen_string_literal: true
2+
13
# module to give version a namespace
24
module Pbox2d
3-
VERSION = '1.0.1'
5+
VERSION = '1.0.2'.freeze
46
end

pom.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
project 'pbox2d', 'https://github.com/ruby-processing/jbox2d' do
33

44
model_version '4.0.0'
5-
id 'ruby-processing:pbox2d', '1.0.1'
5+
id 'ruby-processing:pbox2d', '1.0.2'
66
packaging 'jar'
77

8-
description 'jbox2d for JRubyArt'
8+
description 'jbox2d for JRubyArt and propane'
99

1010
organization 'ruby-processing', 'https://ruby-processing.github.io'
1111

@@ -22,7 +22,7 @@
2222
source_control(
2323
:url => 'https://github.com/ruby-processing/jbox2d',
2424
:connection => 'scm:git:git://github.com/ruby-processing/jbox2d.git',
25-
:developer_connection => 'scm:git:git@github.com/ruby-processing/jbox2dt.git'
25+
:developer_connection => 'scm:git:git@github.com/ruby-processing/jbox2d.git'
2626
)
2727

2828
properties( 'maven.compiler.source' => '1.8',
@@ -34,8 +34,8 @@
3434
)
3535

3636

37-
pom 'org.jruby:jruby:9.1.8.0'
38-
jar 'org.processing:core:3.3.2'
37+
pom 'org.jruby:jruby:9.1.12.0'
38+
jar 'org.processing:core:3.3.4'
3939

4040
plugin_management do
4141
plugin :resources, '2.6'

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ DO NOT MODIFIY - GENERATED CODE
1111
<modelVersion>4.0.0</modelVersion>
1212
<groupId>ruby-processing</groupId>
1313
<artifactId>pbox2d</artifactId>
14-
<version>1.0.1</version>
14+
<version>1.0.2</version>
1515
<name>pbox2d</name>
16-
<description>jbox2d for JRubyArt</description>
16+
<description>jbox2d for JRubyArt and propane</description>
1717
<url>https://github.com/ruby-processing/jbox2d</url>
1818
<organization>
1919
<name>ruby-processing</name>
@@ -37,7 +37,7 @@ DO NOT MODIFIY - GENERATED CODE
3737
</developers>
3838
<scm>
3939
<connection>scm:git:git://github.com/ruby-processing/jbox2d.git</connection>
40-
<developerConnection>scm:git:git@github.com/ruby-processing/jbox2dt.git</developerConnection>
40+
<developerConnection>scm:git:git@github.com/ruby-processing/jbox2d.git</developerConnection>
4141
<url>https://github.com/ruby-processing/jbox2d</url>
4242
</scm>
4343
<issueManagement>
@@ -56,13 +56,13 @@ DO NOT MODIFIY - GENERATED CODE
5656
<dependency>
5757
<groupId>org.jruby</groupId>
5858
<artifactId>jruby</artifactId>
59-
<version>9.1.8.0</version>
59+
<version>9.1.12.0</version>
6060
<type>pom</type>
6161
</dependency>
6262
<dependency>
6363
<groupId>org.processing</groupId>
6464
<artifactId>core</artifactId>
65-
<version>3.3.2</version>
65+
<version>3.3.4</version>
6666
</dependency>
6767
</dependencies>
6868
<build>

0 commit comments

Comments
 (0)