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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7c619f5e20af0a23fe3f9aba5a667c6478670b6e
4
- data.tar.gz: 39dfd09c377f6d5e6abcb9d2d3013b7c776342c9
2
+ SHA256:
3
+ metadata.gz: f6a704742fd6abc0b611cbc1d9b52a10c88163d61a40fdc02be57e1ef4ce16d0
4
+ data.tar.gz: d16b58ff085291c4a2e1300c4822b14d02fee15414556e8cbc1c483f71ceb09c
5
5
  SHA512:
6
- metadata.gz: 78279dff7b27ef355f4dd2ade7d8366421a3dfd726f45d0e388084c51871ae607359ec5b4d6967d68f32d09287ffd7e10e961e9e76eee3a81993c5c274152231
7
- data.tar.gz: a6dfe8778a4c752e84b373a115e4da10b81148e9ae341892b0aa36ab7b93f6e6825ef2e72a50d7a201499a0f3cbfd37f9e9033513f5bc0160199845b47d8bf75
6
+ metadata.gz: b10b7d1b15f35ae69e86e7c8c68376fe2a9747afde1f81d74fdb7df75482f10516e05bf422420952db913b6c391ab23b96e8359aa7a66c7d5f5d6f7963ce89ff
7
+ data.tar.gz: e32c709d93b9d01b8a4271916d2715366167bd9044c0903ea9a10d267ca62af57285f84257f66b932ff53010d98ff1ccdfc8bee8deff0e87fc60c4a889db0a18
data/CHANGELOG.md CHANGED
@@ -1,10 +1,14 @@
1
1
  ## CHANGELOG
2
2
 
3
- ### 1.0.1
3
+ ### v1.0.2
4
4
 
5
- * Relax Ruby version requirement
5
+ - 2024 re-relase, with GitHub CI and gemspec updates
6
6
 
7
- ### 1.0.0
7
+ ### v1.0.1
8
8
 
9
- * Inital release
9
+ - Relax Ruby version requirement
10
+
11
+ ### v1.0.0
12
+
13
+ - Initial release
10
14
 
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'minitest'
5
+ gem "minitest"
6
+ gem "rake"
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Jan Lelis, mail@janlelis.de
1
+ Copyright (c) 2015 Jan Lelis, https://janlelis.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # cd [![[version]](https://badge.fury.io/rb/cd.svg)](http://badge.fury.io/rb/cd)
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 <http://janlelis.com>. Released under the MIT license.
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 = "mail@janlelis.de"
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
@@ -1,7 +1,7 @@
1
1
  require 'fileutils'
2
2
 
3
3
  module Cd
4
- VERSION = '1.0.1'.freeze
4
+ VERSION = '1.0.2'.freeze
5
5
 
6
6
  extend self
7
7
 
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.1
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: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Enhanced cd command for the Ruby console.
14
- email: mail@janlelis.de
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
- rubyforge_project:
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:
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- script: bundle exec ruby spec/cd_spec.rb
5
-
6
- rvm:
7
- - 2.2
8
- - 2.1
9
- - 2.0
10
- - rbx-2
11
- - jruby-head
12
- - jruby-9000
13
-
14
- cache:
15
- - bundler
16
-
17
- matrix:
18
- fast_finish: true