before_and_after 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,6 +22,10 @@ Credits goes to whoever wrote this. http://www.dzone.com/snippets/and-after-ruby
22
22
 
23
23
  ## Changelog
24
24
 
25
+ **1.0.4**
26
+
27
+ - Removing puts used during testing
28
+
25
29
  **1.0.3**
26
30
 
27
31
  - Yet another try to get ActiveSupport::TimeWithZone to work with before_and_after
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "before_and_after"
8
- s.version = "1.0.3"
8
+ s.version = "1.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darwin"]
@@ -25,7 +25,6 @@ module BeforeAndAfter
25
25
  #
26
26
  def within_last?(time_span)
27
27
  now = Time.now.utc
28
- puts "#{self.utc} #{now}"
29
28
  self.utc.between?(now - time_span, now)
30
29
  end
31
30
 
@@ -35,7 +34,6 @@ module BeforeAndAfter
35
34
  #
36
35
  def within_coming?(time_span)
37
36
  now = Time.now.utc
38
- puts "#{self.utc} #{now}"
39
37
  self.utc.between?(now, now + time_span)
40
38
  end
41
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: before_and_after
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  segments:
113
113
  - 0
114
- hash: -4407723987409584694
114
+ hash: -2481554895842038651
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements: