nexus 0.2.0 → 0.2.2
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.
- data/Rakefile +0 -1
- data/lib/bundler/monkey_patch.rb +4 -4
- metadata +116 -118
data/Rakefile
CHANGED
data/lib/bundler/monkey_patch.rb
CHANGED
|
@@ -11,11 +11,11 @@ module Bundler
|
|
|
11
11
|
end
|
|
12
12
|
module Bundler
|
|
13
13
|
# Handles all the fetching with the rubygems server
|
|
14
|
-
class Fetcher
|
|
14
|
+
class Fetcher
|
|
15
|
+
alias :initialize_old :initialize
|
|
16
|
+
|
|
15
17
|
def initialize(remote_uri)
|
|
16
|
-
|
|
17
|
-
@has_api = true # will be set to false if the rubygems index is ever fetched
|
|
18
|
-
@@connection ||= Net::HTTP::Persistent.new nil, :ENV
|
|
18
|
+
initialize_old RubygemsMirror.to_uri(remote_uri)
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
metadata
CHANGED
|
@@ -1,135 +1,133 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nexus
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
version: 0.2.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 0.2.2
|
|
6
6
|
platform: ruby
|
|
7
|
-
authors:
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
authors:
|
|
8
|
+
- Nick Quaranto
|
|
9
|
+
- Christian Meier
|
|
10
|
+
autorequire:
|
|
10
11
|
bindir: bin
|
|
11
12
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
13
|
+
date: 2013-03-07 00:00:00.000000000 Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: rake
|
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
18
|
+
requirements:
|
|
19
|
+
- - '='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 0.9.2.2
|
|
22
|
+
none: false
|
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - '='
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: 0.9.2.2
|
|
28
|
+
none: false
|
|
29
|
+
prerelease: false
|
|
30
|
+
type: :development
|
|
31
|
+
- !ruby/object:Gem::Dependency
|
|
32
|
+
name: shoulda
|
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - "~>"
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: 3.1.1
|
|
38
|
+
none: false
|
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - "~>"
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 3.1.1
|
|
44
|
+
none: false
|
|
45
|
+
prerelease: false
|
|
46
|
+
type: :development
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: webmock
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 1.8.8
|
|
54
|
+
none: false
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 1.8.8
|
|
60
|
+
none: false
|
|
61
|
+
prerelease: false
|
|
62
|
+
type: :development
|
|
63
|
+
- !ruby/object:Gem::Dependency
|
|
64
|
+
name: rr
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: !binary |-
|
|
70
|
+
MA==
|
|
71
|
+
none: false
|
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: !binary |-
|
|
77
|
+
MA==
|
|
78
|
+
none: false
|
|
79
|
+
prerelease: false
|
|
80
|
+
type: :development
|
|
70
81
|
description: Adds a command to RubyGems for uploading gems to a nexus server.
|
|
71
|
-
email:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
82
|
+
email:
|
|
83
|
+
- nick@quaran.to
|
|
84
|
+
- m.kristian@web.de
|
|
85
|
+
executables:
|
|
86
|
+
- nbundle
|
|
75
87
|
extensions: []
|
|
76
|
-
|
|
77
88
|
extra_rdoc_files: []
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
- test/nexus_command_test.rb
|
|
89
|
+
files:
|
|
90
|
+
- MIT-LICENSE
|
|
91
|
+
- Rakefile
|
|
92
|
+
- bin/nbundle
|
|
93
|
+
- lib/rubygems_plugin.rb
|
|
94
|
+
- lib/commands/nexus.rb
|
|
95
|
+
- lib/commands/abstract_command.rb
|
|
96
|
+
- lib/bundler/monkey_patch.rb
|
|
97
|
+
- lib/bundler/rubygems_mirror.rb
|
|
98
|
+
- test/abstract_command_test.rb
|
|
99
|
+
- test/command_helper.rb
|
|
100
|
+
- test/nexus_command_test.rb
|
|
91
101
|
homepage: https://github.com/sonatype/nexus-ruby-support/tree/master/nexus-gem
|
|
92
102
|
licenses: []
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
gem nexus publish your gems onto Nexus server
|
|
101
|
-
|
|
102
|
-
nbundle a bundler fork with mirror support.
|
|
103
|
-
just add a mirror with:
|
|
104
|
-
|
|
105
|
-
bundle config mirror.http://rubygems.org http://localhost:8081/nexus/content/repositories/rubygems.org
|
|
106
|
-
|
|
107
|
-
and use 'nbundle' instead of 'bundle'
|
|
108
|
-
|
|
109
|
-
========================================================================
|
|
110
|
-
|
|
103
|
+
post_install_message: "\n========================================================================\n\
|
|
104
|
+
\n Thanks for installing Nexus gem! You can now run:\n\n gem nexus\
|
|
105
|
+
\ publish your gems onto Nexus server\n\n nbundle a bundler\
|
|
106
|
+
\ fork with mirror support. \n just add a mirror with:\n\n\
|
|
107
|
+
\ bundle config mirror.http://rubygems.org http://localhost:8081/nexus/content/repositories/rubygems.org\n\
|
|
108
|
+
\n and use 'nbundle' instead of 'bundle'\n\n========================================================================\n\
|
|
109
|
+
\n"
|
|
111
110
|
rdoc_options: []
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
require_paths:
|
|
112
|
+
- lib
|
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: !binary |-
|
|
118
|
+
MA==
|
|
116
119
|
none: false
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: !binary |-
|
|
125
|
+
MA==
|
|
122
126
|
none: false
|
|
123
|
-
requirements:
|
|
124
|
-
- - ">="
|
|
125
|
-
- !ruby/object:Gem::Version
|
|
126
|
-
version: "0"
|
|
127
127
|
requirements: []
|
|
128
|
-
|
|
129
|
-
rubyforge_project:
|
|
128
|
+
rubyforge_project:
|
|
130
129
|
rubygems_version: 1.8.24
|
|
131
|
-
signing_key:
|
|
130
|
+
signing_key:
|
|
132
131
|
specification_version: 3
|
|
133
132
|
summary: Commands to interact with nexus server
|
|
134
133
|
test_files: []
|
|
135
|
-
|