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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f44bbb2d7f2483f4583f20144fd5f06cea81638
4
- data.tar.gz: b76f99ab18236e2f6f7f8caf3db20bd0e746da06
3
+ metadata.gz: ab0a231c6083b20b5a312325dbb516a37079a24f
4
+ data.tar.gz: cac847970653f46a3cc16d61d44b82e44d950986
5
5
  SHA512:
6
- metadata.gz: 437429eb60eff3ed44b84de37b4dccf62ff7608fc8256f2ef4a560ad92dced3bb3e60c7f203fb67506d3f7501bf611a946d74f194e66f9ab32cc44d8112d0a69
7
- data.tar.gz: 07d7dfda1b8ed001894ed7e57034ed7ae5774b2937703a3a98bd99c3d82635920f78d3c5bdc8fd052bb5a883ce42c9ac19650bad21d372d3c3ae86d91dfd2bf6
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
- EnforcedStyle: outdent
57
+ Enabled: false
67
58
 
68
59
  EmptyLinesAroundAccessModifier:
69
60
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Changelogs
2
2
 
3
+ ### 0.2.0
4
+
5
+ * Update to the latest version of dependent gems
6
+ * Support only 2.0.x+ to avoid the monkeypatching core classes
7
+ * Misc cleanup
8
+
3
9
  ### 0.1.4
4
10
 
5
11
  * Move the core_ext code to `agile_utils`
@@ -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.1.5"
28
- spec.add_runtime_dependency "filename_cleaner", "~> 0.3.11"
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.2"
34
- spec.add_development_dependency "minitest", "~> 5.3"
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.9"
38
- spec.add_development_dependency "rake", "~> 10.1"
39
- spec.add_development_dependency "rubocop", "~> 0.23"
40
- spec.add_development_dependency "yard", "~> 0.8"
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
@@ -2,6 +2,8 @@ require "thor"
2
2
  require "agile_utils"
3
3
  module FoldersRenamer
4
4
  class CLI < Thor
5
+ using AgileUtils::HashExt
6
+
5
7
  desc "rename", "Cleanup and rename folders"
6
8
  method_option "base_dir",
7
9
  aliases: "-b",
@@ -1,3 +1,3 @@
1
1
  module FoldersRenamer
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.4
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-06-23 00:00:00.000000000 Z
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: '0.19'
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: '0.19'
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.1.5
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.1.5
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.3.11
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.3.11
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: '1.2'
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: '1.2'
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: '2.6'
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: '2.6'
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: '2.2'
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: '2.2'
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.3'
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.3'
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: '0.9'
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: '0.9'
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: '10.1'
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: '10.1'
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: '0.23'
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: '0.23'
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: '0.8'
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: '0.8'
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: