Parsistence 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -157,6 +157,17 @@ end</pre>
157
157
  <pre>
158
158
  Tree.limit(25, 10).fetchAll do |trees|
159
159
  ...
160
+ end</pre>
161
+ </td>
162
+ </tr>
163
+
164
+ <tr>
165
+ <td>in</td>
166
+ <td>Get fields where value is contained in an array of values.</td>
167
+ <td>
168
+ <pre>
169
+ Tree.in(height: [10, 15, 20, 25]).fetchAll do |trees|
170
+ ...
160
171
  end</pre>
161
172
  </td>
162
173
  </tr>
@@ -33,6 +33,8 @@ module Parsistence
33
33
  return getRelation(method)
34
34
  elsif fields.include? method
35
35
  return getField(method)
36
+ elsif self.PFObject.respond_to?("#{method}=")
37
+ return self.PFObject.send("#{method}=", *args, &block)
36
38
  elsif self.PFObject.respond_to?(method)
37
39
  return self.PFObject.send(method, *args, &block)
38
40
  else
@@ -1,3 +1,3 @@
1
1
  module Parsistence
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,27 +1,37 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: Parsistence
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 4
10
+ version: 0.3.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jamon Holmgren
9
14
  - Silas J. Matson
10
15
  - Alan deLevie
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2012-10-10 00:00:00.000000000 Z
19
+
20
+ date: 2012-10-11 00:00:00 Z
15
21
  dependencies: []
22
+
16
23
  description: Your models on RubyMotion and Parse in a persistence.js style pattern.
17
- email:
24
+ email:
18
25
  - jamon@clearsightstudio.com
19
26
  - silas@clearsightstudio.com
20
27
  - adelevie@gmail.com
21
28
  executables: []
29
+
22
30
  extensions: []
31
+
23
32
  extra_rdoc_files: []
24
- files:
33
+
34
+ files:
25
35
  - .gitignore
26
36
  - Gemfile
27
37
  - Parsistence.gemspec
@@ -35,27 +45,36 @@ files:
35
45
  - lib/Parsistence/version.rb
36
46
  homepage: https://github.com/clearsightstudio/Parsistence
37
47
  licenses: []
48
+
38
49
  post_install_message:
39
50
  rdoc_options: []
40
- require_paths:
51
+
52
+ require_paths:
41
53
  - lib
42
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
43
55
  none: false
44
- requirements:
45
- - - ! '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
64
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
54
72
  requirements: []
73
+
55
74
  rubyforge_project: Parsistence
56
- rubygems_version: 1.8.22
75
+ rubygems_version: 1.8.24
57
76
  signing_key:
58
77
  specification_version: 3
59
78
  summary: Your models on RubyMotion and Parse in a persistence.js style pattern.
60
79
  test_files: []
61
- has_rdoc:
80
+