cd 1.0.1 → 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 +5 -5
- data/CHANGELOG.md +8 -4
- data/Gemfile +3 -2
- data/Gemfile.lock +22 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +2 -2
- data/Rakefile +13 -1
- data/cd.gemspec +3 -2
- data/lib/cd.rb +1 -1
- metadata +10 -9
- data/.travis.yml +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f6a704742fd6abc0b611cbc1d9b52a10c88163d61a40fdc02be57e1ef4ce16d0
|
4
|
+
data.tar.gz: d16b58ff085291c4a2e1300c4822b14d02fee15414556e8cbc1c483f71ceb09c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b10b7d1b15f35ae69e86e7c8c68376fe2a9747afde1f81d74fdb7df75482f10516e05bf422420952db913b6c391ab23b96e8359aa7a66c7d5f5d6f7963ce89ff
|
7
|
+
data.tar.gz: e32c709d93b9d01b8a4271916d2715366167bd9044c0903ea9a10d267ca62af57285f84257f66b932ff53010d98ff1ccdfc8bee8deff0e87fc60c4a889db0a18
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
## CHANGELOG
|
2
2
|
|
3
|
-
###
|
3
|
+
### v1.0.2
|
4
4
|
|
5
|
-
|
5
|
+
- 2024 re-relase, with GitHub CI and gemspec updates
|
6
6
|
|
7
|
-
###
|
7
|
+
### v1.0.1
|
8
8
|
|
9
|
-
|
9
|
+
- Relax Ruby version requirement
|
10
|
+
|
11
|
+
### v1.0.0
|
12
|
+
|
13
|
+
- Initial release
|
10
14
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cd (1.0.2)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
minitest (5.22.3)
|
10
|
+
rake (13.2.0)
|
11
|
+
|
12
|
+
PLATFORMS
|
13
|
+
ruby
|
14
|
+
x86_64-linux
|
15
|
+
|
16
|
+
DEPENDENCIES
|
17
|
+
cd!
|
18
|
+
minitest
|
19
|
+
rake
|
20
|
+
|
21
|
+
BUNDLED WITH
|
22
|
+
2.5.3
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# cd [![[version]](https://badge.fury.io/rb/cd.svg)](
|
1
|
+
# cd [![[version]](https://badge.fury.io/rb/cd.svg)](https://badge.fury.io/rb/cd)
|
2
2
|
|
3
3
|
Enhanced cd command for the Ruby console.
|
4
4
|
|
@@ -24,4 +24,4 @@ cd 'some/dir' # change to that directory and list its content
|
|
24
24
|
|
25
25
|
## MIT License
|
26
26
|
|
27
|
-
Copyright (C) 2015 Jan Lelis <
|
27
|
+
Copyright (C) 2015 Jan Lelis <https://janlelis.com>. Released under the MIT license.
|
data/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# # #
|
2
2
|
# Get gemspec info
|
3
3
|
|
4
|
-
gemspec_file = Dir['*.gemspec'].first
|
4
|
+
gemspec_file = Dir['*.gemspec'].first
|
5
5
|
gemspec = eval File.read(gemspec_file), binding, gemspec_file
|
6
6
|
info = "#{gemspec.name} | #{gemspec.version} | " \
|
7
7
|
"#{gemspec.runtime_dependencies.size} dependencies | " \
|
@@ -28,3 +28,15 @@ desc "#{gemspec.name} | IRB"
|
|
28
28
|
task :irb do
|
29
29
|
sh "irb -I ./lib -r #{gemspec.name.gsub '-','/'}"
|
30
30
|
end
|
31
|
+
|
32
|
+
|
33
|
+
# # #
|
34
|
+
# Run specs
|
35
|
+
|
36
|
+
desc "#{gemspec.name} | Spec"
|
37
|
+
task :spec do
|
38
|
+
# sh "for file in spec/*_spec.rb; do ruby $file; done"
|
39
|
+
ruby "spec/cd_spec.rb"
|
40
|
+
end
|
41
|
+
task default: :spec
|
42
|
+
|
data/cd.gemspec
CHANGED
@@ -6,9 +6,9 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "cd"
|
7
7
|
gem.version = Cd::VERSION
|
8
8
|
gem.summary = "Enhanced cd command for the Ruby console"
|
9
|
-
gem.description = "Enhanced cd command for the Ruby console."
|
9
|
+
gem.description = "Enhanced cd command for the Ruby console. Supports changing to previous directory using `-cd` and to the user's home directory with `~cd`."
|
10
10
|
gem.authors = ["Jan Lelis"]
|
11
|
-
gem.email = "
|
11
|
+
gem.email = ["hi@ruby.consulting"]
|
12
12
|
gem.homepage = "https://github.com/janlelis/cd"
|
13
13
|
gem.license = "MIT"
|
14
14
|
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
|
+
gem.metadata = { "rubygems_mfa_required" => "true" }
|
19
20
|
|
20
21
|
gem.required_ruby_version = '>= 1.9.3'
|
21
22
|
end
|
data/lib/cd.rb
CHANGED
metadata
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Enhanced cd command for the Ruby console.
|
14
|
-
|
13
|
+
description: Enhanced cd command for the Ruby console. Supports changing to previous
|
14
|
+
directory using `-cd` and to the user's home directory with `~cd`.
|
15
|
+
email:
|
16
|
+
- hi@ruby.consulting
|
15
17
|
executables: []
|
16
18
|
extensions: []
|
17
19
|
extra_rdoc_files: []
|
18
20
|
files:
|
19
21
|
- ".gitignore"
|
20
|
-
- ".travis.yml"
|
21
22
|
- CHANGELOG.md
|
22
23
|
- Gemfile
|
24
|
+
- Gemfile.lock
|
23
25
|
- MIT-LICENSE.txt
|
24
26
|
- README.md
|
25
27
|
- Rakefile
|
@@ -29,7 +31,8 @@ files:
|
|
29
31
|
homepage: https://github.com/janlelis/cd
|
30
32
|
licenses:
|
31
33
|
- MIT
|
32
|
-
metadata:
|
34
|
+
metadata:
|
35
|
+
rubygems_mfa_required: 'true'
|
33
36
|
post_install_message:
|
34
37
|
rdoc_options: []
|
35
38
|
require_paths:
|
@@ -45,11 +48,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
48
|
- !ruby/object:Gem::Version
|
46
49
|
version: '0'
|
47
50
|
requirements: []
|
48
|
-
|
49
|
-
rubygems_version: 2.4.6
|
51
|
+
rubygems_version: 3.5.3
|
50
52
|
signing_key:
|
51
53
|
specification_version: 4
|
52
54
|
summary: Enhanced cd command for the Ruby console
|
53
55
|
test_files:
|
54
56
|
- spec/cd_spec.rb
|
55
|
-
has_rdoc:
|