rails_request 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: ea92c0e89c072a3121f9b80007186a7dcfe5a376f958d836b73f989b6b4bae94
4
- data.tar.gz: 64437012808d57ec7d1d52d1cd2fa26afa643b9bf7ca2a6ce965c3bcf5c31c77
3
+ metadata.gz: 632a63a64f7637f15c5718a4e1da46175e94e345e79119be8371936ac2d4da5a
4
+ data.tar.gz: c9e81c7c5f69754913963bd2c94d4c8b035eae6fa9f1bb8608108832e4274c76
5
5
  SHA512:
6
- metadata.gz: 58e5ae0422fb57d8b4d2d2eaf093dc5afd3d81185b59f353834bb8a69f6561b60268b12d5e63518ccd29ef316e9085d844e99fef15a3418bb02a41e5c15c97d8
7
- data.tar.gz: 168cb5b94f6c981572f8623f0e52e914d9bc7276216ee590426c854cf4bce8535bbcf93f4aa235e26240d3843e0af640d0ef245e2288bc469c66b87444093b62
6
+ metadata.gz: 152d59f2dd982ae93534d500319afa64051ba7824134bbf07159f0715375b77928e4c7aa3c5d3c4e544e126965820e86cf26f925c6582d26bde0bc33262d138f
7
+ data.tar.gz: 54a7ae0e6bb1df5d860cae9b6081c31e6f03f31c8247535af6ca1cf7e748d231bf46393fb207d4332370f3c43f27e346a3341691be221106d1ba88b3c055da7d
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ *.gemspec
data/Gemfile CHANGED
@@ -4,6 +4,3 @@ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in rails_request.gemspec
6
6
  gemspec
7
-
8
- gem 'rake', '~> 12.0'
9
- gem 'rspec', '~> 3.0'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_request (0.1.0)
4
+ rails_request (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -65,7 +65,7 @@ GEM
65
65
  builder (3.2.4)
66
66
  concurrent-ruby (1.1.6)
67
67
  crass (1.0.6)
68
- diff-lcs (1.3)
68
+ diff-lcs (1.4.2)
69
69
  erubi (1.9.0)
70
70
  globalid (0.4.2)
71
71
  activesupport (>= 4.2.0)
@@ -120,7 +120,7 @@ GEM
120
120
  rake (>= 0.8.7)
121
121
  thor (>= 0.20.3, < 2.0)
122
122
  rainbow (3.0.0)
123
- rake (12.3.3)
123
+ rake (13.0.1)
124
124
  regexp_parser (1.7.1)
125
125
  rexml (3.2.4)
126
126
  rspec (3.9.0)
@@ -175,7 +175,7 @@ DEPENDENCIES
175
175
  bundler (~> 2.1)
176
176
  rails (~> 6.0)
177
177
  rails_request!
178
- rake (~> 12.0)
178
+ rake (~> 13.0)
179
179
  rspec (~> 3.0)
180
180
  rubocop (~> 0.85.1)
181
181
  strong_versions (~> 0.4.4)
data/README.md CHANGED
@@ -7,7 +7,7 @@ _Rails_ toolkit for debugging and inspecting requests.
7
7
  Add the gem to your `Gemfile`
8
8
 
9
9
  ```ruby
10
- gem 'rails_request', '~> 0.1.0'
10
+ gem 'rails_request', '~> 0.1.1'
11
11
  ```
12
12
 
13
13
  And rebuild your bundle:
@@ -13,9 +13,10 @@ module RailsRequest
13
13
  port = RailsRequest.port
14
14
  [
15
15
  'curl',
16
+ '-v',
16
17
  "--request '#{method}'",
17
18
  headers.map { |key, value| "--header '#{key}: #{value}'" },
18
- "http://#{host}:#{port}#{path}#{query}"
19
+ "'http://#{host}:#{port}#{path}#{query}'"
19
20
  ].flatten.join(" \\\n")
20
21
  end
21
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsRequest
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 2.1'
27
27
  spec.add_development_dependency 'rails', '~> 6.0'
28
- spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rake', '~> 13.0'
29
29
  spec.add_development_dependency 'rspec', '~> 3.0'
30
30
  spec.add_development_dependency 'rubocop', '~> 0.85.1'
31
31
  spec.add_development_dependency 'strong_versions', '~> 0.4.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement