propane 2.6.0-java → 2.6.1-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/{core-3.3.5.jar → core-3.3.6.jar} +0 -0
- data/lib/propane/version.rb +1 -1
- data/lib/propane.jar +0 -0
- data/library/slider/slider.rb +1 -1
- data/pom.rb +3 -3
- data/pom.xml +3 -3
- data/propane.gemspec +2 -2
- data/src/monkstone/ColorUtil.java +1 -1
- data/src/monkstone/MathToolModule.java +1 -1
- data/src/monkstone/PropaneLibrary.java +1 -1
- data/src/monkstone/fastmath/Deglut.java +1 -1
- data/src/monkstone/filechooser/Chooser.java +7 -7
- data/src/monkstone/slider/CustomHorizontalSlider.java +1 -1
- data/src/monkstone/slider/CustomVerticalSlider.java +1 -1
- data/src/monkstone/slider/SimpleHorizontalSlider.java +1 -1
- data/src/monkstone/slider/SimpleVerticalSlider.java +1 -1
- data/src/monkstone/slider/SliderBar.java +1 -1
- data/src/monkstone/slider/SliderGroup.java +1 -1
- data/src/monkstone/slider/WheelHandler.java +1 -1
- data/src/monkstone/vecmath/package-info.java +1 -1
- data/src/monkstone/vecmath/vec2/Vec2.java +1 -1
- data/src/monkstone/vecmath/vec3/Vec3.java +1 -1
- data/src/monkstone/videoevent/VideoInterface.java +1 -1
- data/src/monkstone/videoevent/package-info.java +1 -1
- metadata +5 -5
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: c180c9608a7070063de7534892e0901c906ee6da
         | 
| 4 | 
            +
              data.tar.gz: a6b76bcf18c23aa49c92488bdc99e507b57e048c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 14d13c0d73c9569614a601b37dd7d08ee047f060096523777f767807482a1783433a1f54a6eb594b0966a7628eab7ec47addb166e37d590f667dc34dd66f12df
         | 
| 7 | 
            +
              data.tar.gz: 951952fcf4147f075e60dce534ed2fc69f829a009b5a532d01b08bb62d6b687e2bb6f7ce857c764887d74e3b23e946339ecfe0aea9648406305c8576549327a0
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,4 +1,6 @@ | |
| 1 | 
            -
            **v2.6. | 
| 1 | 
            +
            **v2.6.1** Bump processing version, bump recommended jruby version.
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            **v2.6.0** Refactored `LibraryLoader` knows less about `Library` class.  The library class _knows_ about paths, and checks that they exist. Features ability to load GLVideo library, that will surely be the future for video (supports gstreamer-1.0 instead of gstreamer-0.1.0 that has already been dropped by some linux distros).
         | 
| 2 4 |  | 
| 3 5 | 
             
            **v2.5.5** Intermediate `refactored_library` loader, can be release if required but still not there as regards refactor goals.
         | 
| 4 6 |  | 
    
        data/README.md
    CHANGED
    
    | @@ -1,12 +1,12 @@ | |
| 1 1 | 
             
            # Propane
         | 
| 2 2 | 
             
            [](https://badge.fury.io/rb/propane) [](https://travis-ci.org/ruby-processing/propane)
         | 
| 3 3 |  | 
| 4 | 
            -
            A slim layer to communicate with Processing from JRuby, features a polyglot maven build. We have created a configuration free version of ruby processing, for processing-3.3. | 
| 4 | 
            +
            A slim layer to communicate with Processing from JRuby, features a polyglot maven build. We have created a configuration free version of ruby processing, for processing-3.3.6, where we include processing core (from a local maven repository and opengl etc from maven central). These jars are small enough to include in a gem distribution, and hence we do not require configuration. This has created a scriptable version, ie files get run direct from jruby, but you could use jruby-complete if you used the propane script (avoids need to give the absolute data path for the data folder, but would also be needed for a watch mode). See guide to [building ruby-processing projects][building].
         | 
| 5 5 |  | 
| 6 6 | 
             
            NB: The main reason for build failing is when the `core.jar` is not available from maven central, to install a local jar (_example for linux mint_):-
         | 
| 7 7 | 
             
            ```bash
         | 
| 8 8 |  | 
| 9 | 
            -
            mvn install:install-file /home/tux/processing-3.3. | 
| 9 | 
            +
            mvn install:install-file /home/tux/processing-3.3.6/core/library/core.jar -DgroupId=org.processing -DartifactId=core -Dversion=3.3.6
         | 
| 10 10 | 
             
            ```
         | 
| 11 11 | 
             
            adjust above for your OS/distro setup.
         | 
| 12 12 |  | 
| @@ -15,7 +15,7 @@ adjust above for your OS/distro setup. | |
| 15 15 | 
             
            - jdk8+
         | 
| 16 16 | 
             
            - jruby-9.1.12.0
         | 
| 17 17 | 
             
            - mvn-3.5.0+
         | 
| 18 | 
            -
            - core.jar processing-3.3. | 
| 18 | 
            +
            - core.jar processing-3.3.6 (_build only_)
         | 
| 19 19 |  | 
| 20 20 | 
             
            ## Building and testing
         | 
| 21 21 |  | 
    
        data/Rakefile
    CHANGED
    
    | @@ -7,7 +7,7 @@ def create_manifest | |
| 7 7 | 
             
              File.open('MANIFEST.MF', 'w') do |f|
         | 
| 8 8 | 
             
                f.puts(title)
         | 
| 9 9 | 
             
                f.puts(version)
         | 
| 10 | 
            -
                f.puts('Class-Path: core-3.3. | 
| 10 | 
            +
                f.puts('Class-Path: core-3.3.6.jar gluegen-rt-2.3.2.jar jog-all-2.3.2.jar')
         | 
| 11 11 | 
             
              end
         | 
| 12 12 | 
             
            end
         | 
| 13 13 |  | 
| Binary file | 
    
        data/lib/propane/version.rb
    CHANGED
    
    
    
        data/lib/propane.jar
    CHANGED
    
    | Binary file | 
    
        data/library/slider/slider.rb
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            # frozen_string_literal: true
         | 
| 2 2 | 
             
            # Here's a little library for quickly hooking up in sketch sliders.
         | 
| 3 | 
            -
            # Copyright (c) 2016 Martin Prout.
         | 
| 3 | 
            +
            # Copyright (c) 2016-17 Martin Prout.
         | 
| 4 4 |  | 
| 5 5 | 
             
            java_import 'monkstone.slider.CustomHorizontalSlider'
         | 
| 6 6 | 
             
            java_import 'monkstone.slider.CustomVerticalSlider'
         | 
    
        data/pom.rb
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            require 'fileutils'
         | 
| 2 2 | 
             
            project 'rp5extras', 'https://github.com/monkstone/propane' do
         | 
| 3 3 | 
             
              model_version '4.0.0'
         | 
| 4 | 
            -
              id 'propane:propane', '2.6. | 
| 4 | 
            +
              id 'propane:propane', '2.6.1'
         | 
| 5 5 | 
             
              packaging 'jar'
         | 
| 6 6 | 
             
              description 'rp5extras for propane'
         | 
| 7 7 | 
             
              organization 'ruby-processing', 'https://ruby-processing.github.io'
         | 
| @@ -33,7 +33,7 @@ project 'rp5extras', 'https://github.com/monkstone/propane' do | |
| 33 33 | 
             
                )
         | 
| 34 34 |  | 
| 35 35 | 
             
              pom 'org.jruby:jruby:9.1.12.0'
         | 
| 36 | 
            -
              jar 'org.processing:core:3.3. | 
| 36 | 
            +
              jar 'org.processing:core:3.3.6'
         | 
| 37 37 | 
             
              jar 'org.processing:video:3.0.2'
         | 
| 38 38 | 
             
              jar('org.jogamp.jogl:jogl-all:${jogl.version}')
         | 
| 39 39 | 
             
              jar('org.jogamp.gluegen:gluegen-rt-main:${jogl.version}')
         | 
| @@ -44,7 +44,7 @@ project 'rp5extras', 'https://github.com/monkstone/propane' do | |
| 44 44 | 
             
                  execute_goals( id: 'default-cli',
         | 
| 45 45 | 
             
                    artifactItems: [ { groupId:  'org.processing',
         | 
| 46 46 | 
             
                      artifactId:  'core',
         | 
| 47 | 
            -
                      version:  '3.3. | 
| 47 | 
            +
                      version:  '3.3.6',
         | 
| 48 48 | 
             
                      type:  'jar',
         | 
| 49 49 | 
             
                      outputDirectory: '${propane.basedir}/lib'
         | 
| 50 50 | 
             
                    },
         | 
    
        data/pom.xml
    CHANGED
    
    | @@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE | |
| 11 11 | 
             
              <modelVersion>4.0.0</modelVersion>
         | 
| 12 12 | 
             
              <groupId>propane</groupId>
         | 
| 13 13 | 
             
              <artifactId>propane</artifactId>
         | 
| 14 | 
            -
              <version>2.6. | 
| 14 | 
            +
              <version>2.6.1</version>
         | 
| 15 15 | 
             
              <name>rp5extras</name>
         | 
| 16 16 | 
             
              <description>rp5extras for propane</description>
         | 
| 17 17 | 
             
              <url>https://github.com/monkstone/propane</url>
         | 
| @@ -64,7 +64,7 @@ DO NOT MODIFIY - GENERATED CODE | |
| 64 64 | 
             
                <dependency>
         | 
| 65 65 | 
             
                  <groupId>org.processing</groupId>
         | 
| 66 66 | 
             
                  <artifactId>core</artifactId>
         | 
| 67 | 
            -
                  <version>3.3. | 
| 67 | 
            +
                  <version>3.3.6</version>
         | 
| 68 68 | 
             
                </dependency>
         | 
| 69 69 | 
             
                <dependency>
         | 
| 70 70 | 
             
                  <groupId>org.processing</groupId>
         | 
| @@ -103,7 +103,7 @@ DO NOT MODIFIY - GENERATED CODE | |
| 103 103 | 
             
                              <artifactItem>
         | 
| 104 104 | 
             
                                <groupId>org.processing</groupId>
         | 
| 105 105 | 
             
                                <artifactId>core</artifactId>
         | 
| 106 | 
            -
                                <version>3.3. | 
| 106 | 
            +
                                <version>3.3.6</version>
         | 
| 107 107 | 
             
                                <type>jar</type>
         | 
| 108 108 | 
             
                                <outputDirectory>${propane.basedir}/lib</outputDirectory>
         | 
| 109 109 | 
             
                              </artifactItem>
         | 
    
        data/propane.gemspec
    CHANGED
    
    | @@ -10,11 +10,11 @@ Gem::Specification.new do |gem| | |
| 10 10 | 
             
              gem.email         = ['mamba2928@yahoo.co.uk']
         | 
| 11 11 | 
             
              gem.licenses     = %w(GPL-3.0 LGPL-2.0)
         | 
| 12 12 | 
             
              gem.description   = %q{A batteries included version of processing in ruby, MacOS and linux64}
         | 
| 13 | 
            -
              gem.summary       = %q{ruby wrapper for processing-3.3. | 
| 13 | 
            +
              gem.summary       = %q{ruby wrapper for processing-3.3.6 on MacOS and linux64 bit only for opengl}
         | 
| 14 14 | 
             
              gem.homepage      = 'https://ruby-processing.github.io/propane/'
         | 
| 15 15 | 
             
              gem.files         = `git ls-files`.split($/)
         | 
| 16 16 | 
             
              gem.files << 'lib/propane.jar'
         | 
| 17 | 
            -
              gem.files << 'lib/core-3.3. | 
| 17 | 
            +
              gem.files << 'lib/core-3.3.6.jar'
         | 
| 18 18 | 
             
              gem.files << 'lib/gluegen-rt-2.3.2.jar'
         | 
| 19 19 | 
             
              gem.files << 'lib/jogl-all-2.3.2.jar'
         | 
| 20 20 | 
             
              gem.files << 'lib/gluegen-rt-2.3.2-natives-linux-amd64.jar'
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
             * in their sketches. Includes a method to efficiently convert an array of web
         | 
| 4 4 | 
             
             * strings to an array of color int, and another to convert an array of color
         | 
| 5 5 | 
             
             * int to a string that can be used in ruby code (to generate web color array).
         | 
| 6 | 
            -
             * Copyright (c) 2015- | 
| 6 | 
            +
             * Copyright (c) 2015-17 Martin Prout.
         | 
| 7 7 | 
             
             * This utility is free software; you can redistribute it and/or modify
         | 
| 8 8 | 
             
             * it under the terms of the GNU Lesser General Public License as published by
         | 
| 9 9 | 
             
             * the Free Software Foundation; either version 2.1 of the License, or (at
         | 
| @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            /**
         | 
| 2 2 | 
             
             * The purpose of this tool is to allow propane users to use an alternative
         | 
| 3 3 | 
             
             * to processing.org map, lerp and norm methods in their sketches
         | 
| 4 | 
            -
             * Copyright (c) 2015- | 
| 4 | 
            +
             * Copyright (c) 2015-17 Martin Prout. This tool is free software; you can
         | 
| 5 5 | 
             
             * redistribute it and/or modify it under the terms of the GNU Lesser General
         | 
| 6 6 | 
             
             * Public License as published by the Free Software Foundation; either version
         | 
| 7 7 | 
             
             * 2.1 of the License, or (at your option) any later version.
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            /**
         | 
| 2 2 | 
             
             * The purpose of this class is to load the MathTool into ruby-processing runtime 
         | 
| 3 | 
            -
             * Copyright (C) 2015- | 
| 3 | 
            +
             * Copyright (C) 2015-17 Martin Prout. This code is free software; you can 
         | 
| 4 4 | 
             
             * redistribute it and/or modify it under the terms of the GNU Lesser General
         | 
| 5 5 | 
             
             * Public License as published by the Free Software Foundation; either version 
         | 
| 6 6 | 
             
             * 2.1 of the License, or (at your option) any later version.
         | 
| @@ -1,18 +1,18 @@ | |
| 1 | 
            -
            /* | 
| 2 | 
            -
             * Copyright (c) 2016 Martin Prout
         | 
| 3 | 
            -
             * | 
| 1 | 
            +
            /*
         | 
| 2 | 
            +
             * Copyright (c) 2016-17 Martin Prout
         | 
| 3 | 
            +
             *
         | 
| 4 4 | 
             
             * This library is free software; you can redistribute it and/or
         | 
| 5 5 | 
             
             * modify it under the terms of the GNU Lesser General Public
         | 
| 6 6 | 
             
             * License as published by the Free Software Foundation; either
         | 
| 7 7 | 
             
             * version 2.1 of the License, or (at your option) any later version.
         | 
| 8 | 
            -
             * | 
| 8 | 
            +
             *
         | 
| 9 9 | 
             
             * http://creativecommons.org/licenses/LGPL/2.1/
         | 
| 10 | 
            -
             * | 
| 10 | 
            +
             *
         | 
| 11 11 | 
             
             * This library is distributed in the hope that it will be useful,
         | 
| 12 12 | 
             
             * but WITHOUT ANY WARRANTY; without even the implied warranty of
         | 
| 13 13 | 
             
             * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         | 
| 14 14 | 
             
             * Lesser General Public License for more details.
         | 
| 15 | 
            -
             * | 
| 15 | 
            +
             *
         | 
| 16 16 | 
             
             * You should have received a copy of the GNU Lesser General Public
         | 
| 17 17 | 
             
             * License along with this library; if not, write to the Free Software
         | 
| 18 18 | 
             
             * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
         | 
| @@ -39,6 +39,6 @@ import java.io.File; | |
| 39 39 | 
             
             * @author Martin Prout
         | 
| 40 40 | 
             
             */
         | 
| 41 41 | 
             
            public interface Chooser {
         | 
| 42 | 
            -
             | 
| 42 | 
            +
             | 
| 43 43 | 
             
                public void file_selected(File selection);
         | 
| 44 44 | 
             
            }
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: propane
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.6. | 
| 4 | 
            +
              version: 2.6.1
         | 
| 5 5 | 
             
            platform: java
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - monkstone
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017- | 
| 11 | 
            +
            date: 2017-09-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rake
         | 
| @@ -79,7 +79,7 @@ files: | |
| 79 79 | 
             
            - Rakefile
         | 
| 80 80 | 
             
            - bin/propane
         | 
| 81 81 | 
             
            - lib/PROCESSING_LICENSE.txt
         | 
| 82 | 
            -
            - lib/core-3.3. | 
| 82 | 
            +
            - lib/core-3.3.6.jar
         | 
| 83 83 | 
             
            - lib/export.txt
         | 
| 84 84 | 
             
            - lib/gluegen-rt-2.3.2-natives-linux-amd64.jar
         | 
| 85 85 | 
             
            - lib/gluegen-rt-2.3.2-natives-macosx-universal.jar
         | 
| @@ -171,10 +171,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 171 171 | 
             
                  version: '0'
         | 
| 172 172 | 
             
            requirements: []
         | 
| 173 173 | 
             
            rubyforge_project: 
         | 
| 174 | 
            -
            rubygems_version: 2. | 
| 174 | 
            +
            rubygems_version: 2.6.13
         | 
| 175 175 | 
             
            signing_key: 
         | 
| 176 176 | 
             
            specification_version: 4
         | 
| 177 | 
            -
            summary: ruby wrapper for processing-3.3. | 
| 177 | 
            +
            summary: ruby wrapper for processing-3.3.6 on MacOS and linux64 bit only for opengl
         | 
| 178 178 | 
             
            test_files:
         | 
| 179 179 | 
             
            - test/create_test.rb
         | 
| 180 180 | 
             
            - test/deglut_spec_test.rb
         |