quarter_time 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +9 -0
  2. data/VERSION +1 -1
  3. data/quarter_time.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -63,6 +63,15 @@ A simple gem for dealing with quarter logic. I happen to have a project where h
63
63
  => "2010-03-01"
64
64
  model.quarter_stamp
65
65
  => "Q2, 2010"
66
+
67
+ *you can also just use the scope with year and quarter parameters if you don't already have a quarter object
68
+
69
+ class SomeModel < ActiveRecord::Base
70
+ include QuarterTime::QuarterDriven
71
+ end
72
+
73
+ model = SomeModel.for_quarter(2010,3).first
74
+
66
75
 
67
76
  == Note on Patches/Pull Requests
68
77
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/quarter_time.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{quarter_time}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["evizitei"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quarter_time
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - evizitei