parse-ruby-client 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.13
1
+ 0.1.14
@@ -77,18 +77,19 @@ module Parse
77
77
  num_tries += 1
78
78
 
79
79
  if @queue
80
- while true
81
- if @queue.reload.size >= @max_concurrent_requests
82
- sleep 1
83
- else
80
+
81
+ #while true
82
+ # if @queue.reload.size >= @max_concurrent_requests
83
+ # sleep 1
84
+ # else
84
85
  # add to queue before request
85
86
  @queue.post("1")
86
87
  response = @session.request(method, uri, {}, options)
87
88
  # delete from queue after request
88
89
  msg = @queue.get()
89
90
  msg.delete
90
- end
91
- end
91
+ # end
92
+ #end
92
93
  else
93
94
  response = @session.request(method, uri, {}, options)
94
95
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parse-ruby-client"
8
- s.version = "0.1.13"
8
+ s.version = "0.1.14"
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"]
@@ -83,6 +83,7 @@ Gem::Specification.new do |s|
83
83
  "test/test_object.rb",
84
84
  "test/test_push.rb",
85
85
  "test/test_query.rb",
86
+ "test/test_throttle.rb",
86
87
  "test/test_user.rb"
87
88
  ]
88
89
  s.homepage = "http://github.com/adelevie/parse-ruby-client"
@@ -15,13 +15,13 @@ class TestObject < Test::Unit::TestCase
15
15
  end
16
16
 
17
17
  def test_object_id
18
- VCR.use_cassette('test_object_id', :record => :new_episodes) do
18
+ #VCR.use_cassette('test_object_id', :record => :new_episodes) do
19
19
  post = Parse::Object.new "Post"
20
20
  assert_equal post.id, nil
21
21
  post["title"] = "hello world"
22
22
  post.save
23
23
  assert_equal post.id.class, String
24
- end
24
+ #end
25
25
  end
26
26
 
27
27
  def test_pointer
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ Parse.init
4
+
5
+ class TestQuery < Test::Unit::TestCase
6
+
7
+ end
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.1.13
4
+ version: 0.1.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -246,6 +246,7 @@ files:
246
246
  - test/test_object.rb
247
247
  - test/test_push.rb
248
248
  - test/test_query.rb
249
+ - test/test_throttle.rb
249
250
  - test/test_user.rb
250
251
  homepage: http://github.com/adelevie/parse-ruby-client
251
252
  licenses:
@@ -262,7 +263,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
262
263
  version: '0'
263
264
  segments:
264
265
  - 0
265
- hash: 202729299205714675
266
+ hash: 3900307414852475106
266
267
  required_rubygems_version: !ruby/object:Gem::Requirement
267
268
  none: false
268
269
  requirements: