midwire_common 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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *0.1.3* (July 29, 2013)
2
+
3
+ * Fixed bug in age method
4
+
1
5
  *0.1.2* (July 29, 2013)
2
6
 
3
7
  * Removed deprecated :rubygems source from Gemfile
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Midwire Common Gem
2
2
 
3
- **Version: 0.1.2**
3
+ **Version: 0.1.3**
4
4
 
5
5
  A handy Ruby library for Midwire development
6
6
 
@@ -20,7 +20,7 @@ module MidwireCommon
20
20
  end
21
21
 
22
22
  def age
23
- return nil unless File.exists?(@cache_file)
23
+ return 99999999.0 unless File.exists?(@cache_file)
24
24
  (Time.now - File.ctime(@cache_file)).to_f
25
25
  end
26
26
 
@@ -1,6 +1,6 @@
1
1
  original_verbosity = $VERBOSE
2
2
  $VERBOSE = nil
3
3
  module MidwireCommon
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
6
6
  $VERBOSE = original_verbosity
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midwire_common
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:
@@ -211,7 +211,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: -3792838809084270394
214
+ hash: -2118496464680384868
215
215
  required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  none: false
217
217
  requirements:
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  segments:
222
222
  - 0
223
- hash: -3792838809084270394
223
+ hash: -2118496464680384868
224
224
  requirements: []
225
225
  rubyforge_project:
226
226
  rubygems_version: 1.8.23