CppUmlClass 0.2.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f7f0347e68b39b11f5e5b6c00d5bba5c8b713de6e8af5a2dd90f78c944763667
4
+ data.tar.gz: ef8248ea3089eae00731fd50054a70d8dd65e67f9f16050c35052f976b4eda57
5
+ SHA512:
6
+ metadata.gz: 218c35e46d77a15e77f6377595d9d5667a5bc71618a3f48b9adff2eed2f86da763d62216041ce1d7cb6c51103846ad4266ac1f5bf817c7d8cd26260980f8fac1
7
+ data.tar.gz: 45eab9d076867651ef67c850d56738fa4c91248c0e480f2c6ed8369ffc1a7d94d607a837fd83848bb7c99a322dd3cc18acb3e1128511c67eeafc4a8faeaaf382
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-02-19
4
+
5
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/CppUmlClass/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "CppUmlClass"
7
+ spec.version = CppUmlClass::VERSION
8
+ spec.authors = ["Masataka Kuwayama"]
9
+ spec.email = ["masataka.kuwayama@gmail.com"]
10
+
11
+ spec.summary = "Create a C++ UML class diagram."
12
+ spec.description = "Create a C++ UML class diagram."
13
+ spec.homepage = "https://github.com/kuwayama1971/CppUmlClass"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.0.0"
16
+
17
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = spec.homepage
21
+ spec.metadata["changelog_uri"] = spec.homepage
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ # Uncomment to register a new dependency of your gem
35
+ # spec.add_dependency "example-gem", "~> 1.0"
36
+ spec.add_dependency "browser_app_base", "~> 0.1"
37
+
38
+ # For more information and examples about making a new gem, check out our
39
+ # guide at: https://bundler.io/guides/creating_gem.html
40
+ end
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in CppUmlClass.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "standard", "~> 1.3"
data/Gemfile.lock ADDED
@@ -0,0 +1,127 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ CppUmlClass (0.1.0)
5
+ browser_app_base (~> 0.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.7)
11
+ public_suffix (>= 2.0.2, < 7.0)
12
+ ast (2.4.2)
13
+ base64 (0.2.0)
14
+ browser_app_base (0.1.8)
15
+ facter
16
+ json
17
+ sinatra
18
+ sinatra-contrib
19
+ sinatra-websocket
20
+ thin
21
+ daemons (1.4.1)
22
+ diff-lcs (1.6.0)
23
+ em-websocket (0.3.8)
24
+ addressable (>= 2.1.1)
25
+ eventmachine (>= 0.12.9)
26
+ eventmachine (1.2.7)
27
+ facter (4.10.0)
28
+ hocon (~> 1.3)
29
+ thor (>= 1.0.1, < 1.3)
30
+ hocon (1.4.0)
31
+ json (2.10.1)
32
+ language_server-protocol (3.17.0.4)
33
+ lint_roller (1.1.0)
34
+ multi_json (1.15.0)
35
+ mustermann (3.0.3)
36
+ ruby2_keywords (~> 0.0.1)
37
+ parallel (1.26.3)
38
+ parser (3.3.7.1)
39
+ ast (~> 2.4.1)
40
+ racc
41
+ public_suffix (6.0.1)
42
+ racc (1.8.1)
43
+ rack (2.2.11)
44
+ rack-protection (3.2.0)
45
+ base64 (>= 0.1.0)
46
+ rack (~> 2.2, >= 2.2.4)
47
+ rainbow (3.1.1)
48
+ rake (13.2.1)
49
+ regexp_parser (2.10.0)
50
+ rspec (3.13.0)
51
+ rspec-core (~> 3.13.0)
52
+ rspec-expectations (~> 3.13.0)
53
+ rspec-mocks (~> 3.13.0)
54
+ rspec-core (3.13.3)
55
+ rspec-support (~> 3.13.0)
56
+ rspec-expectations (3.13.3)
57
+ diff-lcs (>= 1.2.0, < 2.0)
58
+ rspec-support (~> 3.13.0)
59
+ rspec-mocks (3.13.2)
60
+ diff-lcs (>= 1.2.0, < 2.0)
61
+ rspec-support (~> 3.13.0)
62
+ rspec-support (3.13.2)
63
+ rubocop (1.71.2)
64
+ json (~> 2.3)
65
+ language_server-protocol (>= 3.17.0)
66
+ parallel (~> 1.10)
67
+ parser (>= 3.3.0.2)
68
+ rainbow (>= 2.2.2, < 4.0)
69
+ regexp_parser (>= 2.9.3, < 3.0)
70
+ rubocop-ast (>= 1.38.0, < 2.0)
71
+ ruby-progressbar (~> 1.7)
72
+ unicode-display_width (>= 2.4.0, < 4.0)
73
+ rubocop-ast (1.38.1)
74
+ parser (>= 3.3.1.0)
75
+ rubocop-performance (1.23.1)
76
+ rubocop (>= 1.48.1, < 2.0)
77
+ rubocop-ast (>= 1.31.1, < 2.0)
78
+ ruby-progressbar (1.13.0)
79
+ ruby2_keywords (0.0.5)
80
+ sinatra (3.2.0)
81
+ mustermann (~> 3.0)
82
+ rack (~> 2.2, >= 2.2.4)
83
+ rack-protection (= 3.2.0)
84
+ tilt (~> 2.0)
85
+ sinatra-contrib (3.2.0)
86
+ multi_json (>= 0.0.2)
87
+ mustermann (~> 3.0)
88
+ rack-protection (= 3.2.0)
89
+ sinatra (= 3.2.0)
90
+ tilt (~> 2.0)
91
+ sinatra-websocket (0.3.1)
92
+ em-websocket (~> 0.3.6)
93
+ eventmachine
94
+ thin (>= 1.3.1, < 2.0.0)
95
+ standard (1.45.0)
96
+ language_server-protocol (~> 3.17.0.2)
97
+ lint_roller (~> 1.0)
98
+ rubocop (~> 1.71.0)
99
+ standard-custom (~> 1.0.0)
100
+ standard-performance (~> 1.6)
101
+ standard-custom (1.0.2)
102
+ lint_roller (~> 1.0)
103
+ rubocop (~> 1.50)
104
+ standard-performance (1.6.0)
105
+ lint_roller (~> 1.1)
106
+ rubocop-performance (~> 1.23.0)
107
+ thin (1.8.2)
108
+ daemons (~> 1.0, >= 1.0.9)
109
+ eventmachine (~> 1.0, >= 1.0.4)
110
+ rack (>= 1, < 3)
111
+ thor (1.2.2)
112
+ tilt (2.6.0)
113
+ unicode-display_width (3.1.4)
114
+ unicode-emoji (~> 4.0, >= 4.0.4)
115
+ unicode-emoji (4.0.4)
116
+
117
+ PLATFORMS
118
+ x86_64-linux
119
+
120
+ DEPENDENCIES
121
+ CppUmlClass!
122
+ rake (~> 13.0)
123
+ rspec (~> 3.0)
124
+ standard (~> 1.3)
125
+
126
+ BUNDLED WITH
127
+ 2.4.21
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 masataka kuwayama
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Masataka Kuwayama
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # CppUmlClass
2
+
3
+ CppUmlClass creates a C++ class diagram.
4
+ PlantUML and rufo commands are used to create class diagrams.
5
+ The created class diagram is displayed on the browser screen.
6
+
7
+ ## Setup
8
+ for ubuntu
9
+ $ sudo apt install plantuml
10
+ $ sudo apt install clang-format
11
+ $ sudo apt install gcc
12
+
13
+ ## Installation
14
+
15
+ Install the gem and add to the application's Gemfile by executing:
16
+
17
+ $ bundle add cpp_uml_class
18
+
19
+ If bundler is not being used to manage dependencies, install the gem by executing:
20
+
21
+ $ gem install cpp_uml_class
22
+
23
+ ## Usage
24
+
25
+ $ start_cpp_uml_class.rb
26
+
27
+ https://github.com/user-attachments/assets/dfd68556-bf4d-43b7-8fef-b6f951c9147d
28
+
29
+ ## Development
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kuwayama1971/RubyUmlClass.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "CppUmlClass"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "fileutils"
4
+ require "facter"
5
+ require "tmpdir"
6
+ require "json"
7
+
8
+ # tmpdirディレクトリにコピー
9
+ dir = File.dirname(File.expand_path(__FILE__ + "/../"))
10
+ home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/, "")
11
+ puts "home_dir=#{home_dir}"
12
+ Dir.mktmpdir { |tmpdir|
13
+ outdir = tmpdir + "/" + dir.split("/")[-1]
14
+ FileUtils.mkdir_p outdir
15
+ FileUtils.mkdir_p home_dir
16
+ puts outdir
17
+ Dir.glob("#{dir}/lib/*", File::FNM_DOTMATCH) do |f|
18
+ if f =~ /config$/
19
+ # configはhomeにコピー
20
+ if !File.exist? "#{home_dir}/config"
21
+ puts "#{f} => #{home_dir}/"
22
+ FileUtils.cp_r f, "#{home_dir}/"
23
+ end
24
+ else
25
+ puts "#{f} => #{outdir}/"
26
+ FileUtils.cp_r f, "#{outdir}/"
27
+ end
28
+ end
29
+ begin
30
+ json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
+ old_version = json["version"]
32
+ rescue
33
+ old_version = ""
34
+ end
35
+ json = JSON.parse(File.read("#{dir}/lib/config/setting.json"))
36
+ new_version = json["version"]
37
+ puts "#{old_version} == #{new_version}"
38
+ if old_version.to_s != new_version.to_s
39
+ FileUtils.cp "#{dir}/lib/config/setting.json", "#{home_dir}/config/setting.json"
40
+ end
41
+
42
+ FileUtils.cd "#{outdir}"
43
+ kernel = Facter.value(:kernel)
44
+ if kernel == "windows"
45
+ system "rubyw ./start.rb"
46
+ elsif kernel == "Linux"
47
+ system "ruby ./start.rb"
48
+ else
49
+ system "ruby ./start.rb"
50
+ end
51
+ FileUtils.cd ENV["HOME"]
52
+ }
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "fileutils"
4
+ require "facter"
5
+ require "tmpdir"
6
+ require "json"
7
+
8
+ # tmpdirディレクトリにコピー
9
+ dir = File.dirname(File.expand_path(__FILE__ + "/../"))
10
+ home_dir = ENV["HOME"] + "/" + dir.split("/")[-1].gsub(/-[0-9\.-]+/, "")
11
+ puts "home_dir=#{home_dir}"
12
+ Dir.mktmpdir { |tmpdir|
13
+ outdir = tmpdir + "/" + dir.split("/")[-1]
14
+ FileUtils.mkdir_p outdir
15
+ FileUtils.mkdir_p home_dir
16
+ puts outdir
17
+ Dir.glob("#{dir}/lib/*", File::FNM_DOTMATCH) do |f|
18
+ if f =~ /config$/
19
+ # configはhomeにコピー
20
+ if !File.exist? "#{home_dir}/config"
21
+ puts "#{f} => #{home_dir}/"
22
+ FileUtils.cp_r f, "#{home_dir}/"
23
+ end
24
+ else
25
+ puts "#{f} => #{outdir}/"
26
+ FileUtils.cp_r f, "#{outdir}/"
27
+ end
28
+ end
29
+ begin
30
+ json = JSON.parse(File.read("#{home_dir}/config/setting.json"))
31
+ old_version = json["version"]
32
+ rescue
33
+ old_version = ""
34
+ end
35
+ json = JSON.parse(File.read("#{dir}/lib/config/setting.json"))
36
+ new_version = json["version"]
37
+ puts "#{old_version} == #{new_version}"
38
+ if old_version.to_s != new_version.to_s
39
+ FileUtils.cp "#{dir}/lib/config/setting.json", "#{home_dir}/config/setting.json"
40
+ end
41
+
42
+ FileUtils.cd "#{outdir}"
43
+ kernel = Facter.value(:kernel)
44
+ if kernel == "windows"
45
+ system "rubyw ./start.rb"
46
+ elsif kernel == "Linux"
47
+ system "ruby ./start.rb"
48
+ else
49
+ system "ruby ./start.rb"
50
+ end
51
+ FileUtils.cd ENV["HOME"]
52
+ }