ey-deploy 0.9.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. data/lib/ey-deploy.rb +5 -2
  2. data/lib/ey-deploy/cli.rb +2 -2
  3. data/lib/ey-deploy/deploy.rb +8 -1
  4. data/lib/ey-deploy/logged_output.rb +6 -0
  5. data/lib/ey-deploy/strategies/git.rb +5 -4
  6. data/lib/ey-deploy/version.rb +1 -1
  7. data/lib/vendor/escape/Readme +21 -0
  8. data/lib/vendor/escape/doc_include/template/qualitysmith.rb +631 -0
  9. data/lib/vendor/escape/lib/escape.rb +247 -0
  10. data/lib/vendor/json_pure/CHANGES +166 -0
  11. data/lib/vendor/json_pure/COPYING +58 -0
  12. data/lib/vendor/json_pure/GPL +340 -0
  13. data/lib/vendor/json_pure/README +358 -0
  14. data/lib/vendor/json_pure/Rakefile +292 -0
  15. data/lib/vendor/json_pure/TODO +1 -0
  16. data/lib/vendor/json_pure/VERSION +1 -0
  17. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
  18. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
  19. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
  20. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
  21. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
  22. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
  23. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
  24. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
  25. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
  26. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
  27. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
  28. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
  29. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
  30. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
  31. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
  32. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
  33. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
  34. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
  35. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
  36. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
  37. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
  38. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
  39. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
  40. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
  41. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
  42. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
  43. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
  44. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
  45. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
  46. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
  47. data/lib/vendor/json_pure/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
  48. data/lib/vendor/json_pure/benchmarks/generator2_benchmark.rb +222 -0
  49. data/lib/vendor/json_pure/benchmarks/generator_benchmark.rb +224 -0
  50. data/lib/vendor/json_pure/benchmarks/ohai.json +1216 -0
  51. data/lib/vendor/json_pure/benchmarks/ohai.ruby +1 -0
  52. data/lib/vendor/json_pure/benchmarks/parser2_benchmark.rb +251 -0
  53. data/lib/vendor/json_pure/benchmarks/parser_benchmark.rb +259 -0
  54. data/lib/vendor/json_pure/bin/edit_json.rb +9 -0
  55. data/lib/vendor/json_pure/bin/prettify_json.rb +75 -0
  56. data/lib/vendor/json_pure/data/example.json +1 -0
  57. data/lib/vendor/json_pure/data/index.html +38 -0
  58. data/lib/vendor/json_pure/data/prototype.js +4184 -0
  59. data/lib/vendor/json_pure/ext/json/ext/generator/extconf.rb +16 -0
  60. data/lib/vendor/json_pure/ext/json/ext/generator/generator.c +1323 -0
  61. data/lib/vendor/json_pure/ext/json/ext/generator/generator.h +170 -0
  62. data/lib/vendor/json_pure/ext/json/ext/parser/extconf.rb +15 -0
  63. data/lib/vendor/json_pure/ext/json/ext/parser/parser.c +1935 -0
  64. data/lib/vendor/json_pure/ext/json/ext/parser/parser.h +71 -0
  65. data/lib/vendor/json_pure/ext/json/ext/parser/parser.rl +792 -0
  66. data/lib/vendor/json_pure/install.rb +26 -0
  67. data/lib/vendor/json_pure/lib/json.rb +10 -0
  68. data/lib/vendor/json_pure/lib/json/Array.xpm +21 -0
  69. data/lib/vendor/json_pure/lib/json/FalseClass.xpm +21 -0
  70. data/lib/vendor/json_pure/lib/json/Hash.xpm +21 -0
  71. data/lib/vendor/json_pure/lib/json/Key.xpm +73 -0
  72. data/lib/vendor/json_pure/lib/json/NilClass.xpm +21 -0
  73. data/lib/vendor/json_pure/lib/json/Numeric.xpm +28 -0
  74. data/lib/vendor/json_pure/lib/json/String.xpm +96 -0
  75. data/lib/vendor/json_pure/lib/json/TrueClass.xpm +21 -0
  76. data/lib/vendor/json_pure/lib/json/add/core.rb +148 -0
  77. data/lib/vendor/json_pure/lib/json/add/rails.rb +58 -0
  78. data/lib/vendor/json_pure/lib/json/common.rb +397 -0
  79. data/lib/vendor/json_pure/lib/json/editor.rb +1371 -0
  80. data/lib/vendor/json_pure/lib/json/ext.rb +15 -0
  81. data/lib/vendor/json_pure/lib/json/json.xpm +1499 -0
  82. data/lib/vendor/json_pure/lib/json/pure.rb +77 -0
  83. data/lib/vendor/json_pure/lib/json/pure/generator.rb +452 -0
  84. data/lib/vendor/json_pure/lib/json/pure/parser.rb +307 -0
  85. data/lib/vendor/json_pure/lib/json/version.rb +8 -0
  86. data/lib/vendor/json_pure/tests/fixtures/fail1.json +1 -0
  87. data/lib/vendor/json_pure/tests/fixtures/fail10.json +1 -0
  88. data/lib/vendor/json_pure/tests/fixtures/fail11.json +1 -0
  89. data/lib/vendor/json_pure/tests/fixtures/fail12.json +1 -0
  90. data/lib/vendor/json_pure/tests/fixtures/fail13.json +1 -0
  91. data/lib/vendor/json_pure/tests/fixtures/fail14.json +1 -0
  92. data/lib/vendor/json_pure/tests/fixtures/fail18.json +1 -0
  93. data/lib/vendor/json_pure/tests/fixtures/fail19.json +1 -0
  94. data/lib/vendor/json_pure/tests/fixtures/fail2.json +1 -0
  95. data/lib/vendor/json_pure/tests/fixtures/fail20.json +1 -0
  96. data/lib/vendor/json_pure/tests/fixtures/fail21.json +1 -0
  97. data/lib/vendor/json_pure/tests/fixtures/fail22.json +1 -0
  98. data/lib/vendor/json_pure/tests/fixtures/fail23.json +1 -0
  99. data/lib/vendor/json_pure/tests/fixtures/fail24.json +1 -0
  100. data/lib/vendor/json_pure/tests/fixtures/fail25.json +1 -0
  101. data/lib/vendor/json_pure/tests/fixtures/fail27.json +2 -0
  102. data/lib/vendor/json_pure/tests/fixtures/fail28.json +2 -0
  103. data/lib/vendor/json_pure/tests/fixtures/fail3.json +1 -0
  104. data/lib/vendor/json_pure/tests/fixtures/fail4.json +1 -0
  105. data/lib/vendor/json_pure/tests/fixtures/fail5.json +1 -0
  106. data/lib/vendor/json_pure/tests/fixtures/fail6.json +1 -0
  107. data/lib/vendor/json_pure/tests/fixtures/fail7.json +1 -0
  108. data/lib/vendor/json_pure/tests/fixtures/fail8.json +1 -0
  109. data/lib/vendor/json_pure/tests/fixtures/fail9.json +1 -0
  110. data/lib/vendor/json_pure/tests/fixtures/pass1.json +56 -0
  111. data/lib/vendor/json_pure/tests/fixtures/pass15.json +1 -0
  112. data/lib/vendor/json_pure/tests/fixtures/pass16.json +1 -0
  113. data/lib/vendor/json_pure/tests/fixtures/pass17.json +1 -0
  114. data/lib/vendor/json_pure/tests/fixtures/pass2.json +1 -0
  115. data/lib/vendor/json_pure/tests/fixtures/pass26.json +1 -0
  116. data/lib/vendor/json_pure/tests/fixtures/pass3.json +6 -0
  117. data/lib/vendor/json_pure/tests/test_json.rb +361 -0
  118. data/lib/vendor/json_pure/tests/test_json_addition.rb +162 -0
  119. data/lib/vendor/json_pure/tests/test_json_encoding.rb +68 -0
  120. data/lib/vendor/json_pure/tests/test_json_fixtures.rb +34 -0
  121. data/lib/vendor/json_pure/tests/test_json_generate.rb +122 -0
  122. data/lib/vendor/json_pure/tests/test_json_rails.rb +144 -0
  123. data/lib/vendor/json_pure/tests/test_json_unicode.rb +76 -0
  124. data/lib/vendor/json_pure/tools/fuzz.rb +139 -0
  125. data/lib/vendor/json_pure/tools/server.rb +61 -0
  126. metadata +125 -43
@@ -0,0 +1,292 @@
1
+ begin
2
+ require 'rake/gempackagetask'
3
+ rescue LoadError
4
+ end
5
+
6
+ begin
7
+ require 'rake/extensiontask'
8
+ rescue LoadError
9
+ puts "WARNING: rake-compiler is not installed. You will not be able to build the json gem until you install it."
10
+ end
11
+
12
+ require 'rbconfig'
13
+ include Config
14
+
15
+ require 'rake/clean'
16
+ CLOBBER.include Dir['benchmarks/data/*.{dat,log}'], FileList['**/*.rbc']
17
+ CLEAN.include FileList['diagrams/*.*'], 'doc', 'coverage', 'tmp',
18
+ FileList["ext/**/{Makefile,mkmf.log}"],
19
+ FileList["{ext,lib}/**/*.{so,bundle,#{CONFIG['DLEXT']},o,obj,pdb,lib,manifest,exp,def}"]
20
+
21
+ MAKE = ENV['MAKE'] || %w[gmake make].find { |c| system(c, '-v') }
22
+ PKG_NAME = 'json'
23
+ PKG_TITLE = 'JSON Implementation for Ruby'
24
+ PKG_VERSION = File.read('VERSION').chomp
25
+ PKG_FILES = FileList["**/*"].exclude(/CVS|pkg|tmp|coverage|Makefile|\.nfs\./).exclude(/\.(so|bundle|o|#{CONFIG['DLEXT']})$/)
26
+ EXT_ROOT_DIR = 'ext/json/ext'
27
+ EXT_PARSER_DIR = "#{EXT_ROOT_DIR}/parser"
28
+ EXT_PARSER_DL = "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}"
29
+ EXT_PARSER_SRC = "#{EXT_PARSER_DIR}/parser.c"
30
+ PKG_FILES << EXT_PARSER_SRC
31
+ EXT_GENERATOR_DIR = "#{EXT_ROOT_DIR}/generator"
32
+ EXT_GENERATOR_DL = "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}"
33
+ EXT_GENERATOR_SRC = "#{EXT_GENERATOR_DIR}/generator.c"
34
+ RAGEL_CODEGEN = %w[rlcodegen rlgen-cd ragel].find { |c| system(c, '-v') }
35
+ RAGEL_DOTGEN = %w[rlgen-dot rlgen-cd ragel].find { |c| system(c, '-v') }
36
+ RAGEL_PATH = "#{EXT_PARSER_DIR}/parser.rl"
37
+
38
+ def myruby(*args, &block)
39
+ @myruby ||= File.join(CONFIG['bindir'], CONFIG['ruby_install_name'])
40
+ options = (Hash === args.last) ? args.pop : {}
41
+ if args.length > 1 then
42
+ sh(*([@myruby] + args + [options]), &block)
43
+ else
44
+ sh("#{@myruby} #{args.first}", options, &block)
45
+ end
46
+ end
47
+
48
+ desc "Installing library (pure)"
49
+ task :install_pure => :version do
50
+ myruby 'install.rb'
51
+ end
52
+
53
+ task :install_ext_really do
54
+ sitearchdir = CONFIG["sitearchdir"]
55
+ cd 'ext' do
56
+ for file in Dir["json/ext/*.#{CONFIG['DLEXT']}"]
57
+ d = File.join(sitearchdir, file)
58
+ mkdir_p File.dirname(d)
59
+ install(file, d)
60
+ end
61
+ end
62
+ end
63
+
64
+ desc "Installing library (extension)"
65
+ task :install_ext => [ :compile_ext, :install_pure, :install_ext_really ]
66
+
67
+ desc "Installing library (extension)"
68
+ if RUBY_PLATFORM =~ /java/
69
+ task :install => :install_pure
70
+ else
71
+ task :install => :install_ext
72
+ end
73
+
74
+ desc "Compiling extension"
75
+ task :compile_ext => [ EXT_PARSER_DL, EXT_GENERATOR_DL ]
76
+
77
+ file EXT_PARSER_DL => EXT_PARSER_SRC do
78
+ cd EXT_PARSER_DIR do
79
+ myruby 'extconf.rb'
80
+ sh MAKE
81
+ end
82
+ cp "#{EXT_PARSER_DIR}/parser.#{CONFIG['DLEXT']}", EXT_ROOT_DIR
83
+ end
84
+
85
+ file EXT_GENERATOR_DL => EXT_GENERATOR_SRC do
86
+ cd EXT_GENERATOR_DIR do
87
+ myruby 'extconf.rb'
88
+ sh MAKE
89
+ end
90
+ cp "#{EXT_GENERATOR_DIR}/generator.#{CONFIG['DLEXT']}", EXT_ROOT_DIR
91
+ end
92
+
93
+ desc "Generate parser with ragel"
94
+ task :ragel => EXT_PARSER_SRC
95
+
96
+ task :ragel_clean do
97
+ rm_rf EXT_PARSER_SRC
98
+ end
99
+
100
+ file EXT_PARSER_SRC => RAGEL_PATH do
101
+ cd EXT_PARSER_DIR do
102
+ if RAGEL_CODEGEN == 'ragel'
103
+ sh "ragel parser.rl -G2 -o parser.c"
104
+ else
105
+ sh "ragel -x parser.rl | #{RAGEL_CODEGEN} -G2"
106
+ end
107
+ end
108
+ end
109
+
110
+ desc "Generate diagrams of ragel parser (ps)"
111
+ task :ragel_dot_ps do
112
+ root = 'diagrams'
113
+ specs = []
114
+ File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 }
115
+ for s in specs
116
+ if RAGEL_DOTGEN == 'ragel'
117
+ sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tps -o#{root}/#{s}.ps"
118
+ else
119
+ sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tps -o#{root}/#{s}.ps"
120
+ end
121
+ end
122
+ end
123
+
124
+ desc "Generate diagrams of ragel parser (png)"
125
+ task :ragel_dot_png do
126
+ root = 'diagrams'
127
+ specs = []
128
+ File.new(RAGEL_PATH).grep(/^\s*machine\s*(\S+);\s*$/) { specs << $1 }
129
+ for s in specs
130
+ if RAGEL_DOTGEN == 'ragel'
131
+ sh "ragel #{RAGEL_PATH} -S#{s} -p -V | dot -Tpng -o#{root}/#{s}.png"
132
+ else
133
+ sh "ragel -x #{RAGEL_PATH} -S#{s} | #{RAGEL_DOTGEN} -p|dot -Tpng -o#{root}/#{s}.png"
134
+ end
135
+ end
136
+ end
137
+
138
+ desc "Generate diagrams of ragel parser"
139
+ task :ragel_dot => [ :ragel_dot_png, :ragel_dot_ps ]
140
+
141
+ desc "Testing library (pure ruby)"
142
+ task :test_pure => :clean do
143
+ ENV['JSON'] = 'pure'
144
+ ENV['RUBYOPT'] = "-Iext:lib #{ENV['RUBYOPT']}"
145
+ myruby "-S testrb #{Dir['./tests/*.rb'] * ' '}"
146
+ end
147
+
148
+ desc "Testing library (extension)"
149
+ task :test_ext => :compile_ext do
150
+ ENV['JSON'] = 'ext'
151
+ ENV['RUBYOPT'] = "-Iext:lib #{ENV['RUBYOPT']}"
152
+ myruby "-S testrb #{Dir['./tests/*.rb'] * ' '}"
153
+ end
154
+
155
+ desc "Testing library (pure ruby and extension)"
156
+ task :test => [ :test_pure, :test_ext ]
157
+
158
+ desc "Benchmarking parser"
159
+ task :benchmark_parser do
160
+ ENV['RUBYOPT'] = "-Ilib:ext #{ENV['RUBYOPT']}"
161
+ myruby 'benchmarks/parser_benchmark.rb'
162
+ myruby 'benchmarks/parser2_benchmark.rb'
163
+ end
164
+
165
+ desc "Benchmarking generator"
166
+ task :benchmark_generator do
167
+ ENV['RUBYOPT'] = "-Ilib:ext #{ENV['RUBYOPT']}"
168
+ myruby 'benchmarks/generator_benchmark.rb'
169
+ myruby 'benchmarks/generator2_benchmark.rb'
170
+ end
171
+
172
+ desc "Benchmarking library"
173
+ task :benchmark => [ :benchmark_parser, :benchmark_generator ]
174
+
175
+ desc "Create RDOC documentation"
176
+ task :doc => [ :version, EXT_PARSER_SRC ] do
177
+ sh "rdoc -o doc -t '#{PKG_TITLE}' -m README README lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}"
178
+ end
179
+
180
+ if defined?(Gem) and defined?(Rake::GemPackageTask)
181
+ spec_pure = Gem::Specification.new do |s|
182
+ s.name = 'json_pure'
183
+ s.version = PKG_VERSION
184
+ s.summary = PKG_TITLE
185
+ s.description = "This is a JSON implementation in pure Ruby."
186
+
187
+ s.files = PKG_FILES
188
+
189
+ s.require_path = 'lib'
190
+
191
+ s.bindir = "bin"
192
+ s.executables = [ "edit_json.rb", "prettify_json.rb" ]
193
+ s.default_executable = "edit_json.rb"
194
+
195
+ s.has_rdoc = true
196
+ s.extra_rdoc_files << 'README'
197
+ s.rdoc_options <<
198
+ '--title' << 'JSON implemention for ruby' << '--main' << 'README'
199
+ s.test_files.concat Dir['tests/*.rb']
200
+
201
+ s.author = "Florian Frank"
202
+ s.email = "flori@ping.de"
203
+ s.homepage = "http://flori.github.com/#{PKG_NAME}"
204
+ s.rubyforge_project = "json"
205
+ end
206
+
207
+ Rake::GemPackageTask.new(spec_pure) do |pkg|
208
+ pkg.need_tar = true
209
+ pkg.package_files = PKG_FILES
210
+ end
211
+ end
212
+
213
+ if defined?(Gem) and defined?(Rake::GemPackageTask) and defined?(Rake::ExtensionTask)
214
+ spec_ext = Gem::Specification.new do |s|
215
+ s.name = 'json'
216
+ s.version = PKG_VERSION
217
+ s.summary = PKG_TITLE
218
+ s.description = "This is a JSON implementation as a Ruby extension in C."
219
+
220
+ s.files = PKG_FILES
221
+
222
+ s.extensions = FileList['ext/**/extconf.rb']
223
+
224
+ s.require_path = EXT_ROOT_DIR
225
+ s.require_paths << 'ext'
226
+ s.require_paths << 'lib'
227
+
228
+ s.bindir = "bin"
229
+ s.executables = [ "edit_json.rb", "prettify_json.rb" ]
230
+ s.default_executable = "edit_json.rb"
231
+
232
+ s.has_rdoc = true
233
+ s.extra_rdoc_files << 'README'
234
+ s.rdoc_options <<
235
+ '--title' << 'JSON implemention for Ruby' << '--main' << 'README'
236
+ s.test_files.concat Dir['tests/*.rb']
237
+
238
+ s.author = "Florian Frank"
239
+ s.email = "flori@ping.de"
240
+ s.homepage = "http://flori.github.com/#{PKG_NAME}"
241
+ s.rubyforge_project = "json"
242
+ end
243
+
244
+ Rake::GemPackageTask.new(spec_ext) do |pkg|
245
+ pkg.need_tar = true
246
+ pkg.package_files = PKG_FILES
247
+ end
248
+
249
+ Rake::ExtensionTask.new do |ext|
250
+ ext.name = 'parser'
251
+ ext.gem_spec = spec_ext
252
+ ext.cross_compile = true
253
+ ext.cross_platform = %w[i386-mswin32 i386-mingw32]
254
+ ext.ext_dir = 'ext/json/ext/parser'
255
+ ext.lib_dir = 'lib/json/ext'
256
+ end
257
+
258
+ Rake::ExtensionTask.new do |ext|
259
+ ext.name = 'generator'
260
+ ext.gem_spec = spec_ext
261
+ ext.cross_compile = true
262
+ ext.cross_platform = %w[i386-mswin32 i386-mingw32]
263
+ ext.ext_dir = 'ext/json/ext/generator'
264
+ ext.lib_dir = 'lib/json/ext'
265
+ end
266
+ end
267
+
268
+ desc m = "Writing version information for #{PKG_VERSION}"
269
+ task :version do
270
+ puts m
271
+ File.open(File.join('lib', 'json', 'version.rb'), 'w') do |v|
272
+ v.puts <<EOT
273
+ module JSON
274
+ # JSON version
275
+ VERSION = '#{PKG_VERSION}'
276
+ VERSION_ARRAY = VERSION.split(/\\./).map { |x| x.to_i } # :nodoc:
277
+ VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
278
+ VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
279
+ VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
280
+ end
281
+ EOT
282
+ end
283
+ end
284
+
285
+ desc "Build all gems and archives for a new release."
286
+ task :release => [ :clean, :version, :cross, :native, :gem ] do
287
+ sh "#$0 clean native gem"
288
+ sh "#$0 clean package"
289
+ end
290
+
291
+ desc "Compile in the the source directory"
292
+ task :default => [ :version, :compile_ext ]
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ 1.4.3
@@ -0,0 +1,52 @@
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
+ ===============================================================================
@@ -0,0 +1,1000 @@
1
+ #lag autocorrelation
2
+ 1 1.0
3
+ 2 -0.00598106516199361
4
+ 3 -0.0112807270419403
5
+ 4 -0.0123696625707977
6
+ 5 -0.0156474123184087
7
+ 6 -0.0167058727326317
8
+ 7 -0.0174226257732614
9
+ 8 -0.0189193377912716
10
+ 9 -0.0214634645195233
11
+ 10 -0.0210243967687236
12
+ 11 -0.0184155266311585
13
+ 12 -0.0181108782382041
14
+ 13 -0.0176431070033873
15
+ 14 -0.0156578972028912
16
+ 15 -0.0177374502087085
17
+ 16 -0.0141455286987274
18
+ 17 -0.00795945141612284
19
+ 18 -0.0113514826844811
20
+ 19 -0.00973302086315654
21
+ 20 -0.00752544154967475
22
+ 21 -0.00910755332739381
23
+ 22 -0.0135251862007292
24
+ 23 -0.018973749693597
25
+ 24 -0.0204970425654037
26
+ 25 -0.0215794434931503
27
+ 26 -0.0208820323198205
28
+ 27 -0.0215343932179269
29
+ 28 -0.0197971427401652
30
+ 29 -0.0184170283596744
31
+ 30 -0.0175671796001255
32
+ 31 -0.0182236843115851
33
+ 32 -0.0197281221230859
34
+ 33 -0.0150052309130744
35
+ 34 -0.0149918485410557
36
+ 35 -0.0148118613887254
37
+ 36 -0.0167181900944588
38
+ 37 -0.0206983251289769
39
+ 38 -0.0210801801789031
40
+ 39 -0.0208844740744579
41
+ 40 -0.019184207940328
42
+ 41 -0.017212049362023
43
+ 42 -0.0120240041713764
44
+ 43 -0.0100234143586629
45
+ 44 -0.00665522354326635
46
+ 45 -0.0100620537646498
47
+ 46 -0.00769258313093049
48
+ 47 -0.0101574928855612
49
+ 48 -0.0159677916154784
50
+ 49 -0.0165646691066312
51
+ 50 -0.0130718375795871
52
+ 51 -0.0164703973814153
53
+ 52 -0.0175737709174274
54
+ 53 -0.0196185539680136
55
+ 54 -0.0206376650276647
56
+ 55 -0.0205816624943907
57
+ 56 -0.0182046841305021
58
+ 57 -0.0170847346598826
59
+ 58 -0.0173697791657325
60
+ 59 -0.0137208345061376
61
+ 60 -0.015172781992446
62
+ 61 -0.0115255106202091
63
+ 62 0.417092484407713
64
+ 63 0.504693995877898
65
+ 64 -0.00952721402961746
66
+ 65 -0.0131282852877526
67
+ 66 -0.0119948030163429
68
+ 67 -0.016073832621251
69
+ 68 -0.0161014355592232
70
+ 69 -0.0171579854383285
71
+ 70 -0.01991680519785
72
+ 71 -0.0201834782243293
73
+ 72 -0.0193410584396016
74
+ 73 -0.0171039752714963
75
+ 74 -0.0161429988491727
76
+ 75 -0.0132132704199617
77
+ 76 -0.0168078802690772
78
+ 77 -0.0158003286920553
79
+ 78 -0.00835714207351243
80
+ 79 -0.00762120905134282
81
+ 80 -0.0123153809247642
82
+ 81 -0.00899280191875777
83
+ 82 -0.0119224362468367
84
+ 83 -0.0119149552172981
85
+ 84 -0.0153878383194161
86
+ 85 -0.0180946307259483
87
+ 86 -0.0183903902356951
88
+ 87 -0.0192363155579457
89
+ 88 -0.0187515314979391
90
+ 89 -0.017863448747676
91
+ 90 -0.0164433211511183
92
+ 91 -0.0165939525554464
93
+ 92 -0.0165402045616707
94
+ 93 -0.0185978157278274
95
+ 94 -0.0142998133920208
96
+ 95 -0.0132850828003168
97
+ 96 -0.0138653751741504
98
+ 97 -0.015439338933265
99
+ 98 -0.020103623875719
100
+ 99 -0.0195401109212907
101
+ 100 -0.0201426108270252
102
+ 101 -0.0189159648139772
103
+ 102 -0.017741354411347
104
+ 103 -0.0123542006315354
105
+ 104 -0.00844298039184578
106
+ 105 -0.00684884437276309
107
+ 106 -0.00886668438174435
108
+ 107 -0.0112356781545771
109
+ 108 -0.00988387556228173
110
+ 109 -0.0132456696681112
111
+ 110 -0.0163390481544352
112
+ 111 -0.0139327158127501
113
+ 112 -0.0163794215654705
114
+ 113 -0.016828431108095
115
+ 114 -0.0170664831346389
116
+ 115 -0.0194839016196901
117
+ 116 -0.0196691116442597
118
+ 117 -0.0171523870407326
119
+ 118 -0.0162329780166863
120
+ 119 -0.015465269120626
121
+ 120 -0.0149628404982249
122
+ 121 -0.0131035423300313
123
+ 122 -0.0131195334166545
124
+ 123 -0.00981529237544382
125
+ 124 0.80187886471569
126
+ 125 0.0584684544905557
127
+ 126 -0.0102423491415993
128
+ 127 -0.0120909818906237
129
+ 128 -0.0108758895949621
130
+ 129 -0.014289679096502
131
+ 130 -0.0143039174642426
132
+ 131 -0.0156868282211593
133
+ 132 -0.0179722786147755
134
+ 133 -0.018466068371964
135
+ 134 -0.017079048029739
136
+ 135 -0.015065426013034
137
+ 136 -0.0138193891158787
138
+ 137 -0.0108007611003438
139
+ 138 -0.0135404983439662
140
+ 139 -0.0106058448707185
141
+ 140 -0.00496922876002826
142
+ 141 -0.00606791982549938
143
+ 142 -0.00898435609237426
144
+ 143 -0.00744828430883844
145
+ 144 -0.00954635887187427
146
+ 145 -0.0117471427501629
147
+ 146 -0.0167882985759187
148
+ 147 -0.0165458334875186
149
+ 148 -0.0185963339262843
150
+ 149 -0.0180476363378826
151
+ 150 -0.0184792287658906
152
+ 151 -0.0168571398090795
153
+ 152 -0.0156376237363163
154
+ 153 -0.0147405503105207
155
+ 154 -0.0155752570759927
156
+ 155 -0.0168091690226222
157
+ 156 -0.0121055609701471
158
+ 157 -0.0119152241705694
159
+ 158 -0.0119692018483073
160
+ 159 -0.0139405471343238
161
+ 160 -0.0182047564679262
162
+ 161 -0.0184815245671085
163
+ 162 -0.0183316150688267
164
+ 163 -0.016818527387266
165
+ 164 -0.0172998927309072
166
+ 165 -0.0124657171517376
167
+ 166 -0.0142205952112049
168
+ 167 -0.0114632791024164
169
+ 168 -0.011221691825434
170
+ 169 -0.00957685728179515
171
+ 170 -0.0118576208768814
172
+ 171 -0.0153568395493832
173
+ 172 -0.0151309123215381
174
+ 173 -0.0112872846794788
175
+ 174 -0.0147612619416181
176
+ 175 -0.0154278253183317
177
+ 176 -0.017303559049782
178
+ 177 -0.0182913411620323
179
+ 178 -0.0177712913609271
180
+ 179 -0.0155461026200739
181
+ 180 -0.0145007758787646
182
+ 181 -0.0144152256728993
183
+ 182 -0.0107727311780094
184
+ 183 -0.0119747664680712
185
+ 184 -0.00882273326524172
186
+ 185 0.298288232093739
187
+ 186 0.504424933837681
188
+ 187 -0.00805741122482888
189
+ 188 -0.00961890557289795
190
+ 189 -0.00944688808242372
191
+ 190 -0.0119139223572203
192
+ 191 -0.0124508210479303
193
+ 192 -0.0127383878728495
194
+ 193 -0.0140193628792942
195
+ 194 -0.0170021455698375
196
+ 195 -0.0164885587823976
197
+ 196 -0.0148914800888949
198
+ 197 -0.0140274704089252
199
+ 198 -0.0131444255262164
200
+ 199 -0.0142902568930679
201
+ 200 -0.0126395509953569
202
+ 201 -0.00514616330632373
203
+ 202 -0.00425889059218646
204
+ 203 -0.00870210148720889
205
+ 204 -0.00484025498847868
206
+ 205 -0.00794583465279226
207
+ 206 -0.0116098809300245
208
+ 207 -0.0102840248799257
209
+ 208 -0.0140847096783508
210
+ 209 -0.0161819274468977
211
+ 210 -0.0172520609046289
212
+ 211 -0.0165784733425168
213
+ 212 -0.0171152877835852
214
+ 213 -0.0173274798435417
215
+ 214 -0.0172101117258917
216
+ 215 -0.0170745436946526
217
+ 216 -0.0166392767496565
218
+ 217 -0.0113694394099134
219
+ 218 -0.0105561014609266
220
+ 219 -0.0105629655709691
221
+ 220 -0.0125843349808509
222
+ 221 -0.0169833235509721
223
+ 222 -0.0165970567333725
224
+ 223 -0.0169456130691041
225
+ 224 -0.0161440375799497
226
+ 225 -0.0149208783509213
227
+ 226 -0.0127041663317928
228
+ 227 -0.0111128965166982
229
+ 228 -0.0107029810231524
230
+ 229 -0.0101086923411873
231
+ 230 -0.0118221345845309
232
+ 231 -0.0102332052283776
233
+ 232 -0.0142577541114976
234
+ 233 -0.0140498538213083
235
+ 234 -0.010942704916447
236
+ 235 -0.0136212685457223
237
+ 236 -0.0138034339481212
238
+ 237 -0.0142845001756096
239
+ 238 -0.0165754738828122
240
+ 239 -0.0171898507581589
241
+ 240 -0.0146271352439982
242
+ 241 -0.0137790375298089
243
+ 242 -0.0133917511680577
244
+ 243 -0.0131288925890812
245
+ 244 -0.0109685827301647
246
+ 245 -0.0109244911317575
247
+ 246 -0.0080777880722406
248
+ 247 0.629508042863424
249
+ 248 0.116751190107802
250
+ 249 -0.00891172050628469
251
+ 250 -0.0107100331770611
252
+ 251 -0.00937995296389259
253
+ 252 -0.0124380337244143
254
+ 253 -0.0121281792844181
255
+ 254 -0.0135654919014245
256
+ 255 -0.0157362779934119
257
+ 256 -0.0164366578243166
258
+ 257 -0.0158700429675927
259
+ 258 -0.0136292281849102
260
+ 259 -0.0127546292697666
261
+ 260 -0.0122591657651713
262
+ 261 -0.0127690216839386
263
+ 262 -0.00988530296069743
264
+ 263 -0.00345655852423828
265
+ 264 -0.00433593866795492
266
+ 265 -0.00706082950577672
267
+ 266 -0.00451315885069749
268
+ 267 -0.00668518865876445
269
+ 268 -0.00988046989504585
270
+ 269 -0.0142752753866166
271
+ 270 -0.0139256221754419
272
+ 271 -0.0154989360192202
273
+ 272 -0.0151674600751258
274
+ 273 -0.0149460719819308
275
+ 274 -0.0149332807768296
276
+ 275 -0.0156711823892888
277
+ 276 -0.0155655062141426
278
+ 277 -0.0160655120365346
279
+ 278 -0.0148872833405304
280
+ 279 -0.00979872106668723
281
+ 280 -0.00908095518721164
282
+ 281 -0.00991496017614028
283
+ 282 -0.0116461289373857
284
+ 283 -0.0161876753215528
285
+ 284 -0.0160928457909713
286
+ 285 -0.0161826534411892
287
+ 286 -0.0144074994368989
288
+ 287 -0.0150828945998731
289
+ 288 -0.0112888375805587
290
+ 289 -0.01017522369822
291
+ 290 -0.00930009208093838
292
+ 291 -0.00867898201478243
293
+ 292 -0.00724704290881507
294
+ 293 -0.00975976377430877
295
+ 294 -0.0136277415192816
296
+ 295 -0.013064486102752
297
+ 296 -0.00951242385528366
298
+ 297 -0.0127976272170567
299
+ 298 -0.0136452137191805
300
+ 299 -0.0153115325990551
301
+ 300 -0.0163644585755829
302
+ 301 -0.0159743500315232
303
+ 302 -0.0137072967343182
304
+ 303 -0.0124465021916348
305
+ 304 -0.0124687214149045
306
+ 305 -0.00923829560254089
307
+ 306 -0.0116586507911887
308
+ 307 -0.0118002509969036
309
+ 308 0.176862227601212
310
+ 309 0.507428903450577
311
+ 310 -0.00730757087579498
312
+ 311 -0.00846216129742899
313
+ 312 -0.0086945045504047
314
+ 313 -0.011091656573089
315
+ 314 -0.0114036881984761
316
+ 315 -0.0114574795677765
317
+ 316 -0.0125072909586858
318
+ 317 -0.0147923369011883
319
+ 318 -0.0139629326786614
320
+ 319 -0.0118661842320723
321
+ 320 -0.0108640634604502
322
+ 321 -0.010582567791708
323
+ 322 -0.0114105551744683
324
+ 323 -0.0105534816285999
325
+ 324 -0.00543143567377151
326
+ 325 -0.00207879610778993
327
+ 326 -0.00616628496249775
328
+ 327 -0.00538988970591758
329
+ 328 -0.0031888414219768
330
+ 329 -0.00479592155107035
331
+ 330 -0.00797063379731725
332
+ 331 -0.011431205793035
333
+ 332 -0.0133294486936305
334
+ 333 -0.0147073192182352
335
+ 334 -0.014038242930232
336
+ 335 -0.0143451636631283
337
+ 336 -0.0140952574704935
338
+ 337 -0.0141886904764963
339
+ 338 -0.0136754388417917
340
+ 339 -0.0130591984480721
341
+ 340 -0.00725308466960931
342
+ 341 -0.00666308425269444
343
+ 342 -0.00687998553665841
344
+ 343 -0.00973374474504822
345
+ 344 -0.0145448202812331
346
+ 345 -0.0144458922456604
347
+ 346 -0.0146115187586966
348
+ 347 -0.0137964028516015
349
+ 348 -0.0124149959973093
350
+ 349 -0.0103171021174392
351
+ 350 -0.00982139573529766
352
+ 351 -0.0112899814813755
353
+ 352 -0.0106130941986117
354
+ 353 -0.0130952590767051
355
+ 354 -0.0147157103352019
356
+ 355 -0.0148442531106679
357
+ 356 -0.0143141102828524
358
+ 357 -0.0117602635999597
359
+ 358 -0.013769448570632
360
+ 359 -0.0143111324151261
361
+ 360 -0.0143034333755129
362
+ 361 -0.0145038145090546
363
+ 362 -0.0142515435786701
364
+ 363 -0.0119387033366702
365
+ 364 -0.0110049806968185
366
+ 365 -0.0105761121274039
367
+ 366 -0.0104785382739133
368
+ 367 -0.00944568136776289
369
+ 368 -0.0114291935775792
370
+ 369 -0.00879625572792011
371
+ 370 0.438761037882253
372
+ 371 0.179388282669024
373
+ 372 -0.00564395369291442
374
+ 373 -0.00796462420259203
375
+ 374 -0.00642615015965443
376
+ 375 -0.00989354521629732
377
+ 376 -0.00988574813192154
378
+ 377 -0.010723082658232
379
+ 378 -0.0127986854912136
380
+ 379 -0.0136055571418597
381
+ 380 -0.0128927066034855
382
+ 381 -0.0107658464618742
383
+ 382 -0.00995213975574464
384
+ 383 -0.00950294253792146
385
+ 384 -0.00955020479384878
386
+ 385 -0.00635693744222024
387
+ 386 -0.000110105629481581
388
+ 387 -0.00115234232053054
389
+ 388 -0.00429086433256201
390
+ 389 -0.00179503584405276
391
+ 390 -0.00481498545647159
392
+ 391 -0.00622514956456138
393
+ 392 -0.0109222820132791
394
+ 393 -0.0108955712556429
395
+ 394 -0.0123614076397208
396
+ 395 -0.0126411139244774
397
+ 396 -0.0124467915001655
398
+ 397 -0.0130137305814043
399
+ 398 -0.0128228771923896
400
+ 399 -0.0133955237199494
401
+ 400 -0.0133849955851085
402
+ 401 -0.0122588534660976
403
+ 402 -0.00605726179970702
404
+ 403 -0.00502476043379232
405
+ 404 -0.00560189961426453
406
+ 405 -0.0075065597345586
407
+ 406 -0.0127782782962923
408
+ 407 -0.0123644950908042
409
+ 408 -0.0124232734011331
410
+ 409 -0.0109783824772762
411
+ 410 -0.0115303718379531
412
+ 411 -0.00784267469552262
413
+ 412 -0.00849462201372912
414
+ 413 -0.00971386505469192
415
+ 414 -0.00917632724668119
416
+ 415 -0.0115816105603832
417
+ 416 -0.0132376761929919
418
+ 417 -0.0135661416672985
419
+ 418 -0.0131585974552153
420
+ 419 -0.009660405912689
421
+ 420 -0.013055251783936
422
+ 421 -0.0133821772767449
423
+ 422 -0.0130499023401334
424
+ 423 -0.0135178049026562
425
+ 424 -0.0131069725662085
426
+ 425 -0.0108380392131661
427
+ 426 -0.00969469507043081
428
+ 427 -0.00954426797454458
429
+ 428 -0.00662684836615926
430
+ 429 -0.00886476227407113
431
+ 430 -0.00950496793349554
432
+ 431 0.0516441983020747
433
+ 432 0.49322914953269
434
+ 433 -0.00439284173686481
435
+ 434 -0.00627870269436533
436
+ 435 -0.00627332941383523
437
+ 436 -0.0081288435528136
438
+ 437 -0.0083780008033963
439
+ 438 -0.00862522210775739
440
+ 439 -0.00957558038511007
441
+ 440 -0.0117456231732853
442
+ 441 -0.0115534470740916
443
+ 442 -0.00933816760400665
444
+ 443 -0.00879390501434828
445
+ 444 -0.00845807802179637
446
+ 445 -0.00898392178831317
447
+ 446 -0.00828222615510185
448
+ 447 -0.00430409141657551
449
+ 448 0.00156457708563651
450
+ 449 -0.00326984307949075
451
+ 450 -0.00317159959830949
452
+ 451 -0.000555487307447615
453
+ 452 -0.00364382690619819
454
+ 453 -0.0048566860611129
455
+ 454 -0.00894018408715954
456
+ 455 -0.0107486040996964
457
+ 456 -0.0116685949740421
458
+ 457 -0.0110016491468837
459
+ 458 -0.0115059582687225
460
+ 459 -0.0113472600167867
461
+ 460 -0.0116171812940172
462
+ 461 -0.0117282268858408
463
+ 462 -0.0117299783690078
464
+ 463 -0.010643752908432
465
+ 464 -0.00459501012645056
466
+ 465 -0.00453644637628407
467
+ 466 -0.0046306868795152
468
+ 467 -0.00635091362132938
469
+ 468 -0.0110723370950498
470
+ 469 -0.0112408403912337
471
+ 470 -0.0111324401483636
472
+ 471 -0.00982286064921767
473
+ 472 -0.00975128137366522
474
+ 473 -0.00628951348673262
475
+ 474 -0.00786220555305698
476
+ 475 -0.00721222723625666
477
+ 476 -0.0090992927480125
478
+ 477 -0.0111183444128793
479
+ 478 -0.0113067097038558
480
+ 479 -0.011160514456695
481
+ 480 -0.0112090771926765
482
+ 481 -0.00787638634175043
483
+ 482 -0.0112615847473125
484
+ 483 -0.011628136525895
485
+ 484 -0.011622337861315
486
+ 485 -0.0117577801145762
487
+ 486 -0.0116192296501852
488
+ 487 -0.0116776081404665
489
+ 488 -0.0111121010572735
490
+ 489 -0.0114339606683442
491
+ 490 -0.00850048144220754
492
+ 491 -0.00902076717194715
493
+ 492 -0.00658807969775991
494
+ 493 0.308280122150922
495
+ 494 0.179904382021428
496
+ 495 -0.00620246818692402
497
+ 496 -0.00732155340431931
498
+ 497 -0.00633028997310617
499
+ 498 -0.00733583870036483
500
+ 499 -0.00727032081926197
501
+ 500 -0.008010509906149
502
+ 501 -0.0104317034705988
503
+ 502 -0.0108056052586449
504
+ 503 -0.0101990692728759
505
+ 504 -0.00818461307326559
506
+ 505 -0.00749890086004878
507
+ 506 -0.00705010773652864
508
+ 507 -0.00756096305230179
509
+ 508 -0.00672526873673494
510
+ 509 0.00243080947177157
511
+ 510 0.00196312027219733
512
+ 511 -0.00235862710511876
513
+ 512 0.000701377712459682
514
+ 513 -0.00162314281016339
515
+ 514 -0.00353069628359856
516
+ 515 -0.00535592160011964
517
+ 516 -0.009629255720372
518
+ 517 -0.00984838119518035
519
+ 518 -0.0101309734254507
520
+ 519 -0.00965058701149376
521
+ 520 -0.00979426033632281
522
+ 521 -0.00938720368934997
523
+ 522 -0.00970041415352301
524
+ 523 -0.00945810455304286
525
+ 524 -0.00835333695491461
526
+ 525 -0.00280808168888623
527
+ 526 -0.0018804910475821
528
+ 527 -0.00249542031082639
529
+ 528 -0.00423360594570751
530
+ 529 -0.00881996119495001
531
+ 530 -0.00884482660493057
532
+ 531 -0.00893861689042032
533
+ 532 -0.00886923400254016
534
+ 533 -0.00998854214305494
535
+ 534 -0.00781482686410285
536
+ 535 -0.0048629430667884
537
+ 536 -0.00625148660128163
538
+ 537 -0.00591714866358709
539
+ 538 -0.00819957670878541
540
+ 539 -0.0104317069032842
541
+ 540 -0.0106270020619331
542
+ 541 -0.0104145097418402
543
+ 542 -0.00717985135988735
544
+ 543 -0.0101615859824435
545
+ 544 -0.0104518334037382
546
+ 545 -0.0100972729943529
547
+ 546 -0.0104524105955466
548
+ 547 -0.0103545229187737
549
+ 548 -0.0101624037567498
550
+ 549 -0.0100186657519469
551
+ 550 -0.0099303685542785
552
+ 551 -0.00989811608443676
553
+ 552 -0.00956029844279647
554
+ 553 -0.00987970559123677
555
+ 554 -0.00776430984790597
556
+ 555 0.433831953345655
557
+ 556 -0.00507447586044935
558
+ 557 -0.00562849792786146
559
+ 558 -0.00769600508140686
560
+ 559 -0.00901860581255264
561
+ 560 -0.00910092607595847
562
+ 561 -0.00887368633065391
563
+ 562 -0.00919143351659684
564
+ 563 -0.00919246832815283
565
+ 564 -0.008693156564635
566
+ 565 -0.00662529921447376
567
+ 566 -0.00607353164847735
568
+ 567 -0.00581991561933677
569
+ 568 -0.00632678279589719
570
+ 569 -0.00589706554542697
571
+ 570 -0.00209808022849792
572
+ 571 0.00411078303934323
573
+ 572 -0.000550094449704642
574
+ 573 -0.000635669377549439
575
+ 574 0.00207348794440178
576
+ 575 -0.000652521824982924
577
+ 576 -0.00515463244200143
578
+ 577 -0.00805160292500236
579
+ 578 -0.00758462894007334
580
+ 579 -0.00865860296291249
581
+ 580 -0.00829675359569146
582
+ 581 -0.0086341327011501
583
+ 582 -0.0083284907763213
584
+ 583 -0.00874191010292116
585
+ 584 -0.00870026046977296
586
+ 585 -0.00874342968783533
587
+ 586 -0.00782090704127864
588
+ 587 -0.00226753389792357
589
+ 588 -0.00233729750931911
590
+ 589 -0.00253165604475073
591
+ 590 -0.00420974711192665
592
+ 591 -0.00876258732479398
593
+ 592 -0.00860694373819948
594
+ 593 -0.00860741436892977
595
+ 594 -0.0083641380851702
596
+ 595 -0.00895178779353354
597
+ 596 -0.00556499426763376
598
+ 597 -0.00484682362918658
599
+ 598 -0.00431757566397834
600
+ 599 -0.00499416642389915
601
+ 600 -0.0069669589511167
602
+ 601 -0.00890645540721195
603
+ 602 -0.00886958918530451
604
+ 603 -0.00887658861258958
605
+ 604 -0.00581930809163898
606
+ 605 -0.00874979775103718
607
+ 606 -0.00880186470377256
608
+ 607 -0.0082818394785986
609
+ 608 -0.00853275083442652
610
+ 609 -0.00830191068093658
611
+ 610 -0.00821443778904117
612
+ 611 -0.00784238482387328
613
+ 612 -0.0079414174200303
614
+ 613 -0.00783383912859581
615
+ 614 -0.00787555505012593
616
+ 615 -0.00665499786835605
617
+ 616 0.176487627240953
618
+ 617 0.182522618275643
619
+ 618 -0.00369616845832028
620
+ 619 -0.00629001903058491
621
+ 620 -0.0075473564025736
622
+ 621 -0.00792057625851698
623
+ 622 -0.00782303511234032
624
+ 623 -0.00755843668657251
625
+ 624 -0.00792883379421707
626
+ 625 -0.00821060913555977
627
+ 626 -0.00741039814688092
628
+ 627 -0.00537210505585104
629
+ 628 -0.00495675282893683
630
+ 629 -0.00433218280972181
631
+ 630 -0.00535942261482297
632
+ 631 -0.00418008644241062
633
+ 632 0.00339696969399508
634
+ 633 0.00414508932380595
635
+ 634 -0.000193158774272635
636
+ 635 0.00259164894888744
637
+ 636 0.000223760303507433
638
+ 637 -0.00430196126108769
639
+ 638 -0.00456371747951704
640
+ 639 -0.00736903921601653
641
+ 640 -0.00712023652975677
642
+ 641 -0.0075278214202441
643
+ 642 -0.00720130207341965
644
+ 643 -0.00737872965783862
645
+ 644 -0.00699531188368127
646
+ 645 -0.00746073468584514
647
+ 646 -0.00732625819637498
648
+ 647 -0.00635877618822083
649
+ 648 -0.000793999038955055
650
+ 649 -8.0164531740219e-05
651
+ 650 -0.000446668232184141
652
+ 651 -0.00235908247044392
653
+ 652 -0.00713214115663551
654
+ 653 -0.00713237034121296
655
+ 654 -0.00694174474662415
656
+ 655 -0.00660829668781119
657
+ 656 -0.00716164439750203
658
+ 657 -0.00538381268641803
659
+ 658 -0.00345728430157964
660
+ 659 -0.0033493822325227
661
+ 660 -0.00308002139612534
662
+ 661 -0.00485508307526379
663
+ 662 -0.00689806029174172
664
+ 663 -0.00725543105565978
665
+ 664 -0.00698203515046677
666
+ 665 -0.0036867796009008
667
+ 666 -0.00651046025528584
668
+ 667 -0.0064253977689179
669
+ 668 -0.00603538702792052
670
+ 669 -0.00663542008142919
671
+ 670 -0.00686564183730989
672
+ 671 -0.007061940627829
673
+ 672 -0.00723724969313594
674
+ 673 -0.00690352936553413
675
+ 674 -0.00708800826417091
676
+ 675 -0.0068488351807369
677
+ 676 -0.00697588236069582
678
+ 677 -0.00489382754866038
679
+ 678 0.293679681878456
680
+ 679 -0.00217575247097526
681
+ 680 -0.00251980831108943
682
+ 681 -0.00469346437639234
683
+ 682 -0.00602274026620383
684
+ 683 -0.00613736008179977
685
+ 684 -0.00587828046880654
686
+ 685 -0.00631371498944638
687
+ 686 -0.00631120094430527
688
+ 687 -0.00664034373839927
689
+ 688 -0.0065666129986998
690
+ 689 -0.0067007590666881
691
+ 690 -0.00636748542215835
692
+ 691 -0.00656138473046679
693
+ 692 -0.00601000081275883
694
+ 693 -0.0026357408923799
695
+ 694 -0.000456498707602518
696
+ 695 -0.0016897260544663
697
+ 696 -0.00129952239659223
698
+ 697 0.00153196218519829
699
+ 698 0.000970496676276022
700
+ 699 -0.00251269063690647
701
+ 700 -0.00524088068527027
702
+ 701 -0.00518392957419252
703
+ 702 -0.00545009901887635
704
+ 703 -0.00523471171454499
705
+ 704 -0.00546688754012952
706
+ 705 -0.00514683356691874
707
+ 706 -0.00558347319397717
708
+ 707 -0.00550031695581813
709
+ 708 -0.00556266938963792
710
+ 709 -0.00450101319069993
711
+ 710 0.000877138356826208
712
+ 711 0.00114849594155746
713
+ 712 0.00116701578333245
714
+ 713 -0.000552903676364493
715
+ 714 -0.0051532107788052
716
+ 715 -0.00508271809802478
717
+ 716 -0.00497444873496618
718
+ 717 -0.00492017832252063
719
+ 718 -0.00541639497149525
720
+ 719 -0.00390291948630837
721
+ 720 -0.00239018748643075
722
+ 721 -0.00232508546653691
723
+ 722 -0.00238990898592966
724
+ 723 -0.00406012905361738
725
+ 724 -0.00582934957876193
726
+ 725 -0.00577054545061284
727
+ 726 -0.00588044486012239
728
+ 727 -0.00321173514726905
729
+ 728 -0.00576676030640332
730
+ 729 -0.00581363201901516
731
+ 730 -0.0056403530033928
732
+ 731 -0.00588225715878274
733
+ 732 -0.00580726160331349
734
+ 733 -0.00584418671281739
735
+ 734 -0.00551263103237493
736
+ 735 -0.00574673916997464
737
+ 736 -0.00550923727010732
738
+ 737 -0.00564351841421052
739
+ 738 -0.00461818807132501
740
+ 739 0.114369039955867
741
+ 740 0.113874088642992
742
+ 741 -0.00428093342498865
743
+ 742 -0.00466682336739501
744
+ 743 -0.00457646329947025
745
+ 744 -0.00489743453576601
746
+ 745 -0.00478667563624186
747
+ 746 -0.00478604895368296
748
+ 747 -0.00490784598204448
749
+ 748 -0.00514403999502352
750
+ 749 -0.00513630650904552
751
+ 750 -0.00518918499122095
752
+ 751 -0.00520548675089309
753
+ 752 -0.00507998628564919
754
+ 753 -0.00523911370578295
755
+ 754 -0.00411076499229555
756
+ 755 -0.000110526273692137
757
+ 756 -6.97046088930254e-05
758
+ 757 -0.000654613465091875
759
+ 758 0.00250880368745154
760
+ 759 0.00224241061455796
761
+ 760 -0.00127852637176592
762
+ 761 -0.00157811331971793
763
+ 762 -0.00436060574090802
764
+ 763 -0.00420211405494215
765
+ 764 -0.00448393259372739
766
+ 765 -0.00432404767220953
767
+ 766 -0.00453637743990225
768
+ 767 -0.0044808869432662
769
+ 768 -0.00464814288481283
770
+ 769 -0.00453419455157583
771
+ 770 -0.00369714822055501
772
+ 771 0.00151504237188244
773
+ 772 0.00179518632309489
774
+ 773 0.001877255156902
775
+ 774 -5.89581979368288e-06
776
+ 775 -0.00470919317381923
777
+ 776 -0.00458472486731563
778
+ 777 -0.00444898240381536
779
+ 778 -0.00416698542857512
780
+ 779 -0.00466136770411855
781
+ 780 -0.00300892846748779
782
+ 781 -0.00124674831643176
783
+ 782 -0.00133718137527554
784
+ 783 -0.00138860486323427
785
+ 784 -0.00288124092405525
786
+ 785 -0.00481691924321098
787
+ 786 -0.00486161642251353
788
+ 787 -0.00471484323647818
789
+ 788 -0.00221399725838215
790
+ 789 -0.00461120524247493
791
+ 790 -0.00490984409593776
792
+ 791 -0.00458164873735298
793
+ 792 -0.00500568265157337
794
+ 793 -0.00490456309124687
795
+ 794 -0.00492264602032272
796
+ 795 -0.00479512401393326
797
+ 796 -0.00461122828156398
798
+ 797 -0.00469058713813641
799
+ 798 -0.00454741240404029
800
+ 799 -0.00452098615172967
801
+ 800 -0.00315464001423668
802
+ 801 0.176647243851048
803
+ 802 -0.00310821457329599
804
+ 803 -0.00336871130300844
805
+ 804 -0.00334712545163953
806
+ 805 -0.00333048116128302
807
+ 806 -0.00340010988805163
808
+ 807 -0.00329002162318321
809
+ 808 -0.00389183721144577
810
+ 809 -0.003901676075626
811
+ 810 -0.00414870722240944
812
+ 811 -0.0042711605574371
813
+ 812 -0.00421188870174774
814
+ 813 -0.00414929847217633
815
+ 814 -0.00411313613833283
816
+ 815 -0.00371760367608498
817
+ 816 -0.000349935639289262
818
+ 817 0.00180273856524285
819
+ 818 0.000409396862338841
820
+ 819 0.000734497343308131
821
+ 820 0.00357982919909658
822
+ 821 0.00303969865706741
823
+ 822 -0.000471276008475531
824
+ 823 -0.00316577242759788
825
+ 824 -0.00325311026089004
826
+ 825 -0.00334640971609744
827
+ 826 -0.00347090142695205
828
+ 827 -0.00347282859499611
829
+ 828 -0.00359181895609804
830
+ 829 -0.00354380245119079
831
+ 830 -0.0035817065706009
832
+ 831 -0.00354789086207514
833
+ 832 -0.0033749175776577
834
+ 833 -0.000494214343391087
835
+ 834 -0.000251455009457498
836
+ 835 -1.57658927165261e-05
837
+ 836 -0.000109367762943036
838
+ 837 -0.00314845093040657
839
+ 838 -0.00309137992026045
840
+ 839 -0.00318781326315422
841
+ 840 -0.00286403779926594
842
+ 841 -0.00342399488914169
843
+ 842 -0.00153873408849432
844
+ 843 0.000122565876620567
845
+ 844 -1.39442056199256e-05
846
+ 845 -8.34506223344456e-06
847
+ 846 -0.00166426373161533
848
+ 847 -0.0033554053632988
849
+ 848 -0.00333776480910794
850
+ 849 -0.00310606886442986
851
+ 850 -0.00260312208985637
852
+ 851 -0.00283750216949298
853
+ 852 -0.00285757048464359
854
+ 853 -0.00279461193366553
855
+ 854 -0.00292497054991065
856
+ 855 -0.00301956311195488
857
+ 856 -0.00315103554002891
858
+ 857 -0.00317407494144514
859
+ 858 -0.00344006955591978
860
+ 859 -0.00328324564157648
861
+ 860 -0.00336672245209469
862
+ 861 -0.00320070783993313
863
+ 862 0.0571143000302908
864
+ 863 0.0581421535264736
865
+ 864 -0.0023646349129562
866
+ 865 -0.00248000937790515
867
+ 866 -0.00253895254011341
868
+ 867 -0.00263523871798653
869
+ 868 -0.00263848242276221
870
+ 869 -0.00242543818411627
871
+ 870 -0.00273912401905961
872
+ 871 -0.00279476040899776
873
+ 872 -0.00276176065666512
874
+ 873 -0.00287486997075063
875
+ 874 -0.00286611281167776
876
+ 875 -0.00273356872691796
877
+ 876 -0.00288780319152133
878
+ 877 -0.002745393856585
879
+ 878 -0.00110006883426424
880
+ 879 -0.00137915534327329
881
+ 880 -0.00167310911091998
882
+ 881 -0.00155747103077571
883
+ 882 -0.00146093482278994
884
+ 883 -0.00154136929877317
885
+ 884 -0.00153121465319545
886
+ 885 -0.00155953620814648
887
+ 886 -0.00144267681269488
888
+ 887 -0.00161412167459229
889
+ 888 -0.00163145566649099
890
+ 889 -0.00167029505161209
891
+ 890 -0.0016373144133233
892
+ 891 -0.00175124070416498
893
+ 892 -0.00167165052115149
894
+ 893 -0.00171108984754183
895
+ 894 0.00117838884322948
896
+ 895 0.00144758999216869
897
+ 896 0.00151805445737221
898
+ 897 0.00143935117483618
899
+ 898 -0.00186099280431895
900
+ 899 -0.00179654067064747
901
+ 900 -0.00179116042661383
902
+ 901 -0.00142755861186833
903
+ 902 -0.00186611279612203
904
+ 903 -0.000162622805446086
905
+ 904 0.00152056201372212
906
+ 905 0.0013706788122524
907
+ 906 0.00143726069429263
908
+ 907 -0.000252329857205533
909
+ 908 -0.00193352667375601
910
+ 909 -0.00209884306201327
911
+ 910 -0.00202064054439592
912
+ 911 -0.00173618259943807
913
+ 912 -0.00205445430329035
914
+ 913 -0.00214780602120254
915
+ 914 -0.00196595166631794
916
+ 915 -0.00219157283133128
917
+ 916 -0.00212894079242623
918
+ 917 -0.00207889032650752
919
+ 918 -0.00219841623335388
920
+ 919 -0.00205620493282394
921
+ 920 -0.00208349802201294
922
+ 921 -0.001893539445651
923
+ 922 -0.00194526313087232
924
+ 923 -0.00168643075330111
925
+ 924 0.0586998178531413
926
+ 925 -0.000911884922536993
927
+ 926 -0.00117572577102972
928
+ 927 -0.00129923545036716
929
+ 928 -0.00118465790078785
930
+ 929 -0.00132314491365947
931
+ 930 -0.00127160006680386
932
+ 931 -0.00138439529549555
933
+ 932 -0.00129787510221711
934
+ 933 -0.00144993779770551
935
+ 934 -0.001425792453437
936
+ 935 -0.0014496057960256
937
+ 936 -0.00119586479826629
938
+ 937 -0.000922564261699133
939
+ 938 -0.000922740892289067
940
+ 939 -0.000848528386538916
941
+ 940 0.00175174402948496
942
+ 941 0.000128892409261148
943
+ 942 -0.000419829894278227
944
+ 943 -0.000466898563936845
945
+ 944 -0.00047122376341752
946
+ 945 -0.000471416288654379
947
+ 946 -0.000513935965825421
948
+ 947 -0.000572116986488244
949
+ 948 -0.000449041074008682
950
+ 949 -0.000574563662818422
951
+ 950 -0.000610788790280961
952
+ 951 -0.000662270176313313
953
+ 952 -0.000642471283187866
954
+ 953 -0.000686357192098764
955
+ 954 -0.000680811112666425
956
+ 955 -0.000667897583364248
957
+ 956 0.00217250089025851
958
+ 957 0.00241500705227074
959
+ 958 0.00258713826301258
960
+ 959 0.0024109350186895
961
+ 960 -0.000776314155991479
962
+ 961 -0.00084983870235422
963
+ 962 -0.000772678557610008
964
+ 963 -0.000413064616358682
965
+ 964 -0.000839502130396645
966
+ 965 -0.000791381040363275
967
+ 966 -0.00077040262869677
968
+ 967 -0.000754568976269093
969
+ 968 -0.000450602414219829
970
+ 969 -0.000688212102427542
971
+ 970 -0.0007167932903372
972
+ 971 -0.000785852386158499
973
+ 972 -0.000722306234880277
974
+ 973 -0.000324661092143018
975
+ 974 -0.000653202791545457
976
+ 975 -0.000633458113878451
977
+ 976 -0.000607853671870952
978
+ 977 -0.000679470747639321
979
+ 978 -0.000681703637956587
980
+ 979 -0.000664738980547628
981
+ 980 -0.000722422330407423
982
+ 981 -0.000669373102929127
983
+ 982 -0.000718387488703849
984
+ 983 -0.000712032436105745
985
+ 984 -0.000590219813904669
986
+ 985 -0.000416669360601081
987
+ 986 0.000288888405178535
988
+ 987 0.000270024550156701
989
+ 988 0.000249840739788964
990
+ 989 0.000235694503184828
991
+ 990 0.000215798850441515
992
+ 991 0.00019492814388371
993
+ 992 0.000175357251222976
994
+ 993 0.000153462442160884
995
+ 994 0.000132677328666247
996
+ 995 0.000111945810591477
997
+ 996 9.04814593951449e-05
998
+ 997 7.02106833140884e-05
999
+ 998 5.0145189268859e-05
1000
+ 999 3.05214189890438e-05