glycobook 0.1.0.alpha.26-java → 0.1.0.alpha.27-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wurcsverify.rb +9 -9
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85778515c6bb06cddc7c8a4585ba7b8221e5f0c128b52182c8da8892979ccd09
4
- data.tar.gz: fb5da58cc677ab39d7c2fec3f0951513a07e2482862c502dcd9245deae87383e
3
+ metadata.gz: 6272e65de448b555e008b0cf21a3669e8f32a224f655767be5e1a1f1eb3ceeec
4
+ data.tar.gz: b2592c9d2276fe74935a3b7344540af16c97c08137d54129d0e340da0b17fcc3
5
5
  SHA512:
6
- metadata.gz: 522239fa63aa56f53ad882acc1936c4ac4ac17731a043e95ae8a6e9bdd36c41c4bd3a3b4a8fd6855311ef3853af34370320c509a4c4f1f6c9bca351e6485bac8
7
- data.tar.gz: 913af58afa9769074e7a2478c03a9317edbaa4712a136bf300d5a4e17bea3d8c9574c38266f169753eab2def76e72b39a04369dbdc0d3e81cfff940439772549
6
+ metadata.gz: e35c8a97d6e542603d803810c03f67a7357fda07f14d8d62fc3d34fc0d0728b30431d39110db5e2dd68383e8f4c756be64821f79bf3160c1e27fd634a9b2d38d
7
+ data.tar.gz: a9bc9acdb39e2c8081e214339c66559f5c8cc14f35e0e3dd542df97342b8a4318e94acc67062d290c19158b59a183efef4b7abbc1357c1cf6155fe8a0831b410
data/lib/wurcsverify.rb CHANGED
@@ -11,10 +11,10 @@ java_import 'org.slf4j.Logger'
11
11
 
12
12
  class WurcsVerify
13
13
  def initialize
14
- @wfw_latest_loader = self.create_custom_classloader("jar/wurcsframework-1.2.14.jar")
15
- @wfw_101_loader = self.create_custom_classloader("jar/wurcsframework-1.3.1.jar")
16
- @validator_latest = java.lang.Class.forName("org.glycoinfo.WURCSFramework.util.validation.WURCSValidator",true,@wfw_latest_loader)
17
- @validator_101 = java.lang.Class.forName("org.glycoinfo.WURCSFramework.util.validation.WURCSValidator", true, @wfw_101_loader)
14
+ @wfw_glytoucan_loader = self.create_custom_classloader("jar/wurcsframework-1.2.14.jar")
15
+ @wfw_131_loader = self.create_custom_classloader("jar/wurcsframework-1.3.1.jar")
16
+ @validator_glytoucan = java.lang.Class.forName("org.glycoinfo.WURCSFramework.util.validation.WURCSValidator",true,@wfw_glytoucan_loader)
17
+ @validator_131 = java.lang.Class.forName("org.glycoinfo.WURCSFramework.util.validation.WURCSValidator", true, @wfw_131_loader)
18
18
  end
19
19
 
20
20
  def create_custom_classloader(jar_path)
@@ -24,13 +24,13 @@ class WurcsVerify
24
24
  end
25
25
 
26
26
  def validatorVerify(w)
27
- v_latest = @validator_latest.new_instance
28
- v_latest.start(w)
27
+ v_glytoucan = @validator_glytoucan.new_instance
28
+ v_glytoucan.start(w)
29
29
 
30
- v_101 = @validator_101.new_instance
31
- v_101.start(w)
30
+ v_131 = @validator_131.new_instance
31
+ v_131.start(w)
32
32
 
33
- ret = {"1.2.14" => self.dovalidator(v_latest),
33
+ ret = {"1.2.14" => self.dovalidator(v_glytoucan),
34
34
  "1.3.1" => self.dovalidator131(v_131) }
35
35
  return ret
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glycobook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha.26
4
+ version: 0.1.0.alpha.27
5
5
  platform: java
6
6
  authors:
7
7
  - Akihiro Fujita