ruby_wordcram 2.0.1 → 2.0.2
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/.mvn/extensions.xml +1 -1
- data/CHANGELOG.md +9 -0
- data/lib/ruby_wordcram/version.rb +1 -1
- data/pom.rb +1 -1
- data/pom.xml +1 -1
- data/ruby_wordcram.gemspec +1 -1
- data/src/wordcram/Word.java +2 -0
- data/src/wordcram/WordAngler.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: 3d1d4c20d32b7735a5179e0eb4a02ea6e8f7f2d6
|
4
|
+
data.tar.gz: f80db6e737890a532962a5c6ce628f69937a2b2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad92d865d2cfc82564ed25bbeca84597034bd75e272c5d4812e1b7531103f275ae0d2e5d01c91ec1e84677db2bddcadd049cd5cad7e2a964f10203ad2424d96e
|
7
|
+
data.tar.gz: 46a3c1b7c0a67a6a362e3d5d13b73a193998c24de5f22eec6c43dd02c491476ab7800d9e2cdf42b2ee7c294a2c08130a755863708742727f4fc46db069a0236d
|
data/.mvn/extensions.xml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -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)
|
data/pom.rb
CHANGED
data/pom.xml
CHANGED
data/ruby_wordcram.gemspec
CHANGED
@@ -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.
|
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}
|
data/src/wordcram/Word.java
CHANGED
@@ -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) {
|
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.
|
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
|
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.
|
36
|
-
and processing-3.
|
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.
|
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
|