git_oops 0.1.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: f039b1f266b4203ba43f8586572030392283e13dd1ece54d0f3c5e41910f065d
4
+ data.tar.gz: 5524f70d7b4667c872b29f85520967daa22d647f445b98e15c0a81da33fe7530
5
+ SHA512:
6
+ metadata.gz: edfff93f20a86a729b5a2822912c8bc948b461d72e7af4cbdbf6e56cfe6a5071e39cb1a3f1926930a0cf6f1ef49072b55e51fb5c1677786fe329d99388caa634
7
+ data.tar.gz: 1a1a7c436ae4177cb229bcdad16c4f4133e2d1c2682a7d3003a8f0f1fbeecd07a21b693cc57bf4c7303b0df76964d743f33bd6ee0eaef7d4ae0a00316470e2b4
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-01-07
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at minh.tang1@tomosia.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Minh Tang Q.
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,91 @@
1
+ # Git Oops
2
+
3
+ A friendly tool to help recover deleted Git commits safely and conveniently.
4
+
5
+ ## Installation
6
+
7
+ Install the gem by running:
8
+
9
+ ```bash
10
+ gem install git_oops
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ The main command is `goops reset`, which helps you interactively restore deleted Git commits:
16
+
17
+ ```bash
18
+ # Basic usage - shows last 20 commits from reflog
19
+ goops reset
20
+
21
+ # Show more commits from reflog
22
+ goops reset --limit 30
23
+
24
+ # Show more commits in current log
25
+ goops reset --log-limit 10
26
+
27
+ # Search commits by keyword
28
+ goops reset --search "fix"
29
+
30
+ # Skip warning messages
31
+ goops reset --no-warning
32
+ ```
33
+
34
+ ### Features
35
+
36
+ - 🔍 Interactive commit selection with arrow keys
37
+ - 🔎 Search commits by keyword
38
+ - 💾 Option to backup current state before restoring
39
+ - ⚠️ Safety warnings to prevent accidental data loss
40
+ - 🎨 Colored output for better readability
41
+
42
+ ### Options
43
+
44
+ - `--limit NUMBER` - Number of commits to display from reflog (default: 20)
45
+ - `--log-limit NUMBER` - Number of commits to display in current log (default: 5)
46
+ - `--search KEYWORD` - Search commits by keyword
47
+ - `--no-warning` - Skip warning messages
48
+
49
+ ## Development Guide
50
+
51
+ ### Setup Development Environment
52
+
53
+ ```bash
54
+ git clone https://github.com/rubykachu/git_oops.git
55
+ cd git_oops
56
+ bin/setup
57
+ ```
58
+
59
+ ### Debug
60
+
61
+ 1. Add `require 'pry'` to your code
62
+ 2. Insert breakpoint with `binding.pry`
63
+ 3. Run gem with `bundle exec exe/goops reset`
64
+
65
+ ### Test Changes Without Reinstalling
66
+
67
+ ```bash
68
+ # Run directly from source
69
+ bundle exec exe/goops reset [options]
70
+
71
+ # Or create alias for development
72
+ alias gdev="bundle exec exe/goops"
73
+ gdev reset [options]
74
+ ```
75
+
76
+ ### Release Process
77
+
78
+ 1. Update version in `lib/git_oops/version.rb`
79
+ 2. Update `CHANGELOG.md`
80
+ 3. Run release script:
81
+ ```bash
82
+ bin/release
83
+ ```
84
+
85
+ ## Contributing
86
+
87
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rubykachu/git_oops.
88
+
89
+ ## License
90
+
91
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/exe/goops ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "git_oops"
5
+ require "git_oops/cli"
6
+
7
+ GitOops::CLI.start(ARGV)
data/git_oops.gemspec ADDED
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/git_oops/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "git_oops"
7
+ spec.version = GitOops::VERSION
8
+ spec.authors = ["Minh Tang Q."]
9
+ spec.email = ["minh.tang1@tomosia.com"]
10
+
11
+ spec.summary = "A friendly tool to help recover deleted Git commits safely and conveniently"
12
+ spec.description = "git_oops provides an interactive interface to help users recover deleted Git commits safely. It features a user-friendly selection interface, commit preview, and safety measures to prevent data loss."
13
+ spec.homepage = "https://github.com/TOMOSIA-VIETNAM/git_oops"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.3.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"] = "https://github.com/TOMOSIA-VIETNAM/git_oops"
21
+ spec.metadata["changelog_uri"] = "https://github.com/TOMOSIA-VIETNAM/git_oops/blob/main/CHANGELOG.md"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (File.expand_path(f) == __FILE__) ||
27
+ f.start_with?(*%w[
28
+ bin/
29
+ test/
30
+ spec/
31
+ features/
32
+ .git
33
+ .github
34
+ .gitignore
35
+ .rspec
36
+ .rubocop.yml
37
+ Gemfile
38
+ Rakefile
39
+ git_oops-*.gem
40
+ *.gemspec
41
+ ])
42
+ end
43
+ end
44
+ spec.bindir = "exe"
45
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
46
+ spec.require_paths = ["lib"]
47
+
48
+ # Dependencies
49
+ spec.add_dependency "tty-prompt", "~> 0.23.1" # For interactive CLI
50
+ spec.add_dependency "pastel", "~> 0.8.0" # For colored output
51
+ spec.add_dependency "thor", "~> 1.3.0" # For CLI command structure
52
+
53
+ spec.add_development_dependency "rspec", "~> 3.12"
54
+ spec.add_development_dependency "rubocop", "~> 1.59"
55
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "thor"
4
+ require_relative "commands/reset_command"
5
+
6
+ module GitOops
7
+ class CLI < Thor
8
+ package_name "Git Oops"
9
+
10
+ class_option :help, aliases: '-h', type: :boolean,
11
+ description: 'Display usage information'
12
+
13
+ desc "reset", "Restore deleted Git commits interactively"
14
+ long_desc <<-LONGDESC
15
+ `goops reset` will help you restore deleted Git commits in an interactive way.
16
+
17
+ Examples:
18
+ $ goops reset # Shows last 20 commits from reflog
19
+ $ goops reset --limit 30 # Shows last 30 commits from reflog
20
+ $ goops reset --log-limit 10 # Shows last 10 commits in current log
21
+ $ goops reset --search "fix" # Search commits with "fix" in message
22
+ $ goops reset --no-warning # Skip warning messages
23
+
24
+ You can combine options:
25
+ $ goops reset --limit 50 --log-limit 8 --search "feature" --no-warning
26
+ LONGDESC
27
+ method_option :limit, type: :numeric, default: 20,
28
+ desc: "Number of commits to display from reflog (default: 20)"
29
+ method_option :log_limit, type: :numeric, default: 5,
30
+ desc: "Number of commits to display in current log (default: 5)"
31
+ method_option :search, type: :string,
32
+ desc: "Search commits by keyword in commit message"
33
+ method_option :no_warning, type: :boolean, default: false,
34
+ desc: "Skip warning messages before restoring"
35
+ def reset
36
+ GitOops::Commands::ResetCommand.new(options).execute
37
+ end
38
+
39
+ def self.exit_on_failure?
40
+ true
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,157 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "tty-prompt"
4
+ require "pastel"
5
+
6
+ module GitOops
7
+ module Commands
8
+ class ResetCommand
9
+ DEFAULT_LOG_LIMIT = 5
10
+
11
+ def initialize(options)
12
+ @options = options
13
+ @prompt = TTY::Prompt.new
14
+ @pastel = Pastel.new
15
+ end
16
+
17
+ def execute
18
+ display_current_log
19
+ puts "\n#{@pastel.blue('ℹ')} Above is your current git log. Below are all available commits from git reflog:\n\n"
20
+
21
+ commits = fetch_commits
22
+ return if commits.empty?
23
+
24
+ begin
25
+ selected_commit = select_commit(commits)
26
+ return unless selected_commit
27
+
28
+ handle_restore(selected_commit)
29
+ rescue TTY::Reader::InputInterrupt
30
+ puts "\n#{@pastel.blue('ℹ')} Operation cancelled. No changes were made."
31
+ exit 0
32
+ end
33
+ end
34
+
35
+ private
36
+
37
+ def display_current_log
38
+ puts @pastel.cyan("Current Git Log:")
39
+ puts @pastel.cyan("---------------")
40
+
41
+ # Get total number of commits
42
+ total_commits = `git rev-list --count HEAD`.strip.to_i
43
+ log_limit = @options[:log_limit] || DEFAULT_LOG_LIMIT
44
+
45
+ # Get current branch name and latest commits
46
+ current_branch = `git rev-parse --abbrev-ref HEAD`.strip
47
+ command = %Q{git log --oneline --decorate --color=always -n #{log_limit}}
48
+ log_output = `#{command}`
49
+
50
+ # Display branch and commit information
51
+ puts "#{@pastel.bright_blue('Branch:')} #{current_branch}"
52
+ puts "#{@pastel.bright_blue('Total commits:')} #{total_commits}"
53
+ puts "#{@pastel.bright_blue('Latest commits:')} (showing #{[log_limit, total_commits].min} of #{total_commits})"
54
+ puts "#{@pastel.cyan('─' * 40)}"
55
+ puts log_output
56
+
57
+ if total_commits > log_limit
58
+ remaining = total_commits - log_limit
59
+ puts @pastel.dim("... and #{remaining} more commits")
60
+ end
61
+ end
62
+
63
+ def fetch_commits
64
+ limit = @options[:limit] || 20
65
+ search = @options[:search]
66
+ current_commit = `git rev-parse HEAD`.strip
67
+ current_branch = `git rev-parse --abbrev-ref HEAD`.strip
68
+
69
+ # Use a more detailed format that includes the full reflog information
70
+ command = %Q{git reflog --format="%h (%gD) %gs"}
71
+ command += " | grep -i '#{search}'" if search
72
+ command += " | head -n #{limit}"
73
+
74
+ result = `#{command}`
75
+ commits = result.split("\n")
76
+
77
+ # Mark current commit and format like git reflog
78
+ commits.map do |commit|
79
+ # Split by first space to get hash, then by closing parenthesis to get ref
80
+ parts = commit.split(" ", 2)
81
+ hash = parts[0]
82
+ rest = parts[1]
83
+
84
+ # Extract ref and message
85
+ ref_start = rest.index("(") + 1
86
+ ref_end = rest.index(")")
87
+ ref = rest[ref_start...ref_end]
88
+ message = rest[ref_end + 2..-1]
89
+
90
+ # Format the commit line
91
+ commit_line = if hash == current_commit
92
+ head_info = @pastel.green("HEAD -> #{current_branch}")
93
+ "#{hash} (#{head_info}, #{ref}) #{message}"
94
+ else
95
+ "#{hash} (#{ref}) #{message}"
96
+ end
97
+
98
+ [commit_line, hash]
99
+ end
100
+ end
101
+
102
+ def select_commit(commits)
103
+ choices = commits.map do |commit_info, hash|
104
+ { name: commit_info, value: hash }
105
+ end
106
+
107
+ selected = @prompt.select(
108
+ "Select a commit to restore:",
109
+ choices,
110
+ per_page: 10,
111
+ filter: true,
112
+ show_help: :always,
113
+ help: "(Use ↑/↓ to navigate, type to filter)"
114
+ )
115
+
116
+ current_commit = `git rev-parse HEAD`.strip
117
+ if selected == current_commit
118
+ puts "\n#{@pastel.blue('ℹ')} Selected commit is the current HEAD. No changes needed."
119
+ return nil
120
+ end
121
+
122
+ selected
123
+ end
124
+
125
+ def handle_restore(hash)
126
+ unless @options[:no_warning]
127
+ return unless confirm_restore
128
+ end
129
+
130
+ if @prompt.yes?("Do you want to save the current state before restoring?")
131
+ backup_current_state
132
+ end
133
+
134
+ restore_commit(hash)
135
+ end
136
+
137
+ def confirm_restore
138
+ @prompt.yes?(@pastel.yellow("⚠️ WARNING: You are about to reset your code. This action can be undone with git reflog.\nDo you want to continue?"))
139
+ end
140
+
141
+ def backup_current_state
142
+ timestamp = Time.now.strftime("%Y%m%d_%H%M%S")
143
+ branch_name = "backup_#{timestamp}"
144
+ system("git branch #{branch_name}")
145
+ puts @pastel.green("✅ Current state saved to branch: #{branch_name}")
146
+ end
147
+
148
+ def restore_commit(hash)
149
+ if system("git reset --hard #{hash}")
150
+ puts @pastel.green("✅ Successfully restored commit #{hash}")
151
+ else
152
+ puts @pastel.red("❌ Failed to restore commit #{hash}")
153
+ end
154
+ end
155
+ end
156
+ end
157
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GitOops
4
+ VERSION = "0.1.0"
5
+ end
data/lib/git_oops.rb ADDED
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "git_oops/version"
4
+ require_relative "git_oops/cli"
5
+
6
+ module GitOops
7
+ class Error < StandardError; end
8
+
9
+ # Check if git is installed
10
+ def self.git_installed?
11
+ system("which git > /dev/null 2>&1")
12
+ end
13
+
14
+ # Check if current directory is a git repository
15
+ def self.git_repository?
16
+ system("git rev-parse --git-dir > /dev/null 2>&1")
17
+ end
18
+ end
data/sig/git_oops.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module GitOops
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: git_oops
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Minh Tang Q.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tty-prompt
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.23.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.23.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: pastel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.8.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.8.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.3.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.3.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.59'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.59'
83
+ description: git_oops provides an interactive interface to help users recover deleted
84
+ Git commits safely. It features a user-friendly selection interface, commit preview,
85
+ and safety measures to prevent data loss.
86
+ email:
87
+ - minh.tang1@tomosia.com
88
+ executables:
89
+ - goops
90
+ extensions: []
91
+ extra_rdoc_files: []
92
+ files:
93
+ - CHANGELOG.md
94
+ - CODE_OF_CONDUCT.md
95
+ - LICENSE.txt
96
+ - README.md
97
+ - exe/goops
98
+ - git_oops.gemspec
99
+ - lib/git_oops.rb
100
+ - lib/git_oops/cli.rb
101
+ - lib/git_oops/commands/reset_command.rb
102
+ - lib/git_oops/version.rb
103
+ - sig/git_oops.rbs
104
+ homepage: https://github.com/TOMOSIA-VIETNAM/git_oops
105
+ licenses:
106
+ - MIT
107
+ metadata:
108
+ allowed_push_host: https://rubygems.org
109
+ homepage_uri: https://github.com/TOMOSIA-VIETNAM/git_oops
110
+ source_code_uri: https://github.com/TOMOSIA-VIETNAM/git_oops
111
+ changelog_uri: https://github.com/TOMOSIA-VIETNAM/git_oops/blob/main/CHANGELOG.md
112
+ post_install_message:
113
+ rdoc_options: []
114
+ require_paths:
115
+ - lib
116
+ required_ruby_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: 3.3.0
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ requirements: []
127
+ rubygems_version: 3.5.3
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: A friendly tool to help recover deleted Git commits safely and conveniently
131
+ test_files: []