xfrtuc 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f619135de41c28754b5bcc3a9b8f62c1ee56c7bd
4
+ data.tar.gz: ab7e3120666b928077204d6e1557331b87478a8d
5
+ SHA512:
6
+ metadata.gz: 76b5a8898a20c5c222bbe1a5d2d5a24d5f5b69120b901ba1e255710eecda25b175dbf1dd68731eeb317cc54e2c8e301b8a2830daee1d451ee02be5338e259351
7
+ data.tar.gz: 25a09d1eb55441e3b2f93c26c0db76d0bb92b9c38174388279ccce890ad6cb3df9c57539e43072c98364c3bee17cab2934ce43c899c078f5007b6d5a78a68f51
@@ -1 +1 @@
1
- 1.9.3-p484
1
+ 2.3.0
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ruby '1.9.3'
3
+ ruby '2.3.0'
4
4
 
5
5
  # Specify your gem's dependencies in xfrtuc.gemspec
6
6
  gemspec
@@ -1,17 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xfrtuc (0.0.9)
4
+ xfrtuc (0.0.10)
5
5
  rest-client (~> 1.6)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.2.5)
11
- mime-types (2.3)
12
- netrc (0.7.7)
11
+ domain_name (0.5.20160216)
12
+ unf (>= 0.0.5, < 1.0.0)
13
+ http-cookie (1.0.2)
14
+ domain_name (~> 0.5)
15
+ mime-types (2.99.1)
16
+ netrc (0.11.0)
13
17
  rack (1.5.2)
14
- rest-client (1.7.2)
18
+ rest-client (1.8.0)
19
+ http-cookie (>= 1.0.2, < 2.0)
15
20
  mime-types (>= 1.16, < 3.0)
16
21
  netrc (~> 0.7)
17
22
  rspec (3.0.0)
@@ -28,6 +33,9 @@ GEM
28
33
  rspec-support (3.0.4)
29
34
  sham_rack (1.3.6)
30
35
  rack
36
+ unf (0.1.4)
37
+ unf_ext
38
+ unf_ext (0.0.7.2)
31
39
 
32
40
  PLATFORMS
33
41
  ruby
@@ -36,3 +44,6 @@ DEPENDENCIES
36
44
  rspec (~> 3.0)
37
45
  sham_rack (~> 1.3)
38
46
  xfrtuc!
47
+
48
+ BUNDLED WITH
49
+ 1.11.2
@@ -105,6 +105,10 @@ 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
108
112
 
109
113
  unless opts.empty?
110
114
  raise ArgumentError, "Unsupported option(s): #{opts.keys}"
@@ -119,7 +123,10 @@ module Xfrtuc
119
123
  }
120
124
  payload.merge!(log_input_url: log_input_url) unless log_input_url.nil?
121
125
  payload.merge!(num_keep: num_keep) unless num_keep.nil?
122
-
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?
123
130
  client.post("/transfers", payload)
124
131
  end
125
132
 
@@ -1,3 +1,3 @@
1
1
  module Xfrtuc
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xfrtuc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
5
- prerelease:
4
+ version: 0.0.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Maciek Sakrejda
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-02-24 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rest-client
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.6'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.6'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '3.0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '3.0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: sham_rack
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.3'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.3'
62
55
  description: Transferatu client
@@ -66,7 +59,7 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .ruby-version
62
+ - ".ruby-version"
70
63
  - Gemfile
71
64
  - Gemfile.lock
72
65
  - LICENSE
@@ -78,28 +71,28 @@ files:
78
71
  homepage: https://github.com/heroku/xfrtuc
79
72
  licenses:
80
73
  - MIT
74
+ metadata: {}
81
75
  post_install_message:
82
76
  rdoc_options: []
83
77
  require_paths:
84
78
  - lib
85
79
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
80
  requirements:
88
- - - ! '>='
81
+ - - ">="
89
82
  - !ruby/object:Gem::Version
90
83
  version: '0'
91
84
  required_rubygems_version: !ruby/object:Gem::Requirement
92
- none: false
93
85
  requirements:
94
- - - ! '>='
86
+ - - ">="
95
87
  - !ruby/object:Gem::Version
96
88
  version: '0'
97
89
  requirements: []
98
90
  rubyforge_project:
99
- rubygems_version: 1.8.23
91
+ rubygems_version: 2.5.1
100
92
  signing_key:
101
- specification_version: 3
102
- summary: ! 'Transferatu client: see https://github.com/heroku/transferatu'
93
+ specification_version: 4
94
+ summary: 'Transferatu client: see https://github.com/heroku/transferatu'
103
95
  test_files:
104
96
  - spec/spec_helper.rb
105
97
  - spec/xfrtuc_spec.rb
98
+ has_rdoc: