gemirro 0.0.1 → 0.0.2

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.

checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTc2NjQwZmI0MjFmZTljZjQ0MTEzNzk2MWVkYjI2MzIzNzFkMmExZQ==
5
- data.tar.gz: !binary |-
6
- ZDU1MDhlYjgwNDVmOWExMzg2ZjhkMTM1ZGVlNjhlMWE5NWFjOThjNw==
2
+ SHA1:
3
+ metadata.gz: 05740f277401bf065e00737b3e72426d3a6e5d0c
4
+ data.tar.gz: 3d96044ff953bc7b4885ab660b95078d32bb150b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTY0YThmMWJmOTA2ZDRhOTg2NTNlMTg1NDVlNmU5NjllYmNjM2QzZDA4YWU3
10
- N2RmYmVkN2RlZjgzMTVhN2Q2ODFjYjZjMzIxN2FhYmU0ZDk4MTA3Y2EzNDg4
11
- Nzg4OWNlNmI4OGNkMjgxYzQ4ODhhNzQ2OTA4YmYxMWY1NDM1M2E=
12
- data.tar.gz: !binary |-
13
- MzY1ZjA1MjY0YjQyOTg0MGY4M2RhOTg1NmM2YWI2NzEzMDBmNjBmN2U2MTk3
14
- ODFjYjFiZmE0YTQ3N2UzZTdhMDc3MjlmZmQ3NDliMjAwZThmMjA3NDJlZjM1
15
- NWQ1MGI4Y2EyZGFjZDAxM2YwMWJiYTI5NjM1OTYzNGRmZjBkZWQ=
6
+ metadata.gz: a16eb40a5e9ff30b6d33ecbead16a648af41b6deeedb43e0ad2ba4ee8bfc23d196697c02140c8c444bbc9f6cbf6f79833db533b22dc233d0d11341aa8241279b
7
+ data.tar.gz: 488decb43c8194a8becde330e5427a19313ad3a680c26f77a7db33b1423b2c4c2c12d6862d2d8755f44d459618b01c10a62d3eabbcd0e269a8a95b69a476ac6f
data/gemirro.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.license = 'GPL-3.0'
11
11
  s.summary = 'Gem for easily creating your own RubyGems mirror.'
12
12
  s.homepage = 'https://github.com/PierreRambaud/gemirro'
13
- s.description = 'Create your own gem mirro with a simple TCPServer.'
13
+ s.description = 'Create your own gem mirror with a simple TCPServer.'
14
14
  s.executables = ['gemirro']
15
15
 
16
16
  s.files = File.read(File.expand_path('../MANIFEST', __FILE__)).split("\n")
@@ -79,8 +79,9 @@ module Gemirro
79
79
  def fetch_gem(resource)
80
80
  name = File.basename(resource)
81
81
  regexp = /^(.*)-(\d+(?:\.\d+){,4})\.gem(?:spec\.rz)?$/
82
- gem_name, gem_version = name.match(regexp).captures
83
-
82
+ result = name.match(regexp)
83
+ return unless result
84
+ gem_name, gem_version = result.captures
84
85
  return unless gem_name && gem_version
85
86
 
86
87
  logger.info("Try to download #{gem_name} with version #{gem_version}")
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Gemirro Version
3
3
  module Gemirro
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemirro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Rambaud
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ~>
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0.5'
153
- description: Create your own gem mirro with a simple TCPServer.
153
+ description: Create your own gem mirror with a simple TCPServer.
154
154
  email: pierre.rambaud86@gmail.com
155
155
  executables:
156
156
  - gemirro
@@ -218,12 +218,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: 1.9.2
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - ! '>='
221
+ - - '>='
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []
225
225
  rubyforge_project:
226
- rubygems_version: 2.4.1
226
+ rubygems_version: 2.0.14
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: Gem for easily creating your own RubyGems mirror.