roger_sneakpeek 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +3 -3
- data/lib/roger_sneakpeek/finalizer.rb +7 -1
- data/lib/roger_sneakpeek/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5a3aa4aa190a4c5cefd0a60a44020d1123e5d15
|
4
|
+
data.tar.gz: 662a5fe0f822a97156e280c15e310c1d961a54ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01087ce9d1db83749b2f0002e02cf4afc7cda3df3149ee7900de0e196efe994853f6b2b1bdc50a90eb7edbc172e7ad8764c291b8dd0b107546dacc95bfd4f455
|
7
|
+
data.tar.gz: fe44add336fdb9d7a84432f6d9c233d90551ac80a94d37a41314f4f9e9a41e0cfc499687241c16215eb89df345e322082150c1b2be525c93a03bcc4572dd8b2a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.4
|
4
|
+
* Ruby 2.5 compatibility fixes
|
5
|
+
|
6
|
+
## 0.1.3
|
7
|
+
* Ruby 2.5 compatibility fixes
|
8
|
+
|
9
|
+
## 0.1.2
|
10
|
+
* Larger timeout for upload
|
11
|
+
* Fix linting errors
|
12
|
+
|
3
13
|
## 0.1.1
|
4
14
|
* Require roger/release so we can use Roger::Release and not fail.
|
5
15
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
roger_sneakpeek (0.1.
|
4
|
+
roger_sneakpeek (0.1.3)
|
5
5
|
faraday (~> 0.8, >= 0.8.11)
|
6
6
|
roger (~> 1.7, >= 1.0.0)
|
7
7
|
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ast (2.2.0)
|
12
|
-
faraday (0.
|
12
|
+
faraday (0.14.0)
|
13
13
|
multipart-post (>= 1.2, < 3)
|
14
14
|
hpricot (0.8.4)
|
15
15
|
metaclass (0.0.4)
|
@@ -21,7 +21,7 @@ GEM
|
|
21
21
|
ast (~> 2.2)
|
22
22
|
power_assert (0.2.7)
|
23
23
|
powerpack (0.1.1)
|
24
|
-
rack (2.0.
|
24
|
+
rack (2.0.4)
|
25
25
|
rainbow (2.0.0)
|
26
26
|
rake (10.5.0)
|
27
27
|
redcarpet (3.4.0)
|
@@ -60,7 +60,7 @@ module RogerSneakpeek
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def zip_release
|
63
|
-
zip_path =
|
63
|
+
zip_path = tmpname
|
64
64
|
::Dir.chdir(@release.build_path) do
|
65
65
|
command = zip_command("-r", "-9", Shellwords.escape(zip_path), "./*")
|
66
66
|
output = `#{command}`
|
@@ -70,6 +70,12 @@ module RogerSneakpeek
|
|
70
70
|
zip_path
|
71
71
|
end
|
72
72
|
|
73
|
+
# Shameless rip-off of https://github.com/rails/rails/pull/31462/files
|
74
|
+
def tmpname
|
75
|
+
t = Time.now.strftime("%Y%m%d")
|
76
|
+
"release-zip-#{t}-#{$PROCESS_ID}-#{rand(0x100000000).to_s(36)}.zip"
|
77
|
+
end
|
78
|
+
|
73
79
|
def upload_release(zip_path)
|
74
80
|
git = if CI.ci?
|
75
81
|
CI.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roger_sneakpeek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flurin Egger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roger
|