jetbrains 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bb1115807d904fc0365e6125028037fcbb08e17
4
- data.tar.gz: b6875c2aad436af76f4762fc29e82cff1f857de4
3
+ metadata.gz: 10f8a84d3de0867aabe71a3b3c275de36f7375cd
4
+ data.tar.gz: 31601e228293ccd51eb9d760a747a80a898a5ff6
5
5
  SHA512:
6
- metadata.gz: 5aa972f56d9d02d23b5efdf9af39e5f7a769346aea63dc6bd51f2437f0b250d572b87a0b74dfb2edea5b9156136bd454a199e82cbae74c16190997576d0e4c5a
7
- data.tar.gz: 4c34ebd6ef2c5667d7c7c565b500bfb16d7c8a9166b52b21755b2eb0470ce00062d3408aec41e59305da94e21da7f90a587ea92f29886a349283e5ec1fb3e89c
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. i.e.
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
 
@@ -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 = "jetbrains"
7
+ spec.name = 'jetbrains'
8
8
  spec.version = Jetbrains::VERSION
9
- spec.authors = ["Cormac Cannon"]
10
- spec.email = ["cormacc.public@gmail.com"]
9
+ spec.authors = ['Cormac Cannon']
10
+ spec.email = ['cormacc.public@gmail.com']
11
11
 
12
- spec.summary = %q{Find and launch Jetbrains IDEs installed using the toolbox from the command line.}
13
- spec.description = %q{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 = "http://rubygems.org/gems/jetbrains"
15
- spec.license = "MIT"
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 = "bin"
30
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
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 "bundler", "~> 1.13"
34
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency 'bundler', '~> 1.13'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
35
26
  end
@@ -1,3 +1,3 @@
1
1
  module Jetbrains
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'.freeze
3
3
  end
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.1
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: http://rubygems.org/gems/jetbrains
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: