pbox2d 1.0.2-java → 1.0.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.mvn/extensions.xml +1 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +8 -2
- data/LICENSE.md +4 -4
- data/README.md +1 -1
- data/docs/about.md +3 -3
- data/examples/distance_joint/boundary.rb +1 -1
- data/examples/distance_joint/distance_joint.rb +1 -0
- data/examples/distance_joint/pair.rb +1 -1
- data/examples/distance_joint/particle.rb +1 -1
- data/examples/mouse_joint/boundary.rb +1 -1
- data/examples/mouse_joint/box.rb +1 -1
- data/examples/mouse_joint/mouse_joint.rb +2 -1
- data/examples/mouse_joint/spring.rb +1 -1
- data/examples/revolute_joint/box.rb +1 -1
- data/examples/revolute_joint/particle.rb +1 -1
- data/examples/revolute_joint/windmill.rb +1 -1
- data/lib/pbox2d/version.rb +1 -1
- data/pom.rb +3 -3
- data/pom.xml +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 35f456278e3f9cf08a3d574c395b217c71fa08541a30411bb6e62af3bf687b09
|
4
|
+
data.tar.gz: 30e22e5a5d9f90bb66c95f9e8905b28cd07ae018c6da0f126fa4540e69273a84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9339fb6fe82cb33c3ee34bd8daf02cd1681526596a86fcdb9ddc6c965691b6433f441602bb497bd8376adcf9482704d93aa66b11f4d6ceda4372b41bea261c
|
7
|
+
data.tar.gz: e9faaeea9ae7a07c48091024691f75af933070d862cb2ffb5a1b079c5c44954394b7bcedcf2321f41e2744da384ddb2340655b6e4d7eeb27f7746213239aff53
|
data/.mvn/extensions.xml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### v 1.0.3
|
2
|
+
Update to latest processing-3.3.6 jruby-9.1.16.0 replace $app with Processing.app for JRubyArt-1.4.6 in examples _an incompatible change for earlier JRubyArt versions_
|
3
|
+
|
4
|
+
### v1.0.2
|
5
|
+
Update to latest processing-3.3.4
|
6
|
+
|
1
7
|
### v1.0.0
|
2
8
|
Update to latest processing-3.3.2
|
3
9
|
|
@@ -12,10 +18,10 @@ Update maven artifacts
|
|
12
18
|
|
13
19
|
Update maven artifacts, somewhat arbitarily require JRubyArt-1.2+ to get everyone on same page
|
14
20
|
|
15
|
-
### v0.8.0
|
21
|
+
### v0.8.0
|
16
22
|
Update for JRubyArt-1.1+ and processing-3.1+
|
17
23
|
|
18
|
-
### v0.7.0
|
24
|
+
### v0.7.0
|
19
25
|
|
20
26
|
A strike for independence, now building from source using polyglot maven
|
21
27
|
|
data/LICENSE.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
### License
|
2
2
|
|
3
3
|
This work makes use of jbox2d see included LICENCE, and is derived from,
|
4
|
-
but different significantly different from Dan Shiffmans PBox2D-for-processing
|
4
|
+
but different significantly different from Dan Shiffmans PBox2D-for-processing
|
5
5
|
who claims this:-
|
6
6
|
|
7
7
|
Copyright (c) 2014, Daniel Shiffman
|
@@ -24,11 +24,11 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
24
24
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
25
25
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
26
26
|
|
27
|
-
I include the Shiffman licence mainly because of the included example
|
28
|
-
(albeit in processing) is his idea. It would be better if everyone stuck to
|
27
|
+
I include the Shiffman licence mainly because of the included example
|
28
|
+
(albeit in processing) is his idea. It would be better if everyone stuck to
|
29
29
|
recognized licences.....
|
30
30
|
|
31
31
|
For my part I lean toward GPL3 but MIT is OK and matches ruby-processing and
|
32
32
|
vanilla processing.
|
33
33
|
|
34
|
-
Copyright (c) 2014-
|
34
|
+
Copyright (c) 2014-2018, Martin Prout
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Here we demonstrate how to use JBox2D library as a rubygem. This approach could
|
|
6
6
|
![Travis CI](https://travis-ci.org/ruby-processing/jbox2d.svg)
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/pbox2d.svg)](http://badge.fury.io/rb/pbox2d)
|
8
8
|
|
9
|
-
Build
|
9
|
+
CI Build can only pass when processing version is available from maven central.
|
10
10
|
|
11
11
|
### Web Links
|
12
12
|
|
data/docs/about.md
CHANGED
@@ -5,7 +5,7 @@ permalink: /about/
|
|
5
5
|
categories: jruby_art update
|
6
6
|
---
|
7
7
|
|
8
|
-
[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.3.
|
8
|
+
[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.3.6][processing]. Create processing sketches in ruby using regular ruby-2.3 syntax, and use the magic [JRuby][jruby] to run them. You can use both rubygems and and regular processing libraries in your sketches. Features run, watch and live modes (uses pry). But you should also be able to use this gem with [propane][propane], you just need to class wrap examples as required.
|
9
9
|
|
10
10
|
In general where there is a choice of using a java (processing) method or a regular ruby method you should choose the ruby method (eg use `rand` in place of `random`). Further you should prefer to use `JRuby` classes `Vec2D` and `Vec3D` instead of processings `PVector` class. Processing has a number of convenience methods which are not needed in ruby (eg 'pow' use `**` in JRubyArt) and some static methods have not been implemented in JRubyArt. For the processing `map` method prefer `map1d` ([see example][map1d]) or use `p5map` if you must. Another thing to watch is `color` which is implemented differently in JRubyArt ([see example][color]).
|
11
11
|
|
@@ -13,8 +13,8 @@ See also my [blog][blog] for more code ideas.
|
|
13
13
|
|
14
14
|
[jruby]: https://jruby.org
|
15
15
|
[processing]: https://processing.org
|
16
|
-
|
16
|
+
[propane]: https://ruby-processing.github.io/propane/
|
17
17
|
[jruby_art]: https://ruby-processing.github.io/index.html
|
18
18
|
[color]: https://github.com/ruby-processing/JRubyArt-examples/blob/master/processing_app/basics/color/creating.rb
|
19
|
-
[map1d]:
|
19
|
+
[map1d]:https://github.com/ruby-processing/JRubyArt-examples/blob/master/processing_app/basics/arrays/array.rb
|
20
20
|
[blog]:https://monkstone.github.io/
|
data/examples/mouse_joint/box.rb
CHANGED
@@ -5,11 +5,12 @@
|
|
5
5
|
# Basic example of controlling an object with the mouse (by attaching a spring)
|
6
6
|
|
7
7
|
require 'pbox2d'
|
8
|
+
require 'forwardable'
|
8
9
|
require_relative 'box'
|
9
10
|
require_relative 'boundary'
|
10
11
|
require_relative 'spring'
|
11
12
|
require_relative 'dummy_spring'
|
12
|
-
|
13
|
+
|
13
14
|
|
14
15
|
# A reference to our box2d world
|
15
16
|
attr_reader :box2d, :boundaries, :box, :spring
|
data/lib/pbox2d/version.rb
CHANGED
data/pom.rb
CHANGED
@@ -2,7 +2,7 @@ require 'fileutils'
|
|
2
2
|
project 'pbox2d', 'https://github.com/ruby-processing/jbox2d' do
|
3
3
|
|
4
4
|
model_version '4.0.0'
|
5
|
-
id 'ruby-processing:pbox2d', '1.0.
|
5
|
+
id 'ruby-processing:pbox2d', '1.0.3'
|
6
6
|
packaging 'jar'
|
7
7
|
|
8
8
|
description 'jbox2d for JRubyArt and propane'
|
@@ -34,8 +34,8 @@ project 'pbox2d', 'https://github.com/ruby-processing/jbox2d' do
|
|
34
34
|
)
|
35
35
|
|
36
36
|
|
37
|
-
pom 'org.jruby:jruby:9.1.
|
38
|
-
jar 'org.processing:core:3.3.
|
37
|
+
pom 'org.jruby:jruby:9.1.16.0'
|
38
|
+
jar 'org.processing:core:3.3.6'
|
39
39
|
|
40
40
|
plugin_management do
|
41
41
|
plugin :resources, '2.6'
|
data/pom.xml
CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
|
|
11
11
|
<modelVersion>4.0.0</modelVersion>
|
12
12
|
<groupId>ruby-processing</groupId>
|
13
13
|
<artifactId>pbox2d</artifactId>
|
14
|
-
<version>1.0.
|
14
|
+
<version>1.0.3</version>
|
15
15
|
<name>pbox2d</name>
|
16
16
|
<description>jbox2d for JRubyArt and propane</description>
|
17
17
|
<url>https://github.com/ruby-processing/jbox2d</url>
|
@@ -56,13 +56,13 @@ DO NOT MODIFIY - GENERATED CODE
|
|
56
56
|
<dependency>
|
57
57
|
<groupId>org.jruby</groupId>
|
58
58
|
<artifactId>jruby</artifactId>
|
59
|
-
<version>9.1.
|
59
|
+
<version>9.1.16.0</version>
|
60
60
|
<type>pom</type>
|
61
61
|
</dependency>
|
62
62
|
<dependency>
|
63
63
|
<groupId>org.processing</groupId>
|
64
64
|
<artifactId>core</artifactId>
|
65
|
-
<version>3.3.
|
65
|
+
<version>3.3.6</version>
|
66
66
|
</dependency>
|
67
67
|
</dependencies>
|
68
68
|
<build>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pbox2d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Martin Prout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
323
|
version: '0'
|
324
324
|
requirements: []
|
325
325
|
rubyforge_project:
|
326
|
-
rubygems_version: 2.
|
326
|
+
rubygems_version: 2.7.5
|
327
327
|
signing_key:
|
328
328
|
specification_version: 4
|
329
329
|
summary: jbox2d wrapped in a gem for JRubyArt
|