remove_build_folders 0.1.7 → 0.1.8
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 +4 -4
- data/CODE_OF_CONDUCT.md +1 -1
- data/README.md +16 -15
- data/bin/remove_build_folders +0 -0
- data/lib/remove_build_folders.rb +17 -11
- data/lib/remove_build_folders/version.rb +1 -1
- data/remove_build_folders.gemspec +1 -1
- data/remove_build_folders.gif +0 -0
- metadata +5 -7
- data/remove_build_folders-0.1.0.gem +0 -0
- data/remove_build_folders-0.1.1.gem +0 -0
- data/remove_build_folders-0.1.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f038b273c15ccfc7d9e2381b39198e3077dbea878674ce124f0194e263ed0a4d
|
4
|
+
data.tar.gz: 6aad6d2714dc2fbb4bae54b81d8fdaf8d62beffaece26cbc84e914906f30b2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c98dd9982e3493abb26adf5fbad89dbc799a615b237fd08509275c104d94cd954579ba929d68dc26c49d5d7bb1f50ab72ab4ea8bcf65979918917f201f31e5
|
7
|
+
data.tar.gz: c18d7b09102c26ba6030b2731f9b57d9ecf3692d76f3327491b588e7ccdd8c836224ac08e11b25e819df94fb0f794b9c1ec6fef3c2ed55c8cd8f889dc3ce223c
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at kobeumut@gmail.com. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/README.md
CHANGED
@@ -1,28 +1,29 @@
|
|
1
1
|
# RemoveBuildFolders
|
2
2
|
|
3
|
-
|
3
|
+
#### > English
|
4
|
+
In the following way, you can install this library with gem install method, remove_build_folders and select the folder path from the list and start automatic deletion. It will search all the folders under the selected folder and delete the folders named build.
|
4
5
|
|
5
|
-
|
6
|
+
#### > Türkçe
|
7
|
+
Aşağıdaki şekilde gem install metoduyla bu kütüphaneyi yükleyerek terminale remove_build_folders yazarak listeden klasör yolunu seçip otomatik silme işlemini başlatabilirsiniz. Seçtiğiniz klasör altındaki tüm klasörleri arayarak içerisinde build adında olan klasörleri silecektir.
|
6
8
|
|
7
|
-
##
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'remove_build_folders'
|
13
|
-
```
|
9
|
+
## Attention
|
14
10
|
|
15
|
-
|
11
|
+
#### > English
|
12
|
+
It will delete all the folders named build in the selected folder. Watch out if you have important build folders!
|
16
13
|
|
17
|
-
|
14
|
+
#### > Türkçe
|
15
|
+
Seçtiğiniz klasör içindeki bütün build adlı klasörleri silecektir. Önemli build klasörleriniz varsa dikkat ediniz!
|
18
16
|
|
19
|
-
|
17
|
+
## Installation
|
20
18
|
|
21
19
|
$ gem install remove_build_folders
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
remove_build_folders to the terminal after installing then select folder in list or you can enter own path. Thats it.
|
24
|
+
|
25
|
+

|
26
|
+
|
26
27
|
|
27
28
|
## Development
|
28
29
|
|
@@ -32,7 +33,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
33
|
|
33
34
|
## Contributing
|
34
35
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kobeumut/remove_build_folders. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
37
|
|
37
38
|
## License
|
38
39
|
|
@@ -40,4 +41,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
41
|
|
41
42
|
## Code of Conduct
|
42
43
|
|
43
|
-
Everyone interacting in the RemoveBuildFolders project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
44
|
+
Everyone interacting in the RemoveBuildFolders project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kobeumut/remove_build_folders/blob/master/CODE_OF_CONDUCT.md).
|
data/bin/remove_build_folders
CHANGED
File without changes
|
data/lib/remove_build_folders.rb
CHANGED
@@ -6,24 +6,30 @@ module RemoveBuildFolders
|
|
6
6
|
class Error < StandardError; end
|
7
7
|
class Start
|
8
8
|
prompt = TTY::Prompt.new
|
9
|
-
|
9
|
+
pwd= `pwd`.strip
|
10
10
|
continue = prompt.select("Choose your path for delete build folder?") do |menu|
|
11
|
-
menu.default
|
12
|
-
|
13
|
-
menu.choice
|
14
|
-
menu.choice
|
15
|
-
|
16
|
-
menu.choice '
|
11
|
+
menu.default 1
|
12
|
+
|
13
|
+
menu.choice pwd, 1
|
14
|
+
menu.choice File.expand_path('~'), 2
|
15
|
+
menu.choice "#{File.expand_path('~')}/Documents", 3
|
16
|
+
menu.choice "#{File.expand_path('~')}/Desktop", 4
|
17
|
+
menu.choice 'I want to write full path', 5
|
18
|
+
menu.choice 'Exit', 6
|
17
19
|
end
|
18
20
|
case continue
|
19
|
-
|
20
|
-
|
21
|
+
when 1
|
22
|
+
continue = pwd
|
21
23
|
when 2
|
22
|
-
continue =
|
24
|
+
continue = File.expand_path('~')
|
23
25
|
when 3
|
24
|
-
continue = "#{File.expand_path('~')}/
|
26
|
+
continue = "#{File.expand_path('~')}/Documents"
|
25
27
|
when 4
|
28
|
+
continue = "#{File.expand_path('~')}/Desktop"
|
29
|
+
when 5
|
26
30
|
continue = prompt.ask("Enter your custom path:")
|
31
|
+
when 6
|
32
|
+
`return 0`
|
27
33
|
end
|
28
34
|
unless continue.nil?
|
29
35
|
$stdout.sync = true
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.require_paths = ["lib"]
|
38
38
|
|
39
39
|
spec.add_dependency "tty-prompt"
|
40
|
-
spec.add_development_dependency "bundler", "~>
|
40
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
41
41
|
spec.add_development_dependency "rake", "~> 10.0"
|
42
42
|
spec.add_development_dependency "minitest", "~> 5.0"
|
43
43
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remove_build_folders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umut ADALI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-prompt
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,10 +86,8 @@ files:
|
|
86
86
|
- bin/setup
|
87
87
|
- lib/remove_build_folders.rb
|
88
88
|
- lib/remove_build_folders/version.rb
|
89
|
-
- remove_build_folders-0.1.0.gem
|
90
|
-
- remove_build_folders-0.1.1.gem
|
91
|
-
- remove_build_folders-0.1.2.gem
|
92
89
|
- remove_build_folders.gemspec
|
90
|
+
- remove_build_folders.gif
|
93
91
|
homepage: http://umutbey.com
|
94
92
|
licenses:
|
95
93
|
- MIT
|
Binary file
|
Binary file
|
Binary file
|