crazy_ivan 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/LICENSE +20 -0
- data/README.rdoc +94 -0
- data/Rakefile +92 -0
- data/TODO +33 -0
- data/VERSION +1 -0
- data/bin/crazy_ivan +114 -0
- data/crazy_ivan.gemspec +182 -0
- data/lib/crazy_ivan.rb +5 -0
- data/lib/html_asset_crush.rb +56 -0
- data/lib/report_assembler.rb +78 -0
- data/lib/test_runner.rb +71 -0
- data/templates/css/ci.css +11 -0
- data/templates/index.html +105 -0
- data/templates/javascript/json-template.js +544 -0
- data/templates/javascript/prototype.js +4917 -0
- data/test/crazy_ivan_test.rb +4 -0
- data/test/test_helper.rb +9 -0
- data/vendor/json-1.1.7/CHANGES +119 -0
- data/vendor/json-1.1.7/GPL +340 -0
- data/vendor/json-1.1.7/README +78 -0
- data/vendor/json-1.1.7/RUBY +58 -0
- data/vendor/json-1.1.7/Rakefile +270 -0
- data/vendor/json-1.1.7/TODO +1 -0
- data/vendor/json-1.1.7/VERSION +1 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/vendor/json-1.1.7/benchmarks/generator_benchmark.rb +165 -0
- data/vendor/json-1.1.7/benchmarks/parser_benchmark.rb +197 -0
- data/vendor/json-1.1.7/bin/edit_json.rb +9 -0
- data/vendor/json-1.1.7/bin/prettify_json.rb +75 -0
- data/vendor/json-1.1.7/data/example.json +1 -0
- data/vendor/json-1.1.7/data/index.html +38 -0
- data/vendor/json-1.1.7/data/prototype.js +4184 -0
- data/vendor/json-1.1.7/doc-templates/main.txt +283 -0
- data/vendor/json-1.1.7/ext/json/ext/generator/extconf.rb +11 -0
- data/vendor/json-1.1.7/ext/json/ext/generator/generator.c +919 -0
- data/vendor/json-1.1.7/ext/json/ext/generator/unicode.c +182 -0
- data/vendor/json-1.1.7/ext/json/ext/generator/unicode.h +53 -0
- data/vendor/json-1.1.7/ext/json/ext/parser/extconf.rb +11 -0
- data/vendor/json-1.1.7/ext/json/ext/parser/parser.c +1829 -0
- data/vendor/json-1.1.7/ext/json/ext/parser/parser.rl +686 -0
- data/vendor/json-1.1.7/ext/json/ext/parser/unicode.c +154 -0
- data/vendor/json-1.1.7/ext/json/ext/parser/unicode.h +58 -0
- data/vendor/json-1.1.7/install.rb +26 -0
- data/vendor/json-1.1.7/lib/json.rb +10 -0
- data/vendor/json-1.1.7/lib/json/Array.xpm +21 -0
- data/vendor/json-1.1.7/lib/json/FalseClass.xpm +21 -0
- data/vendor/json-1.1.7/lib/json/Hash.xpm +21 -0
- data/vendor/json-1.1.7/lib/json/Key.xpm +73 -0
- data/vendor/json-1.1.7/lib/json/NilClass.xpm +21 -0
- data/vendor/json-1.1.7/lib/json/Numeric.xpm +28 -0
- data/vendor/json-1.1.7/lib/json/String.xpm +96 -0
- data/vendor/json-1.1.7/lib/json/TrueClass.xpm +21 -0
- data/vendor/json-1.1.7/lib/json/add/core.rb +135 -0
- data/vendor/json-1.1.7/lib/json/add/rails.rb +58 -0
- data/vendor/json-1.1.7/lib/json/common.rb +354 -0
- data/vendor/json-1.1.7/lib/json/editor.rb +1371 -0
- data/vendor/json-1.1.7/lib/json/ext.rb +15 -0
- data/vendor/json-1.1.7/lib/json/json.xpm +1499 -0
- data/vendor/json-1.1.7/lib/json/pure.rb +77 -0
- data/vendor/json-1.1.7/lib/json/pure/generator.rb +430 -0
- data/vendor/json-1.1.7/lib/json/pure/parser.rb +269 -0
- data/vendor/json-1.1.7/lib/json/version.rb +8 -0
- data/vendor/json-1.1.7/tests/fixtures/fail1.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail10.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail11.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail12.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail13.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail14.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail18.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail19.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail2.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail20.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail21.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail22.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail23.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail24.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail25.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail27.json +2 -0
- data/vendor/json-1.1.7/tests/fixtures/fail28.json +2 -0
- data/vendor/json-1.1.7/tests/fixtures/fail3.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail4.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail5.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail6.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail7.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail8.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/fail9.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass1.json +56 -0
- data/vendor/json-1.1.7/tests/fixtures/pass15.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass16.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass17.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass2.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass26.json +1 -0
- data/vendor/json-1.1.7/tests/fixtures/pass3.json +6 -0
- data/vendor/json-1.1.7/tests/test_json.rb +312 -0
- data/vendor/json-1.1.7/tests/test_json_addition.rb +164 -0
- data/vendor/json-1.1.7/tests/test_json_fixtures.rb +34 -0
- data/vendor/json-1.1.7/tests/test_json_generate.rb +106 -0
- data/vendor/json-1.1.7/tests/test_json_rails.rb +146 -0
- data/vendor/json-1.1.7/tests/test_json_unicode.rb +62 -0
- data/vendor/json-1.1.7/tools/fuzz.rb +139 -0
- data/vendor/json-1.1.7/tools/server.rb +61 -0
- metadata +196 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
case ENV['JSON']
|
6
|
+
when 'pure' then require 'json/pure'
|
7
|
+
when 'ext' then require 'json/ext'
|
8
|
+
else require 'json'
|
9
|
+
end
|
10
|
+
|
11
|
+
class TC_JSONUnicode < Test::Unit::TestCase
|
12
|
+
include JSON
|
13
|
+
|
14
|
+
def test_unicode
|
15
|
+
assert_equal '""', ''.to_json
|
16
|
+
assert_equal '"\\b"', "\b".to_json
|
17
|
+
assert_equal '"\u0001"', 0x1.chr.to_json
|
18
|
+
assert_equal '"\u001f"', 0x1f.chr.to_json
|
19
|
+
assert_equal '" "', ' '.to_json
|
20
|
+
assert_equal "\"#{0x7f.chr}\"", 0x7f.chr.to_json
|
21
|
+
utf8 = [ "© ≠ €! \01" ]
|
22
|
+
json = '["\u00a9 \u2260 \u20ac! \u0001"]'
|
23
|
+
assert_equal json, utf8.to_json
|
24
|
+
assert_equal utf8, parse(json)
|
25
|
+
utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
|
26
|
+
json = "[\"\\u3042\\u3044\\u3046\\u3048\\u304a\"]"
|
27
|
+
assert_equal json, utf8.to_json
|
28
|
+
assert_equal utf8, parse(json)
|
29
|
+
utf8 = ['საქართველო']
|
30
|
+
json = "[\"\\u10e1\\u10d0\\u10e5\\u10d0\\u10e0\\u10d7\\u10d5\\u10d4\\u10da\\u10dd\"]"
|
31
|
+
assert_equal json, utf8.to_json
|
32
|
+
assert_equal utf8, parse(json)
|
33
|
+
assert_equal '["\\u00c3"]', JSON.generate(["Ã"])
|
34
|
+
assert_equal ["€"], JSON.parse('["\u20ac"]')
|
35
|
+
utf8 = ["\xf0\xa0\x80\x81"]
|
36
|
+
json = '["\ud840\udc01"]'
|
37
|
+
assert_equal json, JSON.generate(utf8)
|
38
|
+
assert_equal utf8, JSON.parse(json)
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_chars
|
42
|
+
(0..0x7f).each do |i|
|
43
|
+
json = '["\u%04x"]' % i
|
44
|
+
if RUBY_VERSION >= "1.9."
|
45
|
+
i = i.chr
|
46
|
+
end
|
47
|
+
assert_equal i, JSON.parse(json).first[0]
|
48
|
+
if i == ?\b
|
49
|
+
generated = JSON.generate(["" << i])
|
50
|
+
assert '["\b"]' == generated || '["\10"]' == generated
|
51
|
+
elsif [?\n, ?\r, ?\t, ?\f].include?(i)
|
52
|
+
assert_equal '[' << ('' << i).dump << ']', JSON.generate(["" << i])
|
53
|
+
elsif i.chr < 0x20.chr
|
54
|
+
assert_equal json, JSON.generate(["" << i])
|
55
|
+
end
|
56
|
+
end
|
57
|
+
assert_raise(JSON::GeneratorError) do
|
58
|
+
JSON.generate(["\x80"])
|
59
|
+
end
|
60
|
+
assert_equal "\302\200", JSON.parse('["\u0080"]').first
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
require 'iconv'
|
4
|
+
ISO_8859_1_TO_UTF8 = Iconv.new('utf-8', 'iso-8859-15')
|
5
|
+
class ::String
|
6
|
+
def to_utf8
|
7
|
+
ISO_8859_1_TO_UTF8.iconv self
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
class Fuzzer
|
12
|
+
def initialize(n, freqs = {})
|
13
|
+
sum = freqs.inject(0.0) { |s, x| s + x.last }
|
14
|
+
freqs.each_key { |x| freqs[x] /= sum }
|
15
|
+
s = 0.0
|
16
|
+
freqs.each_key do |x|
|
17
|
+
freqs[x] = s .. (s + t = freqs[x])
|
18
|
+
s += t
|
19
|
+
end
|
20
|
+
@freqs = freqs
|
21
|
+
@n = n
|
22
|
+
@alpha = (0..0xff).to_a
|
23
|
+
end
|
24
|
+
|
25
|
+
def random_string
|
26
|
+
s = ''
|
27
|
+
30.times { s << @alpha[rand(@alpha.size)] }
|
28
|
+
s.to_utf8
|
29
|
+
end
|
30
|
+
|
31
|
+
def pick
|
32
|
+
r = rand
|
33
|
+
found = @freqs.find { |k, f| f.include? rand }
|
34
|
+
found && found.first
|
35
|
+
end
|
36
|
+
|
37
|
+
def make_pick
|
38
|
+
k = pick
|
39
|
+
case
|
40
|
+
when k == Hash, k == Array
|
41
|
+
k.new
|
42
|
+
when k == true, k == false, k == nil
|
43
|
+
k
|
44
|
+
when k == String
|
45
|
+
random_string
|
46
|
+
when k == Fixnum
|
47
|
+
rand(2 ** 30) - 2 ** 29
|
48
|
+
when k == Bignum
|
49
|
+
rand(2 ** 70) - 2 ** 69
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def fuzz(current = nil)
|
54
|
+
if @n > 0
|
55
|
+
case current
|
56
|
+
when nil
|
57
|
+
@n -= 1
|
58
|
+
current = fuzz [ Hash, Array ][rand(2)].new
|
59
|
+
when Array
|
60
|
+
while @n > 0
|
61
|
+
@n -= 1
|
62
|
+
current << case p = make_pick
|
63
|
+
when Array, Hash
|
64
|
+
fuzz(p)
|
65
|
+
else
|
66
|
+
p
|
67
|
+
end
|
68
|
+
end
|
69
|
+
when Hash
|
70
|
+
while @n > 0
|
71
|
+
@n -= 1
|
72
|
+
current[random_string] = case p = make_pick
|
73
|
+
when Array, Hash
|
74
|
+
fuzz(p)
|
75
|
+
else
|
76
|
+
p
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
current
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class MyState < JSON.state
|
86
|
+
WS = " \r\t\n"
|
87
|
+
|
88
|
+
def initialize
|
89
|
+
super(
|
90
|
+
:indent => make_spaces,
|
91
|
+
:space => make_spaces,
|
92
|
+
:space_before => make_spaces,
|
93
|
+
:object_nl => make_spaces,
|
94
|
+
:array_nl => make_spaces,
|
95
|
+
:max_nesting => false
|
96
|
+
)
|
97
|
+
end
|
98
|
+
|
99
|
+
def make_spaces
|
100
|
+
s = ''
|
101
|
+
rand(1).times { s << WS[rand(WS.size)] }
|
102
|
+
s
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
n = (ARGV.shift || 500).to_i
|
107
|
+
loop do
|
108
|
+
fuzzer = Fuzzer.new(n,
|
109
|
+
Hash => 25,
|
110
|
+
Array => 25,
|
111
|
+
String => 10,
|
112
|
+
Fixnum => 10,
|
113
|
+
Bignum => 10,
|
114
|
+
nil => 5,
|
115
|
+
true => 5,
|
116
|
+
false => 5
|
117
|
+
)
|
118
|
+
o1 = fuzzer.fuzz
|
119
|
+
json = JSON.generate o1, MyState.new
|
120
|
+
if $DEBUG
|
121
|
+
puts "-" * 80
|
122
|
+
puts json, json.size
|
123
|
+
else
|
124
|
+
puts json.size
|
125
|
+
end
|
126
|
+
begin
|
127
|
+
o2 = JSON.parse(json, :max_nesting => false)
|
128
|
+
rescue JSON::ParserError => e
|
129
|
+
puts "Caught #{e.class}: #{e.message}\n#{e.backtrace * "\n"}"
|
130
|
+
puts "o1 = #{o1.inspect}", "json = #{json}", "json_str = #{json.inspect}"
|
131
|
+
puts "locals = #{local_variables.inspect}"
|
132
|
+
exit
|
133
|
+
end
|
134
|
+
if o1 != o2
|
135
|
+
puts "mismatch", "o1 = #{o1.inspect}", "o2 = #{o2.inspect}",
|
136
|
+
"json = #{json}", "json_str = #{json.inspect}"
|
137
|
+
puts "locals = #{local_variables.inspect}"
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'webrick'
|
4
|
+
include WEBrick
|
5
|
+
$:.unshift 'ext'
|
6
|
+
$:.unshift 'lib'
|
7
|
+
require 'json'
|
8
|
+
|
9
|
+
class JSONServlet < HTTPServlet::AbstractServlet
|
10
|
+
@@count = 1
|
11
|
+
|
12
|
+
def do_GET(req, res)
|
13
|
+
obj = {
|
14
|
+
"TIME" => Time.now.strftime("%FT%T"),
|
15
|
+
"foo" => "Bär",
|
16
|
+
"bar" => "© ≠ €!",
|
17
|
+
'a' => 2,
|
18
|
+
'b' => 3.141,
|
19
|
+
'COUNT' => @@count += 1,
|
20
|
+
'c' => 'c',
|
21
|
+
'd' => [ 1, "b", 3.14 ],
|
22
|
+
'e' => { 'foo' => 'bar' },
|
23
|
+
'g' => "松本行弘",
|
24
|
+
'h' => 1000.0,
|
25
|
+
'i' => 0.001,
|
26
|
+
'j' => "\xf0\xa0\x80\x81",
|
27
|
+
}
|
28
|
+
res.body = JSON.generate obj
|
29
|
+
res['Content-Type'] = "application/json"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def create_server(err, dir, port)
|
34
|
+
dir = File.expand_path(dir)
|
35
|
+
err.puts "Surf to:", "http://#{Socket.gethostname}:#{port}"
|
36
|
+
|
37
|
+
s = HTTPServer.new(
|
38
|
+
:Port => port,
|
39
|
+
:DocumentRoot => dir,
|
40
|
+
:Logger => WEBrick::Log.new(err),
|
41
|
+
:AccessLog => [
|
42
|
+
[ err, WEBrick::AccessLog::COMMON_LOG_FORMAT ],
|
43
|
+
[ err, WEBrick::AccessLog::REFERER_LOG_FORMAT ],
|
44
|
+
[ err, WEBrick::AccessLog::AGENT_LOG_FORMAT ]
|
45
|
+
]
|
46
|
+
)
|
47
|
+
s.mount("/json", JSONServlet)
|
48
|
+
s
|
49
|
+
end
|
50
|
+
|
51
|
+
default_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'data'))
|
52
|
+
dir = ARGV.shift || default_dir
|
53
|
+
port = (ARGV.shift || 6666).to_i
|
54
|
+
s = create_server(STDERR, dir, 6666)
|
55
|
+
t = Thread.new { s.start }
|
56
|
+
trap(:INT) do
|
57
|
+
s.shutdown
|
58
|
+
t.join
|
59
|
+
exit
|
60
|
+
end
|
61
|
+
sleep
|
metadata
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: crazy_ivan
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Edward Ocampo-Gooding
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-08-30 00:00:00 -04:00
|
13
|
+
default_executable: crazy_ivan
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: |-
|
17
|
+
Continuous integration should really just be a script that captures the output of running your project update & test commands and presents recent results in a static html page.
|
18
|
+
|
19
|
+
By keeping test reports in json, per-project CI configuration in 3 probably-one-line scripts, things are kept simple, quick, and super extensible.
|
20
|
+
|
21
|
+
Want to use git, svn, or hg? No problem.
|
22
|
+
Need to fire off results to Twitter or Campfire? It's one line away.
|
23
|
+
|
24
|
+
CI depends on cron.
|
25
|
+
email: edward@edwardog.net
|
26
|
+
executables:
|
27
|
+
- crazy_ivan
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- LICENSE
|
32
|
+
- README.rdoc
|
33
|
+
files:
|
34
|
+
- .gitignore
|
35
|
+
- LICENSE
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- TODO
|
39
|
+
- VERSION
|
40
|
+
- bin/crazy_ivan
|
41
|
+
- crazy_ivan.gemspec
|
42
|
+
- lib/crazy_ivan.rb
|
43
|
+
- lib/html_asset_crush.rb
|
44
|
+
- lib/report_assembler.rb
|
45
|
+
- lib/test_runner.rb
|
46
|
+
- templates/css/ci.css
|
47
|
+
- templates/index.html
|
48
|
+
- templates/javascript/json-template.js
|
49
|
+
- templates/javascript/prototype.js
|
50
|
+
- test/crazy_ivan_test.rb
|
51
|
+
- test/test_helper.rb
|
52
|
+
- vendor/json-1.1.7/CHANGES
|
53
|
+
- vendor/json-1.1.7/GPL
|
54
|
+
- vendor/json-1.1.7/README
|
55
|
+
- vendor/json-1.1.7/RUBY
|
56
|
+
- vendor/json-1.1.7/Rakefile
|
57
|
+
- vendor/json-1.1.7/TODO
|
58
|
+
- vendor/json-1.1.7/VERSION
|
59
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log
|
60
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat
|
61
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat
|
62
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat
|
63
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat
|
64
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat
|
65
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat
|
66
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log
|
67
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
|
68
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
|
69
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
|
70
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
|
71
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
|
72
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
|
73
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
|
74
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
|
75
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
|
76
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
|
77
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
|
78
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
|
79
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
|
80
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
|
81
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
|
82
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
|
83
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
|
84
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
|
85
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
|
86
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
|
87
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
|
88
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
|
89
|
+
- vendor/json-1.1.7/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
|
90
|
+
- vendor/json-1.1.7/benchmarks/generator_benchmark.rb
|
91
|
+
- vendor/json-1.1.7/benchmarks/parser_benchmark.rb
|
92
|
+
- vendor/json-1.1.7/bin/edit_json.rb
|
93
|
+
- vendor/json-1.1.7/bin/prettify_json.rb
|
94
|
+
- vendor/json-1.1.7/data/example.json
|
95
|
+
- vendor/json-1.1.7/data/index.html
|
96
|
+
- vendor/json-1.1.7/data/prototype.js
|
97
|
+
- vendor/json-1.1.7/doc-templates/main.txt
|
98
|
+
- vendor/json-1.1.7/ext/json/ext/generator/extconf.rb
|
99
|
+
- vendor/json-1.1.7/ext/json/ext/generator/generator.c
|
100
|
+
- vendor/json-1.1.7/ext/json/ext/generator/unicode.c
|
101
|
+
- vendor/json-1.1.7/ext/json/ext/generator/unicode.h
|
102
|
+
- vendor/json-1.1.7/ext/json/ext/parser/extconf.rb
|
103
|
+
- vendor/json-1.1.7/ext/json/ext/parser/parser.c
|
104
|
+
- vendor/json-1.1.7/ext/json/ext/parser/parser.rl
|
105
|
+
- vendor/json-1.1.7/ext/json/ext/parser/unicode.c
|
106
|
+
- vendor/json-1.1.7/ext/json/ext/parser/unicode.h
|
107
|
+
- vendor/json-1.1.7/install.rb
|
108
|
+
- vendor/json-1.1.7/lib/json.rb
|
109
|
+
- vendor/json-1.1.7/lib/json/Array.xpm
|
110
|
+
- vendor/json-1.1.7/lib/json/FalseClass.xpm
|
111
|
+
- vendor/json-1.1.7/lib/json/Hash.xpm
|
112
|
+
- vendor/json-1.1.7/lib/json/Key.xpm
|
113
|
+
- vendor/json-1.1.7/lib/json/NilClass.xpm
|
114
|
+
- vendor/json-1.1.7/lib/json/Numeric.xpm
|
115
|
+
- vendor/json-1.1.7/lib/json/String.xpm
|
116
|
+
- vendor/json-1.1.7/lib/json/TrueClass.xpm
|
117
|
+
- vendor/json-1.1.7/lib/json/add/core.rb
|
118
|
+
- vendor/json-1.1.7/lib/json/add/rails.rb
|
119
|
+
- vendor/json-1.1.7/lib/json/common.rb
|
120
|
+
- vendor/json-1.1.7/lib/json/editor.rb
|
121
|
+
- vendor/json-1.1.7/lib/json/ext.rb
|
122
|
+
- vendor/json-1.1.7/lib/json/json.xpm
|
123
|
+
- vendor/json-1.1.7/lib/json/pure.rb
|
124
|
+
- vendor/json-1.1.7/lib/json/pure/generator.rb
|
125
|
+
- vendor/json-1.1.7/lib/json/pure/parser.rb
|
126
|
+
- vendor/json-1.1.7/lib/json/version.rb
|
127
|
+
- vendor/json-1.1.7/tests/fixtures/fail1.json
|
128
|
+
- vendor/json-1.1.7/tests/fixtures/fail10.json
|
129
|
+
- vendor/json-1.1.7/tests/fixtures/fail11.json
|
130
|
+
- vendor/json-1.1.7/tests/fixtures/fail12.json
|
131
|
+
- vendor/json-1.1.7/tests/fixtures/fail13.json
|
132
|
+
- vendor/json-1.1.7/tests/fixtures/fail14.json
|
133
|
+
- vendor/json-1.1.7/tests/fixtures/fail18.json
|
134
|
+
- vendor/json-1.1.7/tests/fixtures/fail19.json
|
135
|
+
- vendor/json-1.1.7/tests/fixtures/fail2.json
|
136
|
+
- vendor/json-1.1.7/tests/fixtures/fail20.json
|
137
|
+
- vendor/json-1.1.7/tests/fixtures/fail21.json
|
138
|
+
- vendor/json-1.1.7/tests/fixtures/fail22.json
|
139
|
+
- vendor/json-1.1.7/tests/fixtures/fail23.json
|
140
|
+
- vendor/json-1.1.7/tests/fixtures/fail24.json
|
141
|
+
- vendor/json-1.1.7/tests/fixtures/fail25.json
|
142
|
+
- vendor/json-1.1.7/tests/fixtures/fail27.json
|
143
|
+
- vendor/json-1.1.7/tests/fixtures/fail28.json
|
144
|
+
- vendor/json-1.1.7/tests/fixtures/fail3.json
|
145
|
+
- vendor/json-1.1.7/tests/fixtures/fail4.json
|
146
|
+
- vendor/json-1.1.7/tests/fixtures/fail5.json
|
147
|
+
- vendor/json-1.1.7/tests/fixtures/fail6.json
|
148
|
+
- vendor/json-1.1.7/tests/fixtures/fail7.json
|
149
|
+
- vendor/json-1.1.7/tests/fixtures/fail8.json
|
150
|
+
- vendor/json-1.1.7/tests/fixtures/fail9.json
|
151
|
+
- vendor/json-1.1.7/tests/fixtures/pass1.json
|
152
|
+
- vendor/json-1.1.7/tests/fixtures/pass15.json
|
153
|
+
- vendor/json-1.1.7/tests/fixtures/pass16.json
|
154
|
+
- vendor/json-1.1.7/tests/fixtures/pass17.json
|
155
|
+
- vendor/json-1.1.7/tests/fixtures/pass2.json
|
156
|
+
- vendor/json-1.1.7/tests/fixtures/pass26.json
|
157
|
+
- vendor/json-1.1.7/tests/fixtures/pass3.json
|
158
|
+
- vendor/json-1.1.7/tests/test_json.rb
|
159
|
+
- vendor/json-1.1.7/tests/test_json_addition.rb
|
160
|
+
- vendor/json-1.1.7/tests/test_json_fixtures.rb
|
161
|
+
- vendor/json-1.1.7/tests/test_json_generate.rb
|
162
|
+
- vendor/json-1.1.7/tests/test_json_rails.rb
|
163
|
+
- vendor/json-1.1.7/tests/test_json_unicode.rb
|
164
|
+
- vendor/json-1.1.7/tools/fuzz.rb
|
165
|
+
- vendor/json-1.1.7/tools/server.rb
|
166
|
+
has_rdoc: true
|
167
|
+
homepage: http://github.com/edward/crazy_ivan
|
168
|
+
licenses: []
|
169
|
+
|
170
|
+
post_install_message:
|
171
|
+
rdoc_options:
|
172
|
+
- --charset=UTF-8
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: "0"
|
180
|
+
version:
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: "0"
|
186
|
+
version:
|
187
|
+
requirements: []
|
188
|
+
|
189
|
+
rubyforge_project: crazyivan
|
190
|
+
rubygems_version: 1.3.5
|
191
|
+
signing_key:
|
192
|
+
specification_version: 3
|
193
|
+
summary: Crazy Ivan (CI) is simplest possible continuous integration tool.
|
194
|
+
test_files:
|
195
|
+
- test/crazy_ivan_test.rb
|
196
|
+
- test/test_helper.rb
|