glycobook 0.1.0.alpha.2-java → 0.1.0.alpha.3-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/jar.yml +0 -1
  3. data/lib/bookinit.rb +15 -6
  4. metadata +10 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 828ee3477349e9f414d49c1ea653bf544c8a20bd2c5830d1a50cfa7cae6371fc
4
- data.tar.gz: abae8d08d45d3b774ba4d924c8eeee4c2054f275546cd5df0d662ff3e212d4d7
3
+ metadata.gz: 71208a92ad0b57e53089342704f4f43ec6b3f70c9a4eb638efff3fc3cd00ebf7
4
+ data.tar.gz: 4b1d46f5c6fc844f8c59075fa0f5fcbdc9cb0e930a478df6d0c8e5436e9deb9d
5
5
  SHA512:
6
- metadata.gz: 6e0f958c5a1581f3472aa747e13968b375c06840dcefd7e400c10986da802cf083656e8ae6a7900f76e64a354724a61bfe48c282b1db71351a92e61aae947e2e
7
- data.tar.gz: d9236bca8f6b023cb3da7410bbe85cdd31b9fe93a34f0dda1cf47602678a43eec1aae9febc42c76b4782ccb0b95d76f28fc26c06a85c9207e66dd698fa966fee
6
+ metadata.gz: 701e7bb863d2c8bcb9cdac477207a04d9203a9bd9661c7151f49bdb9bcb3f6963479bb217a6900f4fc4fd6455aea1db399b819242c5f65b7b17fe8c50c31b1ff
7
+ data.tar.gz: 413ddc4e6fd934db1b32ae7c09e47bab2095353381bacc8c919a4c330dba577cf439c2d0f3f3f0e2feef0d0585d28fe871859e4fb859e4a52891f628f35513ae
data/jar.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  ---
2
- eula: false
3
2
  list:
4
3
  - url: "https://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-all/1.16/batik-all-1.16.jar"
5
4
  file: "jar/batik-all.jar"
data/lib/bookinit.rb CHANGED
@@ -4,8 +4,9 @@ require 'fileutils'
4
4
  require 'yaml'
5
5
 
6
6
  module BookInit
7
-
7
+
8
8
  def self.load_settings(file_path)
9
+
9
10
  downloads = []
10
11
 
11
12
  if File.exist?(file_path)
@@ -23,15 +24,23 @@ module BookInit
23
24
  end
24
25
 
25
26
  def self.run
27
+ puts <<-EOT
28
+
29
+ Would you like to resolve Java dependencies?(No/yes)
30
+ EOT
31
+
32
+ case gets.chomp
33
+ when "yes", "YES", "y"
34
+ when "no", "NO", "n"
35
+ exit 1
36
+ else
37
+ exit 1
38
+ end
26
39
 
27
40
 
28
41
  # YAMLファイルからdownloads情報をロード
29
42
  downloads = load_settings(ENV['HOME'] + "/.glycobook/jar.yml")
30
- unless downloads["eula"]
31
- puts "please open file:~/.glycobook/jar.yml and edit eula"
32
- exit
33
- end
34
-
43
+
35
44
  require 'open-uri'
36
45
 
37
46
  folder_path = File.dirname(__FILE__)+"/jar"
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glycobook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha.2
4
+ version: 0.1.0.alpha.3
5
5
  platform: java
6
6
  authors:
7
7
  - Akihiro Fujita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-31 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: java
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: 0.0.2
19
- name: java
20
- prerelease: false
21
20
  type: :runtime
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.0.2
27
- - !ruby/object:Gem::Dependency
28
- requirement: !ruby/object:Gem::Requirement
29
- requirements:
30
- - - "~>"
31
- - !ruby/object:Gem::Version
32
- version: 0.8.0
33
- name: colorize
34
21
  prerelease: false
35
- type: :runtime
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: 0.8.0
26
+ version: 0.0.2
41
27
  description: Glycobook is a JRuby library for glycaninformatics
42
28
  email:
43
29
  - akihirof0005@gmail.com
@@ -54,10 +40,13 @@ files:
54
40
  - lib/glycobook/subsumption.rb
55
41
  - lib/glycobook/wurcs_frame_work.rb
56
42
  - lib/wurcsverify.rb
57
- homepage: https://github.com/akihirof0005/glycobook/tree/main
43
+ homepage: https://github.com/akihirof0005/glycobook/blob/main/README.md
58
44
  licenses:
59
45
  - LGPL-3.0
60
- metadata: {}
46
+ metadata:
47
+ source_code_uri: https://github.com/akihirof0005/glycobook
48
+ homepage_uri: https://github.com/akihirof0005/glycobook/blob/main/README.md
49
+ changelog_uri: https://github.com/akihirof0005/glycobooks
61
50
  post_install_message:
62
51
  rdoc_options: []
63
52
  require_paths:
@@ -73,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
62
  - !ruby/object:Gem::Version
74
63
  version: 1.3.1
75
64
  requirements: []
76
- rubygems_version: 3.3.25
65
+ rubygems_version: 3.4.10
77
66
  signing_key:
78
67
  specification_version: 4
79
68
  summary: Glycobook is a JRuby library for glycaninformatics