kronk 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +8 -0
- data/lib/kronk.rb +1 -1
- data/lib/kronk/player/suite.rb +2 -2
- data/lib/kronk/request.rb +1 -1
- data/lib/kronk/response.rb +5 -1
- metadata +16 -19
data/History.rdoc
CHANGED
data/lib/kronk.rb
CHANGED
data/lib/kronk/player/suite.rb
CHANGED
@@ -11,7 +11,7 @@ class Kronk
|
|
11
11
|
$stdout.puts "Started"
|
12
12
|
|
13
13
|
@old_info_trap =
|
14
|
-
trap
|
14
|
+
trap 29 do
|
15
15
|
@stop_time = Time.now
|
16
16
|
@mutex.synchronize do
|
17
17
|
render
|
@@ -78,7 +78,7 @@ class Kronk
|
|
78
78
|
|
79
79
|
|
80
80
|
def complete
|
81
|
-
trap
|
81
|
+
trap 29, @old_info_trap
|
82
82
|
$stdout.puts "\nFinished in #{Time.now - @start_time} seconds.\n"
|
83
83
|
render
|
84
84
|
end
|
data/lib/kronk/request.rb
CHANGED
@@ -520,7 +520,7 @@ class Kronk
|
|
520
520
|
user = opts[:username]
|
521
521
|
pass = opts[:password]
|
522
522
|
|
523
|
-
Kronk::Cmd.verbose "Using proxy #{addr}\n" if host
|
523
|
+
Kronk::Cmd.verbose "Using proxy #{addr}\n" if host && defined?(Cmd)
|
524
524
|
|
525
525
|
Kronk::HTTP::Proxy host, port, user, pass
|
526
526
|
end
|
data/lib/kronk/response.rb
CHANGED
@@ -604,7 +604,11 @@ class Kronk
|
|
604
604
|
end
|
605
605
|
|
606
606
|
rescue MissingParser
|
607
|
-
Cmd
|
607
|
+
if defined?(Cmd)
|
608
|
+
ctype = @headers['content-type']
|
609
|
+
Cmd.verbose "Warning: No parser for #{ctype} [#{uri}]"
|
610
|
+
end
|
611
|
+
|
608
612
|
self.to_s :body => !opts[:no_body],
|
609
613
|
:headers => (opts[:show_headers] || false),
|
610
614
|
:raw => opts[:raw]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kronk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
requirement: &
|
16
|
+
requirement: &70142332427460 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70142332427460
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: cookiejar
|
27
|
-
requirement: &
|
27
|
+
requirement: &70142335036320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.3.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70142335036320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: plist
|
38
|
-
requirement: &
|
38
|
+
requirement: &70142335035900 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 3.1.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70142335035900
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: nokogiri
|
49
|
-
requirement: &
|
49
|
+
requirement: &70142335035480 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.4'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70142335035480
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: mocha
|
60
|
-
requirement: &
|
60
|
+
requirement: &70142335035060 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,18 +65,18 @@ dependencies:
|
|
65
65
|
version: 0.9.12
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70142335035060
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hoe
|
71
|
-
requirement: &
|
71
|
+
requirement: &70142335034640 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '2.
|
76
|
+
version: '2.12'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70142335034640
|
80
80
|
description: ! 'Kronk runs diffs against data from live and cached http responses.
|
81
81
|
|
82
82
|
Kronk was made possible by the sponsoring of AT&T Interactive.'
|
@@ -173,9 +173,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
- - ! '>='
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
|
-
segments:
|
177
|
-
- 0
|
178
|
-
hash: -1073559729433784228
|
179
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
177
|
none: false
|
181
178
|
requirements:
|
@@ -184,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
181
|
version: '0'
|
185
182
|
requirements: []
|
186
183
|
rubyforge_project: kronk
|
187
|
-
rubygems_version: 1.8.
|
184
|
+
rubygems_version: 1.8.11
|
188
185
|
signing_key:
|
189
186
|
specification_version: 3
|
190
187
|
summary: Kronk runs diffs against data from live and cached http responses
|