xcurl 1.0.8 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcurl.rb +7 -0
- data/xcurl.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8401e6c12d458031a65994b3d1702a38c27c4a6d6faeb706c7fbba71b86ec8a3
|
4
|
+
data.tar.gz: c3a1f31fed1328d5ddabd64c90338ca95040325e5f1590d00bd3bab7ce0ca610
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd60c94d0f237538a7fd6eab01b77d0a368c5f2752bc2deca04a44e2abc9f8b943bc010d05f68190a7f9ac5aebfe575ec382ac7de71d68907c129263cd47ef83
|
7
|
+
data.tar.gz: 2649c741bb92aa9abe63e52a68f6cb143caabf7132178bff19c7adef6744850fd358b5a35ca28edd624d8756d9f6b17b2d8e220827e78db0cfce7536bad5ccaf
|
data/lib/xcurl.rb
CHANGED
@@ -7,6 +7,8 @@ require_relative './log'
|
|
7
7
|
|
8
8
|
class Xcurl
|
9
9
|
def self.start(session_id = nil)
|
10
|
+
puts "// loading '#{session_id}'" if session_id
|
11
|
+
|
10
12
|
log = Log.new
|
11
13
|
session = load_session(session_id || 'untitled')
|
12
14
|
|
@@ -24,6 +26,11 @@ class Xcurl
|
|
24
26
|
|
25
27
|
session = save_session(new_id, session)
|
26
28
|
|
29
|
+
when /load /
|
30
|
+
id = cmd.scan(/load (.*)/).flatten.first
|
31
|
+
|
32
|
+
session = load_session(id)
|
33
|
+
|
27
34
|
when 'show'
|
28
35
|
log.show_current_session(session)
|
29
36
|
|
data/xcurl.gemspec
CHANGED