swhitt-split_date_and_time_for 0.1.0 → 0.1.1

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 ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ :major: 0
3
+ :minor: 1
4
+ :patch: 1
@@ -1,6 +1,6 @@
1
1
  module SplitDateAndTimeFor
2
2
  def self.enable
3
- ActionView::Base.send :include, ModelHelpers
3
+ ActiveRecord::Base.send :include, ModelHelpers
4
4
  end
5
5
 
6
6
  module ModelHelpers
@@ -0,0 +1,47 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{split_date_and_time_for}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Steve Whittaker"]
9
+ s.date = %q{2009-06-19}
10
+ s.email = %q{swhitt@gmail.com}
11
+ s.extra_rdoc_files = [
12
+ "LICENSE",
13
+ "README.rdoc"
14
+ ]
15
+ s.files = [
16
+ ".document",
17
+ ".gitignore",
18
+ "LICENSE",
19
+ "README.rdoc",
20
+ "Rakefile",
21
+ "VERSION.yml",
22
+ "lib/split_date_and_time_for.rb",
23
+ "split_date_and_time_for.gemspec",
24
+ "test/split_date_and_time_for_test.rb",
25
+ "test/test_helper.rb"
26
+ ]
27
+ s.has_rdoc = true
28
+ s.homepage = %q{http://github.com/swhitt/split_date_and_time_for}
29
+ s.rdoc_options = ["--charset=UTF-8"]
30
+ s.require_paths = ["lib"]
31
+ s.rubygems_version = %q{1.3.1}
32
+ s.summary = %q{a quick way to split a datetime ActiveRecord column into their Date and Time counterparts}
33
+ s.test_files = [
34
+ "test/split_date_and_time_for_test.rb",
35
+ "test/test_helper.rb"
36
+ ]
37
+
38
+ if s.respond_to? :specification_version then
39
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
40
+ s.specification_version = 2
41
+
42
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
43
+ else
44
+ end
45
+ else
46
+ end
47
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swhitt-split_date_and_time_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Whittaker
@@ -28,7 +28,9 @@ files:
28
28
  - LICENSE
29
29
  - README.rdoc
30
30
  - Rakefile
31
+ - VERSION.yml
31
32
  - lib/split_date_and_time_for.rb
33
+ - split_date_and_time_for.gemspec
32
34
  - test/split_date_and_time_for_test.rb
33
35
  - test/test_helper.rb
34
36
  has_rdoc: true