package_cloud 0.2.26 → 0.2.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b06dd883be8421e3224282e522c2e6f3a8fe14df
4
- data.tar.gz: 4c9549f8620f51d904f01d19bdaa5cf065b42134
3
+ metadata.gz: d7d0bdc290db907349fbe7446e2655c2d36e60cb
4
+ data.tar.gz: 2181cb18805a947ba1e9145299dbf147c7c708e9
5
5
  SHA512:
6
- metadata.gz: 1bb985ec2e48a546f676c0813f15cc4d146364361ff54fc7e2929bb3f96f5ff863c648fd724259463cd28aaa34de34dcf990932f79eeafc40e165fe010009506
7
- data.tar.gz: f07c316d84a764e65cf26d470b80c5c74f6344187a2a7640380801c6e235f532b5543b2739ceacc083d219164e61343b46e852dbf51d944ec00628377d8ecbde
6
+ metadata.gz: 6e9058d4d93bd3e9b9d869e72834ed1d7c40b78aa703c3705c832e76772b03cdff411d6a89e7892275b8611b956940da34773de647afc9e29397035e03b249a3
7
+ data.tar.gz: 9ea78e307df4f308ca469cbce475976840aefbfc4c2fde6be612900d7dd70a4ac5f42d4fe91717ae8d3cb3e72632c0ac349ce44c7704241ca434e6f7eef9d549
@@ -52,7 +52,7 @@ module PackageCloud
52
52
  end
53
53
 
54
54
  invalid_packages = package_files.select do |f|
55
- !["gem", "deb", "rpm", "dsc", "gz", "zip", "whl", "egg"].include?(f.split(".").last)
55
+ !["gem", "deb", "rpm", "dsc", "gz", "bz2", "z", "tar", "egg-info", "zip", "whl", "egg"].include?(f.split(".").last.downcase)
56
56
  end
57
57
 
58
58
  if !options.has_key?("skip-file-ext-validation") && invalid_packages.any?
@@ -75,7 +75,7 @@ module PackageCloud
75
75
  end
76
76
 
77
77
  validator = Validator.new(client)
78
- if ["gz", "zip", "whl", "egg"].include?(exts.first)
78
+ if ["gz", "bz2", "z", "tar", "egg-info", "zip", "whl", "egg"].include?(exts.first.downcase)
79
79
  dist_id = validator.distribution_id(repo, package_files, 'py')
80
80
  else
81
81
  dist_id = validator.distribution_id(repo, package_files, exts.first)
@@ -1,7 +1,7 @@
1
1
  module PackageCloud
2
2
  MAJOR_VERSION = "0"
3
3
  MINOR_VERSION = "2"
4
- PATCH_VERSION = "26"
4
+ PATCH_VERSION = "27"
5
5
 
6
6
  VERSION = [MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION].join(".")
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: package_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.26
4
+ version: 0.2.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Damato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -159,9 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.4.8
162
+ rubygems_version: 2.4.4
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: https://packagecloud.io
166
166
  test_files: []
167
- has_rdoc: