jetbrains 0.0.1 → 0.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 +4 -4
- data/README.md +9 -3
- data/jetbrains.gemspec +12 -21
- data/lib/jetbrains/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10f8a84d3de0867aabe71a3b3c275de36f7375cd
|
|
4
|
+
data.tar.gz: 31601e228293ccd51eb9d760a747a80a898a5ff6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c17822563fa0e3ed8caa42f890bdb2699a8bac46b8dcfe551f45197235f7a095913c3e8853fd72e2082622f2e10263a7cad5fcedd48a2a66a4222daa399eb94
|
|
7
|
+
data.tar.gz: e6589985a6a5af93ae487a3c60e51169a32e46f6a1397c704aa86c69c64334aac67532dcd240f0a06ece7fea9112206c83789efe2d813322a90cb0956f5b0854
|
data/README.md
CHANGED
|
@@ -10,30 +10,36 @@ Minimally tested on my own installation, i.e.
|
|
|
10
10
|
* Toolbox version 1.0.2002
|
|
11
11
|
* Current and EAP releases of IDEA and CLion installed
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
I realise this could be easily and more portably implemented in bash, but life's too short :)
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
17
|
$ gem install jetbrains
|
|
18
18
|
|
|
19
|
+
`lib/jetbrains.rb` should also function as a standalone script, so you just copy it from the repo to somewhere in your path
|
|
20
|
+
and `chmod a+x` it if e.g. you want to chuck this in your dotfiles repo or something rather than installing it as a gem.
|
|
21
|
+
|
|
19
22
|
## Usage
|
|
20
23
|
|
|
21
24
|
$ jetbrains <app-name>
|
|
22
25
|
|
|
23
26
|
where the app-name is the prefix of the *.sh launcher included in the app's bin folder.
|
|
24
|
-
These are `idea.sh` and `clion.sh` for the two I use.
|
|
27
|
+
These are `idea.sh` and `clion.sh` for the two I use. e.g.
|
|
25
28
|
|
|
26
29
|
$ jetbrains idea
|
|
27
30
|
|
|
28
31
|
or
|
|
29
32
|
|
|
30
|
-
$ jetbrains clion
|
|
33
|
+
$ jetbrains clion
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
## Contributing
|
|
34
37
|
|
|
35
38
|
Bug reports and pull requests are welcome on GitHub at https://github.com/cormacc/jetbrains
|
|
36
39
|
|
|
40
|
+
Should be straightforward to add support for Windows and OSX. Also non-default toolbox paths.
|
|
41
|
+
I have no need for either, but PRs welcome if you do.
|
|
42
|
+
|
|
37
43
|
|
|
38
44
|
## License
|
|
39
45
|
|
data/jetbrains.gemspec
CHANGED
|
@@ -4,32 +4,23 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
require 'jetbrains/version'
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name =
|
|
7
|
+
spec.name = 'jetbrains'
|
|
8
8
|
spec.version = Jetbrains::VERSION
|
|
9
|
-
spec.authors = [
|
|
10
|
-
spec.email = [
|
|
9
|
+
spec.authors = ['Cormac Cannon']
|
|
10
|
+
spec.email = ['cormacc.public@gmail.com']
|
|
11
11
|
|
|
12
|
-
spec.summary =
|
|
13
|
-
spec.description =
|
|
14
|
-
spec.homepage =
|
|
15
|
-
spec.license =
|
|
16
|
-
|
|
17
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
18
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
19
|
-
if spec.respond_to?(:metadata)
|
|
20
|
-
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
|
21
|
-
else
|
|
22
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
|
23
|
-
"public gem pushes."
|
|
24
|
-
end
|
|
12
|
+
spec.summary = 'Find and launch Jetbrains IDEs installed using the toolbox from the command line.'
|
|
13
|
+
spec.description = "Searches default (Linux) Jetbrains Toolbox installation path for latest installation of a given Jetbrains IDE. e.g. 'jetbrains clion' or 'jetbrains idea'"
|
|
14
|
+
spec.homepage = 'https://rubygems.org/gems/jetbrains'
|
|
15
|
+
spec.license = 'MIT'
|
|
25
16
|
|
|
26
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
27
18
|
f.match(%r{^(test|spec|features)/})
|
|
28
19
|
end
|
|
29
|
-
spec.bindir =
|
|
30
|
-
spec.executables = spec.files.grep(%r{
|
|
31
|
-
spec.require_paths = [
|
|
20
|
+
spec.bindir = 'bin'
|
|
21
|
+
spec.executables = spec.files.grep(%r{^#{spec.bindir}/}) { |f| File.basename(f) }
|
|
22
|
+
spec.require_paths = ['lib']
|
|
32
23
|
|
|
33
|
-
spec.add_development_dependency
|
|
34
|
-
spec.add_development_dependency
|
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
|
25
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
|
35
26
|
end
|
data/lib/jetbrains/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jetbrains
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cormac Cannon
|
|
@@ -60,11 +60,10 @@ files:
|
|
|
60
60
|
- jetbrains.gemspec
|
|
61
61
|
- lib/jetbrains.rb
|
|
62
62
|
- lib/jetbrains/version.rb
|
|
63
|
-
homepage:
|
|
63
|
+
homepage: https://rubygems.org/gems/jetbrains
|
|
64
64
|
licenses:
|
|
65
65
|
- MIT
|
|
66
|
-
metadata:
|
|
67
|
-
allowed_push_host: https://rubygems.org
|
|
66
|
+
metadata: {}
|
|
68
67
|
post_install_message:
|
|
69
68
|
rdoc_options: []
|
|
70
69
|
require_paths:
|