ruby_wordcram 2.0.6 → 2.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74e3ab5e7ad6b83f1d10115656ffa3498736013372e794dcf1bf46e9565501f2
4
- data.tar.gz: 247c74a5363978b52217e8f570033ed23adbcec8f082562a360db8c3cc2613ac
3
+ metadata.gz: f67a20075948cc04d634d7c32b26bbc89cdb03f89efa8330eaba5ef4394b2a69
4
+ data.tar.gz: e9cd1d0bb29d21aa38d9b306abc84eda15dbc1a1b4ca43f27b4ca4b2aafe8972
5
5
  SHA512:
6
- metadata.gz: 6562decf79d471e76a115ffccf3b06ffb5434ef59fcd3520d468813064718593b726ac268fc8729d74b98b8f9a954c0ff8d27e2d14c0288c80176ba19abf8f63
7
- data.tar.gz: f31c908dee03e5d5338050079ebcf0d8b3fb81828df8d943c9e48f399019c639a102ddf9070f30780c774fefc395484f2c48fc629b822401d52b346b4c38fbf4
6
+ metadata.gz: abed2f62c1d4f4d5bbc8dec55713dde10ad66db56c9740a4119296f0a2cf6727e0dd15b7722e6d1046d62b3e72d2f70b8b262dc60d96f8d612628adac4138027
7
+ data.tar.gz: cf0a0b50fd4541bc921a78ca7bb5518e30745864d5b31c1b2f128d2c67fdf63270d5a42a22557f821715e6eecd6c50fc9fd39a567d047a79cffe88d80ae015cf
data/.mvn/extensions.xml CHANGED
@@ -3,6 +3,6 @@
3
3
  <extension>
4
4
  <groupId>io.takari.polyglot</groupId>
5
5
  <artifactId>polyglot-ruby</artifactId>
6
- <version>0.4.4</version>
6
+ <version>0.4.6</version>
7
7
  </extension>
8
8
  </extensions>
@@ -1 +1,2 @@
1
- distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip
1
+ distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
2
+ wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
- **v2.0.5**
2
- Bump jsoup-1.13.1 version for PiCrate-1.2.2+, JRubyArt-1.2.2+, propane-3.4.0+
1
+ **v2.1.0** for PiCrate-2.4.0+, JRubyArt-2.5.0+, propane-3.10.0+
2
+
3
+ **v2.0.6**
4
+ Bump jsoup-1.13.1 version
3
5
 
4
6
  **v2.0.5**
5
7
  Bump jsoup-1.12.1 version for PiCrate-1.2.2+, JRubyArt-1.2.2+, propane-3.4.0+
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Word Cram
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/ruby_wordcram.svg)](https://badge.fury.io/rb/ruby_wordcram) [![Travis CI](https://travis-ci.org/ruby-processing/WordCram.svg)](https://travis-ci.org/ruby-processing/WordCram)
3
+ [![Gem Version](https://badge.fury.io/rb/ruby_wordcram.svg)](https://badge.fury.io/rb/ruby_wordcram)
4
4
 
5
5
  A gem wrapper for the WordCram library
6
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WordCram
4
- VERSION = '2.0.6'.freeze
4
+ VERSION = '2.1.0'.freeze
5
5
  end
data/pom.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  project 'Wordcram' do
2
2
 
3
3
  model_version '4.0.0'
4
- id 'wordcram:WordCram:2.0.6'
4
+ id 'wordcram:WordCram:2.1.0'
5
5
  packaging 'jar'
6
6
 
7
- description 'WordCram for JRubyArt and propane'
7
+ description 'WordCram for JRubyArt, PiCrate and propane'
8
8
 
9
9
  developer 'danbernier' do
10
10
  name 'Dan Bernier'
data/pom.xml CHANGED
@@ -2,18 +2,18 @@
2
2
  <!--
3
3
 
4
4
 
5
- DO NOT MODIFIY - GENERATED CODE
5
+ DO NOT MODIFY - GENERATED CODE
6
6
 
7
7
 
8
8
  -->
9
- <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
9
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
10
10
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>wordcram</groupId>
13
13
  <artifactId>WordCram</artifactId>
14
- <version>2.0.6</version>
14
+ <version>2.1.0</version>
15
15
  <name>Wordcram</name>
16
- <description>WordCram for JRubyArt and propane</description>
16
+ <description>WordCram for JRubyArt, PiCrate and propane</description>
17
17
  <developers>
18
18
  <developer>
19
19
  <id>danbernier</id>
@@ -19,5 +19,5 @@ Gem::Specification.new do |spec|
19
19
  spec.files << 'lib/WordCram.jar'
20
20
  spec.files << 'lib/jsoup-1.13.1.jar'
21
21
  spec.require_paths = ['lib']
22
- spec.add_development_dependency 'rake', '~> 12', '>= 12.0'
22
+ spec.add_development_dependency 'rake', '~> 13', '>= 13.0'
23
23
  end
@@ -52,7 +52,7 @@ public class SentenceIterator extends IterableText {
52
52
  }
53
53
 
54
54
  private static final Pattern ABBREVS = Pattern
55
- .compile("(?:Mrs?|Ms|Dr|Rev)\\.\\s*$");
55
+ .compile("(?:Mrs?|Ms|Dr|Rev|e.g|i.e)\\.\\s*$");
56
56
 
57
57
  private void advance() {
58
58
  start = end;
@@ -271,7 +271,7 @@ public class WordCram {
271
271
 
272
272
  /**
273
273
  * Make a WordCram from the text in any elements on a web page that match the
274
- * <tt>cssSelector</tt>.
274
+ * <b>cssSelector</b>.
275
275
  * Just before the WordCram is drawn, it'll load the web page's HTML, scrape
276
276
  * out the text, and count and sort the words.
277
277
  *
@@ -303,7 +303,7 @@ public class WordCram {
303
303
 
304
304
  /**
305
305
  * Make a WordCram from the text in any elements on a web page that match the
306
- * <tt>cssSelector</tt>.
306
+ * <b>cssSelector</b>.
307
307
  * Just before the WordCram is drawn, it'll load the file's HTML, scrape out the text,
308
308
  * and count and sort the words.
309
309
  *
@@ -709,6 +709,7 @@ public class WordCram {
709
709
  * @param canvas the canvas to draw to
710
710
  * @return The WordCram, for further setup or drawing.
711
711
  */
712
+ @Deprecated
712
713
  public WordCram withCustomCanvas(PGraphics canvas) {
713
714
  return toCanvas(canvas);
714
715
  }
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.6
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bernier
@@ -10,28 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-06-09 00:00:00.000000000 Z
13
+ date: 2021-04-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
20
- - !ruby/object:Gem::Version
21
- version: '12.0'
22
19
  - - "~>"
23
20
  - !ruby/object:Gem::Version
24
- version: '12'
21
+ version: '13'
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: '13.0'
25
25
  type: :development
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
- - - ">="
30
- - !ruby/object:Gem::Version
31
- version: '12.0'
32
29
  - - "~>"
33
30
  - !ruby/object:Gem::Version
34
- version: '12'
31
+ version: '13'
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '13.0'
35
35
  description: " WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-2.5.0\n"
36
36
  email: mamba2928@yahoo.co.uk
37
37
  executables: []
@@ -43,7 +43,6 @@ files:
43
43
  - ".gitignore"
44
44
  - ".mvn/extensions.xml"
45
45
  - ".mvn/wrapper/maven-wrapper.properties"
46
- - ".travis.yml"
47
46
  - CHANGELOG.md
48
47
  - LICENSE
49
48
  - README.md
@@ -188,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
187
  - !ruby/object:Gem::Version
189
188
  version: '0'
190
189
  requirements: []
191
- rubygems_version: 3.0.6
190
+ rubygems_version: 3.1.2
192
191
  signing_key:
193
192
  specification_version: 4
194
193
  summary: Updated and extended WordCram library for JRubyArt and propane
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- language: ruby
2
- sudo: false
3
-
4
- rvm:
5
- - jruby-9.2.11.1
6
- jdk:
7
- - oraclejdk11
8
- os:
9
- - linux