folders_renamer 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -12
- data/CHANGELOG.md +6 -0
- data/folders_renamer.gemspec +12 -11
- data/lib/folders_renamer/cli.rb +2 -0
- data/lib/folders_renamer/version.rb +1 -1
- metadata +38 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab0a231c6083b20b5a312325dbb516a37079a24f
|
4
|
+
data.tar.gz: cac847970653f46a3cc16d61d44b82e44d950986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cb9f73cbd2d6dd538146d95c7391df21a83a5adce7b6b0c2c28cccbf7447abf272318051a55eebc54aff8ca077a8792b0c8f1f7b22770ba30d243f5124efa93
|
7
|
+
data.tar.gz: a1496840f7748cf312cc28e093d6226d69940b620b1138232bf1bdc073bcd7f35388e6705ae4c89f16e2b8da47bd379ff0c61c7e61f1963c36190d0148ebc275
|
data/.rubocop.yml
CHANGED
@@ -3,9 +3,10 @@ AllCops:
|
|
3
3
|
- Gemfile
|
4
4
|
- Rakefile
|
5
5
|
- bin/*
|
6
|
-
- folders_renamer.gemspec
|
7
6
|
- lib/**/*.rb
|
8
7
|
- test/**/*.rb
|
8
|
+
Exclude:
|
9
|
+
- folders_renamer.gemspec
|
9
10
|
|
10
11
|
# Avoid long parameter lists
|
11
12
|
ParameterLists:
|
@@ -28,15 +29,6 @@ CollectionMethods:
|
|
28
29
|
find: 'detect'
|
29
30
|
find_all: 'select'
|
30
31
|
|
31
|
-
# Do not force public/protected/private keyword to be indented at the same
|
32
|
-
# level as the def keyword. My personal preference is to outdent these keywords
|
33
|
-
# because I think when scanning code it makes it easier to identify the
|
34
|
-
# sections of code and visually separate them. When the keyword is at the same
|
35
|
-
# level I think it sort of blends in with the def keywords and makes it harder
|
36
|
-
# to scan the code and see where the sections are.
|
37
|
-
AccessModifierIndentation:
|
38
|
-
Enabled: false
|
39
|
-
|
40
32
|
# Limit line length
|
41
33
|
LineLength:
|
42
34
|
Enabled: false
|
@@ -61,9 +53,8 @@ DotPosition:
|
|
61
53
|
Encoding:
|
62
54
|
Enabled: false
|
63
55
|
|
64
|
-
# Enforce outdenting of access modifiers (i.e. public, private, protected)
|
65
56
|
AccessModifierIndentation:
|
66
|
-
|
57
|
+
Enabled: false
|
67
58
|
|
68
59
|
EmptyLinesAroundAccessModifier:
|
69
60
|
Enabled: true
|
data/CHANGELOG.md
CHANGED
data/folders_renamer.gemspec
CHANGED
@@ -23,19 +23,20 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
24
24
|
spec.test_files = Dir.glob("{test}/**/*")
|
25
25
|
spec.require_paths = ["lib"]
|
26
|
-
spec.add_runtime_dependency "thor", "~> 0.19"
|
27
|
-
spec.add_runtime_dependency "agile_utils", "~> 0.
|
28
|
-
spec.add_runtime_dependency "filename_cleaner", "~> 0.
|
29
|
-
spec.add_development_dependency "awesome_print", "~> 1.2"
|
26
|
+
spec.add_runtime_dependency "thor", "~> 0.19.1"
|
27
|
+
spec.add_runtime_dependency "agile_utils", "~> 0.2.0"
|
28
|
+
spec.add_runtime_dependency "filename_cleaner", "~> 0.4.0"
|
29
|
+
spec.add_development_dependency "awesome_print", "~> 1.2.0"
|
30
30
|
spec.add_development_dependency "bundler", "~> 1.5"
|
31
31
|
spec.add_development_dependency "gem-ctags", "~> 1.0"
|
32
|
-
spec.add_development_dependency "guard", "~> 2.6"
|
33
|
-
spec.add_development_dependency "guard-minitest", "~> 2.
|
34
|
-
spec.add_development_dependency "minitest", "~> 5.
|
32
|
+
spec.add_development_dependency "guard", "~> 2.6.1"
|
33
|
+
spec.add_development_dependency "guard-minitest", "~> 2.3.1"
|
34
|
+
spec.add_development_dependency "minitest", "~> 5.4"
|
35
35
|
spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
|
36
36
|
spec.add_development_dependency "minitest-filesystem"
|
37
|
-
spec.add_development_dependency "pry", "~> 0.
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "
|
40
|
-
spec.add_development_dependency "
|
37
|
+
spec.add_development_dependency "pry", "~> 0.10.0"
|
38
|
+
spec.add_development_dependency "pry-byebug", "~> 1.3.3"
|
39
|
+
spec.add_development_dependency "rake", "~> 10.3.2"
|
40
|
+
spec.add_development_dependency "rubocop", "~> 0.24.1"
|
41
|
+
spec.add_development_dependency "yard", "~> 0.8.7"
|
41
42
|
end
|
data/lib/folders_renamer/cli.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: folders_renamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.19.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.19.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: agile_utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.2.0
|
34
34
|
type: :runtime
|
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: 0.
|
40
|
+
version: 0.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: filename_cleaner
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.4.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: awesome_print
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.2.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,42 +100,42 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.6.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.6.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: guard-minitest
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 2.3.1
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 2.3.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: minitest
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '5.
|
131
|
+
version: '5.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '5.
|
138
|
+
version: '5.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: minitest-spec-context
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,56 +170,70 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: 0.10.0
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 0.10.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry-byebug
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 1.3.3
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.3.3
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: rake
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
184
198
|
requirements:
|
185
199
|
- - "~>"
|
186
200
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
201
|
+
version: 10.3.2
|
188
202
|
type: :development
|
189
203
|
prerelease: false
|
190
204
|
version_requirements: !ruby/object:Gem::Requirement
|
191
205
|
requirements:
|
192
206
|
- - "~>"
|
193
207
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
208
|
+
version: 10.3.2
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: rubocop
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
198
212
|
requirements:
|
199
213
|
- - "~>"
|
200
214
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
215
|
+
version: 0.24.1
|
202
216
|
type: :development
|
203
217
|
prerelease: false
|
204
218
|
version_requirements: !ruby/object:Gem::Requirement
|
205
219
|
requirements:
|
206
220
|
- - "~>"
|
207
221
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
222
|
+
version: 0.24.1
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: yard
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
212
226
|
requirements:
|
213
227
|
- - "~>"
|
214
228
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
229
|
+
version: 0.8.7
|
216
230
|
type: :development
|
217
231
|
prerelease: false
|
218
232
|
version_requirements: !ruby/object:Gem::Requirement
|
219
233
|
requirements:
|
220
234
|
- - "~>"
|
221
235
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
236
|
+
version: 0.8.7
|
223
237
|
description: Bulk cleanup/rename folders name that contain special characters with
|
224
238
|
valid string (dash, dot, underscore, etc)
|
225
239
|
email:
|