rmb 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -12,6 +12,7 @@ group :development, :test do
12
12
  gem "echoe"
13
13
  gem "rake"
14
14
  gem "rspec", "1.3.0"
15
+ gem "test-unit", "1.2.3"
15
16
  gem "diff-lcs"
16
17
  gem "fakeweb"
17
18
  end
@@ -1,3 +1,6 @@
1
+ === 3.0.1 / 2010-10-14
2
+ * Extract RMB gem
3
+
1
4
  === 3.0 / 2010-09-21
2
5
 
3
6
  * Bump httparty requirement to 0.6.
@@ -2,6 +2,9 @@
2
2
 
3
3
  = RMB API library for Ruby
4
4
 
5
+ Installation:
6
+ (sudo) gem install rmb
7
+
5
8
  Documentation for this library is available here: http://backbonedocs.drop.io/Ruby-API-Client-Library
6
9
 
7
10
  Before using the Rmb library, the application must set an API key. This key will be used for all requests to the server. To get an API key, go to http://backbone.drop.io. Then make sure you set the API key before you use the API:
@@ -1,3 +1,3 @@
1
1
  module Rmb
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rmb}
5
- s.version = "3.0.0"
5
+ s.version = "3.0.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jake Good, Eric Skiff, Kunal Shah, Seth Thomas Rasmussen, Matthew Rathbone", "Bryan Woods"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Dropio", "--main", "Readme.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{rmb}
18
- s.rubygems_version = %q{1.3.6}
18
+ s.rubygems_version = %q{1.3.7}
19
19
  s.summary = %q{A Ruby client library for the Drop.io Rich Media Backbone (RMB) API (http://rmb.io)}
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  s.add_runtime_dependency(%q<multipart-post>, ["= 1.0.1"])
29
29
  s.add_runtime_dependency(%q<activesupport>, ["= 2.3.9"])
30
30
  s.add_development_dependency(%q<rspec>, [">= 0"])
31
+ s.add_development_dependency(%q<test-unit>, ["= 1.2.3"])
31
32
  s.add_development_dependency(%q<diff-lcs>, [">= 0"])
32
33
  s.add_development_dependency(%q<fakeweb>, [">= 0"])
33
34
  else
@@ -37,6 +38,7 @@ Gem::Specification.new do |s|
37
38
  s.add_dependency(%q<multipart-post>, ["= 1.0.1"])
38
39
  s.add_runtime_dependency(%q<activesupport>, ["= 2.3.9"])
39
40
  s.add_dependency(%q<rspec>, [">= 0"])
41
+ s.add_development_dependency(%q<test-unit>, ["= 1.2.3"])
40
42
  s.add_dependency(%q<diff-lcs>, [">= 0"])
41
43
  s.add_dependency(%q<fakeweb>, [">= 0"])
42
44
  end
@@ -47,6 +49,7 @@ Gem::Specification.new do |s|
47
49
  s.add_dependency(%q<multipart-post>, ["= 1.0.1"])
48
50
  s.add_runtime_dependency(%q<activesupport>, ["= 2.3.9"])
49
51
  s.add_dependency(%q<rspec>, [">= 0"])
52
+ s.add_development_dependency(%q<test-unit>, ["= 1.2.3"])
50
53
  s.add_dependency(%q<diff-lcs>, [">= 0"])
51
54
  s.add_dependency(%q<fakeweb>, [">= 0"])
52
55
  end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Rmb::Asset do
4
4
  before(:each) do
@@ -18,9 +18,9 @@ describe Rmb::Asset do
18
18
  end
19
19
 
20
20
  it "should have the attributes of an Asset" do
21
- @asset.should respond_to(:drop, :name, :type, :title, :description, :filesize, :created_at,
21
+ @asset.should respond_to(:id, :drop, :name, :type, :title, :description, :filesize, :created_at,
22
22
  :status, :pages, :duration, :artist,
23
- :track_title, :height, :width, :contents, :url)
23
+ :track_title, :height, :width, :contents, :url, :roles, :locations)
24
24
  end
25
25
 
26
26
  it "should save itself" do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper.rb'
1
+ require 'spec_helper.rb'
2
2
 
3
3
  describe Drop do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper.rb'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Rmb do
4
4
  it "should store the API key" do
@@ -27,4 +27,4 @@ describe Rmb do
27
27
  end
28
28
  end
29
29
  end
30
- end
30
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
4
  prerelease: false
6
5
  segments:
7
6
  - 3
8
7
  - 0
9
- - 0
10
- version: 3.0.0
8
+ - 1
9
+ version: 3.0.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Jake Good, Eric Skiff, Kunal Shah, Seth Thomas Rasmussen, Matthew Rathbone
@@ -27,7 +26,6 @@ dependencies:
27
26
  requirements:
28
27
  - - ">="
29
28
  - !ruby/object:Gem::Version
30
- hash: 3
31
29
  segments:
32
30
  - 0
33
31
  version: "0"
@@ -41,7 +39,6 @@ dependencies:
41
39
  requirements:
42
40
  - - ">="
43
41
  - !ruby/object:Gem::Version
44
- hash: 3
45
42
  segments:
46
43
  - 0
47
44
  version: "0"
@@ -55,7 +52,6 @@ dependencies:
55
52
  requirements:
56
53
  - - "="
57
54
  - !ruby/object:Gem::Version
58
- hash: 5
59
55
  segments:
60
56
  - 0
61
57
  - 6
@@ -71,7 +67,6 @@ dependencies:
71
67
  requirements:
72
68
  - - "="
73
69
  - !ruby/object:Gem::Version
74
- hash: 21
75
70
  segments:
76
71
  - 1
77
72
  - 0
@@ -87,7 +82,6 @@ dependencies:
87
82
  requirements:
88
83
  - - "="
89
84
  - !ruby/object:Gem::Version
90
- hash: 17
91
85
  segments:
92
86
  - 2
93
87
  - 3
@@ -103,40 +97,52 @@ dependencies:
103
97
  requirements:
104
98
  - - ">="
105
99
  - !ruby/object:Gem::Version
106
- hash: 3
107
100
  segments:
108
101
  - 0
109
102
  version: "0"
110
103
  type: :development
111
104
  version_requirements: *id006
112
105
  - !ruby/object:Gem::Dependency
113
- name: diff-lcs
106
+ name: test-unit
114
107
  prerelease: false
115
108
  requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - "="
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 1
115
+ - 2
116
+ - 3
117
+ version: 1.2.3
118
+ type: :development
119
+ version_requirements: *id007
120
+ - !ruby/object:Gem::Dependency
121
+ name: diff-lcs
122
+ prerelease: false
123
+ requirement: &id008 !ruby/object:Gem::Requirement
116
124
  none: false
117
125
  requirements:
118
126
  - - ">="
119
127
  - !ruby/object:Gem::Version
120
- hash: 3
121
128
  segments:
122
129
  - 0
123
130
  version: "0"
124
131
  type: :development
125
- version_requirements: *id007
132
+ version_requirements: *id008
126
133
  - !ruby/object:Gem::Dependency
127
134
  name: fakeweb
128
135
  prerelease: false
129
- requirement: &id008 !ruby/object:Gem::Requirement
136
+ requirement: &id009 !ruby/object:Gem::Requirement
130
137
  none: false
131
138
  requirements:
132
139
  - - ">="
133
140
  - !ruby/object:Gem::Version
134
- hash: 3
135
141
  segments:
136
142
  - 0
137
143
  version: "0"
138
144
  type: :development
139
- version_requirements: *id008
145
+ version_requirements: *id009
140
146
  description: A Ruby client library for the Rich Media Backbone (RMB) API (http://rmb.io). Please send all feedback to backbone@dropio.com
141
147
  email:
142
148
  - jake@dropio.com
@@ -196,7 +202,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
202
  requirements:
197
203
  - - ">="
198
204
  - !ruby/object:Gem::Version
199
- hash: 3
200
205
  segments:
201
206
  - 0
202
207
  version: "0"
@@ -205,7 +210,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
210
  requirements:
206
211
  - - ">="
207
212
  - !ruby/object:Gem::Version
208
- hash: 11
209
213
  segments:
210
214
  - 1
211
215
  - 2