ruby-box 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/ruby-box.gemspec +2 -3
- data/spec/integration_spec.rb +11 -0
- metadata +2 -3
- data/spec/fixtures//351/201/240/345/277/227/346/225/231/346/216/210.jpg +0 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Njk0MDYwM2Y2MjVmZDIwZjg3ZGZmZjE3ODEyM2FlNGY0NGI0ZmI4MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmM3NGM4OTBkMzBiYjk2MWZkMGMwOTExNWIyODkwMGM1NjFmOWM4MQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTE1YjFhYTRkYWFlMTk4YWZkNjkxZDY2ZmU3MWFkNjRmMDk3NTA2MTI1OWE2
|
10
|
+
MGNjMDljNWYyYTZlOTM2NmFlOGU3NDA5YTgzOWVmMGJmODMzZmQwNzMwZTNm
|
11
|
+
MWRjMzY1OWJhZTE2MTY4ZjRiYTY4NmI4OWFkMzJlMTgzN2YzMDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzAwOTc5YWEzMTlmNGY3NjcyNDU0NjZjM2JlNGU3ZDlhNjMyMGNhOTY2ODUz
|
14
|
+
YWM2NzFhNzY3MTAxZDY2N2IzZTU0MzVlZWE2NjQ5NDBhNTM3NGY2NTA3NTE5
|
15
|
+
M2JhNjEzZWQ2YjBjMzBjNGJjNzAyNTYzNDY4ZTI5YjhjMmY0N2M=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
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.2.
|
8
|
+
s.version = "1.2.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-05-
|
12
|
+
s.date = "2013-05-15"
|
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 = [
|
@@ -44,7 +44,6 @@ Gem::Specification.new do |s|
|
|
44
44
|
"spec/file_spec.rb",
|
45
45
|
"spec/fixtures/events.json",
|
46
46
|
"spec/fixtures/me.json",
|
47
|
-
"spec/fixtures/遠志教授.jpg",
|
48
47
|
"spec/folder_spec.rb",
|
49
48
|
"spec/helper/account.example",
|
50
49
|
"spec/helper/account.rb",
|
data/spec/integration_spec.rb
CHANGED
@@ -15,6 +15,17 @@ describe RubyBox, :skip => true do
|
|
15
15
|
})
|
16
16
|
|
17
17
|
@client = RubyBox::Client.new(@session)
|
18
|
+
|
19
|
+
# Create a file with a UTF-8 name for testing.
|
20
|
+
# This is not checked in, as UTF-8 causes issues with
|
21
|
+
# Windows (lame).
|
22
|
+
f = File.new('./spec/fixtures/遠志教授.jpg', 'w')
|
23
|
+
f.puts('Hello World!')
|
24
|
+
f.close()
|
25
|
+
end
|
26
|
+
|
27
|
+
after do
|
28
|
+
File.delete('./spec/fixtures/遠志教授.jpg')
|
18
29
|
end
|
19
30
|
|
20
31
|
it "raises an AuthError if not client auth fails" do
|
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.2.
|
4
|
+
version: 1.2.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-05-
|
11
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multipart-post
|
@@ -143,7 +143,6 @@ files:
|
|
143
143
|
- spec/file_spec.rb
|
144
144
|
- spec/fixtures/events.json
|
145
145
|
- spec/fixtures/me.json
|
146
|
-
- spec/fixtures/遠志教授.jpg
|
147
146
|
- spec/folder_spec.rb
|
148
147
|
- spec/helper/account.example
|
149
148
|
- spec/helper/account.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
Hello World!
|