scribbler 0.1.2 → 0.1.3

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.
@@ -136,10 +136,8 @@ module Scribbler
136
136
  template << "#{options[:object].class.name}: #{if_id}\n" if options[:object]
137
137
  template << "#{custom_fields}\n" if custom_fields.present?
138
138
  template << "#{options[:message]}\n"
139
- template << "Call Stack:\n#{options[:stack_frame].join("\n")}" if options[:call_stack]
139
+ template << "Call Stack:\n#{options[:stack_frame].join("\n")}\n" if options[:call_stack]
140
140
  template << "\n"
141
-
142
- template
143
141
  end
144
142
  end
145
143
  end
@@ -1,3 +1,3 @@
1
1
  module Scribbler
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -135,7 +135,8 @@ module Scribbler
135
135
  # in case we have bad config data lingering
136
136
  subject.stub(:respond_to?).with('test_log_log_location').and_return false
137
137
  subject.should_not_receive(:test_log_log_location)
138
- subject.find_file_at(:test_log).should == "#{Dir.pwd}/log/test_log"
138
+ Rails.should_receive(:root).and_raise(NameError)
139
+ subject.find_file_at(:test_log).should == "#{subject.config.log_directory}/test_log"
139
140
  end
140
141
 
141
142
  it "finds a file method defined" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scribbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  segments:
142
142
  - 0
143
- hash: 1839906776393005062
143
+ hash: -2034944693787141554
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  none: false
146
146
  requirements:
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  segments:
151
151
  - 0
152
- hash: 1839906776393005062
152
+ hash: -2034944693787141554
153
153
  requirements: []
154
154
  rubyforge_project:
155
155
  rubygems_version: 1.8.24