better_ar 0.0.11 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ Gemfile.lock
4
4
  pkg/*
5
5
  doc/*
6
6
  .yardoc/*
7
+ bin/*
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_development_dependency 'activerecord', ['~> 3.0.3']
22
+ s.add_development_dependency 'activerecord', ['~> 3.2.9']
23
+ s.add_development_dependency 'rake'
23
24
  s.add_development_dependency 'sqlite3'
25
+ s.add_development_dependency 'debugger'
24
26
  end
@@ -46,4 +46,4 @@ module BetterAr
46
46
  end
47
47
  end
48
48
 
49
- ActiveRecord::Associations::AssociationCollection.send(:include, BetterAr::AssociationCollection)
49
+ ActiveRecord::Associations::CollectionAssociation.send(:include, BetterAr::AssociationCollection)
@@ -1,3 +1,3 @@
1
1
  module BetterAr
2
- VERSION = "0.0.11"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  require 'rubygems'
2
- require 'ruby-debug'
3
2
  require 'minitest/autorun'
4
3
  require 'active_support/core_ext'
5
4
  require 'active_record'
6
5
  require 'better_ar'
6
+ require 'debugger'
7
7
 
8
8
  class Object
9
9
  def must_be_like other
metadata CHANGED
@@ -1,50 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: better_ar
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
4
5
  prerelease:
5
- version: 0.0.11
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Brian Cardarella
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-03-12 00:00:00 -05:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: activerecord
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.9
22
+ type: :development
18
23
  prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
20
25
  none: false
21
- requirements:
26
+ requirements:
22
27
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 3.0.3
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.9
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
25
38
  type: :development
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
28
47
  name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
29
55
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: debugger
64
+ requirement: !ruby/object:Gem::Requirement
31
65
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
36
70
  type: :development
37
- version_requirements: *id002
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
38
78
  description: Better Active Record finders
39
- email:
79
+ email:
40
80
  - bcardarella@gmail.com
41
81
  executables: []
42
-
43
82
  extensions: []
44
-
45
83
  extra_rdoc_files: []
46
-
47
- files:
84
+ files:
48
85
  - .gitignore
49
86
  - .rvmrc
50
87
  - Gemfile
@@ -61,34 +98,36 @@ files:
61
98
  - lib/better_ar/version.rb
62
99
  - test/helper.rb
63
100
  - test/test_finder_methods.rb
64
- has_rdoc: true
65
101
  homepage: https://github.com/bcardarella/better_ar
66
102
  licenses: []
67
-
68
103
  post_install_message:
69
104
  rdoc_options: []
70
-
71
- require_paths:
105
+ require_paths:
72
106
  - lib
73
- required_ruby_version: !ruby/object:Gem::Requirement
107
+ required_ruby_version: !ruby/object:Gem::Requirement
74
108
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
79
- required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ segments:
114
+ - 0
115
+ hash: 2278661822578775114
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
117
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: "0"
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ segments:
123
+ - 0
124
+ hash: 2278661822578775114
85
125
  requirements: []
86
-
87
126
  rubyforge_project: better_ar
88
- rubygems_version: 1.5.3
127
+ rubygems_version: 1.8.23
89
128
  signing_key:
90
129
  specification_version: 3
91
130
  summary: Better Active Record finders
92
- test_files:
131
+ test_files:
93
132
  - test/helper.rb
94
133
  - test/test_finder_methods.rb