by_star 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/by_star.gemspec +2 -3
  3. data/lib/by_star.rb +3 -0
  4. metadata +3 -4
  5. data/init.rb +0 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.9.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{by_star}
8
- s.version = "0.8.0"
8
+ s.version = "0.9.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Bigg", "Mislav Marohni\304\207"]
12
- s.date = %q{2010-06-05}
12
+ s.date = %q{2010-07-29}
13
13
  s.description = %q{ActiveRecord extension for easier date scopes and time ranges}
14
14
  s.email = %q{radarlistener@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  "VERSION",
24
24
  "by_star.gemspec",
25
25
  "cleaner.rb",
26
- "init.rb",
27
26
  "lib/by_star.rb",
28
27
  "lib/calculations.rb",
29
28
  "lib/calculations/count.rb",
@@ -34,3 +34,6 @@ module ByStar
34
34
  class ParseError < Exception; end
35
35
  class MonthNotFound < Exception; end
36
36
  end
37
+
38
+ ActiveRecord::Base.send :include, ByStar
39
+ ActiveRecord::Relation.send :include, ByStar if ActiveRecord.const_defined?("Relation")
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 8
7
+ - 9
8
8
  - 0
9
- version: 0.8.0
9
+ version: 0.9.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Bigg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-05 00:00:00 +10:00
18
+ date: 2010-07-29 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -60,7 +60,6 @@ files:
60
60
  - VERSION
61
61
  - by_star.gemspec
62
62
  - cleaner.rb
63
- - init.rb
64
63
  - lib/by_star.rb
65
64
  - lib/calculations.rb
66
65
  - lib/calculations/count.rb
data/init.rb DELETED
@@ -1,3 +0,0 @@
1
- require 'by_star'
2
- ActiveRecord::Base.send :include, ByStar
3
- ActiveRecord::Relation.send :include, ByStar if ActiveRecord.const_defined?("Relation")