kronk 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +14 -0
- data/Manifest.txt +8 -2
- data/README.rdoc +6 -0
- data/TODO.rdoc +12 -0
- data/lib/kronk.rb +6 -2
- data/lib/kronk/cmd.rb +18 -2
- data/lib/kronk/constants.rb +1 -0
- data/lib/kronk/data_renderer.rb +95 -22
- data/lib/kronk/diff.rb +18 -64
- data/lib/kronk/diff/ascii_format.rb +11 -0
- data/lib/kronk/diff/color_format.rb +14 -2
- data/lib/kronk/diff/output.rb +155 -0
- data/lib/kronk/path.rb +48 -153
- data/lib/kronk/path/matcher.rb +189 -0
- data/lib/kronk/path/path_match.rb +74 -0
- data/lib/kronk/path/transaction.rb +157 -47
- data/lib/kronk/player/benchmark.rb +2 -1
- data/lib/kronk/player/suite.rb +8 -0
- data/lib/kronk/response.rb +7 -6
- data/test/test_cmd.rb +29 -8
- data/test/test_data_string.rb +58 -0
- data/test/test_diff.rb +137 -36
- data/test/test_helper.rb +2 -0
- data/test/test_kronk.rb +19 -3
- data/test/test_path.rb +87 -170
- data/test/test_path_match.rb +60 -0
- data/test/test_path_matcher.rb +329 -0
- data/test/test_response.rb +10 -10
- data/test/test_transaction.rb +132 -3
- metadata +82 -75
metadata
CHANGED
@@ -1,97 +1,96 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: kronk
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.0
|
4
5
|
prerelease:
|
5
|
-
version: 1.5.4
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Jeremie Castagna
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-11 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: json
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2154385240 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
18
|
+
requirements:
|
21
19
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.5'
|
24
22
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: cookiejar
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *2154385240
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: cookiejar
|
27
|
+
requirement: &2154384820 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
29
|
+
requirements:
|
32
30
|
- - ~>
|
33
|
-
- !ruby/object:Gem::Version
|
31
|
+
- !ruby/object:Gem::Version
|
34
32
|
version: 0.3.0
|
35
33
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: plist
|
39
34
|
prerelease: false
|
40
|
-
|
35
|
+
version_requirements: *2154384820
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: plist
|
38
|
+
requirement: &2154384400 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
42
|
+
- !ruby/object:Gem::Version
|
45
43
|
version: 3.1.0
|
46
44
|
type: :development
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: nokogiri
|
50
45
|
prerelease: false
|
51
|
-
|
46
|
+
version_requirements: *2154384400
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: nokogiri
|
49
|
+
requirement: &2154413140 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
51
|
+
requirements:
|
54
52
|
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.4'
|
57
55
|
type: :development
|
58
|
-
version_requirements: *id004
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: mocha
|
61
56
|
prerelease: false
|
62
|
-
|
57
|
+
version_requirements: *2154413140
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: mocha
|
60
|
+
requirement: &2154412720 !ruby/object:Gem::Requirement
|
63
61
|
none: false
|
64
|
-
requirements:
|
62
|
+
requirements:
|
65
63
|
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
64
|
+
- !ruby/object:Gem::Version
|
67
65
|
version: 0.9.12
|
68
66
|
type: :development
|
69
|
-
version_requirements: *id005
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: hoe
|
72
67
|
prerelease: false
|
73
|
-
|
68
|
+
version_requirements: *2154412720
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hoe
|
71
|
+
requirement: &2154412300 !ruby/object:Gem::Requirement
|
74
72
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 2.
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2.11'
|
79
77
|
type: :development
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2154412300
|
80
|
+
description: ! 'Kronk runs diffs against data from live and cached http responses.
|
81
|
+
|
82
|
+
Kronk was made possible by the sponsoring of AT&T Interactive.'
|
83
|
+
email:
|
85
84
|
- yaksnrainbows@gmail.com
|
86
|
-
executables:
|
85
|
+
executables:
|
87
86
|
- kronk
|
88
87
|
extensions: []
|
89
|
-
|
90
|
-
extra_rdoc_files:
|
88
|
+
extra_rdoc_files:
|
91
89
|
- Manifest.txt
|
92
90
|
- History.rdoc
|
93
91
|
- README.rdoc
|
94
|
-
|
92
|
+
- TODO.rdoc
|
93
|
+
files:
|
95
94
|
- .autotest
|
96
95
|
- History.rdoc
|
97
96
|
- Manifest.txt
|
@@ -106,7 +105,10 @@ files:
|
|
106
105
|
- lib/kronk/diff.rb
|
107
106
|
- lib/kronk/diff/ascii_format.rb
|
108
107
|
- lib/kronk/diff/color_format.rb
|
108
|
+
- lib/kronk/diff/output.rb
|
109
109
|
- lib/kronk/path.rb
|
110
|
+
- lib/kronk/path/matcher.rb
|
111
|
+
- lib/kronk/path/path_match.rb
|
110
112
|
- lib/kronk/path/transaction.rb
|
111
113
|
- lib/kronk/player.rb
|
112
114
|
- lib/kronk/player/benchmark.rb
|
@@ -132,62 +134,67 @@ files:
|
|
132
134
|
- test/mocks/cookies.yml
|
133
135
|
- test/mocks/get_request.txt
|
134
136
|
- test/test_assertions.rb
|
135
|
-
- test/test_core_ext.rb
|
136
137
|
- test/test_cmd.rb
|
137
|
-
- test/
|
138
|
+
- test/test_core_ext.rb
|
139
|
+
- test/test_data_string.rb
|
138
140
|
- test/test_diff.rb
|
139
141
|
- test/test_helper.rb
|
142
|
+
- test/test_helper_methods.rb
|
140
143
|
- test/test_input_reader.rb
|
141
144
|
- test/test_kronk.rb
|
142
145
|
- test/test_path.rb
|
146
|
+
- test/test_path_match.rb
|
147
|
+
- test/test_path_matcher.rb
|
143
148
|
- test/test_player.rb
|
144
149
|
- test/test_request.rb
|
145
150
|
- test/test_request_parser.rb
|
146
151
|
- test/test_response.rb
|
147
152
|
- test/test_transaction.rb
|
148
153
|
- test/test_xml_parser.rb
|
154
|
+
- TODO.rdoc
|
149
155
|
- .gemtest
|
150
156
|
homepage: https://github.com/yaksnrainbows/kronk
|
151
157
|
licenses: []
|
152
|
-
|
153
158
|
post_install_message:
|
154
|
-
rdoc_options:
|
159
|
+
rdoc_options:
|
155
160
|
- --main
|
156
161
|
- README.rdoc
|
157
|
-
require_paths:
|
162
|
+
require_paths:
|
158
163
|
- lib
|
159
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
165
|
none: false
|
161
|
-
requirements:
|
162
|
-
- -
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
|
165
|
-
segments:
|
166
|
+
requirements:
|
167
|
+
- - ! '>='
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
segments:
|
166
171
|
- 0
|
167
|
-
|
168
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
|
+
hash: 768057654813654441
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
174
|
none: false
|
170
|
-
requirements:
|
171
|
-
- -
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version:
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
174
179
|
requirements: []
|
175
|
-
|
176
180
|
rubyforge_project: kronk
|
177
|
-
rubygems_version: 1.8.
|
181
|
+
rubygems_version: 1.8.7
|
178
182
|
signing_key:
|
179
183
|
specification_version: 3
|
180
184
|
summary: Kronk runs diffs against data from live and cached http responses
|
181
|
-
test_files:
|
185
|
+
test_files:
|
182
186
|
- test/test_assertions.rb
|
183
187
|
- test/test_cmd.rb
|
184
188
|
- test/test_core_ext.rb
|
189
|
+
- test/test_data_string.rb
|
185
190
|
- test/test_diff.rb
|
186
191
|
- test/test_helper.rb
|
187
192
|
- test/test_helper_methods.rb
|
188
193
|
- test/test_input_reader.rb
|
189
194
|
- test/test_kronk.rb
|
190
195
|
- test/test_path.rb
|
196
|
+
- test/test_path_match.rb
|
197
|
+
- test/test_path_matcher.rb
|
191
198
|
- test/test_player.rb
|
192
199
|
- test/test_request.rb
|
193
200
|
- test/test_request_parser.rb
|