ruby-box 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjMyZTQ5ZjBiOTU5NWI0YWM0YTY3MjY2MGQ1NjIyOTIxNmExZWFmZQ==
4
+ YWMyYTY1ZGRhNjVjODI1YTc5OWZhMzBmODBlNjhlOGI4ZTI4MGYzZA==
5
5
  data.tar.gz: !binary |-
6
- OTI5MzI1N2IwM2NjOTUxZjEwYmI5NGM2NWEzOTc5YTY3MTRhNjI2ZQ==
6
+ ZDRhMGEwNWMwYjY5MzViODY0MTIxMDJiZDYzYTljMjZkYjhmYjg4MA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTI2OTUwMTQ1YWM5MGMzNTZjMjlhYzhiYjE1MWJjOTI1MWQ2NTg5Yzg2NzQ0
10
- NzE0MGQwN2EwMDIyNDI2OTA4ZTQ4MWU1NGFiNzM5OWFjYWZjMjkzZjFkM2Zk
11
- NmNkNzY3MGRmZWYzOTUzYzI3MTMzODcwYTA2ZWJkYjg3M2E5MGY=
9
+ MTg5MzA1MjFkZWE3ZmM0YjlmMjk1OWYzMTE3NTA2YzJmOWY2NjYzYTYxZTRi
10
+ NDU2MzIyNWJhYjFlNmI3NmM2NzFmODczYzFkZjlkM2Y2YjA0M2I3ZTNkMjZj
11
+ MDY1MzNlNjY1MTRkN2U2NTY5MTg5NTM5MDA5Mjg5NTE5YzM2Mjk=
12
12
  data.tar.gz: !binary |-
13
- MjUxNzdjNDk5NTZiMGYyZTRkNGVhY2E5ZTRmNTI1ZThlOWFhYmFiNDFiNzU3
14
- Y2RjMGM5ZDlkNTQyOTQxM2NiODA0Y2U0MzNkOGU2ODkwNzQ0ODAwYWM1MTEz
15
- YWMyNjRjOGE3YzFlODhjZTY5MjQ2NjkwZDIyYjMwNTk1ZGMwYTA=
13
+ ZjI2ZThhNzI2YjUzZTMzOGJiMzFjYjEyMjFkZTJmY2U1MzFmNGJiNDM1YTMy
14
+ NTA2YzIzZGQyMzg4OTczOTZiNTljMzE0MTVmMDNkZWVmMTE3OWQyYTdhYjY4
15
+ ZWE3MTRmYmI2NWNmYTBjYWNiZmUxNWFkYjM2MzgwYmNmMDUyNTg=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.10.1
data/lib/ruby-box/item.rb CHANGED
@@ -115,6 +115,10 @@ module RubyBox
115
115
  RubyBox::Item.factory(@session, @raw_item['shared_link'].merge('type' => 'shared_link'))
116
116
  end
117
117
 
118
+ def as_json(opts={})
119
+ @raw_item
120
+ end
121
+
118
122
  protected
119
123
 
120
124
  def self.factory(session, entry)
@@ -130,10 +134,6 @@ module RubyBox
130
134
  false
131
135
  end
132
136
 
133
- def as_json(opts={})
134
- @raw_item
135
- end
136
-
137
137
  private
138
138
 
139
139
  def many(key)
@@ -58,6 +58,7 @@ module RubyBox
58
58
  http = Net::HTTP.new(uri.host, uri.port)
59
59
  http.use_ssl = true
60
60
  http.ssl_version = :SSLv3
61
+ #http.set_debug_output($stdout)
61
62
 
62
63
  if @access_token
63
64
  request.add_field('Authorization', "Bearer #{@access_token.token}")
data/ruby-box.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-box"
8
- s.version = "1.10.0"
8
+ s.version = "1.10.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Attachments.me"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-box
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Attachments.me