grifter 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67c53f3622805baa80bf1df6fa3c31726065fc1e
4
- data.tar.gz: faca0aeb06bfc7c40b2118cde7c9336250a1e479
3
+ metadata.gz: b4b156d151835e6627b686b679baf97d38618dc1
4
+ data.tar.gz: 08cb91638ad50478b0f94eeaf136afe51214af54
5
5
  SHA512:
6
- metadata.gz: f55097a7fe74799390ff4d88c393a609cc87c67d33d8a942c39634f753fbb60a3c1354675b7298be1abb67b30ddf8473c6706a9d7545c202a25b89e90924ee87
7
- data.tar.gz: 244d8ff8a890546014790ca990ea17a019736efffbd0c7281156e0d0df5787e37b804e08aa79d4a8830240a38047675419b9db0a956095d884ab0dc5dcaf4207
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.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-08-20"
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"]
@@ -1,4 +1,5 @@
1
1
  require 'net/http'
2
+ require 'openssl'
2
3
 
3
4
  require_relative 'json_helpers'
4
5
  require_relative 'log'
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.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-08-20 00:00:00.000000000 Z
11
+ date: 2013-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json