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 +4 -4
- data/.gitignore +2 -0
- data/Gemfile +0 -3
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/lib/rails_request/payload.rb +2 -1
- data/lib/rails_request/version.rb +1 -1
- data/rails_request.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 632a63a64f7637f15c5718a4e1da46175e94e345e79119be8371936ac2d4da5a
|
4
|
+
data.tar.gz: c9e81c7c5f69754913963bd2c94d4c8b035eae6fa9f1bb8608108832e4274c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 152d59f2dd982ae93534d500319afa64051ba7824134bbf07159f0715375b77928e4c7aa3c5d3c4e544e126965820e86cf26f925c6582d26bde0bc33262d138f
|
7
|
+
data.tar.gz: 54a7ae0e6bb1df5d860cae9b6081c31e6f03f31c8247535af6ca1cf7e748d231bf46393fb207d4332370f3c43f27e346a3341691be221106d1ba88b3c055da7d
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_request (0.1.
|
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.
|
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 (
|
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 (~>
|
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
@@ -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
|
|
data/rails_request.gemspec
CHANGED
@@ -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', '~>
|
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.
|
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-
|
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: '
|
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: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|