specific_install 0.3.5 → 0.3.6

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
- SHA1:
3
- metadata.gz: 1cf60e956c233f744de19b891346d0c71aba6c5c
4
- data.tar.gz: ca46ddc44a3228e3f192d66c9541e3d3159a9d70
2
+ SHA256:
3
+ metadata.gz: 7512355e136131a4c1413629e4a30ff7be2a5326dcb4fa213b627448ee53f1a1
4
+ data.tar.gz: 587deaf278b3408bea5e3deb07b45ccafef2d8e21652857853816db225182574
5
5
  SHA512:
6
- metadata.gz: df914f85bed08fdd9be0f2a556f28eada0f160e92f29996aff808c89c2f16fb436760f9ed94c0c6b58e68670c94bbd940a2a1d6df099bf4a1576932a1e51966b
7
- data.tar.gz: 539c384819a5f61a90a92b4e331f32f0cbc9ffad721a028418ce2c656e4c961c1d1e9c5d057a7167a19cbd0b15c9304d612b457aa20a2339da78fa05413adec9
6
+ metadata.gz: d2b36f503ae729bdc11a657b98dc925c1b345a5f88113648134e51e5c4be9d6c30d39012ad095afab98233a318ffe79086f6a8e3d3de989d04cff10491333ab5
7
+ data.tar.gz: 78579052188479a5ae52f18817e22917f907daa8bd05d121fa204e5020752cf197e48f5e91a6b5aeaeb859425440d68e32a8ec24a8db55066d02362e2934343d
@@ -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("which git") || system("where git")
74
+ unless system("type -a git")
75
75
  abort("Please install git before using a git based link for specific_install")
76
76
  end
77
77
  end
@@ -233,7 +233,6 @@ class Gem::Commands::SpecificInstallCommand < Gem::Command
233
233
 
234
234
  def change_to_branch(branch)
235
235
  git "checkout", branch
236
- git "branch"
237
236
  end
238
237
 
239
238
  def reset_to_commit(ref)
@@ -1,2 +1,7 @@
1
- require "specific_install/version"
2
- require "rubygems/commands/specific_install_command"
1
+ begin
2
+ require "specific_install/version"
3
+ require "rubygems/commands/specific_install_command"
4
+ rescue LoadError
5
+ # This happens with `bundle exec gem build <gemspec>` commands.
6
+ # But in that context we don't care.
7
+ end
@@ -1,3 +1,3 @@
1
1
  module SpecificInstall
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
20
  s.require_paths = ["lib"]
21
21
  s.platform = Gem::Platform::RUBY
22
- s.rubyforge_project = '[none]'
23
22
 
24
23
  s.add_development_dependency 'rspec'
25
24
  s.add_development_dependency 'sane'
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.5
4
+ version: 0.3.6
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: 2018-07-31 00:00:00.000000000 Z
12
+ date: 2021-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -136,8 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project: "[none]"
140
- rubygems_version: 2.5.2.3
139
+ rubyforge_project:
140
+ rubygems_version: 2.7.6
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: rubygems plugin that allows you you to install a gem from from its github