dropbox-sdk 1.6 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/dropbox_sdk.rb +2 -2
  3. metadata +35 -49
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 1.6.1 (2013-07-08)
2
+ * Fixed syntax error (Ruby 1.8.7 didn't mind, but Ruby 1.9 did).
3
+
1
4
  1.6 (2013-07-07)
2
5
  * Added OAuth 2 support (DropboxOAuth2Flow). OAuth 1 still works.
3
6
  * Fixed many minor bugs.
@@ -14,7 +14,7 @@ module Dropbox # :nodoc:
14
14
  WEB_SERVER = "www.dropbox.com"
15
15
 
16
16
  API_VERSION = 1
17
- SDK_VERSION = "1.6"
17
+ SDK_VERSION = "1.6.1"
18
18
 
19
19
  TRUSTED_CERT_FILE = File.join(File.dirname(__FILE__), 'trusted-certs.crt')
20
20
 
@@ -402,7 +402,7 @@ class DropboxOAuth2FlowBase # :nodoc:
402
402
  raise DropboxError.new("Bad response from /token: field \"#{k}\" is not a string.")
403
403
  end
404
404
  }
405
- if j["token_type"] != "bearer" and j["token_type"] != "Bearer":
405
+ if j["token_type"] != "bearer" and j["token_type"] != "Bearer"
406
406
  raise DropboxError.new("Bad response from /token: \"token_type\" is \"#{token_type}\".")
407
407
  end
408
408
 
metadata CHANGED
@@ -1,45 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dropbox-sdk
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 6
9
- version: "1.6"
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Dropbox, Inc.
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2013-07-08 00:00:00 Z
18
- dependencies:
19
- - !ruby/object:Gem::Dependency
12
+ date: 2013-07-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
20
15
  name: json
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
23
17
  none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
- version_requirements: *id001
33
- description: " A library that provides a plain function-call interface to the\n Dropbox API web endpoints.\n"
34
- email:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ! " A library that provides a plain function-call interface to
31
+ the\n Dropbox API web endpoints.\n"
32
+ email:
35
33
  - support-api@dropbox.com
36
34
  executables: []
37
-
38
35
  extensions: []
39
-
40
36
  extra_rdoc_files: []
41
-
42
- files:
37
+ files:
43
38
  - CHANGELOG
44
39
  - LICENSE
45
40
  - README
@@ -49,37 +44,28 @@ files:
49
44
  - lib/dropbox_sdk.rb
50
45
  - lib/trusted-certs.crt
51
46
  homepage: http://www.dropbox.com/developers/
52
- licenses:
47
+ licenses:
53
48
  - MIT
54
49
  post_install_message:
55
50
  rdoc_options: []
56
-
57
- require_paths:
51
+ require_paths:
58
52
  - lib
59
- required_ruby_version: !ruby/object:Gem::Requirement
53
+ required_ruby_version: !ruby/object:Gem::Requirement
60
54
  none: false
61
- requirements:
62
- - - ">="
63
- - !ruby/object:Gem::Version
64
- hash: 3
65
- segments:
66
- - 0
67
- version: "0"
68
- required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
60
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
77
65
  requirements: []
78
-
79
66
  rubyforge_project:
80
67
  rubygems_version: 1.8.25
81
68
  signing_key:
82
69
  specification_version: 3
83
70
  summary: Dropbox REST API Client.
84
71
  test_files: []
85
-