firebase 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/firebase.gemspec +2 -2
- data/lib/firebase.rb +5 -1
- data/spec/firebase_spec.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cb86b73248e9ce7c985173b5ce5e31f23d8ab91
|
4
|
+
data.tar.gz: 93489dd94c65331536b998ddde7d9a81a673cc3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5475ad6b2bde41ac93d6624f4fc582856da62d93aaeaed20d2850a33e7a87651d7e70baa2251f4fe2be6fd3223d5cb3d600df6f6d8d06d6e16e821c0b025fa42
|
7
|
+
data.tar.gz: f3461889f646be38ca0e175f0a16472cccf8705ba0e6069c2fdc151bb77d81a477d423dfd6c5a710f17edff46fc969bcb35144e418ad0ed2330171e779318ca3
|
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/firebase.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "firebase"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.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 = ["Oscar Del Ben"]
|
12
|
-
s.date = "2014-03-
|
12
|
+
s.date = "2014-03-30"
|
13
13
|
s.description = "Firebase wrapper for Ruby"
|
14
14
|
s.email = "info@oscardelben.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/firebase.rb
CHANGED
data/spec/firebase_spec.rb
CHANGED
@@ -13,14 +13,14 @@ describe "Firebase" do
|
|
13
13
|
|
14
14
|
describe "set" do
|
15
15
|
it "writes and returns the data" do
|
16
|
-
@req.should_receive(:put).with('users/info', data, {
|
16
|
+
@req.should_receive(:put).with('users/info', data, {})
|
17
17
|
@firebase.set('users/info', data)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
describe "get" do
|
22
22
|
it "returns the data" do
|
23
|
-
@req.should_receive(:get).with('users/info', {
|
23
|
+
@req.should_receive(:get).with('users/info', {})
|
24
24
|
@firebase.get('users/info')
|
25
25
|
end
|
26
26
|
|
@@ -51,21 +51,21 @@ describe "Firebase" do
|
|
51
51
|
|
52
52
|
describe "push" do
|
53
53
|
it "writes the data" do
|
54
|
-
@req.should_receive(:post).with('users', data, {
|
54
|
+
@req.should_receive(:post).with('users', data, {})
|
55
55
|
@firebase.push('users', data)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
describe "delete" do
|
60
60
|
it "returns true" do
|
61
|
-
@req.should_receive(:delete).with('users/info', {
|
61
|
+
@req.should_receive(:delete).with('users/info', {})
|
62
62
|
@firebase.delete('users/info')
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
describe "update" do
|
67
67
|
it "updates and returns the data" do
|
68
|
-
@req.should_receive(:patch).with('users/info', data, {
|
68
|
+
@req.should_receive(:patch).with('users/info', data, {})
|
69
69
|
@firebase.update('users/info', data)
|
70
70
|
end
|
71
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firebase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Del Ben
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|