conversions 1.4.4 → 1.4.5

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/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :minor: 4
3
- :patch: 4
4
- :build:
2
+ :patch: 5
5
3
  :major: 1
4
+ :build:
5
+ :minor: 4
data/conversions.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{conversions}
8
- s.version = "1.4.4"
8
+ s.version = "1.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Manfred Stienstra", "Seamus Abshere"]
12
- s.date = %q{2010-04-05}
12
+ s.date = %q{2010-05-05}
13
13
  s.description = %q{A Ruby on Rails plugin that adds conversion capabilities to numeric objects}
14
14
  s.email = %q{seamus@abshere.net}
15
15
  s.extra_rdoc_files = [
data/lib/conversions.rb CHANGED
@@ -1,5 +1,10 @@
1
1
  require 'active_support'
2
- begin; require 'active_support/core_ext/module/attribute_accessors'; rescue MissingSourceFile; end
2
+ require 'active_support/version'
3
+ %w{
4
+ active_support/core_ext/module/attribute_accessors
5
+ }.each do |active_support_3_requirement|
6
+ require active_support_3_requirement
7
+ end if ActiveSupport::VERSION::MAJOR == 3
3
8
 
4
9
  # Conversions makes it easy to convert between units.
5
10
  module Conversions
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 4
8
- - 4
9
- version: 1.4.4
8
+ - 5
9
+ version: 1.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Manfred Stienstra
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-05 00:00:00 -04:00
18
+ date: 2010-05-05 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency