remove_build_folders 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cbe85a8ca32c2f5427095698d6946938f6ab2351468285e26ff01bbc3f379f0
4
- data.tar.gz: 8978517ed8e60630fe703b2b6108787400d4d51623e1c03d00b167423fb36a22
3
+ metadata.gz: f038b273c15ccfc7d9e2381b39198e3077dbea878674ce124f0194e263ed0a4d
4
+ data.tar.gz: 6aad6d2714dc2fbb4bae54b81d8fdaf8d62beffaece26cbc84e914906f30b2d9
5
5
  SHA512:
6
- metadata.gz: 9be61a3818bc96661af7447a304189f27685d0ba4669860faa0683b7830f63a35b43cf113f6b997b6aa6cdbcbb04ee4ff7adf555d9ce3c57f2fdf273eee15f2c
7
- data.tar.gz: aa78e7bb76747c1fee40934d7f10915c1cfdf8f90b500abf4cb437215a5c85856cf27605c38bb14695252654143279a9debb8117e1e494fc912632f9ab1fb79a
6
+ metadata.gz: 63c98dd9982e3493abb26adf5fbad89dbc799a615b237fd08509275c104d94cd954579ba929d68dc26c49d5d7bb1f50ab72ab4ea8bcf65979918917f201f31e5
7
+ data.tar.gz: c18d7b09102c26ba6030b2731f9b57d9ecf3692d76f3327491b588e7ccdd8c836224ac08e11b25e819df94fb0f794b9c1ec6fef3c2ed55c8cd8f889dc3ce223c
@@ -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 umutadali@teknasyon.com. All
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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/remove_build_folders`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Delete this and the text above, and describe your gem
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
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'remove_build_folders'
13
- ```
9
+ ## Attention
14
10
 
15
- And then execute:
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
- $ bundle
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
- Or install it yourself as:
17
+ ## Installation
20
18
 
21
19
  $ gem install remove_build_folders
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ remove_build_folders to the terminal after installing then select folder in list or you can enter own path. Thats it.
24
+
25
+ ![](remove_build_folders.gif)
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/[USERNAME]/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
+ 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/[USERNAME]/remove_build_folders/blob/master/CODE_OF_CONDUCT.md).
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).
File without changes
@@ -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 2
12
-
13
- menu.choice File.expand_path('~'), 1
14
- menu.choice "#{File.expand_path('~')}/Documents", 2
15
- menu.choice "#{File.expand_path('~')}/Desktop", 3
16
- menu.choice 'I want to write full path', 4
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
- when 1
20
- continue = File.expand_path('~')
21
+ when 1
22
+ continue = pwd
21
23
  when 2
22
- continue = "#{File.expand_path('~')}/Documents"
24
+ continue = File.expand_path('~')
23
25
  when 3
24
- continue = "#{File.expand_path('~')}/Desktop"
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
@@ -1,3 +1,3 @@
1
1
  module RemoveBuildFolders
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -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", "~> 1.17"
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.7
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-08-15 00:00:00.000000000 Z
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: '1.17'
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: '1.17'
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