tijuana_client 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/VERSION +1 -1
- data/lib/tijuana_client/client.rb +1 -1
- data/spec/user_spec.rb +2 -2
- data/tijuana_client.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d0097abbdb86d6c257a1fbe08cbed627d9db50
|
4
|
+
data.tar.gz: b78b2a64cdccd464830d6f3ec9ed70d3357cd9a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b76d3ecb99880560ba979d6a391e4982331214fa8f276b10b9dc13c0ab61304cdfd0690139ded24387f050266a2bb89ecc7090a46014f33148d0a1570b0d78
|
7
|
+
data.tar.gz: a0b922b65db203e7f49886411dba1cdde897f887ef2c252b13b49479d0b59d2e0ce6573d3a192b77dd2be1a224c193cbfcf8924713b73c6c3e9ba949db430a68
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/spec/user_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe TijuanaClient::User do
|
|
23
23
|
|
24
24
|
describe 'create' do
|
25
25
|
let(:body) { '' }
|
26
|
-
let(:request_body) {
|
26
|
+
let(:request_body){ {'data' => JSON.generate({ first_name: 'Nathan'})} }
|
27
27
|
let(:request_path) { '/api/users/' }
|
28
28
|
|
29
29
|
before(:each) do
|
@@ -52,7 +52,7 @@ describe TijuanaClient::User do
|
|
52
52
|
subject { TijuanaClient.new(host: 'test.com', username: 'username', password: 'password')}
|
53
53
|
|
54
54
|
let(:body) { "" }
|
55
|
-
let(:request_body) {
|
55
|
+
let(:request_body) { {'data' => JSON.generate({ first_name: 'Nathan'})} }
|
56
56
|
let(:request_path) { '/api/users/' }
|
57
57
|
|
58
58
|
before(:each) do
|
data/tijuana_client.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: tijuana_client 0.2.
|
5
|
+
# stub: tijuana_client 0.2.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "tijuana_client"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Nathan Woodhull"]
|