github_export 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/github_export/command.rb +6 -1
- data/lib/github_export/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e72ff3a02de09b7e1f53d2c30481d35136726ab4412eb0c44955743ffbb4a9ff
|
4
|
+
data.tar.gz: 00c8b606a766f6cfaea14f196ccfe72ead4e6d871888a036c6cfcb8665f6afcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ef902552c940d37de67838ed42d3692acdd2656849e669d20da6f4f0ed7cfaa9f856753676dc4727f7578b64f04e215be4748cd038568f2852ff53e0a6deb4f
|
7
|
+
data.tar.gz: 9f96d0338aef0b8604fa675787a621585733916653fbd5b7408077e3a6c6b5e5d8dfca22f847d4ea43fb935f53aa5767052a87ac1e4a02bfb2cee857e4592d2a
|
@@ -108,7 +108,12 @@ module GithubExport
|
|
108
108
|
if options[:force] || !File.exist?(dest)
|
109
109
|
verbose "DL #{url}"
|
110
110
|
FileUtils.mkdir_p(File.dirname(dest))
|
111
|
-
|
111
|
+
# Assets might be downloaded from S3 so we use curl (or httpclient?) without auth info instead of `client` object
|
112
|
+
# File.binwrite(dest, client.get(url))
|
113
|
+
cmd = "curl -f -o #{dest} #{url}"
|
114
|
+
unless system(cmd)
|
115
|
+
puts "Download Error #{cmd}"
|
116
|
+
end
|
112
117
|
else
|
113
118
|
verbose "SKIP #{url}"
|
114
119
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.7.3
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Export Issues, Contents and so on
|