xfrtuc 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +24 -20
- data/lib/xfrtuc.rb +0 -8
- data/lib/xfrtuc/version.rb +1 -1
- data/spec/xfrtuc_spec.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9690d97c2a5b5867b30e38beda123f25e18b952a
|
4
|
+
data.tar.gz: cae1ce9ff3c525b0159287599da0633fbc50bf44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88d0595b020e8122bae7b4fe3ea85a4e025b5c749a29b828de065a43fe3aa3f569b6e2934de5cd9915c625b304cd7b7bddfafd63fefc699baf720f24b66a91c8
|
7
|
+
data.tar.gz: c4f0b2f3188e607b522485172ea09e0531cafd761a0d0c3ab6620d3d9db264764a957081890252ad1d124650d00f25efdd05e2e99d104997cf4ee6641e197992
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,41 +1,42 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xfrtuc (0.0.
|
4
|
+
xfrtuc (0.0.11)
|
5
5
|
rest-client (~> 1.6)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
diff-lcs (1.
|
11
|
-
domain_name (0.5.
|
10
|
+
diff-lcs (1.3)
|
11
|
+
domain_name (0.5.20170404)
|
12
12
|
unf (>= 0.0.5, < 1.0.0)
|
13
|
-
http-cookie (1.0.
|
13
|
+
http-cookie (1.0.3)
|
14
14
|
domain_name (~> 0.5)
|
15
|
-
mime-types (2.99.
|
15
|
+
mime-types (2.99.3)
|
16
16
|
netrc (0.11.0)
|
17
|
-
rack (
|
17
|
+
rack (2.0.3)
|
18
18
|
rest-client (1.8.0)
|
19
19
|
http-cookie (>= 1.0.2, < 2.0)
|
20
20
|
mime-types (>= 1.16, < 3.0)
|
21
21
|
netrc (~> 0.7)
|
22
|
-
rspec (3.
|
23
|
-
rspec-core (~> 3.
|
24
|
-
rspec-expectations (~> 3.
|
25
|
-
rspec-mocks (~> 3.
|
26
|
-
rspec-core (3.0
|
27
|
-
rspec-support (~> 3.
|
28
|
-
rspec-expectations (3.0
|
22
|
+
rspec (3.7.0)
|
23
|
+
rspec-core (~> 3.7.0)
|
24
|
+
rspec-expectations (~> 3.7.0)
|
25
|
+
rspec-mocks (~> 3.7.0)
|
26
|
+
rspec-core (3.7.0)
|
27
|
+
rspec-support (~> 3.7.0)
|
28
|
+
rspec-expectations (3.7.0)
|
29
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.
|
31
|
-
rspec-mocks (3.0
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
rspec-support (~> 3.7.0)
|
31
|
+
rspec-mocks (3.7.0)
|
32
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
+
rspec-support (~> 3.7.0)
|
34
|
+
rspec-support (3.7.0)
|
35
|
+
sham_rack (1.4.1)
|
35
36
|
rack
|
36
37
|
unf (0.1.4)
|
37
38
|
unf_ext
|
38
|
-
unf_ext (0.0.7.
|
39
|
+
unf_ext (0.0.7.4)
|
39
40
|
|
40
41
|
PLATFORMS
|
41
42
|
ruby
|
@@ -45,5 +46,8 @@ DEPENDENCIES
|
|
45
46
|
sham_rack (~> 1.3)
|
46
47
|
xfrtuc!
|
47
48
|
|
49
|
+
RUBY VERSION
|
50
|
+
ruby 2.4.2p198
|
51
|
+
|
48
52
|
BUNDLED WITH
|
49
|
-
1.
|
53
|
+
1.16.0
|
data/lib/xfrtuc.rb
CHANGED
@@ -105,10 +105,6 @@ module Xfrtuc
|
|
105
105
|
to_name = opts.delete :to_name
|
106
106
|
log_input_url = opts.delete :log_input_url
|
107
107
|
num_keep = opts.delete :num_keep
|
108
|
-
from_bastion_host = opts.delete :from_bastion_host
|
109
|
-
from_bastion_key = opts.delete :from_bastion_key
|
110
|
-
to_bastion_host = opts.delete :to_bastion_host
|
111
|
-
to_bastion_key = opts.delete :to_bastion_key
|
112
108
|
|
113
109
|
unless opts.empty?
|
114
110
|
raise ArgumentError, "Unsupported option(s): #{opts.keys}"
|
@@ -123,10 +119,6 @@ module Xfrtuc
|
|
123
119
|
}
|
124
120
|
payload.merge!(log_input_url: log_input_url) unless log_input_url.nil?
|
125
121
|
payload.merge!(num_keep: num_keep) unless num_keep.nil?
|
126
|
-
payload.merge!(from_bastion_host: from_bastion_host) unless from_bastion_host.nil?
|
127
|
-
payload.merge!(from_bastion_key: from_bastion_key) unless from_bastion_key.nil?
|
128
|
-
payload.merge!(to_bastion_host: to_bastion_host) unless to_bastion_host.nil?
|
129
|
-
payload.merge!(to_bastion_key: to_bastion_key) unless to_bastion_key.nil?
|
130
122
|
client.post("/transfers", payload)
|
131
123
|
end
|
132
124
|
|
data/lib/xfrtuc/version.rb
CHANGED
data/spec/xfrtuc_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xfrtuc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciek Sakrejda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -88,11 +88,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.6.13
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: 'Transferatu client: see https://github.com/heroku/transferatu'
|
95
95
|
test_files:
|
96
96
|
- spec/spec_helper.rb
|
97
97
|
- spec/xfrtuc_spec.rb
|
98
|
-
has_rdoc:
|