old_sql 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/Rakefile +1 -0
  2. metadata +2 -95
  3. data/Gemfile.lock +0 -107
  4. data/TODO.mkd +0 -10
  5. data/VERSION +0 -1
  6. data/old_sql.gemspec +0 -237
  7. data/pkg/old_sql-0.1.0.gem +0 -0
  8. data/pkg/old_sql-0.2.0.gem +0 -0
  9. data/pkg/old_sql-0.3.0.gem +0 -0
  10. data/pkg/old_sql-0.4.0.gem +0 -0
  11. data/pkg/old_sql-0.5.0.gem +0 -0
  12. data/pkg/old_sql-0.6.0.gem +0 -0
  13. data/test/dummy/Rakefile +0 -7
  14. data/test/dummy/app/controllers/application_controller.rb +0 -3
  15. data/test/dummy/app/helpers/application_helper.rb +0 -2
  16. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  17. data/test/dummy/config/application.rb +0 -45
  18. data/test/dummy/config/boot.rb +0 -10
  19. data/test/dummy/config/database.yml +0 -22
  20. data/test/dummy/config/environment.rb +0 -5
  21. data/test/dummy/config/environments/development.rb +0 -26
  22. data/test/dummy/config/environments/production.rb +0 -49
  23. data/test/dummy/config/environments/test.rb +0 -35
  24. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  25. data/test/dummy/config/initializers/inflections.rb +0 -10
  26. data/test/dummy/config/initializers/mime_types.rb +0 -5
  27. data/test/dummy/config/initializers/secret_token.rb +0 -7
  28. data/test/dummy/config/initializers/session_store.rb +0 -8
  29. data/test/dummy/config/locales/en.yml +0 -5
  30. data/test/dummy/config/report_sql/users.erb +0 -2
  31. data/test/dummy/config/reports.yml +0 -8
  32. data/test/dummy/config/routes.rb +0 -58
  33. data/test/dummy/config.ru +0 -4
  34. data/test/dummy/db/development.sqlite3 +0 -0
  35. data/test/dummy/db/test.sqlite3 +0 -0
  36. data/test/dummy/lib/old_sql/report_processor/users.rb +0 -19
  37. data/test/dummy/log/development.log +0 -4742
  38. data/test/dummy/log/production.log +0 -0
  39. data/test/dummy/log/server.log +0 -0
  40. data/test/dummy/log/test.log +0 -27
  41. data/test/dummy/public/404.html +0 -26
  42. data/test/dummy/public/422.html +0 -26
  43. data/test/dummy/public/500.html +0 -26
  44. data/test/dummy/public/favicon.ico +0 -0
  45. data/test/dummy/public/javascripts/application.js +0 -2
  46. data/test/dummy/public/javascripts/controls.js +0 -965
  47. data/test/dummy/public/javascripts/dragdrop.js +0 -974
  48. data/test/dummy/public/javascripts/effects.js +0 -1123
  49. data/test/dummy/public/javascripts/prototype.js +0 -6001
  50. data/test/dummy/public/javascripts/rails.js +0 -191
  51. data/test/dummy/public/stylesheets/.gitkeep +0 -0
  52. data/test/dummy/script/rails +0 -6
  53. data/test/dummy/tmp/pids/server.pid +0 -1
  54. data/test/fixtures/users.yml +0 -3
  55. data/test/integration/navigation_test.rb +0 -7
  56. data/test/old_sql_test.rb +0 -7
  57. data/test/support/integration_case.rb +0 -5
  58. data/test/test_helper.rb +0 -22
  59. data/vendor/cache/abstract-1.0.0.gem +0 -0
  60. data/vendor/cache/actionmailer-3.0.6.gem +0 -0
  61. data/vendor/cache/actionpack-3.0.6.gem +0 -0
  62. data/vendor/cache/activemodel-3.0.6.gem +0 -0
  63. data/vendor/cache/activerecord-3.0.6.gem +0 -0
  64. data/vendor/cache/activeresource-3.0.6.gem +0 -0
  65. data/vendor/cache/activesupport-3.0.6.gem +0 -0
  66. data/vendor/cache/arel-2.0.10.gem +0 -0
  67. data/vendor/cache/builder-2.1.2.gem +0 -0
  68. data/vendor/cache/capybara-0.4.1.2.gem +0 -0
  69. data/vendor/cache/celerity-0.8.9.gem +0 -0
  70. data/vendor/cache/childprocess-0.1.9.gem +0 -0
  71. data/vendor/cache/culerity-0.2.15.gem +0 -0
  72. data/vendor/cache/erubis-2.6.6.gem +0 -0
  73. data/vendor/cache/ffi-1.0.9.gem +0 -0
  74. data/vendor/cache/git-1.2.5.gem +0 -0
  75. data/vendor/cache/i18n-0.5.0.gem +0 -0
  76. data/vendor/cache/jeweler-1.6.2.gem +0 -0
  77. data/vendor/cache/json_pure-1.5.1.gem +0 -0
  78. data/vendor/cache/mail-2.2.19.gem +0 -0
  79. data/vendor/cache/mime-types-1.16.gem +0 -0
  80. data/vendor/cache/nokogiri-1.4.4.gem +0 -0
  81. data/vendor/cache/polyglot-0.3.1.gem +0 -0
  82. data/vendor/cache/rack-1.2.3.gem +0 -0
  83. data/vendor/cache/rack-mount-0.6.14.gem +0 -0
  84. data/vendor/cache/rack-test-0.5.7.gem +0 -0
  85. data/vendor/cache/rails-3.0.6.gem +0 -0
  86. data/vendor/cache/railties-3.0.6.gem +0 -0
  87. data/vendor/cache/rake-0.9.1.gem +0 -0
  88. data/vendor/cache/rubyzip-0.9.4.gem +0 -0
  89. data/vendor/cache/sanitize-2.0.2.gem +0 -0
  90. data/vendor/cache/selenium-webdriver-0.2.1.gem +0 -0
  91. data/vendor/cache/sqlite3-1.3.3.gem +0 -0
  92. data/vendor/cache/thor-0.14.6.gem +0 -0
  93. data/vendor/cache/treetop-1.4.9.gem +0 -0
  94. data/vendor/cache/tzinfo-0.3.27.gem +0 -0
  95. data/vendor/cache/xpath-0.1.4.gem +0 -0
@@ -1,49 +0,0 @@
1
- Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # The production environment is meant for finished, "live" apps.
5
- # Code is not reloaded between requests
6
- config.cache_classes = true
7
-
8
- # Full error reports are disabled and caching is turned on
9
- config.consider_all_requests_local = false
10
- config.action_controller.perform_caching = true
11
-
12
- # Specifies the header that your server uses for sending files
13
- config.action_dispatch.x_sendfile_header = "X-Sendfile"
14
-
15
- # For nginx:
16
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
-
18
- # If you have no front-end server that supports something like X-Sendfile,
19
- # just comment this out and Rails will serve the files
20
-
21
- # See everything in the log (default is :info)
22
- # config.log_level = :debug
23
-
24
- # Use a different logger for distributed setups
25
- # config.logger = SyslogLogger.new
26
-
27
- # Use a different cache store in production
28
- # config.cache_store = :mem_cache_store
29
-
30
- # Disable Rails's static asset server
31
- # In production, Apache or nginx will already do this
32
- config.serve_static_assets = false
33
-
34
- # Enable serving of images, stylesheets, and javascripts from an asset server
35
- # config.action_controller.asset_host = "http://assets.example.com"
36
-
37
- # Disable delivery errors, bad email addresses will be ignored
38
- # config.action_mailer.raise_delivery_errors = false
39
-
40
- # Enable threaded mode
41
- # config.threadsafe!
42
-
43
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44
- # the I18n.default_locale when a translation can not be found)
45
- config.i18n.fallbacks = true
46
-
47
- # Send deprecation notices to registered listeners
48
- config.active_support.deprecation = :notify
49
- end
@@ -1,35 +0,0 @@
1
- Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Log error messages when you accidentally call methods on nil.
11
- config.whiny_nils = true
12
-
13
- # Show full error reports and disable caching
14
- config.consider_all_requests_local = true
15
- config.action_controller.perform_caching = false
16
-
17
- # Raise exceptions instead of rendering exception templates
18
- config.action_dispatch.show_exceptions = false
19
-
20
- # Disable request forgery protection in test environment
21
- config.action_controller.allow_forgery_protection = false
22
-
23
- # Tell Action Mailer not to deliver emails to the real world.
24
- # The :test delivery method accumulates sent emails in the
25
- # ActionMailer::Base.deliveries array.
26
- config.action_mailer.delivery_method = :test
27
-
28
- # Use SQL instead of Active Record's schema dumper when creating the test database.
29
- # This is necessary if your schema can't be completely dumped by the schema dumper,
30
- # like if you have constraints or database-specific column types
31
- # config.active_record.schema_format = :sql
32
-
33
- # Print deprecation notices to the stderr
34
- config.active_support.deprecation = :stderr
35
- end
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = 'c3d8a5983695866575b8ed95980c5571efb2fdfdb28336864402af75acabac46d7f6b85746faec20e218fad3163b51f454f510d63006261846f8bf46cdbbba15'
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
@@ -1,2 +0,0 @@
1
- SELECT id, name
2
- FROM users
@@ -1,8 +0,0 @@
1
- users:
2
- name: users
3
- value: User
4
- report_sql: users
5
- virality: false
6
- fields:
7
- - 'id'
8
- - 'name'
@@ -1,58 +0,0 @@
1
- Dummy::Application.routes.draw do
2
- # The priority is based upon order of creation:
3
- # first created -> highest priority.
4
-
5
- # Sample of regular route:
6
- # match 'products/:id' => 'catalog#view'
7
- # Keep in mind you can assign values other than :controller and :action
8
-
9
- # Sample of named route:
10
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
- # This route can be invoked with purchase_url(:id => product.id)
12
-
13
- # Sample resource route (maps HTTP verbs to controller actions automatically):
14
- # resources :products
15
-
16
- # Sample resource route with options:
17
- # resources :products do
18
- # member do
19
- # get 'short'
20
- # post 'toggle'
21
- # end
22
- #
23
- # collection do
24
- # get 'sold'
25
- # end
26
- # end
27
-
28
- # Sample resource route with sub-resources:
29
- # resources :products do
30
- # resources :comments, :sales
31
- # resource :seller
32
- # end
33
-
34
- # Sample resource route with more complex sub-resources
35
- # resources :products do
36
- # resources :comments
37
- # resources :sales do
38
- # get 'recent', :on => :collection
39
- # end
40
- # end
41
-
42
- # Sample resource route within a namespace:
43
- # namespace :admin do
44
- # # Directs /admin/products/* to Admin::ProductsController
45
- # # (app/controllers/admin/products_controller.rb)
46
- # resources :products
47
- # end
48
-
49
- # You can have the root of your site routed with "root"
50
- # just remember to delete public/index.html.
51
- # root :to => "welcome#index"
52
-
53
- # See how all your routes lay out with "rake routes"
54
-
55
- # This is a legacy wild controller route that's not recommended for RESTful applications.
56
- # Note: This route will make all actions in every controller accessible via GET requests.
57
- # match ':controller(/:action(/:id(.:format)))'
58
- end
data/test/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
Binary file
Binary file
@@ -1,19 +0,0 @@
1
- require 'report_processor/base'
2
-
3
- module ReportProcessor
4
- class DigestPerm < ReportProcessor::Base
5
-
6
- def parse(resultset)
7
- init(resultset)
8
-
9
- Rails.logger.debug "REC: #{@rec}"
10
-
11
- new_row("Total Installs", [@rec[:total_installs]])
12
- new_row("Granted Digest Perm", [@rec[:granted_weekly_digest_perm]])
13
- new_row("Percent Granted", [@rec[:percent_granted_digest]])
14
-
15
- @data
16
- end
17
-
18
- end
19
- end