specific_install 0.3.6 → 0.3.7

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
  SHA256:
3
- metadata.gz: 7512355e136131a4c1413629e4a30ff7be2a5326dcb4fa213b627448ee53f1a1
4
- data.tar.gz: 587deaf278b3408bea5e3deb07b45ccafef2d8e21652857853816db225182574
3
+ metadata.gz: 3116c3947928d56b53ddefb21f04e054ee6f7f6d87c9a2f6db5eb0cee6c35b95
4
+ data.tar.gz: 937108da7d150435f786a76ee72e4076af3977b00abe6cb7df57b7818aee54e1
5
5
  SHA512:
6
- metadata.gz: d2b36f503ae729bdc11a657b98dc925c1b345a5f88113648134e51e5c4be9d6c30d39012ad095afab98233a318ffe79086f6a8e3d3de989d04cff10491333ab5
7
- data.tar.gz: 78579052188479a5ae52f18817e22917f907daa8bd05d121fa204e5020752cf197e48f5e91a6b5aeaeb859425440d68e32a8ec24a8db55066d02362e2934343d
6
+ metadata.gz: b4d2988cd8f060580d3060ab8bc1a09e5ae6d9565b581b1f645007cdbb3315e859bcfce3fc21453fa6132225ede9dbad8c12b2927c86a0549e2fa6e6e0289005
7
+ data.tar.gz: 47c325189d85d00bf40cef6ca203f820f95a3fa1eee31f853d66353894556dc525ec38b928374035f816f152c8c1b7ad66b72b68e6b373c27348baa75597f6a0
data/Rakefile CHANGED
@@ -1,6 +1,10 @@
1
1
  require 'rubygems'
2
2
  require "bundler/gem_tasks"
3
3
 
4
+ # how to:
5
+ # edit lib/specific_install/version.rb
6
+ # rake release, seems to work!
7
+
4
8
  desc "Uninstall specific_install and release, then reinstall"
5
9
  task :rubygems do
6
10
  sh "gem uninstall specific_install --executables"
@@ -71,7 +71,7 @@ class Gem::Commands::SpecificInstallCommand < Gem::Command
71
71
  end
72
72
 
73
73
  def break_unless_git_present
74
- unless system("type -a git")
74
+ unless system("git --version") || system("sh -c 'command -V git'")
75
75
  abort("Please install git before using a git based link for specific_install")
76
76
  end
77
77
  end
@@ -1,3 +1,3 @@
1
1
  module SpecificInstall
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specific_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Pack
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-07 00:00:00.000000000 Z
12
+ date: 2021-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec