charlock_holmes-jruby 0.1.1-java → 0.1.2-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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- charlock_holmes-jruby (0.1.1-java)
4
+ charlock_holmes-jruby (0.1.2-java)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -2,11 +2,11 @@ module CharlockHolmes
2
2
  module Converter
3
3
  extend self
4
4
 
5
- def convert(string, from, to)
5
+ def convert(string, from, to, options={})
6
6
  raise TypeError.new("string cannot be nil") unless string
7
7
  raise TypeError.new("from cannot be nil") unless from
8
8
  raise TypeError.new("to cannot be nil") unless to
9
- string.encode(to, from)
9
+ string.encode(to, from, options)
10
10
  end
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module CharlockHolmes
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  ICU_VERSION = "51.1"
4
4
  ICU_JAR_FILENAME = "icu4j-51_1.jar"
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: charlock_holmes-jruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: java
7
7
  authors:
8
8
  - Francis Chong