benschwarz-smoke 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +10 -0
- data/VERSION.yml +1 -1
- data/bin/edit_json.rb +3 -0
- data/bin/restclient +3 -0
- data/examples/web_search_joined.rb +25 -0
- data/examples/yql_web_search.rb +11 -0
- data/lib/smoke/cache.rb +0 -3
- data/lib/smoke.rb +5 -5
- data/vendor/gems/cache/crack-0.1.1.gem +0 -0
- data/vendor/gems/cache/fakeweb-1.2.5.gem +0 -0
- data/vendor/gems/cache/json-1.1.3.gem +0 -0
- data/vendor/gems/cache/rest-client-1.0.1.gem +0 -0
- data/vendor/gems/cache/simple-rss-1.2.gem +0 -0
- data/vendor/gems/cache/wycats-moneta-0.6.0.gem +0 -0
- data/vendor/gems/environment.rb +83 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/LICENSE +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/README.rdoc +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/VERSION.yml +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/lib/crack/core_extensions.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/lib/crack/json.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/lib/crack/xml.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/lib/crack.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/test/crack_test.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/test/json_test.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/test/test_helper.rb +0 -0
- data/vendor/{crack-0.1.1 → gems/gems/crack-0.1.1}/test/xml_test.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/CHANGELOG +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/LICENSE.txt +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/README.rdoc +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/Rakefile +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/ext/net_http.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/registry.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/responder.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/response.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/stub_socket.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web/utility.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fake_web.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/lib/fakeweb.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/google_response_from_curl +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/google_response_with_transfer_encoding +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/google_response_without_transfer_encoding +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/test_example.txt +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/test_txt_file +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_allow_net_connect.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_deprecations.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_fake_authentication.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_fake_web.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_fake_web_open_uri.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_helper.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_missing_open_uri.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_precedence.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_query_string.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_regexes.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_response_headers.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_trailing_slashes.rb +0 -0
- data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/test_utility.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/CHANGES +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/GPL +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/README +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/RUBY +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/Rakefile +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/TODO +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/VERSION +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/benchmarks/benchmark.txt +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/benchmarks/benchmark_generator.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/benchmarks/benchmark_parser.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/benchmarks/benchmark_rails.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/bin/edit_json.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/bin/prettify_json.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/data/example.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/data/index.html +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/data/prototype.js +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/generator/Makefile +150 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/generator/generator.c +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/generator/unicode.c +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/generator/unicode.h +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/parser/Makefile +150 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/parser/parser.c +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/parser/parser.rl +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/parser/unicode.c +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/ext/json/ext/parser/unicode.h +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
- data/vendor/gems/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/install.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/Array.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/FalseClass.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/Hash.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/Key.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/NilClass.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/Numeric.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/String.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/TrueClass.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/add/core.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/add/rails.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/common.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/editor.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/ext.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/json.xpm +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/pure/generator.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/pure/parser.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/pure.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json/version.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/lib/json.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail1.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail10.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail11.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail12.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail13.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail14.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail18.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail19.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail2.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail20.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail21.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail22.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail23.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail24.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail25.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail27.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail28.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail3.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail4.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail5.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail6.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail7.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail8.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/fail9.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass1.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass15.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass16.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass17.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass2.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass26.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/fixtures/pass3.json +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/runner.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json_addition.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json_fixtures.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json_generate.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json_rails.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tests/test_json_unicode.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tools/fuzz.rb +0 -0
- data/vendor/{json-1.1.3 → gems/gems/json-1.1.3}/tools/server.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/README.rdoc +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/Rakefile +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/bin/restclient +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/rest_client.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/exceptions.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/mixin/response.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/raw_response.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/request.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/resource.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient/response.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/lib/restclient.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/base.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/exceptions_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/mixin/response_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/raw_response_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/request_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/resource_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/response_spec.rb +0 -0
- data/vendor/{rest-client-1.0.1 → gems/gems/rest-client-1.0.1}/spec/restclient_spec.rb +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/LICENSE +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/README +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/Rakefile +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/lib/simple-rss.rb +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/base/base_test.rb +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/data/atom.xml +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/data/not-rss.xml +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/data/rss09.rdf +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/data/rss20.xml +0 -0
- data/vendor/{simple-rss-1.2 → gems/gems/simple-rss-1.2}/test/test_helper.rb +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/LICENSE +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/README +1 -2
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/Rakefile +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/TODO +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta/datamapper.rb +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta/file.rb +1 -1
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta/memcache.rb +2 -3
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta/memory.rb +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta/xattr.rb +0 -0
- data/vendor/{moneta → gems/gems/wycats-moneta-0.6.0}/lib/moneta.rb +0 -0
- data/vendor/gems/specifications/crack-0.1.1.gemspec +29 -0
- data/vendor/gems/specifications/fakeweb-1.2.5.gemspec +34 -0
- data/vendor/gems/specifications/json-1.1.3.gemspec +33 -0
- data/vendor/gems/specifications/rest-client-1.0.1.gemspec +30 -0
- data/vendor/gems/specifications/simple-rss-1.2.gemspec +27 -0
- data/vendor/{moneta/moneta.gemspec → gems/specifications/wycats-moneta-0.6.0.gemspec} +2 -5
- metadata +217 -290
- data/vendor/dependencies/README.markdown +0 -113
- data/vendor/dependencies/Rakefile +0 -5
- data/vendor/dependencies/bin/dep +0 -83
- data/vendor/dependencies/dependencies.gemspec +0 -15
- data/vendor/dependencies/dependencies.gemspec.erb +0 -27
- data/vendor/dependencies/lib/dependencies/dep.rb +0 -99
- data/vendor/dependencies/lib/dependencies.rb +0 -5
- data/vendor/dependencies/test/dependencies_test.rb +0 -228
- data/vendor/dependencies/test/foobaz-0.3.gem +0 -0
- data/vendor/moneta/benchmarks/various.rb +0 -234
- data/vendor/moneta/lib/moneta/basic_file.rb +0 -111
- data/vendor/moneta/lib/moneta/berkeley.rb +0 -53
- data/vendor/moneta/lib/moneta/couch.rb +0 -63
- data/vendor/moneta/lib/moneta/lmc.rb +0 -52
- data/vendor/moneta/lib/moneta/mongodb.rb +0 -58
- data/vendor/moneta/lib/moneta/redis.rb +0 -49
- data/vendor/moneta/lib/moneta/rufus.rb +0 -41
- data/vendor/moneta/lib/moneta/s3.rb +0 -162
- data/vendor/moneta/lib/moneta/sdbm.rb +0 -33
- data/vendor/moneta/lib/moneta/tyrant.rb +0 -58
- data/vendor/moneta/script/destroy +0 -14
- data/vendor/moneta/script/generate +0 -14
- data/vendor/moneta/spec/moneta_basic_file_spec.rb +0 -50
- data/vendor/moneta/spec/moneta_berkeley_spec.rb +0 -20
- data/vendor/moneta/spec/moneta_couch_spec.rb +0 -22
- data/vendor/moneta/spec/moneta_datamapper_spec.rb +0 -79
- data/vendor/moneta/spec/moneta_file_spec.rb +0 -21
- data/vendor/moneta/spec/moneta_lmc_spec.rb +0 -24
- data/vendor/moneta/spec/moneta_memcache_spec.rb +0 -16
- data/vendor/moneta/spec/moneta_memory_spec.rb +0 -12
- data/vendor/moneta/spec/moneta_mongodb_spec.rb +0 -16
- data/vendor/moneta/spec/moneta_redis_spec.rb +0 -16
- data/vendor/moneta/spec/moneta_rufus_spec.rb +0 -15
- data/vendor/moneta/spec/moneta_s3_spec.rb +0 -19
- data/vendor/moneta/spec/moneta_sdbm_spec.rb +0 -21
- data/vendor/moneta/spec/moneta_tyrant_spec.rb +0 -15
- data/vendor/moneta/spec/moneta_xattr_spec.rb +0 -21
- data/vendor/moneta/spec/shared.rb +0 -122
- data/vendor/moneta/spec/spec_helper.rb +0 -7
data/Gemfile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
disable_system_gems
|
2
|
+
|
3
|
+
source "http://gems.github.com"
|
4
|
+
|
5
|
+
gem "simple-rss", "1.2"
|
6
|
+
gem "rest-client", "1.0.1", :require_as => "restclient"
|
7
|
+
gem "json", "1.1.3"
|
8
|
+
gem "fakeweb", "1.2.5"
|
9
|
+
gem "crack", "0.1.1"
|
10
|
+
gem "wycats-moneta", "0.6.0", :require_as => "moneta"
|
data/VERSION.yml
CHANGED
data/bin/edit_json.rb
ADDED
data/bin/restclient
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'lib/smoke'
|
2
|
+
Smoke.configure do |c|
|
3
|
+
c[:enable_logging] = true
|
4
|
+
c[:cache][:enabled] = true
|
5
|
+
c[:cache][:store] = :memory
|
6
|
+
end
|
7
|
+
Smoke.yql(:python) do
|
8
|
+
select :all
|
9
|
+
from "search.web"
|
10
|
+
where :query, "python"
|
11
|
+
|
12
|
+
path :query, :results, :result
|
13
|
+
end
|
14
|
+
Smoke[:python].output
|
15
|
+
|
16
|
+
|
17
|
+
Smoke.yql(:ruby) do
|
18
|
+
select :all
|
19
|
+
from "search.web"
|
20
|
+
where :query, "ruby"
|
21
|
+
|
22
|
+
path :query, :results, :result
|
23
|
+
end
|
24
|
+
|
25
|
+
Smoke.join(:ruby, :python)
|
data/lib/smoke/cache.rb
CHANGED
data/lib/smoke.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
__DIR__ = File.dirname(__FILE__)
|
2
|
+
require File.expand_path(File.join(__DIR__, '..', 'vendor', 'gems', 'environment'))
|
3
|
+
|
4
|
+
Bundler.require_env
|
2
5
|
|
3
|
-
require 'restclient'
|
4
6
|
require 'logger'
|
5
|
-
require '
|
6
|
-
require 'simple-rss'
|
7
|
-
require 'json'
|
7
|
+
require 'digest/md5'
|
8
8
|
|
9
9
|
module Smoke
|
10
10
|
class << self
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# DO NOT MODIFY THIS FILE
|
2
|
+
module Bundler
|
3
|
+
dir = File.dirname(__FILE__)
|
4
|
+
|
5
|
+
ENV["GEM_HOME"] = dir
|
6
|
+
ENV["GEM_PATH"] = dir
|
7
|
+
ENV["PATH"] = "#{dir}/../../bin:#{ENV["PATH"]}"
|
8
|
+
ENV["RUBYOPT"] = "-r#{__FILE__} #{ENV["RUBYOPT"]}"
|
9
|
+
|
10
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/simple-rss-1.2/bin")
|
11
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/simple-rss-1.2/lib")
|
12
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rest-client-1.0.1/bin")
|
13
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/rest-client-1.0.1/lib")
|
14
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.5/bin")
|
15
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.5/lib")
|
16
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/crack-0.1.1/bin")
|
17
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/crack-0.1.1/lib")
|
18
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/wycats-moneta-0.6.0/bin")
|
19
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/wycats-moneta-0.6.0/lib")
|
20
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.1.3/bin")
|
21
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.1.3/ext/json/ext")
|
22
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.1.3/ext")
|
23
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.1.3/lib")
|
24
|
+
|
25
|
+
@gemfile = "#{dir}/../../Gemfile"
|
26
|
+
|
27
|
+
require "rubygems"
|
28
|
+
|
29
|
+
@bundled_specs = {}
|
30
|
+
@bundled_specs["wycats-moneta"] = eval(File.read("#{dir}/specifications/wycats-moneta-0.6.0.gemspec"))
|
31
|
+
@bundled_specs["wycats-moneta"].loaded_from = "#{dir}/specifications/wycats-moneta-0.6.0.gemspec"
|
32
|
+
@bundled_specs["fakeweb"] = eval(File.read("#{dir}/specifications/fakeweb-1.2.5.gemspec"))
|
33
|
+
@bundled_specs["fakeweb"].loaded_from = "#{dir}/specifications/fakeweb-1.2.5.gemspec"
|
34
|
+
@bundled_specs["crack"] = eval(File.read("#{dir}/specifications/crack-0.1.1.gemspec"))
|
35
|
+
@bundled_specs["crack"].loaded_from = "#{dir}/specifications/crack-0.1.1.gemspec"
|
36
|
+
@bundled_specs["simple-rss"] = eval(File.read("#{dir}/specifications/simple-rss-1.2.gemspec"))
|
37
|
+
@bundled_specs["simple-rss"].loaded_from = "#{dir}/specifications/simple-rss-1.2.gemspec"
|
38
|
+
@bundled_specs["json"] = eval(File.read("#{dir}/specifications/json-1.1.3.gemspec"))
|
39
|
+
@bundled_specs["json"].loaded_from = "#{dir}/specifications/json-1.1.3.gemspec"
|
40
|
+
@bundled_specs["rest-client"] = eval(File.read("#{dir}/specifications/rest-client-1.0.1.gemspec"))
|
41
|
+
@bundled_specs["rest-client"].loaded_from = "#{dir}/specifications/rest-client-1.0.1.gemspec"
|
42
|
+
|
43
|
+
def self.add_specs_to_loaded_specs
|
44
|
+
Gem.loaded_specs.merge! @bundled_specs
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.add_specs_to_index
|
48
|
+
@bundled_specs.each do |name, spec|
|
49
|
+
Gem.source_index.add_spec spec
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
add_specs_to_loaded_specs
|
54
|
+
add_specs_to_index
|
55
|
+
|
56
|
+
def self.require_env(env = nil)
|
57
|
+
context = Class.new do
|
58
|
+
def initialize(env) @env = env ; end
|
59
|
+
def method_missing(*) ; end
|
60
|
+
def gem(name, *args)
|
61
|
+
opt = args.last || {}
|
62
|
+
only = opt[:only] || opt["only"]
|
63
|
+
except = opt[:except] || opt["except"]
|
64
|
+
files = opt[:require_as] || opt["require_as"] || name
|
65
|
+
|
66
|
+
return unless !only || [only].flatten.any? {|e| e.to_s == @env }
|
67
|
+
return if except && [except].flatten.any? {|e| e.to_s == @env }
|
68
|
+
|
69
|
+
files.each { |f| require f }
|
70
|
+
yield if block_given?
|
71
|
+
true
|
72
|
+
end
|
73
|
+
end
|
74
|
+
context.new(env && env.to_s).instance_eval(File.read(@gemfile))
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
module Gem
|
79
|
+
def source_index.refresh!
|
80
|
+
super
|
81
|
+
Bundler.add_specs_to_index
|
82
|
+
end
|
83
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/{fakeweb-1.2.5 → gems/gems/fakeweb-1.2.5}/test/fixtures/google_response_from_curl
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,150 @@
|
|
1
|
+
|
2
|
+
SHELL = /bin/sh
|
3
|
+
|
4
|
+
#### Start of system configuration section. ####
|
5
|
+
|
6
|
+
srcdir = .
|
7
|
+
topdir = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
|
8
|
+
hdrdir = $(topdir)
|
9
|
+
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
+
prefix = $(DESTDIR)/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
|
11
|
+
exec_prefix = $(prefix)
|
12
|
+
sitedir = $(DESTDIR)/Library/Ruby/Site
|
13
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
14
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
15
|
+
dvidir = $(docdir)
|
16
|
+
datarootdir = $(prefix)/share
|
17
|
+
archdir = $(rubylibdir)/$(arch)
|
18
|
+
sbindir = $(exec_prefix)/sbin
|
19
|
+
psdir = $(docdir)
|
20
|
+
localedir = $(datarootdir)/locale
|
21
|
+
htmldir = $(docdir)
|
22
|
+
datadir = $(datarootdir)
|
23
|
+
includedir = $(prefix)/include
|
24
|
+
infodir = $(DESTDIR)/usr/share/info
|
25
|
+
sysconfdir = $(prefix)/etc
|
26
|
+
mandir = $(DESTDIR)/usr/share/man
|
27
|
+
libdir = $(exec_prefix)/lib
|
28
|
+
sharedstatedir = $(prefix)/com
|
29
|
+
oldincludedir = $(DESTDIR)/usr/include
|
30
|
+
pdfdir = $(docdir)
|
31
|
+
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
+
bindir = $(exec_prefix)/bin
|
33
|
+
localstatedir = $(prefix)/var
|
34
|
+
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
+
libexecdir = $(exec_prefix)/libexec
|
36
|
+
|
37
|
+
CC = gcc
|
38
|
+
LIBRUBY = $(LIBRUBY_SO)
|
39
|
+
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
40
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
41
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
|
42
|
+
|
43
|
+
RUBY_EXTCONF_H =
|
44
|
+
CFLAGS = -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -Wall
|
45
|
+
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
46
|
+
DEFS =
|
47
|
+
CPPFLAGS = $(DEFS)
|
48
|
+
CXXFLAGS = $(CFLAGS)
|
49
|
+
DLDFLAGS = -L. -arch ppc -arch i386
|
50
|
+
LDSHARED = cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup
|
51
|
+
AR = ar
|
52
|
+
EXEEXT =
|
53
|
+
|
54
|
+
RUBY_INSTALL_NAME = ruby
|
55
|
+
RUBY_SO_NAME = ruby
|
56
|
+
arch = universal-darwin9.0
|
57
|
+
sitearch = universal-darwin9.0
|
58
|
+
ruby_version = 1.8
|
59
|
+
ruby = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
60
|
+
RUBY = $(ruby)
|
61
|
+
RM = rm -f
|
62
|
+
MAKEDIRS = mkdir -p
|
63
|
+
INSTALL = /usr/bin/install -c
|
64
|
+
INSTALL_PROG = $(INSTALL) -m 0755
|
65
|
+
INSTALL_DATA = $(INSTALL) -m 644
|
66
|
+
COPY = cp
|
67
|
+
|
68
|
+
#### End of system configuration section. ####
|
69
|
+
|
70
|
+
preload =
|
71
|
+
|
72
|
+
libpath = . $(libdir)
|
73
|
+
LIBPATH = -L. -L$(libdir)
|
74
|
+
DEFFILE =
|
75
|
+
|
76
|
+
CLEANFILES = mkmf.log
|
77
|
+
DISTCLEANFILES =
|
78
|
+
|
79
|
+
extout =
|
80
|
+
extout_prefix =
|
81
|
+
target_prefix =
|
82
|
+
LOCAL_LIBS =
|
83
|
+
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lm
|
84
|
+
SRCS = generator.c unicode.c
|
85
|
+
OBJS = generator.o unicode.o
|
86
|
+
TARGET = generator
|
87
|
+
DLLIB = $(TARGET).bundle
|
88
|
+
EXTSTATIC =
|
89
|
+
STATIC_LIB =
|
90
|
+
|
91
|
+
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
92
|
+
RUBYLIBDIR = /Users/ben/Documents/Projects/smoke/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
93
|
+
RUBYARCHDIR = /Users/ben/Documents/Projects/smoke/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
94
|
+
|
95
|
+
TARGET_SO = $(DLLIB)
|
96
|
+
CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
|
97
|
+
CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
|
98
|
+
|
99
|
+
all: $(DLLIB)
|
100
|
+
static: $(STATIC_LIB)
|
101
|
+
|
102
|
+
clean:
|
103
|
+
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
104
|
+
|
105
|
+
distclean: clean
|
106
|
+
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
107
|
+
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
108
|
+
|
109
|
+
realclean: distclean
|
110
|
+
install: install-so install-rb
|
111
|
+
|
112
|
+
install-so: $(RUBYARCHDIR)
|
113
|
+
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
114
|
+
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
115
|
+
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
116
|
+
install-rb: pre-install-rb install-rb-default
|
117
|
+
install-rb-default: pre-install-rb-default
|
118
|
+
pre-install-rb: Makefile
|
119
|
+
pre-install-rb-default: Makefile
|
120
|
+
$(RUBYARCHDIR):
|
121
|
+
$(MAKEDIRS) $@
|
122
|
+
|
123
|
+
site-install: site-install-so site-install-rb
|
124
|
+
site-install-so: install-so
|
125
|
+
site-install-rb: install-rb
|
126
|
+
|
127
|
+
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
128
|
+
|
129
|
+
.cc.o:
|
130
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
131
|
+
|
132
|
+
.cxx.o:
|
133
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
134
|
+
|
135
|
+
.cpp.o:
|
136
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
137
|
+
|
138
|
+
.C.o:
|
139
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
140
|
+
|
141
|
+
.c.o:
|
142
|
+
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
|
143
|
+
|
144
|
+
$(DLLIB): $(OBJS)
|
145
|
+
@-$(RM) $@
|
146
|
+
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
$(OBJS): ruby.h defines.h
|
File without changes
|
Binary file
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
Binary file
|
Binary file
|
@@ -0,0 +1,150 @@
|
|
1
|
+
|
2
|
+
SHELL = /bin/sh
|
3
|
+
|
4
|
+
#### Start of system configuration section. ####
|
5
|
+
|
6
|
+
srcdir = .
|
7
|
+
topdir = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
|
8
|
+
hdrdir = $(topdir)
|
9
|
+
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
+
prefix = $(DESTDIR)/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
|
11
|
+
exec_prefix = $(prefix)
|
12
|
+
sitedir = $(DESTDIR)/Library/Ruby/Site
|
13
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
14
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
15
|
+
dvidir = $(docdir)
|
16
|
+
datarootdir = $(prefix)/share
|
17
|
+
archdir = $(rubylibdir)/$(arch)
|
18
|
+
sbindir = $(exec_prefix)/sbin
|
19
|
+
psdir = $(docdir)
|
20
|
+
localedir = $(datarootdir)/locale
|
21
|
+
htmldir = $(docdir)
|
22
|
+
datadir = $(datarootdir)
|
23
|
+
includedir = $(prefix)/include
|
24
|
+
infodir = $(DESTDIR)/usr/share/info
|
25
|
+
sysconfdir = $(prefix)/etc
|
26
|
+
mandir = $(DESTDIR)/usr/share/man
|
27
|
+
libdir = $(exec_prefix)/lib
|
28
|
+
sharedstatedir = $(prefix)/com
|
29
|
+
oldincludedir = $(DESTDIR)/usr/include
|
30
|
+
pdfdir = $(docdir)
|
31
|
+
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
+
bindir = $(exec_prefix)/bin
|
33
|
+
localstatedir = $(prefix)/var
|
34
|
+
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
+
libexecdir = $(exec_prefix)/libexec
|
36
|
+
|
37
|
+
CC = gcc
|
38
|
+
LIBRUBY = $(LIBRUBY_SO)
|
39
|
+
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
40
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
41
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
|
42
|
+
|
43
|
+
RUBY_EXTCONF_H =
|
44
|
+
CFLAGS = -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -Wall
|
45
|
+
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
46
|
+
DEFS =
|
47
|
+
CPPFLAGS = $(DEFS)
|
48
|
+
CXXFLAGS = $(CFLAGS)
|
49
|
+
DLDFLAGS = -L. -arch ppc -arch i386
|
50
|
+
LDSHARED = cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup
|
51
|
+
AR = ar
|
52
|
+
EXEEXT =
|
53
|
+
|
54
|
+
RUBY_INSTALL_NAME = ruby
|
55
|
+
RUBY_SO_NAME = ruby
|
56
|
+
arch = universal-darwin9.0
|
57
|
+
sitearch = universal-darwin9.0
|
58
|
+
ruby_version = 1.8
|
59
|
+
ruby = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
60
|
+
RUBY = $(ruby)
|
61
|
+
RM = rm -f
|
62
|
+
MAKEDIRS = mkdir -p
|
63
|
+
INSTALL = /usr/bin/install -c
|
64
|
+
INSTALL_PROG = $(INSTALL) -m 0755
|
65
|
+
INSTALL_DATA = $(INSTALL) -m 644
|
66
|
+
COPY = cp
|
67
|
+
|
68
|
+
#### End of system configuration section. ####
|
69
|
+
|
70
|
+
preload =
|
71
|
+
|
72
|
+
libpath = . $(libdir)
|
73
|
+
LIBPATH = -L. -L$(libdir)
|
74
|
+
DEFFILE =
|
75
|
+
|
76
|
+
CLEANFILES = mkmf.log
|
77
|
+
DISTCLEANFILES =
|
78
|
+
|
79
|
+
extout =
|
80
|
+
extout_prefix =
|
81
|
+
target_prefix =
|
82
|
+
LOCAL_LIBS =
|
83
|
+
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lm
|
84
|
+
SRCS = parser.c unicode.c
|
85
|
+
OBJS = parser.o unicode.o
|
86
|
+
TARGET = parser
|
87
|
+
DLLIB = $(TARGET).bundle
|
88
|
+
EXTSTATIC =
|
89
|
+
STATIC_LIB =
|
90
|
+
|
91
|
+
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
92
|
+
RUBYLIBDIR = /Users/ben/Documents/Projects/smoke/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
93
|
+
RUBYARCHDIR = /Users/ben/Documents/Projects/smoke/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
94
|
+
|
95
|
+
TARGET_SO = $(DLLIB)
|
96
|
+
CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
|
97
|
+
CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
|
98
|
+
|
99
|
+
all: $(DLLIB)
|
100
|
+
static: $(STATIC_LIB)
|
101
|
+
|
102
|
+
clean:
|
103
|
+
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
104
|
+
|
105
|
+
distclean: clean
|
106
|
+
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
107
|
+
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
108
|
+
|
109
|
+
realclean: distclean
|
110
|
+
install: install-so install-rb
|
111
|
+
|
112
|
+
install-so: $(RUBYARCHDIR)
|
113
|
+
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
114
|
+
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
115
|
+
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
116
|
+
install-rb: pre-install-rb install-rb-default
|
117
|
+
install-rb-default: pre-install-rb-default
|
118
|
+
pre-install-rb: Makefile
|
119
|
+
pre-install-rb-default: Makefile
|
120
|
+
$(RUBYARCHDIR):
|
121
|
+
$(MAKEDIRS) $@
|
122
|
+
|
123
|
+
site-install: site-install-so site-install-rb
|
124
|
+
site-install-so: install-so
|
125
|
+
site-install-rb: install-rb
|
126
|
+
|
127
|
+
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
128
|
+
|
129
|
+
.cc.o:
|
130
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
131
|
+
|
132
|
+
.cxx.o:
|
133
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
134
|
+
|
135
|
+
.cpp.o:
|
136
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
137
|
+
|
138
|
+
.C.o:
|
139
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
140
|
+
|
141
|
+
.c.o:
|
142
|
+
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
|
143
|
+
|
144
|
+
$(DLLIB): $(OBJS)
|
145
|
+
@-$(RM) $@
|
146
|
+
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
$(OBJS): ruby.h defines.h
|