gemirro 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gemirro might be problematic. Click here for more details.

data/.rubocop.yml CHANGED
@@ -17,8 +17,11 @@ ParameterLists:
17
17
  Exclude:
18
18
  - lib/**/*
19
19
  Metrics/CyclomaticComplexity:
20
- Severity: warning
21
- Max: 10
20
+ Exclude:
21
+ - lib/**/*
22
22
  Metrics/PerceivedComplexity:
23
- Severity: warning
24
- Max: 10
23
+ Exclude:
24
+ - lib/**/*
25
+ Metrics/AbcSize:
26
+ Exclude:
27
+ - lib/**/*
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Gemirro | [![Build Status](https://travis-ci.org/PierreRambaud/gemirro.svg)](https://travis-ci.org/PierreRambaud/gemirro)
1
+ # Gemirro | [![Build Status](https://travis-ci.org/PierreRambaud/gemirro.svg)](https://travis-ci.org/PierreRambaud/gemirro) [![Gem Version](https://badge.fury.io/rb/gemirro.svg)](http://badge.fury.io/rb/gemirro)
2
2
 
3
3
  Gemirro is a Ruby application that makes it easy way to create your own RubyGems mirror without having to push or write all gem you wanted in a configuration file.
4
4
  It does mirroring without any authentication and you can add your private gems in the `gems` directory.
@@ -56,7 +56,7 @@ $ gemirro server --stop
56
56
  If you want to use a custom configuration file not located in the current directory, use the `-c` or `--config` option.
57
57
 
58
58
 
59
- ##Apache configuration
59
+ ## Apache configuration
60
60
 
61
61
  You must active the apache `proxy` module.
62
62
 
@@ -77,7 +77,7 @@ Create your VirtualHost and replace following `http://localhost:2000` with your
77
77
  </VirtualHost>
78
78
  ```
79
79
 
80
- ##Nginx configuration
80
+ ## Nginx configuration
81
81
 
82
82
  Replace `localhost:2000` with your custom server configuration located in your `config.rb` file and restart Nginx.
83
83
 
@@ -98,3 +98,10 @@ server {
98
98
  }
99
99
  ```
100
100
 
101
+ ## Known issues
102
+
103
+ ### could not find a temporary directory
104
+
105
+ If you use ruby >= 2.0, some urls in the server throwing errors telling `could not find a temporary directory`.
106
+ You only need to do a `chmod o+t /tmp`
107
+
data/gemirro.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.files = File.read(File.expand_path('../MANIFEST', __FILE__)).split("\n")
17
17
 
18
- s.required_ruby_version = '~> 1.9.2'
18
+ s.required_ruby_version = '>= 1.9.2'
19
19
 
20
20
  s.add_dependency 'slop', '~>3.6'
21
21
  s.add_dependency 'httpclient', '~>2.4'
@@ -15,7 +15,7 @@ module Gemirro
15
15
  attr_accessor :versions_fetcher, :gems_fetcher
16
16
 
17
17
  access_logger = Logger.new(Gemirro.configuration.server.access_log)
18
- .tap do |logger|
18
+ .tap do |logger|
19
19
  ::Logger.class_eval { alias_method :write, :'<<' }
20
20
  logger.level = ::Logger::INFO
21
21
  end
@@ -138,8 +138,8 @@ module Gemirro
138
138
  # @see Gemirro::VersionsFetcher.fetch
139
139
  #
140
140
  def versions_fetcher
141
- @versions_fetcher ||= Gemirro::VersionsFetcher
142
- .new(configuration.source).fetch
141
+ @versions_fetcher ||= Gemirro::VersionsFetcher.new(
142
+ configuration.source).fetch
143
143
  end
144
144
 
145
145
  ##
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Gemirro Version
3
3
  module Gemirro
4
- VERSION = '0.5.0'
4
+ VERSION = '0.6.0'
5
5
  end
@@ -12,7 +12,8 @@ module Gemirro
12
12
  include FakeFS::SpecHelpers
13
13
 
14
14
  before(:each) do
15
- skip if ::Gem::Version.new(RUBY_VERSION) >= ::Gem::Version.new('2.0.0')
15
+ skip if ::Gem::Version.new(RUBY_VERSION.dup) >= ::Gem::Version
16
+ .new('2.0.0')
16
17
  end
17
18
 
18
19
  it 'should install indicies' do
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemirro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Pierre Rambaud
@@ -13,6 +14,7 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: slop
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: httpclient
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: confstruct
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: builder
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: sinatra
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: thin
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -97,6 +110,7 @@ dependencies:
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: rake
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
115
  - - ~>
102
116
  - !ruby/object:Gem::Version
@@ -104,6 +118,7 @@ dependencies:
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
123
  - - ~>
109
124
  - !ruby/object:Gem::Version
@@ -111,6 +126,7 @@ dependencies:
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: rack-test
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
131
  - - ~>
116
132
  - !ruby/object:Gem::Version
@@ -118,6 +134,7 @@ dependencies:
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
139
  - - ~>
123
140
  - !ruby/object:Gem::Version
@@ -125,6 +142,7 @@ dependencies:
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: rspec
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
147
  - - ~>
130
148
  - !ruby/object:Gem::Version
@@ -132,6 +150,7 @@ dependencies:
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
155
  - - ~>
137
156
  - !ruby/object:Gem::Version
@@ -139,6 +158,7 @@ dependencies:
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: simplecov
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
163
  - - ~>
144
164
  - !ruby/object:Gem::Version
@@ -146,6 +166,7 @@ dependencies:
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
171
  - - ~>
151
172
  - !ruby/object:Gem::Version
@@ -153,6 +174,7 @@ dependencies:
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: rubocop
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
179
  - - ~>
158
180
  - !ruby/object:Gem::Version
@@ -160,6 +182,7 @@ dependencies:
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
187
  - - ~>
165
188
  - !ruby/object:Gem::Version
@@ -167,6 +190,7 @@ dependencies:
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: fakefs
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
195
  - - ~>
172
196
  - !ruby/object:Gem::Version
@@ -174,6 +198,7 @@ dependencies:
174
198
  type: :development
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
203
  - - ~>
179
204
  - !ruby/object:Gem::Version
@@ -233,25 +258,27 @@ files:
233
258
  homepage: https://github.com/PierreRambaud/gemirro
234
259
  licenses:
235
260
  - GPL-3.0
236
- metadata: {}
237
261
  post_install_message:
238
262
  rdoc_options: []
239
263
  require_paths:
240
264
  - lib
241
265
  required_ruby_version: !ruby/object:Gem::Requirement
266
+ none: false
242
267
  requirements:
243
- - - ~>
268
+ - - ! '>='
244
269
  - !ruby/object:Gem::Version
245
270
  version: 1.9.2
246
271
  required_rubygems_version: !ruby/object:Gem::Requirement
272
+ none: false
247
273
  requirements:
248
- - - '>='
274
+ - - ! '>='
249
275
  - !ruby/object:Gem::Version
250
276
  version: '0'
251
277
  requirements: []
252
278
  rubyforge_project:
253
- rubygems_version: 2.0.14
279
+ rubygems_version: 1.8.23
254
280
  signing_key:
255
- specification_version: 4
281
+ specification_version: 3
256
282
  summary: Gem for easily creating your own RubyGems mirror.
257
283
  test_files: []
284
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: f0ac1299a99feaf6cc659b1618fcf4451ac06429
4
- data.tar.gz: e7cbef52b1b13af7cd8d3fb6b769402438f7fef7
5
- SHA512:
6
- metadata.gz: dd2e6d0fe63ece26e0982313c2834b283dfc16f12db2af942756d28ac4d905687017e63aa9416b603c4efe4e04c17035885f41537da468cb350c97a6dfda8108
7
- data.tar.gz: 93cb2ad7b2a480cb6211674f8e6af70c9ee5abe98748bd8f7c6b3018efebc5aaee377448063f50592a9dcec34525c18c633d8a418f087b268ed3439a207c0070