killnfd 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 731335446cbeb896e653d96c0b74e460ff4970d2
4
- data.tar.gz: 9ff9c567bb364ffb073e5d36f2b0099a6f2c8711
3
+ metadata.gz: 49adf2447aaa72396404d35b913b9fcfedc27086
4
+ data.tar.gz: db7363906b7104d94d08b0b9264852b4c750aa03
5
5
  SHA512:
6
- metadata.gz: 7b7722fb2f61315321eb34f62832aa4bbf06ac46b5e9b2f33cff83f1b901d8c7a977edfb90cec69d230cf881b57347ac60e1be784c0286e43c9bb5138c132cc9
7
- data.tar.gz: 6dc8f445f8303ad0dbea2d5732f58db478e1f23dba61b69b8e0c49545d9b0cc8a4a1bbbe308bf3ae4520d35245a94391a4d1acb9e62d36d97c14e8f2b13c40f0
6
+ metadata.gz: 1844184321a5988b3baa2a91f7507019018fd9844a77c47be7f7b9c4d245cc67f56ba4f31b7cbdaab41f94349cefba48c8c7ef61dceb2e78eeba0daa5d324ac7
7
+ data.tar.gz: dddef9698d6a2d4b2dce2b01118a114ff8b225e9e9f4c77150be22d9cc19d9404a0ae2a4dab203f6aa20e3847f45ce14af9051fdac1a5bad00846ba758c71053
data/.travis.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.2.0
3
4
  - 2.2.3
4
5
  before_install: gem install bundler -v 1.10.6
data/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # KillNFD
2
2
 
3
+ [![Build Status](https://travis-ci.org/osyoyu/killnfd.svg?branch=master)](https://travis-ci.org/osyoyu/killnfd)
4
+
3
5
  Ever have seen cool filenames like `ま〜ふ゛るMake up a-ha-ha!` or `ケ゛ンキトリッハ゜ー` on your Linux system? Just run `killnfd` and convert them into their correct form.
4
6
 
7
+ ## Requirements
8
+ - Ruby >= 2.2.0
9
+
5
10
  ## Installation
6
11
 
7
12
  $ gem install killnfd
data/bin/killnfd ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 'killnfd'
5
+
6
+ options = ARGV.getopts("", "dry-run")
7
+
8
+ KillNFD::kill_nfd(dryrun: options['dry-run'])
data/killnfd.gemspec CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{A command-line tool to convert your NFD file names to NFC}
13
13
  # spec.description = %q{TODO: Write a longer description or delete this line.}
14
14
  spec.homepage = "https://github.com/osyoyu/killnfd"
15
+ spec.license = "MIT"
15
16
 
16
17
  if spec.respond_to?(:metadata)
17
18
  spec.metadata['allowed_push_host'] = "https://rubygems.org"
@@ -20,10 +21,10 @@ Gem::Specification.new do |spec|
20
21
  end
21
22
 
22
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
- spec.bindir = "exe"
24
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
+ spec.required_ruby_version = '>= 2.2.0'
27
28
  spec.add_development_dependency "bundler", "~> 1.10"
28
29
  spec.add_development_dependency "rake", "~> 10.0"
29
30
  spec.add_development_dependency "rspec"
@@ -1,3 +1,3 @@
1
1
  module KillNFD
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killnfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - osyoyu
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-11-02 00:00:00.000000000 Z
12
12
  dependencies:
@@ -55,7 +55,10 @@ dependencies:
55
55
  description:
56
56
  email:
57
57
  - osyoyu@osyoyu.com
58
- executables: []
58
+ executables:
59
+ - console
60
+ - killnfd
61
+ - setup
59
62
  extensions: []
60
63
  extra_rdoc_files: []
61
64
  files:
@@ -66,12 +69,14 @@ files:
66
69
  - README.md
67
70
  - Rakefile
68
71
  - bin/console
72
+ - bin/killnfd
69
73
  - bin/setup
70
74
  - killnfd.gemspec
71
75
  - lib/killnfd.rb
72
76
  - lib/killnfd/version.rb
73
77
  homepage: https://github.com/osyoyu/killnfd
74
- licenses: []
78
+ licenses:
79
+ - MIT
75
80
  metadata:
76
81
  allowed_push_host: https://rubygems.org
77
82
  post_install_message:
@@ -82,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
87
  requirements:
83
88
  - - ">="
84
89
  - !ruby/object:Gem::Version
85
- version: '0'
90
+ version: 2.2.0
86
91
  required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  requirements:
88
93
  - - ">="