ruby_wordcram 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d472f8ac87f00a98bf9936e51ee22520775fd25
4
- data.tar.gz: c2d9953b6a7ce9b0f4899e0912c666cb45ba2301
3
+ metadata.gz: 3d1d4c20d32b7735a5179e0eb4a02ea6e8f7f2d6
4
+ data.tar.gz: f80db6e737890a532962a5c6ce628f69937a2b2c
5
5
  SHA512:
6
- metadata.gz: '08a6898e378a4069e8e2cbc380d22d488396b4e14f5a5448760e7bc66bcd30bb3286d9455d77777b7988b5d77566d1d68866b99d5a5a7c37dcee2b20ace3b553'
7
- data.tar.gz: c8cb64646d9c30b45f67b97abb9d541d21dcd09bc8ac283e89cd452d89f5f8b4862ee8efec3230390ec6951ba711a23c00a1b60adc3b2fbfb2955114a5903664
6
+ metadata.gz: ad92d865d2cfc82564ed25bbeca84597034bd75e272c5d4812e1b7531103f275ae0d2e5d01c91ec1e84677db2bddcadd049cd5cad7e2a964f10203ad2424d96e
7
+ data.tar.gz: 46a3c1b7c0a67a6a362e3d5d13b73a193998c24de5f22eec6c43dd02c491476ab7800d9e2cdf42b2ee7c294a2c08130a755863708742727f4fc46db069a0236d
@@ -3,6 +3,6 @@
3
3
  <extension>
4
4
  <groupId>io.takari.polyglot</groupId>
5
5
  <artifactId>polyglot-ruby</artifactId>
6
- <version>0.1.19</version>
6
+ <version>0.2.1</version>
7
7
  </extension>
8
8
  </extensions>
@@ -1,3 +1,12 @@
1
+ **v2.0.2**
2
+ JRubyArt-1.4.2 and processing-3.5
3
+
4
+ **v2.0.1**
5
+ JRubyArt-1.3.3 and processing-3.4
6
+
7
+ **v2.0.0**
8
+ We now compile our own version of WordCram, which for this release is essentially the the same code as Dan Bernier (and Jonathan Feinberg cue.language), except we have dropped java-1.5 compatibility in favour of updating to JDK8. So where possible instead of using an anonymous class expression, we now use a lambda expression, and other jdk goodness. Future releases might actually include some jruby java code to compile. Update to use jsoup-1.10.2.jar
9
+
1
10
  **v1.0.2** Bump for processing and jsoup updates add travis
2
11
 
3
12
  **v1.0.1** Supports Placers, specifically ShapeBasedPlacer, and Observer (hence callbacks)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WordCram
4
- VERSION = '2.0.1'.freeze
4
+ VERSION = '2.0.2'.freeze
5
5
  end
data/pom.rb CHANGED
@@ -30,7 +30,7 @@ project 'Wordcram' do
30
30
  } )
31
31
  end
32
32
 
33
- jar 'org.processing:core:3.3.4'
33
+ jar 'org.processing:core:3.3.5'
34
34
  jar 'org.jsoup:jsoup:1.10.3'
35
35
 
36
36
  build do
data/pom.xml CHANGED
@@ -53,7 +53,7 @@ DO NOT MODIFIY - GENERATED CODE
53
53
  <dependency>
54
54
  <groupId>org.processing</groupId>
55
55
  <artifactId>core</artifactId>
56
- <version>3.3.4</version>
56
+ <version>3.3.5</version>
57
57
  </dependency>
58
58
  <dependency>
59
59
  <groupId>org.jsoup</groupId>
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.extra_rdoc_files = %w{README.md LICENSE}
11
11
  spec.summary = %q{Updated and extended WordCram library for JRubyArt and propane}
12
12
  spec.description =<<-EOS
13
- WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-1.3.3 and processing-3.4
13
+ WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-1.4.2 and processing-3.5
14
14
  EOS
15
15
  spec.licenses = %w{Apache-2.0}
16
16
  spec.authors = %w{Dan\ Bernier Jonathan\ Feinberg Martin\ Prout}
@@ -290,6 +290,7 @@ public class Word implements Comparable<Word> {
290
290
  /**
291
291
  * Displays the word, and its weight (in parentheses).
292
292
  * <code>new Word("hello", 1.3).toString()</code> will return "hello (0.3)".
293
+ * @return
293
294
  */
294
295
  @Override
295
296
  public String toString() {
@@ -309,6 +310,7 @@ public class Word implements Comparable<Word> {
309
310
  /**
310
311
  * Compares Words based on weight only. Words with equal weight are arbitrarily sorted.
311
312
  * @param w
313
+ * @return
312
314
  */
313
315
  @Override
314
316
  public int compareTo(Word w) {
@@ -16,5 +16,5 @@ public interface WordAngler {
16
16
  * The Word that WordCram is about to draw, and wants to rotate
17
17
  * @return the rotation angle for the Word, in radians
18
18
  */
19
- public float angleFor(wordcram.Word word);
19
+ public float angleFor(Word word);
20
20
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_wordcram
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bernier
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-06-17 00:00:00.000000000 Z
13
+ date: 2017-10-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -32,8 +32,8 @@ dependencies:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '12.0'
35
- description: " WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-1.3.3
36
- and processing-3.4\n"
35
+ description: " WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-1.4.2
36
+ and processing-3.5\n"
37
37
  email: mamba2928@yahoo.co.uk
38
38
  executables: []
39
39
  extensions: []
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.6.11
191
+ rubygems_version: 2.6.13
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Updated and extended WordCram library for JRubyArt and propane