parse-stack 1.5.3 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/parse-ruby-sdk.png +0 -0
- data/Changes.md +25 -1
- data/Gemfile.lock +4 -4
- data/README.md +37 -31
- data/bin/console +3 -0
- data/lib/parse/api/all.rb +2 -1
- data/lib/parse/api/apps.rb +12 -0
- data/lib/parse/api/config.rb +5 -1
- data/lib/parse/api/files.rb +1 -0
- data/lib/parse/api/hooks.rb +1 -0
- data/lib/parse/api/objects.rb +4 -1
- data/lib/parse/api/push.rb +1 -0
- data/lib/parse/api/{schemas.rb → schema.rb} +7 -0
- data/lib/parse/api/server.rb +44 -0
- data/lib/parse/api/sessions.rb +1 -0
- data/lib/parse/api/users.rb +4 -1
- data/lib/parse/client.rb +109 -73
- data/lib/parse/client/authentication.rb +2 -1
- data/lib/parse/client/batch.rb +9 -1
- data/lib/parse/client/body_builder.rb +16 -1
- data/lib/parse/client/caching.rb +15 -13
- data/lib/parse/client/protocol.rb +27 -15
- data/lib/parse/client/response.rb +26 -8
- data/lib/parse/model/acl.rb +1 -1
- data/lib/parse/model/associations/belongs_to.rb +18 -19
- data/lib/parse/model/associations/collection_proxy.rb +6 -0
- data/lib/parse/model/associations/has_many.rb +5 -6
- data/lib/parse/model/bytes.rb +4 -1
- data/lib/parse/model/classes/user.rb +46 -44
- data/lib/parse/model/core/actions.rb +508 -460
- data/lib/parse/model/core/builder.rb +75 -0
- data/lib/parse/model/core/errors.rb +9 -0
- data/lib/parse/model/core/fetching.rb +42 -38
- data/lib/parse/model/core/properties.rb +46 -27
- data/lib/parse/model/core/querying.rb +231 -228
- data/lib/parse/model/core/schema.rb +76 -74
- data/lib/parse/model/date.rb +10 -2
- data/lib/parse/model/file.rb +16 -2
- data/lib/parse/model/geopoint.rb +9 -2
- data/lib/parse/model/model.rb +38 -7
- data/lib/parse/model/object.rb +60 -19
- data/lib/parse/model/pointer.rb +22 -1
- data/lib/parse/model/push.rb +6 -2
- data/lib/parse/query.rb +57 -11
- data/lib/parse/query/constraint.rb +5 -2
- data/lib/parse/query/constraints.rb +588 -589
- data/lib/parse/query/ordering.rb +2 -2
- data/lib/parse/stack.rb +1 -0
- data/lib/parse/stack/version.rb +1 -1
- data/lib/parse/webhooks.rb +30 -29
- data/lib/parse/webhooks/payload.rb +181 -168
- data/lib/parse/webhooks/registration.rb +1 -1
- data/parse-stack.gemspec +9 -9
- metadata +9 -12
data/parse-stack.gemspec
CHANGED
@@ -36,13 +36,13 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "moneta", [">= 0.7", "< 1"]
|
37
37
|
spec.add_runtime_dependency "rack", "< 3"
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
** BREAKING CHANGES **
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
UPGRADE
|
39
|
+
# spec.post_install_message = <<UPGRADE
|
40
|
+
#
|
41
|
+
# ** BREAKING CHANGES **
|
42
|
+
# The default `has_many` association form has changed from :array to :query.
|
43
|
+
# To use arrays, you must now pass `through: :array` option to `has_many`.
|
44
|
+
#
|
45
|
+
# Visit: https://github.com/modernistik/parse-stack/wiki/Changes-to-has_many-in-1.5.0
|
46
|
+
#
|
47
|
+
# UPGRADE
|
48
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parse-stack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Persaud
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -172,6 +172,7 @@ executables: []
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
+
- ".github/parse-ruby-sdk.png"
|
175
176
|
- ".gitignore"
|
176
177
|
- ".travis.yml"
|
177
178
|
- Changes.md
|
@@ -194,7 +195,8 @@ files:
|
|
194
195
|
- lib/parse/api/hooks.rb
|
195
196
|
- lib/parse/api/objects.rb
|
196
197
|
- lib/parse/api/push.rb
|
197
|
-
- lib/parse/api/
|
198
|
+
- lib/parse/api/schema.rb
|
199
|
+
- lib/parse/api/server.rb
|
198
200
|
- lib/parse/api/sessions.rb
|
199
201
|
- lib/parse/api/users.rb
|
200
202
|
- lib/parse/client.rb
|
@@ -218,6 +220,8 @@ files:
|
|
218
220
|
- lib/parse/model/classes/session.rb
|
219
221
|
- lib/parse/model/classes/user.rb
|
220
222
|
- lib/parse/model/core/actions.rb
|
223
|
+
- lib/parse/model/core/builder.rb
|
224
|
+
- lib/parse/model/core/errors.rb
|
221
225
|
- lib/parse/model/core/fetching.rb
|
222
226
|
- lib/parse/model/core/properties.rb
|
223
227
|
- lib/parse/model/core/querying.rb
|
@@ -254,14 +258,7 @@ homepage: https://github.com/modernistik/parse-stack
|
|
254
258
|
licenses:
|
255
259
|
- MIT
|
256
260
|
metadata: {}
|
257
|
-
post_install_message:
|
258
|
-
|
259
|
-
** BREAKING CHANGES **
|
260
|
-
The default `has_many` association form has changed from :array to :query.
|
261
|
-
To use arrays, you must now pass `through: :array` option to `has_many`.
|
262
|
-
|
263
|
-
Visit: https://github.com/modernistik/parse-stack/wiki/Changes-to-has_many-in-1.5.0
|
264
|
-
|
261
|
+
post_install_message:
|
265
262
|
rdoc_options: []
|
266
263
|
require_paths:
|
267
264
|
- lib
|
@@ -277,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
274
|
version: '0'
|
278
275
|
requirements: []
|
279
276
|
rubyforge_project:
|
280
|
-
rubygems_version: 2.
|
277
|
+
rubygems_version: 2.6.6
|
281
278
|
signing_key:
|
282
279
|
specification_version: 4
|
283
280
|
summary: Parse-Server Ruby Client and Relational Mapper
|