loady 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,16 @@
1
- class MemoryLogger
2
- attr_reader :messages
1
+ module Loady
2
+ class MemoryLogger
3
+ attr_reader :messages
3
4
 
4
- def initialize
5
- @messages = []
6
- end
5
+ def initialize
6
+ @messages = []
7
+ end
7
8
 
8
- def info(message)
9
- @messages << message
10
- end
9
+ def info(message)
10
+ @messages << message
11
+ end
11
12
 
12
- alias_method :warn, :info
13
- alias_method :error, :info
13
+ alias_method :warn, :info
14
+ alias_method :error, :info
15
+ end
14
16
  end
data/lib/loady/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Loady
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -3,7 +3,7 @@ require File.expand_path('test_helper.rb', File.dirname(__FILE__))
3
3
  class MemoryLoggerTest < Test::Unit::TestCase
4
4
  context "memory logger" do
5
5
  setup do
6
- @logger = MemoryLogger.new
6
+ @logger = Loady::MemoryLogger.new
7
7
  end
8
8
 
9
9
  should "have no messages" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loady
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  segments:
100
100
  - 0
101
- hash: 3415913565641349533
101
+ hash: 3295273932021347235
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  none: false
104
104
  requirements:
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  segments:
109
109
  - 0
110
- hash: 3415913565641349533
110
+ hash: 3295273932021347235
111
111
  requirements: []
112
112
  rubyforge_project: loady
113
113
  rubygems_version: 1.8.24