batch_rename 0.1.1 → 0.1.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
- SHA1:
3
- metadata.gz: 48721868993417bc6fa05e903c312b6a86243be9
4
- data.tar.gz: 84cd80c60c5560fd8a71bd0d9bde4497e7c2ed51
2
+ SHA256:
3
+ metadata.gz: b89f7b8b023ec4bdd4672cc89f1daccff01daa74b9f1f9c2fbbb6b58c68b7cbf
4
+ data.tar.gz: cb5e0b74bb985420a52cd9a03c5890dadd6be84ab8aa4b3f0a1fc73e3bebd649
5
5
  SHA512:
6
- metadata.gz: d26499f7b7d2d6220336f939421a064789f33d08ab6273e9e04eaea0fa41d66f2b0c9a714365b7762734f399f771f31e3a024abea5c64014c7b3384c6984a3ba
7
- data.tar.gz: 33882775aa1b306e5971d518ee05de86bd4fa4542d948efdbf340d101a3ab6047da88e4d9ed764995bf791c1ecc45265e49faee8a28bcaaced7f65bca71136cf
6
+ metadata.gz: a5433d95b9a765543e3ca28f991afab772de612f741f34b5b4dbb82c4576e07c7d6907734c4460d1d31dfdc132bfab193d9f13c9002f862b6f580597c63f725c
7
+ data.tar.gz: 2a5b3d9f47573381f49d15b65019f4126ae932ddc235fc5a3c31efab15a082e61b0dae3d8636e1f684a5ac435ce382e1a5e9248c2988219d164a656441830c94
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.6
data/README.md CHANGED
@@ -4,25 +4,24 @@ This gem provides a CLI command:
4
4
 
5
5
  > `batch-rename`
6
6
 
7
- to **bulk rename files** in OS X using an interactive text editor.
7
+ to **bulk rename files** in Linux or macOS using an interactive text editor.
8
8
 
9
9
 
10
10
  ## Background
11
11
 
12
- This gem was inspired by a question from StackExchange user [Yuriy Babenko](http://apple.stackexchange.com/users/71676) in June 2015 where he asked whether there was [an OS X app/way to batch rename files via a purely text interface](http://apple.stackexchange.com/questions/192984).
12
+ This gem was inspired by a question from StackExchange user [Yuriy Babenko](http://apple.stackexchange.com/users/71676) in June 2015 where they asked whether there was [an OS X app/way to batch rename files via a purely text interface](http://apple.stackexchange.com/questions/192984).
13
13
 
14
14
 
15
15
  ## System requirements
16
16
 
17
- * This gem has been tested on **OS X Yosemite only.**
18
- It should be trivial though to make it work on Windows, Linux, or OS X pre-Yosemite. PRs are welcome!
17
+ * This gem has been tested on macOS and Linux only.
19
18
 
20
19
  * The gem **depends on DiffMerge** to be installed, a visual diff editor developed by SourceGear. See the next section for details.
21
20
 
22
21
 
23
22
  ## Installation
24
23
 
25
- 1. First, make sure you have [DiffMerge](https://sourcegear.com/diffmerge) installed. You can either download it from [SourceGear’s website](https://sourcegear.com/diffmerge/downloads.php) or via [Homebrew Cask](http://caskroom.io) (`brew cask install diffmerge`).
24
+ 1. First, make sure you have [DiffMerge](https://sourcegear.com/diffmerge) installed. You can either download it from [SourceGear’s website](https://sourcegear.com/diffmerge/downloads.php) or search your system package manager for `diffmerge`.
26
25
 
27
26
  2. Install the gem:
28
27
 
@@ -33,7 +32,7 @@ gem install batch_rename
33
32
 
34
33
  ## Usage
35
34
 
36
- 1. Open Terminal.app.
35
+ 1. Open your terminal.
37
36
 
38
37
  2. `cd` to the directory whose content you want to rename.
39
38
 
@@ -63,7 +62,7 @@ A separate [license agreement for DiffMerge](https://sourcegear.com/diffmerge/we
63
62
 
64
63
  ## License
65
64
 
66
- Copyright (c) 2015, Claudia Pellegrino
65
+ Copyright (c) 2015 – 2022, Claudia Pellegrino
67
66
 
68
67
  Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
69
68
 
data/batch_rename.gemspec CHANGED
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  module BatchRename
4
4
  class Editor::DiffMerge < Editor::EditorBase
5
- PATH = '/usr/local/bin/diffmerge'
5
+ PATH = 'diffmerge'
6
6
 
7
7
  def launch!
8
8
  unless system(PATH, *args)
@@ -1,3 +1,3 @@
1
1
  module BatchRename
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,59 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch_rename
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudia
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-27 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: 2.3.15
20
20
  type: :development
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: '1.10'
26
+ version: 2.3.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 13.0.6
34
34
  type: :development
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: '10.0'
40
+ version: 13.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: '3.11'
48
48
  type: :development
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: '3.0'
55
- description: |
56
- This gem provides a CLI command `batch-rename` to bulk rename files in OS&nbsp;X using an interactive text editor. It has been inspired by a question on Stack Exchange.
54
+ version: '3.11'
55
+ description: 'This gem provides a CLI command `batch-rename` to bulk rename files
56
+ in OS&nbsp;X using an interactive text editor. It has been inspired by a question
57
+ on Stack Exchange.
58
+
59
+ '
57
60
  email:
58
61
  - dieclau@eml.cc
59
62
  executables:
@@ -61,10 +64,11 @@ executables:
61
64
  extensions: []
62
65
  extra_rdoc_files: []
63
66
  files:
64
- - .gitattributes
65
- - .gitignore
66
- - .rspec
67
- - .travis.yml
67
+ - ".gitattributes"
68
+ - ".gitignore"
69
+ - ".rspec"
70
+ - ".ruby-version"
71
+ - ".travis.yml"
68
72
  - Gemfile
69
73
  - LICENSE
70
74
  - README.md
@@ -84,24 +88,23 @@ homepage: http://github.com/claui/batch_rename
84
88
  licenses:
85
89
  - ISC
86
90
  metadata: {}
87
- post_install_message:
91
+ post_install_message:
88
92
  rdoc_options: []
89
93
  require_paths:
90
94
  - lib
91
95
  required_ruby_version: !ruby/object:Gem::Requirement
92
96
  requirements:
93
- - - '>='
97
+ - - ">="
94
98
  - !ruby/object:Gem::Version
95
99
  version: '0'
96
100
  required_rubygems_version: !ruby/object:Gem::Requirement
97
101
  requirements:
98
- - - '>='
102
+ - - ">="
99
103
  - !ruby/object:Gem::Version
100
104
  version: '0'
101
105
  requirements: []
102
- rubyforge_project:
103
- rubygems_version: 2.4.4
104
- signing_key:
106
+ rubygems_version: 3.1.6
107
+ signing_key:
105
108
  specification_version: 4
106
109
  summary: Batch rename files in OS X using an interactive editor
107
110
  test_files: []