filename_cleaner 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +1 -1
- data/Rakefile +1 -6
- data/filename_cleaner.gemspec +1 -1
- data/lib/filename_cleaner/filename_cleaner.rb +1 -1
- data/lib/filename_cleaner/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bea77af736f7980276c01b596f6e4b207ea3d55
|
4
|
+
data.tar.gz: 2716bb211120b454221125f1c0d50b7e13d042ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c512e470ffa257d820278e493bcb419697a5e4e5e55dce15a25a81d5fa4de7c0d391f41581804b6a92b1bb01fc277700da92805ece786bc244bec01486b79cf
|
7
|
+
data.tar.gz: f6df80b584d188d574c4d54db0e2cb006cbc4cfafe6255bdd0d8ba1ad6327a01dfcccf29782b104efd10910f66616616c0b785ea1624bb01be6c724cdf38d4d4
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rake/testtask"
|
3
|
-
|
4
3
|
project_name = "filename_cleaner"
|
5
|
-
|
6
4
|
Rake::TestTask.new do |t|
|
7
5
|
t.libs << "lib/#{project_name}"
|
8
6
|
t.test_files = FileList["test/lib/#{project_name}/test_*.rb"]
|
9
7
|
t.verbose = true
|
10
8
|
end
|
11
|
-
|
12
9
|
task default: :test
|
13
|
-
|
14
10
|
task :pry do
|
15
11
|
require "pry"
|
16
12
|
require "awesome_print"
|
@@ -19,10 +15,9 @@ task :pry do
|
|
19
15
|
ARGV.clear
|
20
16
|
Pry.start
|
21
17
|
end
|
22
|
-
|
23
18
|
require "rubocop/rake_task"
|
24
19
|
desc "Run RuboCop on the lib directory"
|
25
|
-
|
20
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
26
21
|
task.patterns = ["lib/**/*.rb"]
|
27
22
|
# only show the files with failures
|
28
23
|
task.formatters = ["files"]
|
data/filename_cleaner.gemspec
CHANGED
@@ -40,6 +40,6 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_development_dependency "pry", "~> 0.9"
|
41
41
|
spec.add_development_dependency "gem-ctags", "~> 1.0"
|
42
42
|
spec.add_development_dependency "yard", "~> 0.8"
|
43
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
43
|
+
spec.add_development_dependency "rubocop", "~> 0.23"
|
44
44
|
spec.add_development_dependency "coveralls", "~> 0.7"
|
45
45
|
end
|
@@ -35,7 +35,7 @@ module FilenameCleaner
|
|
35
35
|
basename = basename.split(sep_char).map(&:downcase).join(sep_char)
|
36
36
|
end
|
37
37
|
if opts[:capitalize]
|
38
|
-
basename= basename.split(sep_char).map(&:capitalize).join(sep_char)
|
38
|
+
basename = basename.split(sep_char).map(&:capitalize).join(sep_char)
|
39
39
|
end
|
40
40
|
"#{basename}#{extname}"
|
41
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filename_cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '0.
|
201
|
+
version: '0.23'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '0.
|
208
|
+
version: '0.23'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: coveralls
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|