package_cloud 0.2.39 → 0.2.40

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: 8e76372c7e8b4af4d84af99971707593808571b3
4
- data.tar.gz: 8c628eedff567d35d46039c4c630051cad5a09b6
3
+ metadata.gz: a7f48d5b071e6e32c8d0731a87cdd327802923c0
4
+ data.tar.gz: 052380296a532184239640c6f3f806734d4eccb5
5
5
  SHA512:
6
- metadata.gz: 2f52f775a3ab2547c41229873ff4e7970b5dd195bc77f7de82bf25b70fd02957dabdd4e5cf602394c683cc6c9198f9551fa1202cc9516a4d53914ec62acb15c7
7
- data.tar.gz: 421b231fcc1b1d17ff1b606b5af01487b1ca2adda034d477c12a83cc804bcaa4789289f89ce09ed357b284fae7159c5e29a5af202fa412a0bb53667ff8284641
6
+ metadata.gz: 8145497d1f05d24e15b79135a5a1526cd41a942e2f13cc622de9a366642649b2b78eb149f48caa23b903ddc400541815f1711d8d4a7e50dbaff328e5adf072b2
7
+ data.tar.gz: fd651e6769d38b2c3d0399c681284e86de2fa9260a790fbc9e58fa4315c0a9f370f65ceb09d5e867f1ecd6b284592cc3d414361f340639d339bb702360ad5e15
@@ -49,26 +49,13 @@ module PackageCloud
49
49
 
50
50
  private
51
51
  def handle_locale
52
- if Gem.win_platform?
53
- # Force the external encoding to be UTF-8 on windows. This will fail
54
- # because it seems the default encoding on windows is IBM 437 and it
55
- # is very painful to change to UTF-8. The failure in this case will
56
- # just be 1 "?" being printed per character that isn't
57
- # representable.
58
- Encoding.default_external = 'UTF-8'
59
- else
60
- abort_on_incorrect_locale
61
- end
62
- end
63
-
64
- def abort_on_incorrect_locale
65
- default_encoding = Encoding.default_external
66
- if default_encoding != Encoding::UTF_8
67
- message = "It appears your locale is set to #{default_encoding}, " +
68
- "please use UTF-8 instead. Run the 'locale' command to get" +
69
- "more info or e-mail support@packagecloud.io for help"
70
- abort(message.color(:red))
71
- end
52
+ # Force the external encoding to be UTF-8 on windows and everywhere
53
+ # else. This will somtimes fail on windows because it seems the default
54
+ # windows encoding on windows is IBM 437 and it
55
+ # is very painful to change to UTF-8. The failure in this case will
56
+ # just be 1 "?" being printed per character that isn't
57
+ # representable.
58
+ Encoding.default_external = 'UTF-8'
72
59
  end
73
60
 
74
61
  def login_from_console
@@ -1,7 +1,7 @@
1
1
  module PackageCloud
2
2
  MAJOR_VERSION = "0"
3
3
  MINOR_VERSION = "2"
4
- PATCH_VERSION = "39"
4
+ PATCH_VERSION = "40"
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.39
4
+ version: 0.2.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Damato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -160,8 +160,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  requirements: []
162
162
  rubyforge_project:
163
- rubygems_version: 2.4.4
163
+ rubygems_version: 2.4.8
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: https://packagecloud.io
167
167
  test_files: []
168
+ has_rdoc: