parse-ruby-client 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -0
- data/Gemfile.lock +2 -0
- data/VERSION +1 -1
- data/lib/{parse.rb → parse-ruby-client.rb} +4 -0
- data/lib/parse/protocol.rb +1 -0
- data/lib/parse/query.rb +1 -1
- data/parse-ruby-client.gemspec +6 -2
- data/pkg/parse-ruby-client-0.0.1.gem +0 -0
- data/test/helper.rb +1 -1
- data/test/test_client.rb +7 -0
- metadata +23 -11
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
@@ -5,6 +5,8 @@
|
|
5
5
|
## See https://parse.com/docs/rest for full documentation on the API.
|
6
6
|
##
|
7
7
|
## ----------------------------------------------------------------------
|
8
|
+
require "rubygems"
|
9
|
+
require "bundler/setup"
|
8
10
|
|
9
11
|
require 'json'
|
10
12
|
require 'patron'
|
@@ -17,3 +19,5 @@ $:.unshift(cwd.to_s) unless $:.include?(cwd.to_s) || $:.include?(cwd.expand_path
|
|
17
19
|
require 'parse/object'
|
18
20
|
require 'parse/query'
|
19
21
|
require 'parse/datatypes'
|
22
|
+
require 'parse/util'
|
23
|
+
require 'parse/protocol'
|
data/lib/parse/protocol.rb
CHANGED
@@ -44,6 +44,7 @@ module Parse
|
|
44
44
|
# The JSON key used in the top-level response object
|
45
45
|
# to indicate that the response contains an array of objects.
|
46
46
|
RESPONSE_KEY_RESULTS = "results"
|
47
|
+
KEY_RESULTS = RESPONSE_KEY_RESULTS
|
47
48
|
|
48
49
|
# The JSON key used to identify an operator in the increment/decrement
|
49
50
|
# API call.
|
data/lib/parse/query.rb
CHANGED
data/parse-ruby-client.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "parse-ruby-client"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Alan deLevie", "Adam Alpern"]
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
"Rakefile",
|
25
25
|
"VERSION",
|
26
26
|
"example.rb",
|
27
|
-
"lib/parse.rb",
|
27
|
+
"lib/parse-ruby-client.rb",
|
28
28
|
"lib/parse/client.rb",
|
29
29
|
"lib/parse/datatypes.rb",
|
30
30
|
"lib/parse/error.rb",
|
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
"pkg/parse-ruby-client-1-0.0.1.gem",
|
38
38
|
"pkg/parse-ruby-client.gem",
|
39
39
|
"test/helper.rb",
|
40
|
+
"test/test_client.rb",
|
40
41
|
"test/test_parse-ruby-client.rb"
|
41
42
|
]
|
42
43
|
s.homepage = "http://github.com/adelevie/parse-ruby-client"
|
@@ -49,17 +50,20 @@ Gem::Specification.new do |s|
|
|
49
50
|
s.specification_version = 3
|
50
51
|
|
51
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
+
s.add_runtime_dependency(%q<patron>, [">= 0"])
|
52
54
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
53
55
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
54
56
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
55
57
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
56
58
|
else
|
59
|
+
s.add_dependency(%q<patron>, [">= 0"])
|
57
60
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
58
61
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
62
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
60
63
|
s.add_dependency(%q<rcov>, [">= 0"])
|
61
64
|
end
|
62
65
|
else
|
66
|
+
s.add_dependency(%q<patron>, [">= 0"])
|
63
67
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
64
68
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
65
69
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
Binary file
|
data/test/helper.rb
CHANGED
data/test/test_client.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parse-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,9 +12,20 @@ bindir: bin
|
|
12
12
|
cert_chain: []
|
13
13
|
date: 2012-02-05 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: patron
|
17
|
+
requirement: &70137258765420 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70137258765420
|
15
26
|
- !ruby/object:Gem::Dependency
|
16
27
|
name: shoulda
|
17
|
-
requirement: &
|
28
|
+
requirement: &70137258764800 !ruby/object:Gem::Requirement
|
18
29
|
none: false
|
19
30
|
requirements:
|
20
31
|
- - ! '>='
|
@@ -22,10 +33,10 @@ dependencies:
|
|
22
33
|
version: '0'
|
23
34
|
type: :development
|
24
35
|
prerelease: false
|
25
|
-
version_requirements: *
|
36
|
+
version_requirements: *70137258764800
|
26
37
|
- !ruby/object:Gem::Dependency
|
27
38
|
name: bundler
|
28
|
-
requirement: &
|
39
|
+
requirement: &70137258740360 !ruby/object:Gem::Requirement
|
29
40
|
none: false
|
30
41
|
requirements:
|
31
42
|
- - ~>
|
@@ -33,10 +44,10 @@ dependencies:
|
|
33
44
|
version: 1.0.0
|
34
45
|
type: :development
|
35
46
|
prerelease: false
|
36
|
-
version_requirements: *
|
47
|
+
version_requirements: *70137258740360
|
37
48
|
- !ruby/object:Gem::Dependency
|
38
49
|
name: jeweler
|
39
|
-
requirement: &
|
50
|
+
requirement: &70137258739700 !ruby/object:Gem::Requirement
|
40
51
|
none: false
|
41
52
|
requirements:
|
42
53
|
- - ~>
|
@@ -44,10 +55,10 @@ dependencies:
|
|
44
55
|
version: 1.6.4
|
45
56
|
type: :development
|
46
57
|
prerelease: false
|
47
|
-
version_requirements: *
|
58
|
+
version_requirements: *70137258739700
|
48
59
|
- !ruby/object:Gem::Dependency
|
49
60
|
name: rcov
|
50
|
-
requirement: &
|
61
|
+
requirement: &70137258738920 !ruby/object:Gem::Requirement
|
51
62
|
none: false
|
52
63
|
requirements:
|
53
64
|
- - ! '>='
|
@@ -55,7 +66,7 @@ dependencies:
|
|
55
66
|
version: '0'
|
56
67
|
type: :development
|
57
68
|
prerelease: false
|
58
|
-
version_requirements: *
|
69
|
+
version_requirements: *70137258738920
|
59
70
|
description: A simple Ruby client for the parse.com REST API
|
60
71
|
email: adelevie@gmail.com
|
61
72
|
executables: []
|
@@ -71,7 +82,7 @@ files:
|
|
71
82
|
- Rakefile
|
72
83
|
- VERSION
|
73
84
|
- example.rb
|
74
|
-
- lib/parse.rb
|
85
|
+
- lib/parse-ruby-client.rb
|
75
86
|
- lib/parse/client.rb
|
76
87
|
- lib/parse/datatypes.rb
|
77
88
|
- lib/parse/error.rb
|
@@ -84,6 +95,7 @@ files:
|
|
84
95
|
- pkg/parse-ruby-client-1-0.0.1.gem
|
85
96
|
- pkg/parse-ruby-client.gem
|
86
97
|
- test/helper.rb
|
98
|
+
- test/test_client.rb
|
87
99
|
- test/test_parse-ruby-client.rb
|
88
100
|
homepage: http://github.com/adelevie/parse-ruby-client
|
89
101
|
licenses:
|
@@ -100,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
112
|
version: '0'
|
101
113
|
segments:
|
102
114
|
- 0
|
103
|
-
hash: -
|
115
|
+
hash: -1562453630510493430
|
104
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
117
|
none: false
|
106
118
|
requirements:
|