prj 1.0.2 → 2.0.1.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +1 -8
- data/Gemfile.lock +36 -20
- data/README.md +8 -2
- data/VERSION +1 -1
- data/bin/prj +0 -1
- data/lib/prj/app.rb +1 -1
- data/lib/prj/finder.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +47 -35
- data/lib/prj/fast_traverse.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d553608c62f5fb269385e93b7923b65c23f0298f41c69059832c0ce0133d852
|
4
|
+
data.tar.gz: 8515071c9310ee03732bf841e90ff4a069ba8b339df4caa64d1dee04961000f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d5562e51b35cc8a9f1cdc66fe4922467803325258e3b9b63161ae2e6531ef07c97f56f9764e7f7d105a5b0618b537c3312efe9ac7e4c257c102cb500bae6d5
|
7
|
+
data.tar.gz: e59e54c6f0e5a67bd49154328ca57e059ad4641f333a6a23317ffaeef219b372407f411123c5408e44da0e45131b6238b73d6fd17bda6ef767f95741f01eea5c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,29 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
prj (2.0.0)
|
5
|
+
|
1
6
|
GEM
|
2
7
|
remote: https://rubygems.org/
|
3
8
|
specs:
|
4
|
-
diff-lcs (1.
|
5
|
-
|
6
|
-
rake (0.
|
7
|
-
rake-compiler (
|
9
|
+
diff-lcs (1.5.0)
|
10
|
+
docile (1.4.0)
|
11
|
+
rake (13.0.6)
|
12
|
+
rake-compiler (1.2.5)
|
8
13
|
rake
|
9
|
-
rspec (
|
10
|
-
rspec-core (~>
|
11
|
-
rspec-expectations (~>
|
12
|
-
rspec-mocks (~>
|
13
|
-
rspec-core (
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
14
|
+
rspec (3.12.0)
|
15
|
+
rspec-core (~> 3.12.0)
|
16
|
+
rspec-expectations (~> 3.12.0)
|
17
|
+
rspec-mocks (~> 3.12.0)
|
18
|
+
rspec-core (3.12.2)
|
19
|
+
rspec-support (~> 3.12.0)
|
20
|
+
rspec-expectations (3.12.3)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.12.0)
|
23
|
+
rspec-mocks (3.12.6)
|
24
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
+
rspec-support (~> 3.12.0)
|
26
|
+
rspec-support (3.12.1)
|
27
|
+
simplecov (0.22.0)
|
28
|
+
docile (~> 1.1)
|
29
|
+
simplecov-html (~> 0.11)
|
30
|
+
simplecov_json_formatter (~> 0.1)
|
31
|
+
simplecov-html (0.12.3)
|
32
|
+
simplecov_json_formatter (0.1.4)
|
21
33
|
|
22
34
|
PLATFORMS
|
23
35
|
ruby
|
24
36
|
|
25
37
|
DEPENDENCIES
|
26
|
-
|
27
|
-
rake
|
28
|
-
|
29
|
-
|
38
|
+
prj!
|
39
|
+
rake (~> 13.0)
|
40
|
+
rake-compiler (~> 1.2)
|
41
|
+
rspec (~> 3.4)
|
42
|
+
simplecov (~> 0.22)
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
2.4.10
|
data/README.md
CHANGED
@@ -22,10 +22,16 @@ Installation & Configuration:
|
|
22
22
|
|
23
23
|
```gem install prj```
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
2. Configure your shell:
|
26
|
+
* ([oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) users) Put [scripts/zsh/prj.plugin.zsh](https://raw.github.com/v-yarotsky/prj/master/scripts/zsh/prj.plugin.zsh) into ``~/.oh-my-zsh/custom/plugins/prj/prj.plugin.zsh``.
|
27
27
|
Don't forget to enable the plugin in ~/.zshrc
|
28
28
|
|
29
|
+
* (bash users) Add the following snippet to your .bash_profile:
|
30
|
+
|
31
|
+
function p() {
|
32
|
+
builtin cd "$(prj $1)"
|
33
|
+
}
|
34
|
+
|
29
35
|
3. Put a project root directory name into ~/.prj.yml, i.e:
|
30
36
|
```
|
31
37
|
projects_root: ~/Projects
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.1.pre.1
|
data/bin/prj
CHANGED
data/lib/prj/app.rb
CHANGED
@@ -29,7 +29,7 @@ module Prj
|
|
29
29
|
|
30
30
|
def config
|
31
31
|
@config ||= begin
|
32
|
-
config = File.
|
32
|
+
config = File.exist?(self.class.config_path) ? YAML.load(File.read(self.class.config_path)) : {}
|
33
33
|
default_config.merge(config)
|
34
34
|
end
|
35
35
|
end
|
data/lib/prj/finder.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,59 +1,73 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Yarotsky
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.4'
|
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: '
|
26
|
+
version: '3.4'
|
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: '0
|
33
|
+
version: '13.0'
|
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: '0
|
40
|
+
version: '13.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: simplecov
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - ~>
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
61
|
+
version: '0.22'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - ~>
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
55
|
-
description:
|
56
|
-
|
68
|
+
version: '0.22'
|
69
|
+
description: " Prj is an utility to quickly go to project directory using fuzzy
|
70
|
+
matching\n"
|
57
71
|
email: vladimir.yarotksy@gmail.com
|
58
72
|
executables:
|
59
73
|
- prj
|
@@ -61,47 +75,45 @@ extensions:
|
|
61
75
|
- ext/prj/extconf.rb
|
62
76
|
extra_rdoc_files: []
|
63
77
|
files:
|
78
|
+
- Gemfile
|
79
|
+
- Gemfile.lock
|
80
|
+
- LICENSE.txt
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- VERSION
|
64
84
|
- bin/prj
|
85
|
+
- ext/prj/extconf.rb
|
86
|
+
- ext/prj/fast_traverse.c
|
87
|
+
- lib/prj.rb
|
65
88
|
- lib/prj/app.rb
|
66
89
|
- lib/prj/dir_with_score.rb
|
67
|
-
- lib/prj/fast_traverse.bundle
|
68
90
|
- lib/prj/filter.rb
|
69
91
|
- lib/prj/finder.rb
|
70
|
-
- lib/prj.rb
|
71
|
-
- ext/prj/extconf.rb
|
72
|
-
- ext/prj/fast_traverse.c
|
73
92
|
- spec/acceptance/app_spec.rb
|
74
93
|
- spec/lib/prj/filter_spec.rb
|
75
94
|
- spec/lib/prj/finder_spec.rb
|
76
95
|
- spec/spec_helper.rb
|
77
|
-
- Gemfile
|
78
|
-
- Gemfile.lock
|
79
|
-
- Rakefile
|
80
|
-
- LICENSE.txt
|
81
|
-
- README.md
|
82
|
-
- VERSION
|
83
96
|
homepage: http://github.com/v-yarotsky/prj
|
84
97
|
licenses:
|
85
98
|
- MIT
|
86
99
|
metadata: {}
|
87
|
-
post_install_message:
|
100
|
+
post_install_message:
|
88
101
|
rdoc_options: []
|
89
102
|
require_paths:
|
90
103
|
- lib
|
91
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
105
|
requirements:
|
93
|
-
- -
|
106
|
+
- - ">="
|
94
107
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
108
|
+
version: 2.2.0
|
96
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
110
|
requirements:
|
98
|
-
- -
|
111
|
+
- - ">"
|
99
112
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.3.
|
113
|
+
version: 1.3.1
|
101
114
|
requirements: []
|
102
|
-
|
103
|
-
|
104
|
-
signing_key:
|
115
|
+
rubygems_version: 3.4.10
|
116
|
+
signing_key:
|
105
117
|
specification_version: 3
|
106
118
|
summary: Fuzzy-matching project finder
|
107
119
|
test_files: []
|
Binary file
|