api_test_gem 0.2.3 → 0.2.4

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.
Files changed (4) hide show
  1. data/README.rdoc +7 -1
  2. data/VERSION +1 -1
  3. data/api_test_gem.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -1,6 +1,12 @@
1
1
  = api_test_gem
2
2
 
3
- test API calls using curl
3
+ test API calls with json response using curl
4
+
5
+ before use: (all in working directory)
6
+ - write a yml for config named api_test_config.yml
7
+ - if necessary login with cookie named cookie_for_auth - example:
8
+
9
+ $ curl -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST http://localhost:3000/users/sign_in -d "{'user' : { 'email' : 'test@example.com', 'password' : 'password'}}" -c cookie_for_auth
4
10
 
5
11
  == Contributing to api_test_gem
6
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/api_test_gem.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{api_test_gem}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jaqueline Wilde"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_test_gem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jaqueline Wilde