fig 1.27.5 → 1.27.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changes +21 -1
- data/lib/fig.rb +1 -1
- data/lib/fig/repository_package_publisher.rb +12 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66670aed62f628acfe27a7ea37c18ea6346bb93103d032d7f3d738951700382c
|
4
|
+
data.tar.gz: e393ede7227a80124513d1e0869d214e4d93d08f2f65876e3abce08239825e38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58be5c2e2756a57b1738715e340c09650119ae22246556c1a447f3f08c07725c1489e988b90e7f45552187945067ac52a1034e09944d4e7d5da059fc630f0b57
|
7
|
+
data.tar.gz: f8de76417f11e466071b0af8c7a207fa344cc8c1f215fe5fd089e564b642702dc1a497a3dae3995387fa7069eef89a5a9a05d90ce8ea2b60fd07f27362cfdecf
|
data/Changes
CHANGED
@@ -1,6 +1,26 @@
|
|
1
|
+
v1.27.8 - 2018/6/18
|
2
|
+
|
3
|
+
Miscellaneous:
|
4
|
+
|
5
|
+
- Bump net-ssh to 5.0.2 to hopefully gain the ability to transfer files
|
6
|
+
larger than 4GiB via SFTP (resolution of long standing bug:
|
7
|
+
https://github.com/net-ssh/net-sftp/issues/27).
|
8
|
+
|
9
|
+
v1.27.7 - 2018/6/11
|
10
|
+
|
11
|
+
Bug fixes:
|
12
|
+
|
13
|
+
- More rubust detection of the current user's login.
|
14
|
+
|
15
|
+
v1.27.6 - 2018/6/8
|
16
|
+
|
17
|
+
Miscellaneous:
|
18
|
+
|
19
|
+
- Upgrade to RSpec 3.7 in order to be more compatible with Ruby v2.5.x.
|
20
|
+
|
1
21
|
v1.27.5 - 2018/6/7
|
2
22
|
|
3
|
-
|
23
|
+
Miscellaneous:
|
4
24
|
|
5
25
|
- Gem dependencies tweaked to be more compatible with contemporary Ruby and
|
6
26
|
Bundler versions.
|
data/lib/fig.rb
CHANGED
@@ -98,7 +98,18 @@ class Fig::RepositoryPackagePublisher
|
|
98
98
|
def derive_login()
|
99
99
|
# Etc.getpwuid() returns nil on Windows, but Etc.getlogin() will return the
|
100
100
|
# wrong result on some systems if you su(1) to a different user.
|
101
|
-
|
101
|
+
|
102
|
+
password_entry = nil
|
103
|
+
|
104
|
+
begin
|
105
|
+
password_entry = Etc.getpwuid()
|
106
|
+
rescue ArgumentError
|
107
|
+
# This should come from
|
108
|
+
# https://github.com/ruby/ruby/blob/de5e6ca2b484dc19d007ed26b2a923a9a4b34f77/ext/etc/etc.c#L191,
|
109
|
+
# which we will silently fall back to .getlogin() for.
|
110
|
+
end
|
111
|
+
|
112
|
+
if password_entry and password_entry.name
|
102
113
|
return password_entry.name
|
103
114
|
end
|
104
115
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.27.
|
4
|
+
version: 1.27.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Foemmel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 5.0.2
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 5.0.2
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rdoc
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
187
|
+
version: '3'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
194
|
+
version: '3'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: simplecov
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|