Skip to content

Commit 91fcf54

Browse files
committed
expand support for Placers
1 parent 95bdf11 commit 91fcf54

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**v1.0.1** Supports Placers, specifically ShapeBasedPlacer
2+
3+
**v1.0.0** First release depends on WordCram-1.0 to supply jars

lib/ruby_wordcram.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
require 'WordCram.jar'
44
require 'jsoup-1.7.2.jar'
55
require 'cue.language.jar'
6-
%w(Colorers Word WordAngler WordColorer WordCram WordFonter WordPlacer).each do |klass|
6+
wc = %w(WordAngler WordColorer WordCram WordFonter WordPlacer WordSkipReason)
7+
sh = %w(Colorers ImageShaper Placers Word ShapeBasedPlacer)
8+
WC = wc.concat(sh).freeze
9+
WC.each do |klass|
710
java_import "wordcram.#{klass}"
811
end
912
end

lib/ruby_wordcram/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22
module WordCram
3-
VERSION = '1.0.0'.freeze
3+
VERSION = '1.0.1'.freeze
44
end

0 commit comments

Comments
 (0)