specific_install 0.3.5 → 0.3.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7512355e136131a4c1413629e4a30ff7be2a5326dcb4fa213b627448ee53f1a1
|
4
|
+
data.tar.gz: 587deaf278b3408bea5e3deb07b45ccafef2d8e21652857853816db225182574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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("
|
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)
|
data/lib/rubygems_plugin.rb
CHANGED
@@ -1,2 +1,7 @@
|
|
1
|
-
|
2
|
-
require "
|
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
|
data/specific_install.gemspec
CHANGED
@@ -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.
|
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:
|
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:
|
140
|
-
rubygems_version: 2.
|
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
|