scout 5.6.7 → 5.6.8.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/lib/scout/version.rb +1 -1
- data/vendor/json_pure/.gitignore +12 -0
- data/vendor/json_pure/.travis.yml +20 -0
- data/vendor/json_pure/CHANGES +120 -0
- data/vendor/json_pure/COPYING-json-jruby +57 -0
- data/vendor/json_pure/Gemfile +11 -0
- data/vendor/json_pure/README-json-jruby.markdown +33 -0
- data/vendor/json_pure/{README → README.rdoc} +7 -7
- data/vendor/json_pure/Rakefile +305 -185
- data/vendor/json_pure/VERSION +1 -1
- data/vendor/json_pure/diagrams/.keep +0 -0
- data/vendor/json_pure/ext/json/ext/fbuffer/fbuffer.h +181 -0
- data/vendor/json_pure/ext/json/ext/generator/depend +1 -0
- data/vendor/json_pure/ext/json/ext/generator/extconf.rb +4 -6
- data/vendor/json_pure/ext/json/ext/generator/generator.c +463 -369
- data/vendor/json_pure/ext/json/ext/generator/generator.h +44 -66
- data/vendor/json_pure/ext/json/ext/parser/depend +1 -0
- data/vendor/json_pure/ext/json/ext/parser/extconf.rb +3 -5
- data/vendor/json_pure/ext/json/ext/parser/parser.c +580 -311
- data/vendor/json_pure/ext/json/ext/parser/parser.h +14 -8
- data/vendor/json_pure/ext/json/ext/parser/parser.rl +242 -107
- data/vendor/json_pure/install.rb +8 -11
- data/vendor/json_pure/java/src/json/ext/ByteListTranscoder.java +167 -0
- data/vendor/json_pure/java/src/json/ext/Generator.java +444 -0
- data/vendor/json_pure/java/src/json/ext/GeneratorMethods.java +232 -0
- data/vendor/json_pure/java/src/json/ext/GeneratorService.java +43 -0
- data/vendor/json_pure/java/src/json/ext/GeneratorState.java +543 -0
- data/vendor/json_pure/java/src/json/ext/OptionsReader.java +114 -0
- data/vendor/json_pure/java/src/json/ext/Parser.java +2644 -0
- data/vendor/json_pure/java/src/json/ext/Parser.rl +968 -0
- data/vendor/json_pure/java/src/json/ext/ParserService.java +35 -0
- data/vendor/json_pure/java/src/json/ext/RuntimeInfo.java +121 -0
- data/vendor/json_pure/java/src/json/ext/StringDecoder.java +167 -0
- data/vendor/json_pure/java/src/json/ext/StringEncoder.java +106 -0
- data/vendor/json_pure/java/src/json/ext/Utils.java +89 -0
- data/vendor/json_pure/json-java.gemspec +23 -0
- data/vendor/json_pure/json.gemspec +37 -0
- data/vendor/json_pure/json_pure.gemspec +39 -0
- data/vendor/json_pure/lib/json.rb +52 -0
- data/vendor/json_pure/lib/json/add/bigdecimal.rb +28 -0
- data/vendor/json_pure/lib/json/add/complex.rb +22 -0
- data/vendor/json_pure/lib/json/add/core.rb +9 -146
- data/vendor/json_pure/lib/json/add/date.rb +34 -0
- data/vendor/json_pure/lib/json/add/date_time.rb +50 -0
- data/vendor/json_pure/lib/json/add/exception.rb +31 -0
- data/vendor/json_pure/lib/json/add/ostruct.rb +31 -0
- data/vendor/json_pure/lib/json/add/range.rb +29 -0
- data/vendor/json_pure/lib/json/add/rational.rb +22 -0
- data/vendor/json_pure/lib/json/add/regexp.rb +30 -0
- data/vendor/json_pure/lib/json/add/struct.rb +30 -0
- data/vendor/json_pure/lib/json/add/symbol.rb +25 -0
- data/vendor/json_pure/lib/json/add/time.rb +38 -0
- data/vendor/json_pure/lib/json/common.rb +157 -67
- data/vendor/json_pure/lib/json/ext.rb +8 -2
- data/vendor/json_pure/lib/json/ext/.keep +0 -0
- data/vendor/json_pure/lib/json/generic_object.rb +70 -0
- data/vendor/json_pure/lib/json/pure.rb +8 -64
- data/vendor/json_pure/lib/json/pure/generator.rb +183 -113
- data/vendor/json_pure/lib/json/pure/parser.rb +118 -66
- data/vendor/json_pure/lib/json/version.rb +1 -1
- data/vendor/json_pure/tests/fixtures/fail18.json +1 -1
- data/vendor/json_pure/tests/setup_variant.rb +11 -0
- data/vendor/json_pure/tests/test_json.rb +233 -28
- data/vendor/json_pure/tests/test_json_addition.rb +68 -34
- data/vendor/json_pure/tests/test_json_encoding.rb +11 -14
- data/vendor/json_pure/tests/test_json_fixtures.rb +11 -10
- data/vendor/json_pure/tests/test_json_generate.rb +207 -7
- data/vendor/json_pure/tests/test_json_generic_object.rb +75 -0
- data/vendor/json_pure/tests/test_json_string_matching.rb +39 -0
- data/vendor/json_pure/tests/test_json_unicode.rb +3 -7
- data/vendor/json_pure/tools/fuzz.rb +1 -1
- data/vendor/json_pure/tools/server.rb +1 -0
- metadata +87 -94
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +0 -52
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +0 -900
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +0 -901
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +0 -261
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +0 -262
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +0 -82
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +0 -34
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +0 -900
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +0 -901
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +0 -81
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +0 -82
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +0 -82
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +0 -1000
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +0 -1001
- data/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +0 -82
- data/vendor/json_pure/benchmarks/generator2_benchmark.rb +0 -222
- data/vendor/json_pure/benchmarks/generator_benchmark.rb +0 -224
- data/vendor/json_pure/benchmarks/ohai.json +0 -1216
- data/vendor/json_pure/benchmarks/ohai.ruby +0 -1
- data/vendor/json_pure/benchmarks/parser2_benchmark.rb +0 -251
- data/vendor/json_pure/benchmarks/parser_benchmark.rb +0 -259
- data/vendor/json_pure/bin/edit_json.rb +0 -9
- data/vendor/json_pure/bin/prettify_json.rb +0 -75
- data/vendor/json_pure/lib/json/Array.xpm +0 -21
- data/vendor/json_pure/lib/json/FalseClass.xpm +0 -21
- data/vendor/json_pure/lib/json/Hash.xpm +0 -21
- data/vendor/json_pure/lib/json/Key.xpm +0 -73
- data/vendor/json_pure/lib/json/NilClass.xpm +0 -21
- data/vendor/json_pure/lib/json/Numeric.xpm +0 -28
- data/vendor/json_pure/lib/json/String.xpm +0 -96
- data/vendor/json_pure/lib/json/TrueClass.xpm +0 -21
- data/vendor/json_pure/lib/json/add/rails.rb +0 -58
- data/vendor/json_pure/lib/json/editor.rb +0 -1371
- data/vendor/json_pure/lib/json/json.xpm +0 -1499
- data/vendor/json_pure/tests/test_json_rails.rb +0 -144
@@ -0,0 +1,75 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
require File.join(File.dirname(__FILE__), 'setup_variant')
|
6
|
+
class TestJSONGenericObject < Test::Unit::TestCase
|
7
|
+
include JSON
|
8
|
+
|
9
|
+
def setup
|
10
|
+
@go = GenericObject[ :a => 1, :b => 2 ]
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_attributes
|
14
|
+
assert_equal 1, @go.a
|
15
|
+
assert_equal 1, @go[:a]
|
16
|
+
assert_equal 2, @go.b
|
17
|
+
assert_equal 2, @go[:b]
|
18
|
+
assert_nil @go.c
|
19
|
+
assert_nil @go[:c]
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_generate_json
|
23
|
+
switch_json_creatable do
|
24
|
+
assert_equal @go, JSON(JSON(@go), :create_additions => true)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_parse_json
|
29
|
+
assert_kind_of Hash, JSON('{ "json_class": "JSON::GenericObject", "a": 1, "b": 2 }', :create_additions => true)
|
30
|
+
switch_json_creatable do
|
31
|
+
assert_equal @go, l = JSON('{ "json_class": "JSON::GenericObject", "a": 1, "b": 2 }', :create_additions => true)
|
32
|
+
assert_equal 1, l.a
|
33
|
+
assert_equal @go, l = JSON('{ "a": 1, "b": 2 }', :object_class => GenericObject)
|
34
|
+
assert_equal 1, l.a
|
35
|
+
assert_equal GenericObject[:a => GenericObject[:b => 2]],
|
36
|
+
l = JSON('{ "a": { "b": 2 } }', :object_class => GenericObject)
|
37
|
+
assert_equal 2, l.a.b
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_from_hash
|
42
|
+
result = GenericObject.from_hash(
|
43
|
+
:foo => { :bar => { :baz => true }, :quux => [ { :foobar => true } ] })
|
44
|
+
assert_kind_of GenericObject, result.foo
|
45
|
+
assert_kind_of GenericObject, result.foo.bar
|
46
|
+
assert_equal true, result.foo.bar.baz
|
47
|
+
assert_kind_of GenericObject, result.foo.quux.first
|
48
|
+
assert_equal true, result.foo.quux.first.foobar
|
49
|
+
assert_equal true, GenericObject.from_hash(true)
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_json_generic_object_load
|
53
|
+
empty = JSON::GenericObject.load(nil)
|
54
|
+
assert_kind_of JSON::GenericObject, empty
|
55
|
+
simple_json = '{"json_class":"JSON::GenericObject","hello":"world"}'
|
56
|
+
simple = JSON::GenericObject.load(simple_json)
|
57
|
+
assert_kind_of JSON::GenericObject, simple
|
58
|
+
assert_equal "world", simple.hello
|
59
|
+
converting = JSON::GenericObject.load('{ "hello": "world" }')
|
60
|
+
assert_kind_of JSON::GenericObject, converting
|
61
|
+
assert_equal "world", converting.hello
|
62
|
+
|
63
|
+
json = JSON::GenericObject.dump(JSON::GenericObject[:hello => 'world'])
|
64
|
+
assert_equal JSON(json), JSON('{"json_class":"JSON::GenericObject","hello":"world"}')
|
65
|
+
end
|
66
|
+
|
67
|
+
private
|
68
|
+
|
69
|
+
def switch_json_creatable
|
70
|
+
JSON::GenericObject.json_creatable = true
|
71
|
+
yield
|
72
|
+
ensure
|
73
|
+
JSON::GenericObject.json_creatable = false
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
require File.join(File.dirname(__FILE__), 'setup_variant')
|
6
|
+
require 'stringio'
|
7
|
+
require 'time'
|
8
|
+
|
9
|
+
class TestJSONStringMatching < Test::Unit::TestCase
|
10
|
+
include JSON
|
11
|
+
|
12
|
+
class TestTime < ::Time
|
13
|
+
def self.json_create(string)
|
14
|
+
Time.parse(string)
|
15
|
+
end
|
16
|
+
|
17
|
+
def to_json(*)
|
18
|
+
%{"#{strftime('%FT%T%z')}"}
|
19
|
+
end
|
20
|
+
|
21
|
+
def ==(other)
|
22
|
+
to_i == other.to_i
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_match_date
|
27
|
+
t = TestTime.new
|
28
|
+
t_json = [ t ].to_json
|
29
|
+
assert_equal [ t ],
|
30
|
+
JSON.parse(t_json, :create_additions => true,
|
31
|
+
:match_string => { /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\z/ => TestTime })
|
32
|
+
assert_equal [ t.strftime('%FT%T%z') ],
|
33
|
+
JSON.parse(t_json, :create_additions => true,
|
34
|
+
:match_string => { /\A\d{3}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\z/ => TestTime })
|
35
|
+
assert_equal [ t.strftime('%FT%T%z') ],
|
36
|
+
JSON.parse(t_json,
|
37
|
+
:match_string => { /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\z/ => TestTime })
|
38
|
+
end
|
39
|
+
end
|
@@ -1,14 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
2
|
+
# encoding: utf-8
|
3
3
|
|
4
4
|
require 'test/unit'
|
5
|
-
|
6
|
-
when 'pure' then require 'json/pure'
|
7
|
-
when 'ext' then require 'json/ext'
|
8
|
-
else require 'json'
|
9
|
-
end
|
5
|
+
require File.join(File.dirname(__FILE__), 'setup_variant')
|
10
6
|
|
11
|
-
class
|
7
|
+
class TestJSONUnicode < Test::Unit::TestCase
|
12
8
|
include JSON
|
13
9
|
|
14
10
|
def test_unicode
|
metadata
CHANGED
@@ -1,40 +1,44 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.6.8.pre
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Andre Lewis
|
8
9
|
- Derek Haynes
|
9
10
|
- James Edward Gray II
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
dependencies:
|
17
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2013-05-14 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
18
17
|
name: elif
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
19
24
|
type: :runtime
|
20
|
-
|
21
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
description:
|
28
|
-
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
description: ! 'The scout gem reports metrics to scoutapp.com, an easy-to-use hosted
|
33
|
+
server monitoring service.
|
29
34
|
|
35
|
+
'
|
30
36
|
email: support@scoutapp.com
|
31
|
-
executables:
|
37
|
+
executables:
|
32
38
|
- scout
|
33
39
|
extensions: []
|
34
|
-
|
35
40
|
extra_rdoc_files: []
|
36
|
-
|
37
|
-
files:
|
41
|
+
files:
|
38
42
|
- .gitignore
|
39
43
|
- CHANGELOG.markdown
|
40
44
|
- Gemfile
|
@@ -66,78 +70,67 @@ files:
|
|
66
70
|
- scout.gemspec
|
67
71
|
- test/plugins/disk_usage.rb
|
68
72
|
- test/scout_test.rb
|
73
|
+
- vendor/json_pure/.gitignore
|
74
|
+
- vendor/json_pure/.travis.yml
|
69
75
|
- vendor/json_pure/CHANGES
|
70
76
|
- vendor/json_pure/COPYING
|
77
|
+
- vendor/json_pure/COPYING-json-jruby
|
71
78
|
- vendor/json_pure/GPL
|
72
|
-
- vendor/json_pure/
|
79
|
+
- vendor/json_pure/Gemfile
|
80
|
+
- vendor/json_pure/README-json-jruby.markdown
|
81
|
+
- vendor/json_pure/README.rdoc
|
73
82
|
- vendor/json_pure/Rakefile
|
74
83
|
- vendor/json_pure/TODO
|
75
84
|
- vendor/json_pure/VERSION
|
76
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log
|
77
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat
|
78
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat
|
79
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat
|
80
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat
|
81
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat
|
82
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat
|
83
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log
|
84
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
|
85
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
|
86
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
|
87
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
|
88
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
|
89
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
|
90
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
|
91
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
|
92
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
|
93
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
|
94
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
|
95
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
|
96
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
|
97
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
|
98
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
|
99
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
|
100
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
|
101
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
|
102
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
|
103
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
|
104
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
|
105
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
|
106
|
-
- vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
|
107
|
-
- vendor/json_pure/benchmarks/generator2_benchmark.rb
|
108
|
-
- vendor/json_pure/benchmarks/generator_benchmark.rb
|
109
|
-
- vendor/json_pure/benchmarks/ohai.json
|
110
|
-
- vendor/json_pure/benchmarks/ohai.ruby
|
111
|
-
- vendor/json_pure/benchmarks/parser2_benchmark.rb
|
112
|
-
- vendor/json_pure/benchmarks/parser_benchmark.rb
|
113
|
-
- vendor/json_pure/bin/edit_json.rb
|
114
|
-
- vendor/json_pure/bin/prettify_json.rb
|
115
85
|
- vendor/json_pure/data/example.json
|
116
86
|
- vendor/json_pure/data/index.html
|
117
87
|
- vendor/json_pure/data/prototype.js
|
88
|
+
- vendor/json_pure/diagrams/.keep
|
89
|
+
- vendor/json_pure/ext/json/ext/fbuffer/fbuffer.h
|
90
|
+
- vendor/json_pure/ext/json/ext/generator/depend
|
118
91
|
- vendor/json_pure/ext/json/ext/generator/extconf.rb
|
119
92
|
- vendor/json_pure/ext/json/ext/generator/generator.c
|
120
93
|
- vendor/json_pure/ext/json/ext/generator/generator.h
|
94
|
+
- vendor/json_pure/ext/json/ext/parser/depend
|
121
95
|
- vendor/json_pure/ext/json/ext/parser/extconf.rb
|
122
96
|
- vendor/json_pure/ext/json/ext/parser/parser.c
|
123
97
|
- vendor/json_pure/ext/json/ext/parser/parser.h
|
124
98
|
- vendor/json_pure/ext/json/ext/parser/parser.rl
|
125
99
|
- vendor/json_pure/install.rb
|
100
|
+
- vendor/json_pure/java/src/json/ext/ByteListTranscoder.java
|
101
|
+
- vendor/json_pure/java/src/json/ext/Generator.java
|
102
|
+
- vendor/json_pure/java/src/json/ext/GeneratorMethods.java
|
103
|
+
- vendor/json_pure/java/src/json/ext/GeneratorService.java
|
104
|
+
- vendor/json_pure/java/src/json/ext/GeneratorState.java
|
105
|
+
- vendor/json_pure/java/src/json/ext/OptionsReader.java
|
106
|
+
- vendor/json_pure/java/src/json/ext/Parser.java
|
107
|
+
- vendor/json_pure/java/src/json/ext/Parser.rl
|
108
|
+
- vendor/json_pure/java/src/json/ext/ParserService.java
|
109
|
+
- vendor/json_pure/java/src/json/ext/RuntimeInfo.java
|
110
|
+
- vendor/json_pure/java/src/json/ext/StringDecoder.java
|
111
|
+
- vendor/json_pure/java/src/json/ext/StringEncoder.java
|
112
|
+
- vendor/json_pure/java/src/json/ext/Utils.java
|
113
|
+
- vendor/json_pure/json-java.gemspec
|
114
|
+
- vendor/json_pure/json.gemspec
|
115
|
+
- vendor/json_pure/json_pure.gemspec
|
126
116
|
- vendor/json_pure/lib/json.rb
|
127
|
-
- vendor/json_pure/lib/json/
|
128
|
-
- vendor/json_pure/lib/json/
|
129
|
-
- vendor/json_pure/lib/json/Hash.xpm
|
130
|
-
- vendor/json_pure/lib/json/Key.xpm
|
131
|
-
- vendor/json_pure/lib/json/NilClass.xpm
|
132
|
-
- vendor/json_pure/lib/json/Numeric.xpm
|
133
|
-
- vendor/json_pure/lib/json/String.xpm
|
134
|
-
- vendor/json_pure/lib/json/TrueClass.xpm
|
117
|
+
- vendor/json_pure/lib/json/add/bigdecimal.rb
|
118
|
+
- vendor/json_pure/lib/json/add/complex.rb
|
135
119
|
- vendor/json_pure/lib/json/add/core.rb
|
136
|
-
- vendor/json_pure/lib/json/add/
|
120
|
+
- vendor/json_pure/lib/json/add/date.rb
|
121
|
+
- vendor/json_pure/lib/json/add/date_time.rb
|
122
|
+
- vendor/json_pure/lib/json/add/exception.rb
|
123
|
+
- vendor/json_pure/lib/json/add/ostruct.rb
|
124
|
+
- vendor/json_pure/lib/json/add/range.rb
|
125
|
+
- vendor/json_pure/lib/json/add/rational.rb
|
126
|
+
- vendor/json_pure/lib/json/add/regexp.rb
|
127
|
+
- vendor/json_pure/lib/json/add/struct.rb
|
128
|
+
- vendor/json_pure/lib/json/add/symbol.rb
|
129
|
+
- vendor/json_pure/lib/json/add/time.rb
|
137
130
|
- vendor/json_pure/lib/json/common.rb
|
138
|
-
- vendor/json_pure/lib/json/editor.rb
|
139
131
|
- vendor/json_pure/lib/json/ext.rb
|
140
|
-
- vendor/json_pure/lib/json/
|
132
|
+
- vendor/json_pure/lib/json/ext/.keep
|
133
|
+
- vendor/json_pure/lib/json/generic_object.rb
|
141
134
|
- vendor/json_pure/lib/json/pure.rb
|
142
135
|
- vendor/json_pure/lib/json/pure/generator.rb
|
143
136
|
- vendor/json_pure/lib/json/pure/parser.rb
|
@@ -173,12 +166,14 @@ files:
|
|
173
166
|
- vendor/json_pure/tests/fixtures/pass2.json
|
174
167
|
- vendor/json_pure/tests/fixtures/pass26.json
|
175
168
|
- vendor/json_pure/tests/fixtures/pass3.json
|
169
|
+
- vendor/json_pure/tests/setup_variant.rb
|
176
170
|
- vendor/json_pure/tests/test_json.rb
|
177
171
|
- vendor/json_pure/tests/test_json_addition.rb
|
178
172
|
- vendor/json_pure/tests/test_json_encoding.rb
|
179
173
|
- vendor/json_pure/tests/test_json_fixtures.rb
|
180
174
|
- vendor/json_pure/tests/test_json_generate.rb
|
181
|
-
- vendor/json_pure/tests/
|
175
|
+
- vendor/json_pure/tests/test_json_generic_object.rb
|
176
|
+
- vendor/json_pure/tests/test_json_string_matching.rb
|
182
177
|
- vendor/json_pure/tests/test_json_unicode.rb
|
183
178
|
- vendor/json_pure/tools/fuzz.rb
|
184
179
|
- vendor/json_pure/tools/server.rb
|
@@ -219,34 +214,32 @@ files:
|
|
219
214
|
- vendor/signature/spec/signature_spec.rb
|
220
215
|
- vendor/signature/spec/spec_helper.rb
|
221
216
|
- vendor/util/lib/core_extensions.rb
|
222
|
-
has_rdoc: true
|
223
217
|
homepage: http://scoutapp.com
|
224
218
|
licenses: []
|
225
|
-
|
226
219
|
post_install_message:
|
227
220
|
rdoc_options: []
|
228
|
-
|
229
|
-
require_paths:
|
221
|
+
require_paths:
|
230
222
|
- lib
|
231
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
225
|
+
requirements:
|
226
|
+
- - ! '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ! '>'
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 1.3.1
|
243
235
|
requirements: []
|
244
|
-
|
245
236
|
rubyforge_project: scout
|
246
|
-
rubygems_version: 1.
|
237
|
+
rubygems_version: 1.8.25
|
247
238
|
signing_key:
|
248
239
|
specification_version: 3
|
249
|
-
summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
|
250
|
-
|
240
|
+
summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
|
241
|
+
gem reports metrics to our service. The agent runs plugins, configured via the Scout
|
242
|
+
web interface, to monitor a server.
|
243
|
+
test_files:
|
251
244
|
- test/plugins/disk_usage.rb
|
252
245
|
- test/scout_test.rb
|
@@ -1,52 +0,0 @@
|
|
1
|
-
========================== 2009-04-01T16:54:14 CEST ===========================
|
2
|
-
|
3
|
-
Comparing times (call_time_mean):
|
4
|
-
1 GeneratorBenchmarkExt#generator_fast 1000 repeats:
|
5
|
-
547.354332608 ( real) -> 15.090x
|
6
|
-
0.001826970
|
7
|
-
2 GeneratorBenchmarkExt#generator_safe 1000 repeats:
|
8
|
-
443.968212317 ( real) -> 12.240x
|
9
|
-
0.002252414
|
10
|
-
3 GeneratorBenchmarkExt#generator_pretty 900 repeats:
|
11
|
-
375.104545883 ( real) -> 10.341x
|
12
|
-
0.002665923
|
13
|
-
4 GeneratorBenchmarkPure#generator_fast 1000 repeats:
|
14
|
-
49.978706968 ( real) -> 1.378x
|
15
|
-
0.020008521
|
16
|
-
5 GeneratorBenchmarkRails#generator 1000 repeats:
|
17
|
-
38.531868759 ( real) -> 1.062x
|
18
|
-
0.025952543
|
19
|
-
6 GeneratorBenchmarkPure#generator_safe 1000 repeats:
|
20
|
-
36.927649925 ( real) -> 1.018x 7 (>=3859)
|
21
|
-
0.027079979
|
22
|
-
7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
|
23
|
-
36.272134441 ( real) -> 1.000x 6 (>=3859)
|
24
|
-
0.027569373
|
25
|
-
calls/sec ( time) -> speed covers
|
26
|
-
secs/call
|
27
|
-
|
28
|
-
Comparing times (call_time_median):
|
29
|
-
1 GeneratorBenchmarkExt#generator_fast 1000 repeats:
|
30
|
-
708.258020939 ( real) -> 16.547x
|
31
|
-
0.001411915
|
32
|
-
2 GeneratorBenchmarkExt#generator_safe 1000 repeats:
|
33
|
-
569.105020353 ( real) -> 13.296x
|
34
|
-
0.001757145
|
35
|
-
3 GeneratorBenchmarkExt#generator_pretty 900 repeats:
|
36
|
-
482.825371244 ( real) -> 11.280x
|
37
|
-
0.002071142
|
38
|
-
4 GeneratorBenchmarkPure#generator_fast 1000 repeats:
|
39
|
-
62.717626652 ( real) -> 1.465x
|
40
|
-
0.015944481
|
41
|
-
5 GeneratorBenchmarkRails#generator 1000 repeats:
|
42
|
-
43.965681162 ( real) -> 1.027x
|
43
|
-
0.022745013
|
44
|
-
6 GeneratorBenchmarkPure#generator_safe 1000 repeats:
|
45
|
-
43.929073409 ( real) -> 1.026x 7 (>=3859)
|
46
|
-
0.022763968
|
47
|
-
7 GeneratorBenchmarkPure#generator_pretty 1000 repeats:
|
48
|
-
42.802514491 ( real) -> 1.000x 6 (>=3859)
|
49
|
-
0.023363113
|
50
|
-
calls/sec ( time) -> speed covers
|
51
|
-
secs/call
|
52
|
-
===============================================================================
|