mongodb_logger 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/.travis.yml +13 -7
- data/Gemfile +1 -7
- data/README.md +128 -117
- data/Rakefile +11 -40
- data/SUPPORTED_RAILS_VERSIONS +3 -1
- data/app/assets/javascripts/analytics.js.coffee +66 -0
- data/app/assets/javascripts/logs.js.coffee +107 -164
- data/app/assets/javascripts/mongodb_logger.js +11 -2
- data/app/assets/javascripts/vendors/jquery-1.8.3.min.js +2 -0
- data/app/assets/javascripts/vendors/jquery-ui-1.9.2.min.js +6 -0
- data/app/assets/javascripts/vendors/jquery.pjax.min.js +13 -6
- data/app/assets/javascripts/vendors/rickshaw/d3.layout.min.js +1 -0
- data/app/assets/javascripts/vendors/rickshaw/d3.min.js +2 -0
- data/app/assets/javascripts/vendors/rickshaw/rickshaw.js +2637 -0
- data/app/assets/stylesheets/humanity/{jquery-ui-1.8.16.custom.css → jquery-ui-1.9.2.custom.css} +0 -0
- data/app/assets/stylesheets/layout.css +1 -1
- data/app/assets/stylesheets/library.css.erb +2 -2
- data/app/assets/stylesheets/mongodb_logger.css +2 -1
- data/app/assets/stylesheets/rickshaw/rickshaw.css +307 -0
- data/bin/mongodb_logger_web +1 -2
- data/config.ru +8 -1
- data/examples/server_config.yml +1 -2
- data/features/mongodb_logger_web.feature +1 -1
- data/features/step_definitions/mongodb_logger_web_steps.rb +18 -12
- data/lib/mongodb_logger.rb +6 -2
- data/lib/mongodb_logger/adapters.rb +3 -0
- data/lib/mongodb_logger/adapters/base.rb +45 -0
- data/lib/mongodb_logger/adapters/mongo.rb +91 -0
- data/lib/mongodb_logger/adapters/moped.rb +95 -0
- data/lib/mongodb_logger/logger.rb +39 -71
- data/lib/mongodb_logger/replica_set_helper.rb +11 -2
- data/lib/mongodb_logger/server.rb +15 -36
- data/lib/mongodb_logger/server/model/analytic.rb +54 -37
- data/lib/mongodb_logger/server/view_helpers.rb +5 -1
- data/lib/mongodb_logger/server/views/analytics.erb +8 -7
- data/lib/mongodb_logger/server/views/layout.erb +4 -11
- data/lib/mongodb_logger/server/views/overview.erb +6 -6
- data/lib/mongodb_logger/server/views/shared/_collection_stats.erb +4 -4
- data/lib/mongodb_logger/server/views/shared/_dynamic_filter.erb +1 -1
- data/lib/mongodb_logger/server/views/shared/_log_info.erb +1 -1
- data/lib/mongodb_logger/server/views/shared/_tabs.erb +2 -2
- data/lib/mongodb_logger/server/views/shared/_tail_panel.erb +4 -4
- data/lib/mongodb_logger/server/views/shared/_top_panel.erb +1 -1
- data/lib/mongodb_logger/server/views/show_log.erb +11 -1
- data/lib/mongodb_logger/server_config.rb +17 -66
- data/lib/mongodb_logger/version.rb +1 -1
- data/mongodb_logger.gemspec +19 -20
- data/spec/javascripts/MongodbLoggerMainSpec.js +2 -2
- data/spec/javascripts/support/jasmine.yml +5 -5
- data/test/Gemfile_tests +2 -1
- data/test/config/samples/database.yml +3 -1
- data/test/config/samples/database_no_file_logging.yml +3 -1
- data/test/shoulda_macros/log_macros.rb +1 -1
- data/test/test.sh +5 -5
- data/test/test_helper.rb +26 -18
- data/test/unit/mongodb_logger_test.rb +21 -20
- metadata +70 -88
- data/app/assets/javascripts/vendors/jquery-1.7.1.min.js +0 -4
- data/app/assets/javascripts/vendors/jquery-ui-1.8.16.min.js +0 -791
- data/mongodb_logger.java.gemspec +0 -43
data/mongodb_logger.java.gemspec
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/mongodb_logger/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Alexey Vasiliev"]
|
6
|
-
gem.email = ["leopard.not.a@gmail.com"]
|
7
|
-
gem.description = %q{MongoDB logger for Rails 3}
|
8
|
-
gem.summary = %q{MongoDB logger for Rails 3}
|
9
|
-
gem.homepage = "http://mongodb-logger.catware.org"
|
10
|
-
|
11
|
-
gem.extra_rdoc_files = [ "LICENSE", "README.md" ]
|
12
|
-
gem.rdoc_options = ["--charset=UTF-8"]
|
13
|
-
|
14
|
-
gem.add_development_dependency "jasmine", ">= 1.0.0"
|
15
|
-
gem.add_development_dependency "rspec", ">= 2.8.0"
|
16
|
-
gem.add_development_dependency "shoulda", ">= 2.0.0"
|
17
|
-
gem.add_development_dependency "mocha", ">= 0.10.0"
|
18
|
-
gem.add_development_dependency "cucumber", "~> 1.1.2"
|
19
|
-
gem.add_development_dependency "capybara", "~> 1.1.2"
|
20
|
-
gem.add_development_dependency "uglifier", ">= 1.2.0"
|
21
|
-
|
22
|
-
gem.add_runtime_dependency "rake", "~> 0.9.0"
|
23
|
-
gem.add_runtime_dependency "mongo", "~> 1.6.1"
|
24
|
-
gem.add_runtime_dependency "i18n", ">= 0.4.1"
|
25
|
-
gem.add_runtime_dependency "json", ">= 1.6.1"
|
26
|
-
gem.add_runtime_dependency "activesupport", ">= 3.0.0"
|
27
|
-
gem.add_runtime_dependency "actionpack", ">= 3.0.0"
|
28
|
-
gem.add_runtime_dependency "sprockets", ">= 2.0.0"
|
29
|
-
gem.add_runtime_dependency "coffee-script", "~> 2.2.0"
|
30
|
-
gem.add_runtime_dependency "sinatra", ">= 1.2.0"
|
31
|
-
gem.add_runtime_dependency "erubis", ">= 2.6.6"
|
32
|
-
gem.add_runtime_dependency "vegas", "~> 0.1.2"
|
33
|
-
|
34
|
-
gem.rubyforge_project = "mongodb_logger"
|
35
|
-
|
36
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
37
|
-
gem.files = `git ls-files`.split("\n")
|
38
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
39
|
-
gem.name = "mongodb_logger"
|
40
|
-
gem.require_paths = ["lib"]
|
41
|
-
gem.version = MongodbLogger::VERSION
|
42
|
-
gem.platform = "jruby"
|
43
|
-
end
|