specific_install 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -0
- data/lib/rubygems/commands/specific_install_command.rb +13 -0
- data/lib/specific_install/version.rb +1 -1
- metadata +105 -123
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b80e182b18c23ec8f58a399d71dbc4f6455c8723
|
4
|
+
data.tar.gz: e97ae53715f4958b9cbb442c0520d5b2817f1af3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: caf9a884a0e19435381cdd95e9f2f153cc03f84e2df0b18aa96c8f334e601ef998d4ef4fb448f129be6f2a9e54fdc27a6bb3f17e049867bfa87551075ca64069
|
7
|
+
data.tar.gz: ff1a4cd9b6750421a3130da2b4a5c4d63ede16d01c3555624f0f8b43067c69e1e1e68740cd8de1e05125c9d11bc1564a3292b623cb6ec5b34104891e7d6c31af
|
data/README.md
CHANGED
@@ -78,7 +78,10 @@ The following URI types are accepted:
|
|
78
78
|
|
79
79
|
It runs `git clone`, and `rake install,` install the gem, then deletes the temp directory]
|
80
80
|
|
81
|
+
## Compatibility
|
81
82
|
|
83
|
+
v0.2.10 is known to work against Rubygems v2.2.2 and has a compatibility issue with Rubygems v1.8.25 (possible other older Rubygems).
|
84
|
+
Work-arounds: Upgrade Rubygems via `rvm rubygems current` or install older version of `specific_install`.
|
82
85
|
## Contributing
|
83
86
|
|
84
87
|
1. Fork it
|
@@ -53,6 +53,9 @@ class Gem::Commands::SpecificInstallCommand < Gem::Command
|
|
53
53
|
install_gem
|
54
54
|
when /\.git$/
|
55
55
|
install_git
|
56
|
+
when /^https?(.*)$/
|
57
|
+
install_http_repo
|
58
|
+
# install_gem
|
56
59
|
when %r(.*/.*)
|
57
60
|
install_shorthand
|
58
61
|
else
|
@@ -74,6 +77,16 @@ class Gem::Commands::SpecificInstallCommand < Gem::Command
|
|
74
77
|
end
|
75
78
|
end
|
76
79
|
|
80
|
+
def install_http_repo
|
81
|
+
output.puts 'http installing from ' + @loc
|
82
|
+
|
83
|
+
@loc = [@loc, '.git'].join unless @loc[/\.git$/]
|
84
|
+
|
85
|
+
redirect_for_specs = ENV.fetch( "SPECIFIC_INSTALL_SPEC" ) { "" }
|
86
|
+
system("git clone #{@loc} #{@dir} #{redirect_for_specs}")
|
87
|
+
install_from_git(@dir)
|
88
|
+
end
|
89
|
+
|
77
90
|
def gem_name
|
78
91
|
@gem_name ||= @loc.split("/").last
|
79
92
|
end
|
metadata
CHANGED
@@ -1,134 +1,124 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: specific_install
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 10
|
10
|
-
version: 0.2.10
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.11
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Roger Pack
|
14
8
|
- Zander Hill
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-04-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: backports
|
23
|
-
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
27
18
|
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
33
21
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rspec
|
37
22
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
41
25
|
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rspec
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
47
35
|
type: :development
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: sane
|
51
36
|
prerelease: false
|
52
|
-
|
53
|
-
|
54
|
-
requirements:
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
55
39
|
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: sane
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
61
49
|
type: :development
|
62
|
-
version_requirements: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: bundler
|
65
50
|
prerelease: false
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: bundler
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.3'
|
76
63
|
type: :development
|
77
|
-
version_requirements: *id004
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rake
|
80
64
|
prerelease: false
|
81
|
-
|
82
|
-
|
83
|
-
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.3'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rake
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
84
74
|
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
90
77
|
type: :development
|
91
|
-
version_requirements: *id005
|
92
|
-
- !ruby/object:Gem::Dependency
|
93
|
-
name: simplecov
|
94
78
|
prerelease: false
|
95
|
-
|
96
|
-
|
97
|
-
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: simplecov
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
98
88
|
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
|
101
|
-
segments:
|
102
|
-
- 0
|
103
|
-
version: "0"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
104
91
|
type: :development
|
105
|
-
version_requirements: *id006
|
106
|
-
- !ruby/object:Gem::Dependency
|
107
|
-
name: simplecov-vim
|
108
92
|
prerelease: false
|
109
|
-
|
110
|
-
|
111
|
-
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: simplecov-vim
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
112
102
|
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
|
115
|
-
segments:
|
116
|
-
- 0
|
117
|
-
version: "0"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
118
105
|
type: :development
|
119
|
-
|
120
|
-
|
121
|
-
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
description: rubygems plugin that allows you you to install a gem from from its github
|
113
|
+
repository (like 'edge'), or from an arbitrary URL
|
114
|
+
email:
|
122
115
|
- rogerdpack@gmail.com
|
123
116
|
- zander@civet.ws
|
124
117
|
executables: []
|
125
|
-
|
126
118
|
extensions: []
|
127
|
-
|
128
119
|
extra_rdoc_files: []
|
129
|
-
|
130
|
-
|
131
|
-
- .gitignore
|
120
|
+
files:
|
121
|
+
- ".gitignore"
|
132
122
|
- Gemfile
|
133
123
|
- Gemfile.lock
|
134
124
|
- LICENSE.txt
|
@@ -142,38 +132,30 @@ files:
|
|
142
132
|
- spec/specific_install_spec.rb
|
143
133
|
- specific_install.gemspec
|
144
134
|
homepage: https://github.com/rdp/specific_install
|
145
|
-
licenses:
|
135
|
+
licenses:
|
146
136
|
- MIT
|
137
|
+
metadata: {}
|
147
138
|
post_install_message:
|
148
139
|
rdoc_options: []
|
149
|
-
|
150
|
-
require_paths:
|
140
|
+
require_paths:
|
151
141
|
- lib
|
152
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
-
|
154
|
-
requirements:
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
155
144
|
- - ">="
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
version: "0"
|
161
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
|
-
requirements:
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
164
149
|
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
|
167
|
-
segments:
|
168
|
-
- 0
|
169
|
-
version: "0"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
170
152
|
requirements: []
|
171
|
-
|
172
153
|
rubyforge_project: "[none]"
|
173
|
-
rubygems_version:
|
154
|
+
rubygems_version: 2.2.2
|
174
155
|
signing_key:
|
175
|
-
specification_version:
|
176
|
-
summary: rubygems plugin that allows you you to install a gem from from its github
|
177
|
-
|
156
|
+
specification_version: 4
|
157
|
+
summary: rubygems plugin that allows you you to install a gem from from its github
|
158
|
+
repository (like 'edge'), or from an arbitrary URL
|
159
|
+
test_files:
|
178
160
|
- spec/spec_helper.rb
|
179
161
|
- spec/specific_install_spec.rb
|