ruby_uml_class 0.5.0 → 0.6.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35bc1d303b7f059c1cde627df32ff3d48a31d07d4c7939ae28eafdd24da0929a
4
- data.tar.gz: fc212a19334d352832aae05c9c3b93112cf6c27405e959c649c22746e5df66f6
3
+ metadata.gz: 8952fd045ae8e4fb567037f549808810d7b584e227636315774c5b70f291d737
4
+ data.tar.gz: 22fcb7d5c79a0a121bbeeb0fcd90a8d3486cf5b6d88e1aeab6e8ba2d16d07a78
5
5
  SHA512:
6
- metadata.gz: ed4e4f0bf1c025bb838658c418ed36b5869a2d6aa3a909beb0904a1dd2824f7a436be8a74bd6f35a05e256472645417ea7b422857aec91792183e34f10ccea8a
7
- data.tar.gz: d32f283fca75fb81efdf49f404cd33d0c4d7d3fd9ead8db9ed0ab9d6d3a4a171538ee3712de9b5fbd049b1e7552bcbbb6688017acf628653d319cff12068a945
6
+ metadata.gz: 2ea9bed328dba69c48a260dfabb2f8ebee2adbf5f566973e89383add10abbee264162f9e09e9a4d20896f6bf9094d69b3edcfc703abccd800ec2c7fa41898048
7
+ data.tar.gz: 688e1e6d26f637f1c3c3e649fb442686761608ea313151bc84861d997831fe0e492dd11f10a610650d6dcc9bd6f726c9d3fb9cc358e293c7748ed4199dbc803c
@@ -7,7 +7,7 @@ require "json"
7
7
 
8
8
  # tmpdirディレクトリにコピー
9
9
  dir = File.dirname(File.expand_path(__FILE__ + "/../"))
10
- home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/,"")
10
+ home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/, "")
11
11
  puts "home_dir=#{home_dir}"
12
12
  Dir.mktmpdir { |tmpdir|
13
13
  outdir = tmpdir + "/" + dir.split("/")[-1]
@@ -17,7 +17,7 @@ Dir.mktmpdir { |tmpdir|
17
17
  Dir.glob("#{dir}/lib/*") do |f|
18
18
  if f =~ /config$/
19
19
  # configはhomeにコピー
20
- if !File.exists? "#{home_dir}/config"
20
+ if !File.exist? "#{home_dir}/config"
21
21
  puts "#{f} => #{home_dir}/"
22
22
  FileUtils.cp_r f, "#{home_dir}/"
23
23
  end
@@ -27,8 +27,8 @@ Dir.mktmpdir { |tmpdir|
27
27
  end
28
28
  end
29
29
  begin
30
- json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
- old_version = json["version"]
30
+ json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
+ old_version = json["version"]
32
32
  rescue
33
33
  old_version = ""
34
34
  end
@@ -7,7 +7,7 @@ require "json"
7
7
 
8
8
  # tmpdirディレクトリにコピー
9
9
  dir = File.dirname(File.expand_path(__FILE__ + "/../"))
10
- home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/,"")
10
+ home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/, "")
11
11
  puts "home_dir=#{home_dir}"
12
12
  Dir.mktmpdir { |tmpdir|
13
13
  outdir = tmpdir + "/" + dir.split("/")[-1]
@@ -17,7 +17,7 @@ Dir.mktmpdir { |tmpdir|
17
17
  Dir.glob("#{dir}/lib/*") do |f|
18
18
  if f =~ /config$/
19
19
  # configはhomeにコピー
20
- if !File.exists? "#{home_dir}/config"
20
+ if !File.exist? "#{home_dir}/config"
21
21
  puts "#{f} => #{home_dir}/"
22
22
  FileUtils.cp_r f, "#{home_dir}/"
23
23
  end
@@ -27,8 +27,8 @@ Dir.mktmpdir { |tmpdir|
27
27
  end
28
28
  end
29
29
  begin
30
- json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
- old_version = json["version"]
30
+ json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
+ old_version = json["version"]
32
32
  rescue
33
33
  old_version = ""
34
34
  end
@@ -12,7 +12,7 @@ CStruct = Struct.new(:type,
12
12
  def get_rufo_path
13
13
  ENV["PATH"].split(";").each do |path|
14
14
  rufo_path = "#{path}\\rufo"
15
- if File.exists? rufo_path
15
+ if File.exist? rufo_path
16
16
  return rufo_path
17
17
  end
18
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyUmlClassVer
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_uml_class
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka kuwayama
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-03 00:00:00.000000000 Z
11
+ date: 2025-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: browser_app_base
@@ -76,7 +76,6 @@ files:
76
76
  - lib/config/setting.json
77
77
  - lib/create_uml_class.rb
78
78
  - lib/css/index.css
79
- - lib/history/history.json
80
79
  - lib/html/index.html
81
80
  - lib/js/main.js
82
81
  - lib/ruby_uml_class.rb
@@ -95,7 +94,7 @@ metadata:
95
94
  homepage_uri: https://github.com/kuwayama1971/RubyUmlClass
96
95
  source_code_uri: https://github.com/kuwayama1971/RubyUmlClass
97
96
  changelog_uri: https://github.com/kuwayama1971/RubyUmlClass
98
- post_install_message:
97
+ post_install_message:
99
98
  rdoc_options: []
100
99
  require_paths:
101
100
  - lib
@@ -110,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
109
  - !ruby/object:Gem::Version
111
110
  version: '0'
112
111
  requirements: []
113
- rubygems_version: 3.1.2
114
- signing_key:
112
+ rubygems_version: 3.4.20
113
+ signing_key:
115
114
  specification_version: 4
116
115
  summary: Create a Ruby UML class diagram.
117
116
  test_files: []
@@ -1,3 +0,0 @@
1
- [
2
-
3
- ]