filename_cleaner 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.4.3
2
+
3
+ - Lower the requirement for ruby to 1.9.3+
4
+
1
5
  ### 0.4.2
2
6
 
3
7
  - Add the missing line in gemspec file
data/Gemfile CHANGED
@@ -1,6 +1,2 @@
1
1
  source "https://rubygems.org"
2
- # Specify your gem's dependencies in filename_cleaner.gemspec
3
2
  gemspec
4
-
5
- # Note: may be just add to to the filename_cleaner.gemspec
6
- gem "coveralls", require: false
@@ -2,7 +2,6 @@
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "filename_cleaner/version"
5
-
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = "filename_cleaner"
8
7
  spec.version = FilenameCleaner::VERSION
@@ -14,7 +13,7 @@ Gem::Specification.new do |spec|
14
13
  Turn something like 'my_#$@#$_bad_$!@_filename!!.txt' into 'my_bad_filename.txt'
15
14
  ).gsub(/^\s+/, " ")
16
15
  spec.homepage = "https://github.com/agilecreativity/filename_cleaner"
17
- spec.required_ruby_version = ">= 2.1.0"
16
+ spec.required_ruby_version = ">= 1.9.3"
18
17
  spec.license = "MIT"
19
18
  spec.files = Dir.glob("{bin,lib}/**/*") +
20
19
  %w[Gemfile
@@ -30,10 +29,9 @@ Gem::Specification.new do |spec|
30
29
  spec.require_paths = ["lib"]
31
30
 
32
31
  spec.add_runtime_dependency "thor", "~> 0.19.1"
33
- spec.add_runtime_dependency "agile_utils", "~> 0.2.1"
34
- spec.add_runtime_dependency "code_lister", "~> 0.2.1"
35
-
36
- spec.add_development_dependency "bundler", "~> 1.6.2"
32
+ spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
33
+ spec.add_runtime_dependency "code_lister", "~> 0.2.2"
34
+ spec.add_development_dependency "bundler", "~> 1.7.0"
37
35
  spec.add_development_dependency "rake", "~> 10.3.2"
38
36
  spec.add_development_dependency "awesome_print", "~> 1.2.0"
39
37
  spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
@@ -41,7 +39,6 @@ Gem::Specification.new do |spec|
41
39
  spec.add_development_dependency "minitest", "~> 5.4.0"
42
40
  spec.add_development_dependency "guard", "~> 2.6.1"
43
41
  spec.add_development_dependency "pry", "~> 0.10.0"
44
- spec.add_development_dependency "pry-byebug", "~> 1.3.3"
45
42
  spec.add_development_dependency "gem-ctags", "~> 1.0.6"
46
43
  spec.add_development_dependency "yard", "~> 0.8.7"
47
44
  spec.add_development_dependency "rubocop", "~> 0.24.1"
@@ -4,8 +4,6 @@ require "fileutils"
4
4
  require_relative "../filename_cleaner"
5
5
  module FilenameCleaner
6
6
  class CLI < Thor
7
- using AgileUtils::HashExt
8
-
9
7
  # rubocop:disable AmbiguousOperator, LineLength
10
8
  desc "rename", "Sanitize and rename file with special characters"
11
9
  method_option *AgileUtils::Options::BASE_DIR
@@ -1,3 +1,3 @@
1
1
  module FilenameCleaner
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,242 +1,259 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filename_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Burin Choomnuan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: thor
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.19.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.19.1
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: agile_utils
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
- version: 0.2.1
37
+ version: 0.2.2
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
- version: 0.2.1
45
+ version: 0.2.2
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: code_lister
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
- version: 0.2.1
53
+ version: 0.2.2
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
- version: 0.2.1
61
+ version: 0.2.2
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: bundler
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: 1.6.2
69
+ version: 1.7.0
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
- version: 1.6.2
77
+ version: 1.7.0
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rake
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: 10.3.2
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: 10.3.2
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: awesome_print
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: 1.2.0
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: 1.2.0
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: minitest-spec-context
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: 0.0.3
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: 0.0.3
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: guard-minitest
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 2.3.1
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 2.3.1
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: minitest
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "~>"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
149
  version: 5.4.0
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "~>"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
157
  version: 5.4.0
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: guard
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - "~>"
163
+ - - ~>
144
164
  - !ruby/object:Gem::Version
145
165
  version: 2.6.1
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - "~>"
171
+ - - ~>
151
172
  - !ruby/object:Gem::Version
152
173
  version: 2.6.1
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: pry
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - "~>"
179
+ - - ~>
158
180
  - !ruby/object:Gem::Version
159
181
  version: 0.10.0
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - "~>"
187
+ - - ~>
165
188
  - !ruby/object:Gem::Version
166
189
  version: 0.10.0
167
- - !ruby/object:Gem::Dependency
168
- name: pry-byebug
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: 1.3.3
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: 1.3.3
181
190
  - !ruby/object:Gem::Dependency
182
191
  name: gem-ctags
183
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
184
194
  requirements:
185
- - - "~>"
195
+ - - ~>
186
196
  - !ruby/object:Gem::Version
187
197
  version: 1.0.6
188
198
  type: :development
189
199
  prerelease: false
190
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
191
202
  requirements:
192
- - - "~>"
203
+ - - ~>
193
204
  - !ruby/object:Gem::Version
194
205
  version: 1.0.6
195
206
  - !ruby/object:Gem::Dependency
196
207
  name: yard
197
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
198
210
  requirements:
199
- - - "~>"
211
+ - - ~>
200
212
  - !ruby/object:Gem::Version
201
213
  version: 0.8.7
202
214
  type: :development
203
215
  prerelease: false
204
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
205
218
  requirements:
206
- - - "~>"
219
+ - - ~>
207
220
  - !ruby/object:Gem::Version
208
221
  version: 0.8.7
209
222
  - !ruby/object:Gem::Dependency
210
223
  name: rubocop
211
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
212
226
  requirements:
213
- - - "~>"
227
+ - - ~>
214
228
  - !ruby/object:Gem::Version
215
229
  version: 0.24.1
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
219
234
  requirements:
220
- - - "~>"
235
+ - - ~>
221
236
  - !ruby/object:Gem::Version
222
237
  version: 0.24.1
223
238
  - !ruby/object:Gem::Dependency
224
239
  name: coveralls
225
240
  requirement: !ruby/object:Gem::Requirement
241
+ none: false
226
242
  requirements:
227
- - - "~>"
243
+ - - ~>
228
244
  - !ruby/object:Gem::Version
229
245
  version: 0.7.0
230
246
  type: :development
231
247
  prerelease: false
232
248
  version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
233
250
  requirements:
234
- - - "~>"
251
+ - - ~>
235
252
  - !ruby/object:Gem::Version
236
253
  version: 0.7.0
237
- description: " Bulk rename and remove unwanted characters from list of files in any
238
- directory recursively.\n Turn something like 'my_#$@#$_bad_$!@_filename!!.txt' into
239
- 'my_bad_filename.txt'\n "
254
+ description: ! " Bulk rename and remove unwanted characters from list of files in
255
+ any directory recursively.\n Turn something like 'my_#$@#$_bad_$!@_filename!!.txt'
256
+ into 'my_bad_filename.txt'\n "
240
257
  email:
241
258
  - agilecreativity@gmail.com
242
259
  executables:
@@ -244,42 +261,43 @@ executables:
244
261
  extensions: []
245
262
  extra_rdoc_files: []
246
263
  files:
247
- - ".gitignore"
248
- - ".rubocop.yml"
249
- - CHANGELOG.md
250
- - Gemfile
251
- - LICENSE
252
- - README.md
253
- - Rakefile
254
264
  - bin/filename_cleaner
255
- - filename_cleaner.gemspec
256
- - lib/filename_cleaner.rb
257
265
  - lib/filename_cleaner/cli.rb
258
266
  - lib/filename_cleaner/filename_cleaner.rb
259
267
  - lib/filename_cleaner/version.rb
268
+ - lib/filename_cleaner.rb
269
+ - Gemfile
270
+ - Rakefile
271
+ - filename_cleaner.gemspec
272
+ - README.md
273
+ - CHANGELOG.md
274
+ - LICENSE
275
+ - .rubocop.yml
276
+ - .gitignore
260
277
  homepage: https://github.com/agilecreativity/filename_cleaner
261
278
  licenses:
262
279
  - MIT
263
- metadata: {}
264
280
  post_install_message:
265
281
  rdoc_options: []
266
282
  require_paths:
267
283
  - lib
268
284
  required_ruby_version: !ruby/object:Gem::Requirement
285
+ none: false
269
286
  requirements:
270
- - - ">="
287
+ - - ! '>='
271
288
  - !ruby/object:Gem::Version
272
- version: 2.1.0
289
+ version: 1.9.3
273
290
  required_rubygems_version: !ruby/object:Gem::Requirement
291
+ none: false
274
292
  requirements:
275
- - - ">="
293
+ - - ! '>='
276
294
  - !ruby/object:Gem::Version
277
295
  version: '0'
278
296
  requirements: []
279
297
  rubyforge_project:
280
- rubygems_version: 2.2.2
298
+ rubygems_version: 1.8.23.2
281
299
  signing_key:
282
- specification_version: 4
300
+ specification_version: 3
283
301
  summary: Bulk rename/remove unwanted characters from list of files in any directory
284
302
  recursively
285
303
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 5ec0ee36277338d28f1793f6537b8f29267fae97
4
- data.tar.gz: 8620faffd85b1ad8a5593a68fd2c1e8e42538044
5
- SHA512:
6
- metadata.gz: a91ea2287c2a08d6dbda4acd1187e4ae40ad93939fc1b8c8733b92cf68eb352a1e1797d831a49dfb8362134ea29ac9a75995c34177c8f5b35cd935a7fdf1cdbb
7
- data.tar.gz: 3323669252fba96e098e1febcf50fa0337f3d5ea690796f73a69a6e01990d75e6faaefae9e152403e3e46611691804404020a6c12a5bb812afc5394faaefb7cc