easy_admin 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +7 -0
  2. data/app/models/outbound_request.rb +2 -2
  3. data/lib/easy_admin/version.rb +1 -1
  4. data/test/dummy/bin/bundle +3 -0
  5. data/test/dummy/bin/rails +4 -0
  6. data/test/dummy/bin/rake +4 -0
  7. data/test/dummy/config/application.rb +6 -35
  8. data/test/dummy/config/boot.rb +3 -9
  9. data/test/dummy/config/environment.rb +2 -2
  10. data/test/dummy/config/environments/development.rb +11 -19
  11. data/test/dummy/config/environments/production.rb +40 -27
  12. data/test/dummy/config/environments/test.rb +13 -14
  13. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  14. data/test/dummy/config/initializers/inflections.rb +6 -5
  15. data/test/dummy/config/initializers/secret_token.rb +7 -1
  16. data/test/dummy/config/initializers/session_store.rb +0 -5
  17. data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
  18. data/test/dummy/config/locales/en.yml +20 -2
  19. data/test/dummy/log/development.log +51 -0
  20. data/test/dummy/tmp/cache/assets/BA7/4B0/sprockets%2Fb0b071503162261117712776b6400d95 +0 -0
  21. data/test/dummy/tmp/cache/assets/CBF/BE0/sprockets%2Fe4539515f496c9a47334a4d72952bd8c +0 -0
  22. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/test/dummy/tmp/cache/assets/D14/400/sprockets%2Fc7cf76c8a8b35297247a1d102ec9d670 +0 -0
  24. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  25. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  26. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  27. data/test/dummy/tmp/cache/assets/D95/340/sprockets%2F4db69ac4ad31b1834affc0f168807fc0 +0 -0
  28. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  29. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  30. metadata +43 -23
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 19c82ddfab251796d3263586838f329acd56ceca
4
+ data.tar.gz: 34797c1d8ed704fc111773ff50756f71bf0ed85e
5
+ SHA512:
6
+ metadata.gz: 0d368dab87bb7b138ad9467ea239d7d89527495060235bfb46ed9a43054fba272b08a166e4dc68d1a52731f290f271cc2b2fd9d2443157618965373b98ab681a
7
+ data.tar.gz: 9367f68def8ef7887cb1096150b3b785f8c4fd76c6e4d1b5526f7c3aae57f0be818ca4ffc55692fc91a2307434b7d92c99dff886907113170405f185e04887a0
@@ -17,8 +17,8 @@
17
17
  class OutboundRequest < ActiveRecord::Base
18
18
  serialize :params
19
19
  serialize :response_body
20
-
21
- attr_accessible :service, :action, :identifier, :params, :response_code, :response_body, :error
20
+ serialize :error
21
+ serialize :identifier
22
22
 
23
23
  self.per_page = 50
24
24
 
@@ -1,3 +1,3 @@
1
1
  module EasyAdmin
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
+ load Gem.bin_path('bundler', 'bundle')
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
3
+ require_relative '../config/boot'
4
+ require 'rails/commands'
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require_relative '../config/boot'
3
+ require 'rake'
4
+ Rake.application.run
@@ -2,8 +2,10 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require 'rails/all'
4
4
 
5
- Bundler.require
6
5
  require "easy_admin"
6
+ # Require the gems listed in Gemfile, including any gems
7
+ # you've limited to :test, :development, or :production.
8
+ Bundler.require(:default, Rails.env)
7
9
 
8
10
  module Dummy
9
11
  class Application < Rails::Application
@@ -11,16 +13,6 @@ module Dummy
11
13
  # Application configuration should go into files in config/initializers
12
14
  # -- all .rb files in that directory are automatically loaded.
13
15
 
14
- # Custom directories with classes and modules you want to be autoloadable.
15
- # config.autoload_paths += %W(#{config.root}/extras)
16
-
17
- # Only load the plugins named here, in the order given (default is alphabetical).
18
- # :all can be used as a placeholder for all plugins not explicitly named.
19
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
-
21
- # Activate observers that should always be running.
22
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
-
24
16
  # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
17
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
18
  # config.time_zone = 'Central Time (US & Canada)'
@@ -31,33 +23,12 @@ module Dummy
31
23
 
32
24
  # Configure the default encoding used in templates for Ruby 1.9.
33
25
  config.encoding = "utf-8"
34
-
35
- # Configure sensitive parameters which will be filtered from the log file.
36
- config.filter_parameters += [:password]
37
-
38
26
  # Enable escaping HTML in JSON.
39
27
  config.active_support.escape_html_entities_in_json = true
40
28
 
41
- # Use SQL instead of Active Record's schema dumper when creating the database.
42
- # This is necessary if your schema can't be completely dumped by the schema dumper,
43
- # like if you have constraints or database-specific column types
44
- # config.active_record.schema_format = :sql
45
-
46
- # Enforce whitelist mode for mass assignment.
47
- # This will create an empty whitelist of attributes available for mass-assignment for all models
48
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
- # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
51
-
52
- # Enable the asset pipeline
53
- config.assets.enabled = true
54
-
55
- # Version of your assets, change this if you want to expire all your assets
56
- config.assets.version = '1.0'
57
- end
58
-
59
- module ::EasyAdmin
60
- OUTBOUND_SERVICES = {tracking: 'Tracking API', sailthru: 'Sailthru API', twitter: 'Twitter API', webhook: 'Webhook', sms: 'SMS Global API'}
61
29
  end
62
30
  end
63
31
 
32
+ module ::EasyAdmin
33
+ OUTBOUND_SERVICES = {tracking: 'Tracking API', sailthru: 'Sailthru API', twitter: 'Twitter API', webhook: 'Webhook', sms: 'SMS Global API'}
34
+ end
@@ -1,10 +1,4 @@
1
- require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
3
 
4
- if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
6
- require 'bundler'
7
- Bundler.setup
8
- end
9
-
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
4
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
@@ -1,5 +1,5 @@
1
- # Load the rails application
1
+ # Load the Rails application.
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
- # Initialize the rails application
4
+ # Initialize the Rails application.
5
5
  Dummy::Application.initialize!
@@ -1,37 +1,29 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # In the development environment your application's code is reloaded on
5
5
  # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
11
 
12
- # Show full error reports and disable caching
12
+ # Show full error reports and disable caching.
13
13
  config.consider_all_requests_local = true
14
14
  config.action_controller.perform_caching = false
15
15
 
16
- # Don't care if the mailer can't send
16
+ # Don't care if the mailer can't send.
17
17
  config.action_mailer.raise_delivery_errors = false
18
18
 
19
- # Print deprecation notices to the Rails logger
19
+ # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
- # Only use best-standards-support built into browsers
23
- config.action_dispatch.best_standards_support = :builtin
22
+ # Raise an error on page load if there are pending migrations
23
+ config.active_record.migration_error = :page_load
24
24
 
25
- # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
27
-
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
31
-
32
- # Do not compress assets
33
- config.assets.compress = false
34
-
35
- # Expands the lines which load the assets
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
36
28
  config.assets.debug = true
37
29
  end
@@ -1,67 +1,80 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
- # Code is not reloaded between requests
4
+ # Code is not reloaded between requests.
5
5
  config.cache_classes = true
6
6
 
7
- # Full error reports are disabled and caching is turned on
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both thread web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
8
14
  config.consider_all_requests_local = false
9
15
  config.action_controller.perform_caching = true
10
16
 
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
12
23
  config.serve_static_assets = false
13
24
 
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
16
28
 
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
18
30
  config.assets.compile = false
19
31
 
20
- # Generate digests for assets URLs
32
+ # Generate digests for assets URLs.
21
33
  config.assets.digest = true
22
34
 
23
- # Defaults to nil and saved in location specified by config.assets.prefix
24
- # config.assets.manifest = YOUR_PATH
35
+ # Version of your assets, change this if you want to expire all your assets.
36
+ config.assets.version = '1.0'
25
37
 
26
- # Specifies the header that your server uses for sending files
38
+ # Specifies the header that your server uses for sending files.
27
39
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
40
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
41
 
30
42
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
43
  # config.force_ssl = true
32
44
 
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
35
47
 
36
- # Prepend all log lines with the following tags
48
+ # Prepend all log lines with the following tags.
37
49
  # config.log_tags = [ :subdomain, :uuid ]
38
50
 
39
- # Use a different logger for distributed setups
51
+ # Use a different logger for distributed setups.
40
52
  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
53
 
42
- # Use a different cache store in production
54
+ # Use a different cache store in production.
43
55
  # config.cache_store = :mem_cache_store
44
56
 
45
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
46
58
  # config.action_controller.asset_host = "http://assets.example.com"
47
59
 
48
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
60
+ # Precompile additional assets.
61
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
49
62
  # config.assets.precompile += %w( search.js )
50
63
 
51
- # Disable delivery errors, bad email addresses will be ignored
64
+ # Ignore bad email addresses and do not raise email delivery errors.
65
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
52
66
  # config.action_mailer.raise_delivery_errors = false
53
67
 
54
- # Enable threaded mode
55
- # config.threadsafe!
56
-
57
68
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
- # the I18n.default_locale when a translation can not be found)
69
+ # the I18n.default_locale when a translation can not be found).
59
70
  config.i18n.fallbacks = true
60
71
 
61
- # Send deprecation notices to registered listeners
72
+ # Send deprecation notices to registered listeners.
62
73
  config.active_support.deprecation = :notify
63
74
 
64
- # Log the query plan for queries taking more than this (works
65
- # with SQLite, MySQL, and PostgreSQL)
66
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
75
+ # Disable automatic flushing of the log to improve performance.
76
+ # config.autoflush_log = false
77
+
78
+ # Use default logging formatter so that PID and timestamp are not suppressed.
79
+ config.log_formatter = ::Logger::Formatter.new
67
80
  end
@@ -1,5 +1,5 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,31 +7,30 @@ Dummy::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
13
14
 
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
16
18
 
17
- # Show full error reports and disable caching
19
+ # Show full error reports and disable caching.
18
20
  config.consider_all_requests_local = true
19
21
  config.action_controller.perform_caching = false
20
22
 
21
- # Raise exceptions instead of rendering exception templates
23
+ # Raise exceptions instead of rendering exception templates.
22
24
  config.action_dispatch.show_exceptions = false
23
25
 
24
- # Disable request forgery protection in test environment
25
- config.action_controller.allow_forgery_protection = false
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
26
28
 
27
29
  # Tell Action Mailer not to deliver emails to the real world.
28
30
  # The :test delivery method accumulates sent emails in the
29
31
  # ActionMailer::Base.deliveries array.
30
32
  config.action_mailer.delivery_method = :test
31
33
 
32
- # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
34
-
35
- # Print deprecation notices to the stderr
34
+ # Print deprecation notices to the stderr.
36
35
  config.active_support.deprecation = :stderr
37
36
  end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -1,15 +1,16 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
6
7
  # inflect.plural /^(ox)$/i, '\1en'
7
8
  # inflect.singular /^(ox)en/i, '\1'
8
9
  # inflect.irregular 'person', 'people'
9
10
  # inflect.uncountable %w( fish sheep )
10
11
  # end
11
- #
12
+
12
13
  # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
14
15
  # inflect.acronym 'RESTful'
15
16
  # end
@@ -1,7 +1,13 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Your secret key for verifying the integrity of signed cookies.
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
4
  # If you change this key, all old signed cookies will become invalid!
5
+
5
6
  # Make sure the secret is at least 30 characters and all random,
6
7
  # no regular words or you'll be exposed to dictionary attacks.
7
8
  Dummy::Application.config.secret_token = '52b5f919c4e901f724271153f96baed8d852c6d6e8d51e911f19968b892e3b31094602e708b8bc926ab445f84e66e49ad79a19ed01187e59d25767364cfba5df'
9
+ # You can use `rake secret` to generate a secure secret key.
10
+
11
+ # Make sure your secret_key_base is kept private
12
+ # if you're sharing your code publicly.
13
+ Dummy::Application.config.secret_key_base = '559e10678ea2c1751efe3de531cb08caea77d890121de5fb6b5454dc0d3feff5473ee04c50203410c934d289649885d7af95293daf41a7ab6553fb55f023b327'
@@ -1,8 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
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,14 +1,14 @@
1
1
  # Be sure to restart your server when you modify this file.
2
- #
2
+
3
3
  # This file contains settings for ActionController::ParamsWrapper which
4
4
  # is enabled by default.
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
9
  end
10
10
 
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -1,5 +1,23 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
3
21
 
4
22
  en:
5
23
  hello: "Hello world"
@@ -38,3 +38,54 @@ Connecting to database specified by database.yml
38
38
   (0.1ms) SELECT version FROM "schema_migrations"
39
39
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121220022003')
40
40
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121114025434')
41
+ Connecting to database specified by database.yml
42
+
43
+
44
+ Started GET "/" for 127.0.0.1 at 2013-08-13 11:32:30 +1200
45
+ Processing by Admin::WelcomeController#index as HTML
46
+ Rendered admin/welcome/index.html.erb within layouts/application (3.2ms)
47
+ Compiled application.css (0ms) (pid 55765)
48
+ Compiled jquery.js (3ms) (pid 55765)
49
+ Compiled jquery_ujs.js (0ms) (pid 55765)
50
+ Compiled application.js (42ms) (pid 55765)
51
+ Completed 200 OK in 99ms (Views: 98.6ms | ActiveRecord: 0.0ms)
52
+
53
+
54
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 11:32:30 +1200
55
+ Served asset /application.css - 200 OK (5ms)
56
+
57
+
58
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 11:32:30 +1200
59
+ Served asset /jquery.js - 200 OK (5ms)
60
+
61
+
62
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 11:32:30 +1200
63
+ Served asset /application.js - 200 OK (21ms)
64
+
65
+
66
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 11:32:30 +1200
67
+ Served asset /jquery_ujs.js - 200 OK (2ms)
68
+
69
+
70
+ Started GET "/admin/jobs" for 127.0.0.1 at 2013-08-13 11:32:33 +1200
71
+ Processing by Admin::JobsController#index as HTML
72
+  (0.1ms) SELECT COUNT(*) FROM "delayed_jobs" 
73
+ CACHE (0.0ms) SELECT COUNT(*) FROM "delayed_jobs"
74
+ Rendered /Users/nigelramsay/projects/abletech/easy_admin/app/views/admin/jobs/index.html.erb within layouts/application (6.1ms)
75
+ Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 3.8ms)
76
+
77
+
78
+ Started GET "/admin/outbound_requests" for 127.0.0.1 at 2013-08-13 11:32:35 +1200
79
+ Processing by Admin::OutboundRequestsController#index as HTML
80
+  (0.1ms) SELECT COUNT(*) FROM "outbound_requests" 
81
+ CACHE (0.0ms) SELECT COUNT(*) FROM "outbound_requests"
82
+ CACHE (0.0ms) SELECT COUNT(*) FROM "outbound_requests" 
83
+ CACHE (0.0ms) SELECT COUNT(*) FROM "outbound_requests"
84
+ Rendered /Users/nigelramsay/projects/abletech/easy_admin/app/views/admin/outbound_requests/_pagination.html.erb (8.1ms)
85
+ CACHE (0.0ms) SELECT COUNT(*) FROM "outbound_requests" 
86
+ OutboundRequest Load (0.2ms) SELECT "outbound_requests".* FROM "outbound_requests" ORDER BY created_at desc LIMIT 50 OFFSET 0
87
+ CACHE (0.0ms) SELECT COUNT(*) FROM "outbound_requests" 
88
+ Rendered /Users/nigelramsay/projects/abletech/easy_admin/app/views/admin/outbound_requests/_pagination.html.erb (1.2ms)
89
+ Rendered /Users/nigelramsay/projects/abletech/easy_admin/app/views/admin/outbound_requests/index.html.erb within layouts/application (28.8ms)
90
+ Completed 200 OK in 33ms (Views: 31.6ms | ActiveRecord: 0.6ms)
91
+ Connecting to database specified by database.yml
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Shevaun Coker
@@ -10,54 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-08-12 00:00:00.000000000 Z
12
+ date: 2013-12-11 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
22
- version: 3.2.0
20
+ version: 4.0.2
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
30
- version: 3.2.0
27
+ version: 4.0.2
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: will_paginate
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
- version: '0'
34
+ version: 3.0.5
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
- version: '0'
41
+ version: 3.0.5
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: sqlite3
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  description: Common Admin maintenance screens
@@ -95,6 +88,9 @@ files:
95
88
  - test/dummy/app/helpers/application_helper.rb
96
89
  - test/dummy/app/views/admin/welcome/index.html.erb
97
90
  - test/dummy/app/views/layouts/application.html.erb
91
+ - test/dummy/bin/bundle
92
+ - test/dummy/bin/rails
93
+ - test/dummy/bin/rake
98
94
  - test/dummy/config/application.rb
99
95
  - test/dummy/config/boot.rb
100
96
  - test/dummy/config/database.yml
@@ -103,6 +99,7 @@ files:
103
99
  - test/dummy/config/environments/production.rb
104
100
  - test/dummy/config/environments/test.rb
105
101
  - test/dummy/config/initializers/backtrace_silencers.rb
102
+ - test/dummy/config/initializers/filter_parameter_logging.rb
106
103
  - test/dummy/config/initializers/inflections.rb
107
104
  - test/dummy/config/initializers/mime_types.rb
108
105
  - test/dummy/config/initializers/secret_token.rb
@@ -126,33 +123,42 @@ files:
126
123
  - test/dummy/README.rdoc
127
124
  - test/dummy/script/delayed_job
128
125
  - test/dummy/script/rails
126
+ - test/dummy/tmp/cache/assets/BA7/4B0/sprockets%2Fb0b071503162261117712776b6400d95
127
+ - test/dummy/tmp/cache/assets/CBF/BE0/sprockets%2Fe4539515f496c9a47334a4d72952bd8c
128
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
129
+ - test/dummy/tmp/cache/assets/D14/400/sprockets%2Fc7cf76c8a8b35297247a1d102ec9d670
130
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
131
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
132
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
133
+ - test/dummy/tmp/cache/assets/D95/340/sprockets%2F4db69ac4ad31b1834affc0f168807fc0
134
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
135
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
129
136
  - test/easy_admin_test.rb
130
137
  - test/jobs_controller_test.rb
131
138
  - test/outbound_request_test.rb
132
139
  - test/test_helper.rb
133
140
  homepage:
134
141
  licenses: []
142
+ metadata: {}
135
143
  post_install_message:
136
144
  rdoc_options: []
137
145
  require_paths:
138
146
  - lib
139
147
  required_ruby_version: !ruby/object:Gem::Requirement
140
- none: false
141
148
  requirements:
142
- - - ! '>='
149
+ - - '>='
143
150
  - !ruby/object:Gem::Version
144
151
  version: '0'
145
152
  required_rubygems_version: !ruby/object:Gem::Requirement
146
- none: false
147
153
  requirements:
148
- - - ! '>='
154
+ - - '>='
149
155
  - !ruby/object:Gem::Version
150
156
  version: '0'
151
157
  requirements: []
152
158
  rubyforge_project:
153
- rubygems_version: 1.8.25
159
+ rubygems_version: 2.0.6
154
160
  signing_key:
155
- specification_version: 3
161
+ specification_version: 4
156
162
  summary: View, delete and retry queued Delayed Jobs from an admin interface
157
163
  test_files:
158
164
  - test/dummy/app/assets/javascripts/application.js
@@ -163,6 +169,9 @@ test_files:
163
169
  - test/dummy/app/helpers/application_helper.rb
164
170
  - test/dummy/app/views/admin/welcome/index.html.erb
165
171
  - test/dummy/app/views/layouts/application.html.erb
172
+ - test/dummy/bin/bundle
173
+ - test/dummy/bin/rails
174
+ - test/dummy/bin/rake
166
175
  - test/dummy/config/application.rb
167
176
  - test/dummy/config/boot.rb
168
177
  - test/dummy/config/database.yml
@@ -171,6 +180,7 @@ test_files:
171
180
  - test/dummy/config/environments/production.rb
172
181
  - test/dummy/config/environments/test.rb
173
182
  - test/dummy/config/initializers/backtrace_silencers.rb
183
+ - test/dummy/config/initializers/filter_parameter_logging.rb
174
184
  - test/dummy/config/initializers/inflections.rb
175
185
  - test/dummy/config/initializers/mime_types.rb
176
186
  - test/dummy/config/initializers/secret_token.rb
@@ -194,6 +204,16 @@ test_files:
194
204
  - test/dummy/README.rdoc
195
205
  - test/dummy/script/delayed_job
196
206
  - test/dummy/script/rails
207
+ - test/dummy/tmp/cache/assets/BA7/4B0/sprockets%2Fb0b071503162261117712776b6400d95
208
+ - test/dummy/tmp/cache/assets/CBF/BE0/sprockets%2Fe4539515f496c9a47334a4d72952bd8c
209
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
210
+ - test/dummy/tmp/cache/assets/D14/400/sprockets%2Fc7cf76c8a8b35297247a1d102ec9d670
211
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
212
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
213
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
214
+ - test/dummy/tmp/cache/assets/D95/340/sprockets%2F4db69ac4ad31b1834affc0f168807fc0
215
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
216
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
197
217
  - test/easy_admin_test.rb
198
218
  - test/jobs_controller_test.rb
199
219
  - test/outbound_request_test.rb