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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35445207a901cb122ba596e958a996cd819bdebb
4
- data.tar.gz: 69467588b5aba6e7996e76db86231f45ffc57aaf
3
+ metadata.gz: 6bea77af736f7980276c01b596f6e4b207ea3d55
4
+ data.tar.gz: 2716bb211120b454221125f1c0d50b7e13d042ec
5
5
  SHA512:
6
- metadata.gz: e41225111100cc8df68b16b19e9b6df8140ba91156cd0f27b5ba305225b35f264dbaa438543f5e0a311ed515e32506176735ef3531dae605a845a5a11da4784e
7
- data.tar.gz: b342996a7c09770e73063a78b927989c05e393c048951ac726e3f18dd3e754d26fd3dce82cb37a235b3d69293dfa134d6d4cdda3eb27c3fc1baf446c42071cca
6
+ metadata.gz: 3c512e470ffa257d820278e493bcb419697a5e4e5e55dce15a25a81d5fa4de7c0d391f41581804b6a92b1bb01fc277700da92805ece786bc244bec01486b79cf
7
+ data.tar.gz: f6df80b584d188d574c4d54db0e2cb006cbc4cfafe6255bdd0d8ba1ad6327a01dfcccf29782b104efd10910f66616616c0b785ea1624bb01be6c724cdf38d4d4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 0.3.10
2
+
3
+ * Update travis-ci to remove the support for 1.9.3
4
+ * Update the Rakefile to use new API of `rubocop`
5
+ * Update `rubocop` to latest version
6
+
1
7
  ### 0.3.9
2
8
 
3
9
  * Make `formatted_name` public so that it can be re-used in other projects
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  # Note: may be just add to to the filename_cleaner.gemspec
6
- gem 'coveralls', require: false
6
+ gem "coveralls", require: false
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
- Rubocop::RakeTask.new(:rubocop) do |task|
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"]
@@ -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.20"
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
@@ -1,3 +1,3 @@
1
1
  module FilenameCleaner
2
- VERSION = "0.3.9"
2
+ VERSION = "0.3.10"
3
3
  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.9
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.20'
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.20'
208
+ version: '0.23'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: coveralls
211
211
  requirement: !ruby/object:Gem::Requirement