xcurl 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xcurl.rb +5 -0
  3. data/xcurl.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6db538ae75b6f2038a6e73b2a46fe2574cf93056ca022075f704a479af1b885d
4
- data.tar.gz: a2ca6ae2b4a9a57c2572001311ab8e69dff7b74e52b4aec475c23893cd6db058
3
+ metadata.gz: 00dbbfa82619c1c3f8277f83f3f40517e9bf80dd004f30d93b61178a9e8b1dea
4
+ data.tar.gz: 8a71222f33550a6c107fbf55ca366a2d10e75bc39f3939de62ea766cd33091b0
5
5
  SHA512:
6
- metadata.gz: 706f6e2b5dc70e76713fc185f2352d72342982fc977bf73fa498ab39fd416c9c3abc4897d1bb429a5df4fc0c43c59119693ca993c6e300217e9de85185876585
7
- data.tar.gz: 0d1f09b3f28435c0a3d627f2d8816bd01326422f2487c42c3850b62926e9e3bfa746536c136a628c9ebd8b161ac024c6f7a8aab4ae7c7a32c0e4fd22efff70b4
6
+ metadata.gz: 69e9152ede089f4253656b3b96ef9feeda084ac19c1b33bc90278ea547bca5e75c45ab5b07ab01be6ed83a364ffec5f1ae11b735a2c0cecccbb9d27fdc0dd925
7
+ data.tar.gz: 308ab10c2fa45968f11163b3fef1d65a4fe9dd18dcb98f53f6f64be0e2c5696470319d3f67b3258a66cfa3d13188800b17e34799695a48e3c5d961367f802559
data/lib/xcurl.rb CHANGED
@@ -24,6 +24,11 @@ class Xcurl
24
24
 
25
25
  session = save_session(new_id, session)
26
26
 
27
+ when /load /
28
+ id = cmd.scan(/load (.*)/).flatten.first
29
+
30
+ session = load_session(id)
31
+
27
32
  when 'show'
28
33
  log.show_current_session(session)
29
34
 
data/xcurl.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "xcurl"
5
- spec.version = '1.0.8'
5
+ spec.version = '1.0.9'
6
6
  spec.authors = ["Andrew S Aguiar"]
7
7
  spec.email = ["andrewaguiar6@gmail.com"]
8
8
  spec.summary = "Convenient wrapper for curl"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew S Aguiar