Parsistence 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,6 @@ module Parsistence
66
66
 
67
67
  def createQuery
68
68
  query = PFQuery.queryWithClassName(self.klass.to_s)
69
- $stderr.puts @includes
70
69
  @includes.each do |include|
71
70
  query.includeKey(include)
72
71
  end
@@ -98,12 +97,10 @@ module Parsistence
98
97
  first = true
99
98
  @order.each do |field, direction|
100
99
  if first
101
- # $stderr.puts "Setting order first"
102
100
  query.orderByAscending(field) if direction && direction == :asc
103
101
  query.orderByDescending(field) if direction && direction == :desc
104
102
  first = false
105
103
  else
106
- # $stderr.puts "Setting order again"
107
104
  query.addAscendingOrder(field) if direction && direction == :asc
108
105
  query.addDescendingOrder(field) if direction && direction == :desc
109
106
  end
@@ -1,3 +1,3 @@
1
1
  module Parsistence
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Parsistence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: