fake_arel 1.3.4 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.4
1
+ 1.4.0
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{fake_arel}
8
- s.version = "1.3.4"
7
+ s.name = "fake_arel"
8
+ s.version = "1.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Grant Ammons"]
12
- s.date = %q{2013-09-16}
13
- s.description = %q{fake_arel will simulate rails 3 arel syntax for Rails 2.}
14
- s.email = %q{grant@pipelinedealsco.com}
12
+ s.date = "2013-11-27"
13
+ s.description = "fake_arel will simulate rails 3 arel syntax for Rails 2."
14
+ s.email = "grant@pipelinedealsco.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.md"
@@ -48,11 +48,11 @@ Gem::Specification.new do |s|
48
48
  "spec/spec_helper.rb",
49
49
  "tasks/rspec.rake"
50
50
  ]
51
- s.homepage = %q{http://github.com/gammons/fake_arel}
51
+ s.homepage = "http://github.com/gammons/fake_arel"
52
52
  s.licenses = ["MIT"]
53
53
  s.require_paths = ["lib"]
54
- s.rubygems_version = %q{1.6.2}
55
- s.summary = %q{fake_arel: a Rails 3 query interface to Rails 2}
54
+ s.rubygems_version = "1.8.25"
55
+ s.summary = "fake_arel: a Rails 3 query interface to Rails 2"
56
56
 
57
57
  if s.respond_to? :specification_version then
58
58
  s.specification_version = 3
@@ -13,7 +13,7 @@ module Rails3Finders
13
13
  named_scope :having, lambda {|*having| {:having => having }}
14
14
  named_scope :group, lambda {|*group| {:group => group.flatten.join(',') }}
15
15
  named_scope :readonly, lambda {|readonly| {:readonly => readonly }}
16
- named_scope :lock, lambda {|lock| {:lock => lock }}
16
+ named_scope :lock, lambda {|*lock| lock = [true] if lock.empty?; {:lock => lock.first }}
17
17
 
18
18
  def self.select(value = Proc.new)
19
19
  if block_given?
@@ -41,9 +41,10 @@ module Rails3Finders
41
41
  # for some reason, flatten is actually executing the scope
42
42
  scopes = scopes[0] if scopes.size == 1
43
43
  scopes.each do |s|
44
+ scope = s.proxy_scope
44
45
  s = s.proxy_options
45
46
  begin
46
- where << merge_conditions(s[:conditions])
47
+ where << scope.merge_conditions(s[:conditions])
47
48
  rescue NoMethodError
48
49
  # I am ActiveRecord::Base. Only my subclasses define merge_conditions:
49
50
  where << subclasses.first.merge_conditions(s[:conditions])
@@ -71,6 +72,25 @@ module Rails3Finders
71
72
  def self.fakearel_destroy
72
73
  self.destroy_all(:id => self.scoped({}).select(:id).map(&:id))
73
74
  end
75
+
76
+ # allow defining scopes Rails 3 style (scope, not named_scope)
77
+ # scope is still a Rails 2 method, so we have to call the correct method
78
+ # depending on the argument types
79
+ def self.scope_with_named_scope(*args, &block)
80
+ if args.length == 2
81
+ case args[1]
82
+ when String, Symbol
83
+ scope_without_named_scope(*args)
84
+ else
85
+ named_scope *args, &block
86
+ end
87
+ else
88
+ scope_without_named_scope(*args)
89
+ end
90
+ end
91
+ class << self
92
+ alias_method_chain :scope, :named_scope
93
+ end
74
94
  end
75
95
  end
76
96
  end
@@ -205,6 +205,12 @@ describe "Fake Arel" do
205
205
  Reply.or(q1,q2).all.map(&:id).should == [2]
206
206
  end
207
207
 
208
+ it 'should be able to combine with "or" a different class' do
209
+ q1 = Author.where(:id => 0)
210
+ q2 = Author.where(:id => 1)
211
+ Author.or(q1,q2).all.map(&:id).should == [1]
212
+ end
213
+
208
214
  it "should use select like rails 3 uses select" do
209
215
  lambda { Reply.all.select {|r| r.id == 1 }}.should_not raise_error
210
216
  Reply.all.select {|r| r.id == 1 }.size.should == 1
@@ -1,9 +1,9 @@
1
1
  class Author < ActiveRecord::Base
2
2
  has_many :topics
3
3
 
4
- named_scope :mentions_activerecord, :conditions => ['topics.title LIKE ?', '%ActiveRecord%']
4
+ scope :mentions_activerecord, :conditions => ['topics.title LIKE ?', '%ActiveRecord%']
5
5
 
6
- named_scope :with_replies_starting_with, lambda { |text|
6
+ scope :with_replies_starting_with, lambda { |text|
7
7
  { :conditions => "replies.content LIKE '#{text}%' ", :include => :replies }
8
8
  }
9
9
  end
@@ -1,5 +1,5 @@
1
1
  john:
2
2
  id: 1
3
3
  name: John
4
- created_at: <%= 1.day.ago.to_s(:db) %>
4
+ created_at: <%= 1.day.ago.utc.iso8601 %>
5
5
  updated_at:
@@ -2,34 +2,34 @@ witty_retort:
2
2
  id: 1
3
3
  topic_id: 1
4
4
  content: Birdman is better!
5
- created_at: <%= 6.hours.ago.to_s(:db) %>
5
+ created_at: <%= 6.hours.ago.utc.iso8601 %>
6
6
 
7
7
  another:
8
8
  id: 2
9
9
  topic_id: 2
10
10
  content: Nuh uh!
11
- created_at: <%= 1.hour.ago.to_s(:db) %>
11
+ created_at: <%= 1.hour.ago.utc.iso8601 %>
12
12
 
13
13
  spam:
14
14
  id: 3
15
15
  topic_id: 1
16
16
  content: Nice site!
17
- created_at: <%= 1.hour.ago.to_s(:db) %>
17
+ created_at: <%= 1.hour.ago.utc.iso8601 %>
18
18
 
19
19
  decisive:
20
20
  id: 4
21
21
  topic_id: 4
22
22
  content: "I'm getting to the bottom of this"
23
- created_at: <%= 30.minutes.ago.to_s(:db) %>
23
+ created_at: <%= 30.minutes.ago.localtime.iso8601 %>
24
24
 
25
25
  brave:
26
26
  id: 5
27
27
  topic_id: 4
28
28
  content: "AR doesn't scare me a bit"
29
- created_at: <%= 10.minutes.ago.to_s(:db) %>
29
+ created_at: <%= 10.minutes.ago.utc.iso8601 %>
30
30
 
31
31
  thang:
32
32
  id: 6
33
33
  topic_id: 4
34
34
  content: "AR This is some more content"
35
- created_at: <%= 10.hours.ago.to_s(:db) %>
35
+ created_at: <%= 10.hours.ago.utc.iso8601 %>
@@ -3,35 +3,35 @@ class Reply < ActiveRecord::Base
3
3
 
4
4
  belongs_to :topic, :include => [:replies]
5
5
 
6
- named_scope :recent, where('replies.created_at > ?', 15.minutes.ago)
7
- named_scope :recent_two_wheres, where('replies.created_at > ?', 15.minutes.ago).where(:id => 5)
8
- named_scope :recent_limit_1, where('replies.created_at > ?', 15.minutes.ago).limit(1)
9
- named_scope :recent_with_content_like_ar, recent.where('lower(replies.content) like ?', "AR%")
10
- named_scope :recent_with_content_like_ar_and_id_4, recent.where('lower(replies.content) like ?', "AR%").where("id = 4")
11
- named_scope :recent_joins_topic, recent.joins(:topic)
12
- named_scope :topic_title_is, lambda {|topic_title| joins(:topic).where("topics.title like ?", topic_title + "%") }
13
-
14
- named_scope :join_topic_and_author, joins(:topic => [:author])
15
- named_scope :filter_join_topic_and_author, joins(:topic => [:author]).where('lower(replies.content) like ?','AR%')
16
-
17
- named_scope :arel_id, :conditions => "id = 1"
18
- named_scope :arel_id_with_lambda, lambda {|aid| arel_id}
19
- named_scope :arel_id_with_nested_lambda, lambda {|aid| arel_id_with_lambda(aid)}
20
-
21
- named_scope :id_asc, order('id asc')
22
- named_scope :id_desc, order('id desc')
23
- named_scope :topic_4_id_asc, id_asc.where(:topic_id => 4)
24
- named_scope :topic_4_id_desc, id_desc.where(:topic_id => 4)
25
- named_scope :topic_id, lambda{|topic_id| where(:topic_id => topic_id)}
26
- named_scope :recent_topic_id, lambda{|topic_id| recent.where(:topic_id => topic_id)}
27
- named_scope :topic__id_asc, lambda{|topic_id| id_asc.where(:topic_id => topic_id)}
28
- named_scope :topic__id_desc, lambda{|topic_id| id_desc.where(:topic_id => topic_id)}
29
- named_scope :topic__id_desc1, lambda{|topic_id| where(:topic_id => topic_id).id_desc}
30
- named_scope :topic__id_desc2, lambda{|topic_id| order('id desc').where(:topic_id => topic_id)}
31
- named_scope :topic__id_desc3, lambda{|topic_id| where(:topic_id => topic_id).order('id desc')}
32
- named_scope :topic_id_asc, order('topic_id asc')
33
- named_scope :topic_id_asc_id_desc, order('topic_id asc').id_desc
34
- named_scope :lam_topic_id_asc_id_desc, lambda{ topic_id_asc.id_desc }
6
+ scope :recent, where('replies.created_at > ?', 15.minutes.ago.utc.to_s(:db))
7
+ scope :recent_two_wheres, where('replies.created_at > ?', 15.minutes.ago.utc.to_s(:db)).where(:id => 5)
8
+ scope :recent_limit_1, where('replies.created_at > ?', 15.minutes.ago.utc.to_s(:db)).limit(1)
9
+ scope :recent_with_content_like_ar, recent.where('lower(replies.content) like ?', "AR%")
10
+ scope :recent_with_content_like_ar_and_id_4, recent.where('lower(replies.content) like ?', "AR%").where("id = 4")
11
+ scope :recent_joins_topic, recent.joins(:topic)
12
+ scope :topic_title_is, lambda {|topic_title| joins(:topic).where("topics.title like ?", topic_title + "%") }
13
+
14
+ scope :join_topic_and_author, joins(:topic => [:author])
15
+ scope :filter_join_topic_and_author, joins(:topic => [:author]).where('lower(replies.content) like ?','AR%')
16
+
17
+ scope :arel_id, :conditions => "id = 1"
18
+ scope :arel_id_with_lambda, lambda {|aid| arel_id}
19
+ scope :arel_id_with_nested_lambda, lambda {|aid| arel_id_with_lambda(aid)}
20
+
21
+ scope :id_asc, order('id asc')
22
+ scope :id_desc, order('id desc')
23
+ scope :topic_4_id_asc, id_asc.where(:topic_id => 4)
24
+ scope :topic_4_id_desc, id_desc.where(:topic_id => 4)
25
+ scope :topic_id, lambda{|topic_id| where(:topic_id => topic_id)}
26
+ scope :recent_topic_id, lambda{|topic_id| recent.where(:topic_id => topic_id)}
27
+ scope :topic__id_asc, lambda{|topic_id| id_asc.where(:topic_id => topic_id)}
28
+ scope :topic__id_desc, lambda{|topic_id| id_desc.where(:topic_id => topic_id)}
29
+ scope :topic__id_desc1, lambda{|topic_id| where(:topic_id => topic_id).id_desc}
30
+ scope :topic__id_desc2, lambda{|topic_id| order('id desc').where(:topic_id => topic_id)}
31
+ scope :topic__id_desc3, lambda{|topic_id| where(:topic_id => topic_id).order('id desc')}
32
+ scope :topic_id_asc, order('topic_id asc')
33
+ scope :topic_id_asc_id_desc, order('topic_id asc').id_desc
34
+ scope :lam_topic_id_asc_id_desc, lambda{ topic_id_asc.id_desc }
35
35
 
36
36
  validates_presence_of :content
37
37
 
@@ -2,18 +2,18 @@ class Topic < ActiveRecord::Base
2
2
  has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC'
3
3
  belongs_to :author
4
4
 
5
- named_scope :mentions_activerecord, :conditions => ['topics.title LIKE ?', '%ActiveRecord%']
5
+ scope :mentions_activerecord, :conditions => ['topics.title LIKE ?', '%ActiveRecord%']
6
6
 
7
- named_scope :with_replies_starting_with, lambda { |text|
7
+ scope :with_replies_starting_with, lambda { |text|
8
8
  { :conditions => "replies.content LIKE '#{text}%' ", :include => :replies }
9
9
  }
10
10
 
11
- named_scope :mentions_activerecord_with_replies, includes(:replies).mentions_activerecord
12
- named_scope :by_title_with_replies, lambda {|title| includes(:replies).where('topics.title like ?', title) }
11
+ scope :mentions_activerecord_with_replies, includes(:replies).mentions_activerecord
12
+ scope :by_title_with_replies, lambda {|title| includes(:replies).where('topics.title like ?', title) }
13
13
 
14
- named_scope :join_replies_by_string, joins('inner join replies on topics.id = replies.topic_id')
15
- named_scope :join_replies_by_string_and_author, join_replies_by_string.joins(:author)
16
- named_scope :join_replies_by_string_and_author_lambda, join_replies_by_string.joins(:author)
17
- named_scope :select_only_id, select('id as super_duper_id').includes(:replies)
18
- named_scope :first_four_sorted_by_date, order('id ASC').order('created_at DESC').limit(4)
14
+ scope :join_replies_by_string, joins('inner join replies on topics.id = replies.topic_id')
15
+ scope :join_replies_by_string_and_author, join_replies_by_string.joins(:author)
16
+ scope :join_replies_by_string_and_author_lambda, join_replies_by_string.joins(:author)
17
+ scope :select_only_id, select('id as super_duper_id').includes(:replies)
18
+ scope :first_four_sorted_by_date, order('id ASC').order('created_at DESC').limit(4)
19
19
  end
@@ -4,7 +4,7 @@ futurama:
4
4
  title: Isnt futurama awesome?
5
5
  subtitle: It really is, isnt it.
6
6
  content: I like futurama
7
- created_at: <%= 1.day.ago.to_s(:db) %>
7
+ created_at: <%= 1.day.ago.utc.iso8601 %>
8
8
  updated_at:
9
9
 
10
10
  harvey_birdman:
@@ -13,7 +13,7 @@ harvey_birdman:
13
13
  title: Harvey Birdman is the king of all men
14
14
  subtitle: yup
15
15
  content: He really is
16
- created_at: <%= 2.hours.ago.to_s(:db) %>
16
+ created_at: <%= 2.hours.ago.utc.iso8601 %>
17
17
  updated_at:
18
18
 
19
19
  rails:
@@ -22,11 +22,11 @@ rails:
22
22
  title: Rails is nice
23
23
  subtitle: It makes me happy
24
24
  content: except when I have to hack internals to fix pagination. even then really.
25
- created_at: <%= 20.minutes.ago.to_s(:db) %>
25
+ created_at: <%= 20.minutes.ago.utc.iso8601 %>
26
26
 
27
27
  ar:
28
28
  id: 4
29
29
  author_id: 1
30
30
  title: ActiveRecord sometimes freaks me out
31
31
  content: "I mean, what's the deal with eager loading?"
32
- created_at: <%= 15.minutes.ago.to_s(:db) %>
32
+ created_at: <%= 15.minutes.ago.utc.iso8601 %>
metadata CHANGED
@@ -1,151 +1,152 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fake_arel
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 3
9
- - 4
10
- version: 1.3.4
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Grant Ammons
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-09-16 00:00:00 -04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activerecord
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
25
19
  - - ~>
26
- - !ruby/object:Gem::Version
27
- hash: 21
28
- segments:
29
- - 2
30
- - 3
31
- - 11
20
+ - !ruby/object:Gem::Version
32
21
  version: 2.3.11
33
22
  type: :runtime
34
- name: activerecord
35
- version_requirements: *id001
36
23
  prerelease: false
37
- - !ruby/object:Gem::Dependency
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
47
- type: :development
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.3.11
30
+ - !ruby/object:Gem::Dependency
48
31
  name: bundler
49
- version_requirements: *id002
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
50
39
  prerelease: false
51
- - !ruby/object:Gem::Dependency
52
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
53
41
  none: false
54
- requirements:
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: jeweler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
55
51
  - - ~>
56
- - !ruby/object:Gem::Version
57
- hash: 7
58
- segments:
59
- - 1
60
- - 6
61
- - 4
52
+ - !ruby/object:Gem::Version
62
53
  version: 1.6.4
63
54
  type: :development
64
- name: jeweler
65
- version_requirements: *id003
66
55
  prerelease: false
67
- - !ruby/object:Gem::Dependency
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
77
- type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.6.4
62
+ - !ruby/object:Gem::Dependency
78
63
  name: rcov
79
- version_requirements: *id004
80
- prerelease: false
81
- - !ruby/object:Gem::Dependency
82
- requirement: &id005 !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
- version: "0"
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
91
70
  type: :development
92
- name: ruby-debug
93
- version_requirements: *id005
94
71
  prerelease: false
95
- - !ruby/object:Gem::Dependency
96
- requirement: &id006 !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- hash: 3
102
- segments:
103
- - 0
104
- version: "0"
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: ruby-debug
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
105
86
  type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
106
95
  name: pry
107
- version_requirements: *id006
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
108
103
  prerelease: false
109
- - !ruby/object:Gem::Dependency
110
- requirement: &id007 !ruby/object:Gem::Requirement
111
- none: false
112
- requirements:
113
- - - "="
114
- - !ruby/object:Gem::Version
115
- hash: 25
116
- segments:
117
- - 1
118
- - 3
119
- - 1
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rspec
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
120
117
  version: 1.3.1
121
118
  type: :development
122
- name: rspec
123
- version_requirements: *id007
124
119
  prerelease: false
125
- - !ruby/object:Gem::Dependency
126
- requirement: &id008 !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- hash: 3
132
- segments:
133
- - 0
134
- version: "0"
135
- type: :development
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 1.3.1
126
+ - !ruby/object:Gem::Dependency
136
127
  name: sqlite3-ruby
137
- version_requirements: *id008
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
138
135
  prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
139
142
  description: fake_arel will simulate rails 3 arel syntax for Rails 2.
140
143
  email: grant@pipelinedealsco.com
141
144
  executables: []
142
-
143
145
  extensions: []
144
-
145
- extra_rdoc_files:
146
+ extra_rdoc_files:
146
147
  - LICENSE.txt
147
148
  - README.md
148
- files:
149
+ files:
149
150
  - Gemfile
150
151
  - Gemfile.lock
151
152
  - History.txt
@@ -176,39 +177,32 @@ files:
176
177
  - spec/spec.opts
177
178
  - spec/spec_helper.rb
178
179
  - tasks/rspec.rake
179
- has_rdoc: true
180
180
  homepage: http://github.com/gammons/fake_arel
181
- licenses:
181
+ licenses:
182
182
  - MIT
183
183
  post_install_message:
184
184
  rdoc_options: []
185
-
186
- require_paths:
185
+ require_paths:
187
186
  - lib
188
- required_ruby_version: !ruby/object:Gem::Requirement
187
+ required_ruby_version: !ruby/object:Gem::Requirement
189
188
  none: false
190
- requirements:
191
- - - ">="
192
- - !ruby/object:Gem::Version
193
- hash: 3
194
- segments:
189
+ requirements:
190
+ - - ! '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ segments:
195
194
  - 0
196
- version: "0"
197
- required_rubygems_version: !ruby/object:Gem::Requirement
195
+ hash: 3633317675981731964
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
197
  none: false
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- hash: 3
203
- segments:
204
- - 0
205
- version: "0"
198
+ requirements:
199
+ - - ! '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
206
202
  requirements: []
207
-
208
203
  rubyforge_project:
209
- rubygems_version: 1.6.2
204
+ rubygems_version: 1.8.25
210
205
  signing_key:
211
206
  specification_version: 3
212
- summary: "fake_arel: a Rails 3 query interface to Rails 2"
207
+ summary: ! 'fake_arel: a Rails 3 query interface to Rails 2'
213
208
  test_files: []
214
-