rails_log_converter 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Manifest CHANGED
@@ -14,7 +14,6 @@ lib/rails_log_converter/entry.rb
14
14
  lib/rails_log_converter/parser.rb
15
15
  lib/rails_log_converter/ui.rb
16
16
  lib/rails_log_converter/version.rb
17
- rails_log_converter.gemspec
18
17
  spec/files/simple_log
19
18
  spec/rails_log_converter/cli_spec.rb
20
19
  spec/spec.opts
@@ -76,6 +76,7 @@ module RailsLogConverter
76
76
  def parameters(line)
77
77
  log_line_as('parameters', line)
78
78
  begin
79
+ line.gsub!(/(#<[\w\d\/:\._-]+>)/, %Q{"#{$1}"}) #Fix file refererence in hash
79
80
  hash = eval(/\{\}|\{"(.*)"=>"?(.*)"?\}$/.match(line)[0])
80
81
  current_entry.parameters = hash unless hash.empty?
81
82
  rescue
@@ -4,7 +4,7 @@ module RailsLogConverter
4
4
  class Version
5
5
  MAJOR = 0
6
6
  MINOR = 0
7
- TINY = 1
7
+ TINY = 2
8
8
 
9
9
  # The current version, as a String instance
10
10
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rails_log_converter}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Andrew Kalek"]
9
- s.date = %q{2010-04-19}
9
+ s.date = %q{2010-04-20}
10
10
  s.default_executable = %q{rails_log_converter}
11
11
  s.description = %q{A little app that parses through your rails log file and converts it into a SQLite database.}
12
12
  s.email = %q{andrew.kalek@anlek.com}
13
13
  s.executables = ["rails_log_converter"]
14
14
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc", "lib/core_ext/object.rb", "lib/rails_log_converter.rb", "lib/rails_log_converter/cli.rb", "lib/rails_log_converter/cli/execute.rb", "lib/rails_log_converter/cli/options.rb", "lib/rails_log_converter/configuration.rb", "lib/rails_log_converter/db/001_entry_migration.rb", "lib/rails_log_converter/entry.rb", "lib/rails_log_converter/parser.rb", "lib/rails_log_converter/ui.rb", "lib/rails_log_converter/version.rb"]
15
- s.files = ["CHANGELOG.rdoc", "Manifest", "README.rdoc", "Rakefile", "bin/rails_log_converter", "lib/core_ext/object.rb", "lib/rails_log_converter.rb", "lib/rails_log_converter/cli.rb", "lib/rails_log_converter/cli/execute.rb", "lib/rails_log_converter/cli/options.rb", "lib/rails_log_converter/configuration.rb", "lib/rails_log_converter/db/001_entry_migration.rb", "lib/rails_log_converter/entry.rb", "lib/rails_log_converter/parser.rb", "lib/rails_log_converter/ui.rb", "lib/rails_log_converter/version.rb", "rails_log_converter.gemspec", "spec/files/simple_log", "spec/rails_log_converter/cli_spec.rb", "spec/spec.opts", "spec/spec_helper.rb"]
15
+ s.files = ["CHANGELOG.rdoc", "Manifest", "README.rdoc", "Rakefile", "bin/rails_log_converter", "lib/core_ext/object.rb", "lib/rails_log_converter.rb", "lib/rails_log_converter/cli.rb", "lib/rails_log_converter/cli/execute.rb", "lib/rails_log_converter/cli/options.rb", "lib/rails_log_converter/configuration.rb", "lib/rails_log_converter/db/001_entry_migration.rb", "lib/rails_log_converter/entry.rb", "lib/rails_log_converter/parser.rb", "lib/rails_log_converter/ui.rb", "lib/rails_log_converter/version.rb", "spec/files/simple_log", "spec/rails_log_converter/cli_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "rails_log_converter.gemspec"]
16
16
  s.homepage = %q{http://github.com/anlek/rails_log_converter}
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rails_log_converter", "--main", "README.rdoc"]
18
18
  s.require_paths = ["lib"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrew Kalek
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-19 00:00:00 -04:00
17
+ date: 2010-04-20 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -122,11 +122,11 @@ files:
122
122
  - lib/rails_log_converter/parser.rb
123
123
  - lib/rails_log_converter/ui.rb
124
124
  - lib/rails_log_converter/version.rb
125
- - rails_log_converter.gemspec
126
125
  - spec/files/simple_log
127
126
  - spec/rails_log_converter/cli_spec.rb
128
127
  - spec/spec.opts
129
128
  - spec/spec_helper.rb
129
+ - rails_log_converter.gemspec
130
130
  has_rdoc: true
131
131
  homepage: http://github.com/anlek/rails_log_converter
132
132
  licenses: []