grifter 0.1.1 → 0.1.2
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/Readme.md +19 -0
- data/grifter.gemspec +2 -2
- data/lib/grifter/http_service.rb +1 -0
- 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: b4b156d151835e6627b686b679baf97d38618dc1
|
4
|
+
data.tar.gz: 08cb91638ad50478b0f94eeaf136afe51214af54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91807edba6321e443c70456ec51df0aa1f80ee6e2edb0eb2ca7cf8ed9501a7eed4b3e067a92de48856dd0837448035e5417e4eb231bef9ca5f233d9e0c97d7fe
|
7
|
+
data.tar.gz: c156a39a751881f891fe7fcb4bf79f880e2f40a1b546342fc862986926149dd997030c974816e047cf18092430bf7c68f869f669bb39e93eae184e8e4f287425
|
data/Readme.md
CHANGED
@@ -2,6 +2,25 @@ Grifter
|
|
2
2
|
=======
|
3
3
|
Grifter makes it smooth to work with JSON HTTP APIs with confidence
|
4
4
|
|
5
|
+
Intro
|
6
|
+
--------
|
7
|
+
Grifter allows creating a DSL for working with any HTTP JSON RESTy API.
|
8
|
+
You can GET, POST and otherwise interact with any set of APIs through
|
9
|
+
high level methods you define, allowing your code to ignore all the
|
10
|
+
details around the mechanics of connecting to the API, executing the
|
11
|
+
request, and turning JSON into native ruby objects.
|
12
|
+
|
13
|
+
Using grifter gets you for free:
|
14
|
+
- a cmd line interface for your json http apis
|
15
|
+
- a ruby scripting language for interacting with your json http apis
|
16
|
+
- An object you can use in any kind of ruby program for easily sending
|
17
|
+
API requests
|
18
|
+
- An RSpec Helper that makes testing Rest APIs painless
|
19
|
+
|
20
|
+
Grifter relies heavily on the 'convention over configuration' approach,
|
21
|
+
which means for less code, you get more.
|
22
|
+
|
23
|
+
|
5
24
|
Features
|
6
25
|
--------
|
7
26
|
- Work with multiple APIs
|
data/grifter.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "grifter"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Robert Schultheis"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-10-07"
|
13
13
|
s.description = "convention based approach to interfacing with an HTTP JSON API."
|
14
14
|
s.email = "rob@knewton.com"
|
15
15
|
s.executables = ["grift"]
|
data/lib/grifter/http_service.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grifter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Schultheis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|