File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
6
6
version_rb = File . expand_path ( 'lib/jopenssl/version.rb' , File . dirname ( __FILE__ ) )
7
7
version_rb = File . read ( version_rb )
8
- s . version = version_rb . match ( /.*VERSION \ s *=\s *['"](.*)['"]/m ) [ 1 ]
8
+ s . version = version_rb . match ( /.*\s VERSION \ s *=\s *['"](.*)['"]/ ) [ 1 ]
9
9
10
10
s . platform = 'java'
11
11
s . authors = [ 'Ola Bini' , 'JRuby contributors' ]
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
select { |f | f =~ /^(lib)/ || f =~ /^History|LICENSE|README|Rakefile/i } +
23
23
Dir . glob ( 'lib/**/*.jar' ) # 'lib/jopenssl.jar' and potentially BC jars
24
24
25
- bc_version = version_rb . match ( /.*BOUNCY_CASTLE_VERSION \ s *=\s *['"](.*)['"]/m ) [ 1 ]
25
+ bc_version = version_rb . match ( /.*\s BOUNCY_CASTLE_VERSION \ s *=\s *['"](.*)['"]/ ) [ 1 ]
26
26
raise 'BOUNCY_CASTLE_VERSION not matched' if ( bc_version || '' ) . empty?
27
27
28
28
s . requirements << "jar org.bouncycastle:bcpkix-jdk15on, #{ bc_version } "
You can’t perform that action at this time.
0 commit comments