ruby-box 1.3.0 → 1.3.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
- MmFhODFkOWNiMGFhOTkwN2QwNmFlYTY5Y2I2OTk4NGU1NDcwZmM5Mw==
4
+ ODVlNDQyNDAxY2U0Y2VjODkwMDczYWFhMjkxMjg1OTc2NGMxY2VlNQ==
5
5
  data.tar.gz: !binary |-
6
- Y2Y1NzM1MjQzZDk5ZDJlZTBhZGRiMWEyMmNiMDBmZTA3YmZkNzhlYw==
6
+ MTQzZWFmMjg3N2U4NjkxMmY5NGRmY2EzNjFkNTI1ODc5ODRhNzM0MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGQxZWNkNzhmMDQ0ZGUzYWEwM2JkMzE5Y2ZiNWFiMWI3MTkyZTk3ZGVkODM5
10
- Nzk4ZDNlMWI5N2M3ODY3ODE0YzViZWViMDFmOWViN2NhNzdhMGUyZjA4MTBl
11
- ZWIzY2MzNDgwMTJkNmMwOTJjZTY1ZjBkYzU0OTg1MzNjZGVjMjA=
9
+ NWEwMTRiZjJiNWM1YTliN2NlZjBkYzNkNzNjODBiM2U0MWMwNzUwOTljZWM2
10
+ MzNkZDllZDFlOTlkZDUyYWNkMDlmYTgxYTE3YmJmMmM0OTcxNzQ5OTFmOWQz
11
+ NDdjN2Q1MDRhNTg1MTNkYTRkZTc4ODM5ODg1MjZkYjE3YWQwNGQ=
12
12
  data.tar.gz: !binary |-
13
- MzE4MDEwOWIzZjBiMzhjMjU3NjI5OWNlZjljZGY0N2M5ZDA2Y2I1MDQyODhh
14
- NGUwOTQyYmI4MGM3ZWRkM2RjNzFhMzhiYzljMmRhZGMwMmNmZGRhYzBiN2Ez
15
- MzdmZWRmOWQ2NTFjMTZhZGE0NWJkOWJiODA5ZTViNTYwY2YxYzQ=
13
+ MjJkMjRmMDFmMjc3YTk4YjlkYTRhYjNjMGY2ZmJkYTE3N2VmYjljZmY5MTRj
14
+ MjJiZTY2OWUxMDU4OGJlYjA4YmRjMGMwNjdhYjA0NjczYWU2NWFmNTRlMzhl
15
+ NTg0ZWJhNTk1YzQ3M2MzMmNhNjEzYzhkNzc2YTdmN2UwODg4NWI=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
data/lib/ruby-box/item.rb CHANGED
@@ -73,7 +73,7 @@ module RubyBox
73
73
  protected
74
74
 
75
75
  def self.factory(session, entry)
76
- type = entry['type'].capitalize.to_sym
76
+ type = entry['type'] ? entry['type'].capitalize.to_sym : nil
77
77
  if RubyBox.constants.include? type
78
78
  RubyBox.const_get(type).new(session, entry)
79
79
  else
data/ruby-box.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-box"
8
- s.version = "1.3.0"
8
+ s.version = "1.3.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"]
12
- s.date = "2013-06-05"
12
+ s.date = "2013-06-19"
13
13
  s.description = "ruby gem for box.com 2.0 api"
14
14
  s.email = "ben@attachments.me"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-box
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Attachments.me
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-05 00:00:00.000000000 Z
11
+ date: 2013-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post
@@ -174,3 +174,4 @@ signing_key:
174
174
  specification_version: 4
175
175
  summary: ruby gem for box.com 2.0 api
176
176
  test_files: []
177
+ has_rdoc: