tijuana_client 0.1.1 → 0.2.0
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 +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 +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3a5962b83c0b648a6200e10adadc0fa7ca6c4f
|
4
|
+
data.tar.gz: d214c2d8cc8757018a9fced9347925ad7038bccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f265e78fa91700bb224830182847f78be7eb9eb8bfe9048641bad7cfb10743c9ea9dc63b58d56815ef76434b4c68bac7f529a5d1511202e9a49f8edf1b05b4b4
|
7
|
+
data.tar.gz: 463809da9851e9c06acee006f0c155cd684cd0bca4e27e444a47b296f95b924fcc5141e3976356f5f7a17df6349e7375005ce76efc378c8166b0321f8e73f936
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
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) { "data=#{ JSON.generate({ first_name: 'Nathan'})}" }
|
26
|
+
let(:request_body) { "data=#{ URI::encode(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) { "data=#{ JSON.generate({ first_name: 'Nathan'})}" }
|
55
|
+
let(:request_body) { "data=#{ URI::encode(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,14 +2,15 @@
|
|
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.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "tijuana_client"
|
8
|
-
s.version = "0.
|
9
|
+
s.version = "0.2.0"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Nathan Woodhull"]
|
12
|
-
s.date = "
|
13
|
+
s.date = "2014-02-28"
|
13
14
|
s.description = "An API client for the code that runs Getup.org.au"
|
14
15
|
s.email = "nathan@controlshiftlabs.com"
|
15
16
|
s.extra_rdoc_files = [
|
@@ -38,7 +39,7 @@ Gem::Specification.new do |s|
|
|
38
39
|
s.homepage = "http://github.com/controlshift/tijuana_client"
|
39
40
|
s.licenses = ["MIT"]
|
40
41
|
s.require_paths = ["lib"]
|
41
|
-
s.rubygems_version = "2.
|
42
|
+
s.rubygems_version = "2.1.10"
|
42
43
|
s.summary = "API client for Tijuana"
|
43
44
|
|
44
45
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tijuana_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Woodhull
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vertebrae
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.1.10
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: API client for Tijuana
|