grifter 0.4.6 → 0.4.7

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: c147f1bda18e9e788219a19449d6094959889454
4
- data.tar.gz: 08d59ca5d7bf96fa7ccda4737b8a54021c511de2
3
+ metadata.gz: 2823319a823ba8539ab147e11fe7b14108d8e588
4
+ data.tar.gz: da41a20231ae2204dabe77b65a999d6d577b98a1
5
5
  SHA512:
6
- metadata.gz: d0823e84f0b4b98db3e255b097310b93ace5e87ce06a6c9d41bc29eeccdc06010316efa61ebd33d01ac8ffe399a7b33b8b64933e0ecd3130ce704ac0c47e09c8
7
- data.tar.gz: 14e853b139c27c560186befa39322509fa75706f48cb9499e61da9868ea68b2bd3bd75e7a164232a992ba212a61e9889a2fdd33f8a92a597fc6cd036eb909058
6
+ metadata.gz: 06586e4eb7655186772f8e117e6b7b580273bbad04505e75e805f4523076a11b9fa266773c0fa07d13aba1e0ecfda899306568440c6317ca1d48c4ee15ec3454
7
+ data.tar.gz: ed08d92710c09778d8c124178eda71cf651798a222aaae71392c1522c775cc9be79f215997dae7326313d6da066f8bf95d7a93b1a8cc5d396b7b0e807d265d9f
@@ -1,26 +1,23 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- activesupport (4.2.4)
5
- i18n (~> 0.7)
6
- json (~> 1.7, >= 1.7.7)
7
- minitest (~> 5.1)
8
- thread_safe (~> 0.3, >= 0.3.4)
9
- tzinfo (~> 1.1)
4
+ activesupport (3.2.22.2)
5
+ i18n (~> 0.6, >= 0.6.4)
6
+ multi_json (~> 1.0)
10
7
  addressable (2.4.0)
11
- awesome_print (1.6.1)
8
+ awesome_print (1.7.0)
12
9
  builder (3.2.2)
13
- coderay (1.1.0)
10
+ coderay (1.1.1)
14
11
  descendants_tracker (0.0.4)
15
12
  thread_safe (~> 0.3, >= 0.3.1)
16
13
  diff-lcs (1.2.5)
17
- ethon (0.7.4)
14
+ ethon (0.9.0)
18
15
  ffi (>= 1.3.0)
19
16
  faraday (0.9.0)
20
17
  multipart-post (>= 1.2, < 3)
21
- ffi (1.9.8)
18
+ ffi (1.9.10)
22
19
  git (1.3.0)
23
- github_api (0.14.0)
20
+ github_api (0.14.1)
24
21
  addressable (~> 2.4.0)
25
22
  descendants_tracker (~> 0.0.4)
26
23
  faraday (~> 0.8, < 0.10)
@@ -43,7 +40,6 @@ GEM
43
40
  jwt (1.5.1)
44
41
  method_source (0.8.2)
45
42
  mini_portile2 (2.1.0)
46
- minitest (5.8.0)
47
43
  multi_json (1.12.1)
48
44
  multi_xml (0.5.5)
49
45
  multipart-post (2.0.0)
@@ -57,34 +53,32 @@ GEM
57
53
  multi_xml (~> 0.5)
58
54
  rack (>= 1.2, < 3)
59
55
  pkg-config (1.1.7)
60
- pry (0.10.1)
56
+ pry (0.10.3)
61
57
  coderay (~> 1.1.0)
62
58
  method_source (~> 0.8.1)
63
59
  slop (~> 3.4)
64
60
  rack (1.6.4)
65
- rake (11.1.2)
61
+ rake (11.2.2)
66
62
  rdoc (4.2.2)
67
63
  json (~> 1.4)
68
- rspec (3.3.0)
69
- rspec-core (~> 3.3.0)
70
- rspec-expectations (~> 3.3.0)
71
- rspec-mocks (~> 3.3.0)
72
- rspec-core (3.3.2)
73
- rspec-support (~> 3.3.0)
74
- rspec-expectations (3.3.1)
64
+ rspec (3.4.0)
65
+ rspec-core (~> 3.4.0)
66
+ rspec-expectations (~> 3.4.0)
67
+ rspec-mocks (~> 3.4.0)
68
+ rspec-core (3.4.4)
69
+ rspec-support (~> 3.4.0)
70
+ rspec-expectations (3.4.0)
75
71
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.3.0)
77
- rspec-mocks (3.3.2)
72
+ rspec-support (~> 3.4.0)
73
+ rspec-mocks (3.4.1)
78
74
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.3.0)
80
- rspec-support (3.3.0)
75
+ rspec-support (~> 3.4.0)
76
+ rspec-support (3.4.1)
81
77
  semver (1.0.1)
82
78
  slop (3.6.0)
83
79
  thread_safe (0.3.5)
84
80
  typhoeus (0.6.9)
85
81
  ethon (>= 0.7.1)
86
- tzinfo (1.2.2)
87
- thread_safe (~> 0.1)
88
82
 
89
83
  PLATFORMS
90
84
  ruby
@@ -100,4 +94,4 @@ DEPENDENCIES
100
94
  typhoeus (~> 0.6.8)
101
95
 
102
96
  BUNDLED WITH
103
- 1.11.2
97
+ 1.12.5
@@ -2,16 +2,16 @@
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: grifter 0.4.6 ruby lib
5
+ # stub: grifter 0.4.7 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "grifter"
9
- s.version = "0.4.6"
9
+ s.version = "0.4.7"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Robert Schultheis"]
14
- s.date = "2016-06-09"
14
+ s.date = "2016-09-15"
15
15
  s.description = "convention based approach to interfacing with an HTTP JSON API."
16
16
  s.email = "rob@knewton.com"
17
17
  s.executables = ["grift"]
@@ -123,7 +123,12 @@ class Grifter
123
123
  end
124
124
 
125
125
  logger.info "Request status: (#{response.status}) #{@name}: #{method.to_s.upcase} #{path}"
126
- #@last_request = req
126
+ @last_request = {
127
+ method: method,
128
+ path: path,
129
+ headers: req_headers,
130
+ body: body,
131
+ }
127
132
  @last_response = response
128
133
 
129
134
  response_obj = objectify response.body
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.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Schultheis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2016-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday